Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-27 23:59:03.792489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-27 23:59:42.448675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:00:06.416560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/06/image_23012025_23_06_17_10337.jpg', '/home/pi/Desktop/images/23012025/23/06/image_23012025_23_06_26_9434.jpg', '/home/pi/Desktop/images/23012025/23/06/image_23012025_23_06_36_10335.jpg', '/home/pi/Desktop/images/23012025/23/06/image_23012025_23_06_47_10353.jpg', '/home/pi/Desktop/images/23012025/23/06/image_23012025_23_06_56_9403.jpg', '/home/pi/Desktop/images/23012025/23/06/image_23012025_23_07_06_10396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/06/image_23012025_23_06_17_10337.jpg
/home/pi/Desktop/images/23012025/23/06/image_23012025_23_06_26_9434.jpg
/home/pi/Desktop/images/23012025/23/06/image_23012025_23_06_36_10335.jpg
/home/pi/Desktop/images/23012025/23/06/image_23012025_23_06_47_10353.jpg
/home/pi/Desktop/images/23012025/23/06/image_23012025_23_06_56_9403.jpg
/home/pi/Desktop/images/23012025/23/06/image_23012025_23_07_06_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":["1332116811","1332116852","1332116854","1332116833","1332116836","1332116778"],"photo_ids_order":["1332116778","1332116811","1332116833","1332116836","1332116852","1332116854"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a748c13af81e9392037eb6ae98e401ea.jpg","text":"TemporaryFile(/tmp/multipartBody2673101465534581877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738018867720,"filename":"image_23012025_23_06_26_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/808fb229e2517be02f81a6194fdbac5c.jpg","text":"TemporaryFile(/tmp/multipartBody1212976527246031496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738018867720,"filename":"image_23012025_23_06_56_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ddfe15a75862e67120abfe381f3207ae.jpg","text":"TemporaryFile(/tmp/multipartBody1467044692073938355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738018867720,"filename":"image_23012025_23_07_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/1/28/30c5e3d5ebe9fb2f17b49e42bad48aaf.jpg","text":"TemporaryFile(/tmp/multipartBody4813445248087401282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738018867720,"filename":"image_23012025_23_06_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/1/28/1dde17b57fdbe6ad8d288ebe3dfcd456.jpg","text":"TemporaryFile(/tmp/multipartBody5813764475651416719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738018867720,"filename":"image_23012025_23_06_47_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e7106e40bf78462fd3c42503db2e9821.jpg","text":"TemporaryFile(/tmp/multipartBody3836400064179513990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738018867720,"filename":"image_23012025_23_06_17_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332116833","file1":"1332116811","file0":"1332116778","file4":"1332116852","file5":"1332116854","file3":"1332116836"},"map_files_photo_id_array":[{"photo_id":"1332116854","filename":"file5"},{"photo_id":"1332116833","filename":"file2"},{"photo_id":"1332116852","filename":"file4"},{"photo_id":"1332116811","filename":"file1"},{"photo_id":"1332116778","filename":"file0"},{"photo_id":"1332116836","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332116811":["hashtag1","hashtag2"]},{"1332116852":["hashtag1","hashtag2"]},{"1332116854":["hashtag1","hashtag2"]},{"1332116833":["hashtag1","hashtag2"]},{"1332116836":["hashtag1","hashtag2"]},{"1332116778":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332116811, 1332116852, 1332116854, 1332116833, 1332116836, 1332116778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.395469427108765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:01:04.149562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/07/image_23012025_23_07_16_9545.jpg', '/home/pi/Desktop/images/23012025/23/07/image_23012025_23_07_26_10364.jpg', '/home/pi/Desktop/images/23012025/23/07/image_23012025_23_07_37_10352.jpg', '/home/pi/Desktop/images/23012025/23/07/image_23012025_23_07_46_9347.jpg', '/home/pi/Desktop/images/23012025/23/07/image_23012025_23_07_56_10358.jpg', '/home/pi/Desktop/images/23012025/23/07/image_23012025_23_08_06_9368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/07/image_23012025_23_07_16_9545.jpg
/home/pi/Desktop/images/23012025/23/07/image_23012025_23_07_26_10364.jpg
/home/pi/Desktop/images/23012025/23/07/image_23012025_23_07_37_10352.jpg
/home/pi/Desktop/images/23012025/23/07/image_23012025_23_07_46_9347.jpg
/home/pi/Desktop/images/23012025/23/07/image_23012025_23_07_56_10358.jpg
/home/pi/Desktop/images/23012025/23/07/image_23012025_23_08_06_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":["1332117056","1332116942","1332117163","1332117187","1332117232","1332117160"],"photo_ids_order":["1332116942","1332117056","1332117160","1332117163","1332117187","1332117232"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/09f583fee3c2226ea608e0ea1ba874d6.jpg","text":"TemporaryFile(/tmp/multipartBody8904313041365645900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738018925746,"filename":"image_23012025_23_07_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/1/28/dfe5ccdfe32ff11c43d40dd6fd3d5c6d.jpg","text":"TemporaryFile(/tmp/multipartBody3020138212708410818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738018925746,"filename":"image_23012025_23_07_16_9545.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e8f75847ea218d515e3a1252fd50174a.jpg","text":"TemporaryFile(/tmp/multipartBody5788791391608616750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738018925746,"filename":"image_23012025_23_07_46_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/94b51792e203af3a51904db624ecaa88.jpg","text":"TemporaryFile(/tmp/multipartBody8545488598386248317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738018925746,"filename":"image_23012025_23_07_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/1/28/95ba3386a607358433ec9c781b3abc99.jpg","text":"TemporaryFile(/tmp/multipartBody8671927260311873552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738018925746,"filename":"image_23012025_23_08_06_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3df062297019e986e2b3ba9cf9699705.jpg","text":"TemporaryFile(/tmp/multipartBody724645394023720334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738018925746,"filename":"image_23012025_23_07_37_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332117160","file1":"1332117056","file0":"1332116942","file4":"1332117187","file5":"1332117232","file3":"1332117163"},"map_files_photo_id_array":[{"photo_id":"1332117232","filename":"file5"},{"photo_id":"1332117160","filename":"file2"},{"photo_id":"1332117187","filename":"file4"},{"photo_id":"1332117056","filename":"file1"},{"photo_id":"1332116942","filename":"file0"},{"photo_id":"1332117163","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332117056":["hashtag1","hashtag2"]},{"1332116942":["hashtag1","hashtag2"]},{"1332117163":["hashtag1","hashtag2"]},{"1332117187":["hashtag1","hashtag2"]},{"1332117232":["hashtag1","hashtag2"]},{"1332117160":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332117056, 1332116942, 1332117163, 1332117187, 1332117232, 1332117160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.558162450790405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:02:03.531722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 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_28012025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
{'portfolio_id': 19989435, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1738018984000}
4310
2520194
4310
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/00/image_28012025_00_00_15_10079.jpg', '/home/pi/Desktop/images/28012025/00/00/image_28012025_00_00_26_10466.jpg', '/home/pi/Desktop/images/28012025/00/00/image_28012025_00_00_36_10361.jpg', '/home/pi/Desktop/images/28012025/00/00/image_28012025_00_00_45_9458.jpg', '/home/pi/Desktop/images/28012025/00/00/image_28012025_00_00_56_10376.jpg', '/home/pi/Desktop/images/28012025/00/00/image_28012025_00_01_05_9410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/00/image_28012025_00_00_15_10079.jpg
/home/pi/Desktop/images/28012025/00/00/image_28012025_00_00_26_10466.jpg
/home/pi/Desktop/images/28012025/00/00/image_28012025_00_00_36_10361.jpg
/home/pi/Desktop/images/28012025/00/00/image_28012025_00_00_45_9458.jpg
/home/pi/Desktop/images/28012025/00/00/image_28012025_00_00_56_10376.jpg
/home/pi/Desktop/images/28012025/00/00/image_28012025_00_01_05_9410.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.498948812484741 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 00:02:12.934150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/08/image_23012025_23_08_16_10411.jpg', '/home/pi/Desktop/images/23012025/23/08/image_23012025_23_08_27_10373.jpg', '/home/pi/Desktop/images/23012025/23/08/image_23012025_23_08_36_9409.jpg', '/home/pi/Desktop/images/23012025/23/08/image_23012025_23_08_46_10349.jpg', '/home/pi/Desktop/images/23012025/23/08/image_23012025_23_08_56_9426.jpg', '/home/pi/Desktop/images/23012025/23/08/image_23012025_23_09_06_10375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/08/image_23012025_23_08_16_10411.jpg
/home/pi/Desktop/images/23012025/23/08/image_23012025_23_08_27_10373.jpg
/home/pi/Desktop/images/23012025/23/08/image_23012025_23_08_36_9409.jpg
/home/pi/Desktop/images/23012025/23/08/image_23012025_23_08_46_10349.jpg
/home/pi/Desktop/images/23012025/23/08/image_23012025_23_08_56_9426.jpg
/home/pi/Desktop/images/23012025/23/08/image_23012025_23_09_06_10375.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332118433","1332118678","1332118591","1332118692","1332118587","1332118583"],"photo_ids_order":["1332118433","1332118583","1332118587","1332118591","1332118678","1332118692"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d1d78bcdae0f66f35901beb8c65ec428.jpg","text":"TemporaryFile(/tmp/multipartBody5850388243206668737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738018995053,"filename":"image_23012025_23_08_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/1/28/addf632453b48edb131ea101184c0e7d.jpg","text":"TemporaryFile(/tmp/multipartBody1615718734677757626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738018995053,"filename":"image_23012025_23_08_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/1/28/60d22a2fa3797613c332a6800be88a93.jpg","text":"TemporaryFile(/tmp/multipartBody932155989075179682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738018995053,"filename":"image_23012025_23_08_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/1/28/91a90bacf896a190673e214a5a3ec967.jpg","text":"TemporaryFile(/tmp/multipartBody1532909733803694606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738018995053,"filename":"image_23012025_23_09_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/1/28/912805db5208ebfa6f6775c1a9913ddb.jpg","text":"TemporaryFile(/tmp/multipartBody3164365107833206116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738018995053,"filename":"image_23012025_23_08_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/1/28/4e92307fd64a81d2e93d0606c61cf14c.jpg","text":"TemporaryFile(/tmp/multipartBody6866078754139621488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738018995053,"filename":"image_23012025_23_08_27_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332118587","file1":"1332118583","file0":"1332118433","file4":"1332118678","file5":"1332118692","file3":"1332118591"},"map_files_photo_id_array":[{"photo_id":"1332118692","filename":"file5"},{"photo_id":"1332118587","filename":"file2"},{"photo_id":"1332118678","filename":"file4"},{"photo_id":"1332118583","filename":"file1"},{"photo_id":"1332118433","filename":"file0"},{"photo_id":"1332118591","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332118433":["hashtag1","hashtag2"]},{"1332118678":["hashtag1","hashtag2"]},{"1332118591":["hashtag1","hashtag2"]},{"1332118692":["hashtag1","hashtag2"]},{"1332118587":["hashtag1","hashtag2"]},{"1332118583":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332118433, 1332118678, 1332118591, 1332118692, 1332118587, 1332118583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.321470975875854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:03:04.493275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/00/image_28012025_00_00_15_10079.jpg', '/home/pi/Desktop/images/28012025/00/00/image_28012025_00_00_26_10466.jpg', '/home/pi/Desktop/images/28012025/00/00/image_28012025_00_00_36_10361.jpg', '/home/pi/Desktop/images/28012025/00/00/image_28012025_00_00_45_9458.jpg', '/home/pi/Desktop/images/28012025/00/00/image_28012025_00_00_56_10376.jpg', '/home/pi/Desktop/images/28012025/00/00/image_28012025_00_01_05_9410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/00/image_28012025_00_00_15_10079.jpg
/home/pi/Desktop/images/28012025/00/00/image_28012025_00_00_26_10466.jpg
/home/pi/Desktop/images/28012025/00/00/image_28012025_00_00_36_10361.jpg
/home/pi/Desktop/images/28012025/00/00/image_28012025_00_00_45_9458.jpg
/home/pi/Desktop/images/28012025/00/00/image_28012025_00_00_56_10376.jpg
/home/pi/Desktop/images/28012025/00/00/image_28012025_00_01_05_9410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332118748","1332118742","1332118777","1332118747","1332118752","1332118749"],"photo_ids_order":["1332118742","1332118747","1332118748","1332118749","1332118752","1332118777"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1a1abb65628a8f2471beff8577a4f507.jpg","text":"TemporaryFile(/tmp/multipartBody4154067585677705542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019045522,"filename":"image_28012025_00_00_36_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/aaa801ca8740070bb2e2629e4c8bfc9a.jpg","text":"TemporaryFile(/tmp/multipartBody2747331157931068520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019045522,"filename":"image_28012025_00_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/1/28/bf80bd3cac33b16ca547630604c69b5a.jpg","text":"TemporaryFile(/tmp/multipartBody4948388554161007479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019045522,"filename":"image_28012025_00_01_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/1/28/eaea1c341ba31ba3236066b3048e7d96.jpg","text":"TemporaryFile(/tmp/multipartBody3406194522771317838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019045522,"filename":"image_28012025_00_00_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/1/28/a424e45aeb10544f23e9b6b175b6b0a0.jpg","text":"TemporaryFile(/tmp/multipartBody5305122978383126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019045522,"filename":"image_28012025_00_00_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/1/28/a8341aa2ec079d5548a42cb45c831b7b.jpg","text":"TemporaryFile(/tmp/multipartBody465965618541828679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019045522,"filename":"image_28012025_00_00_45_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332118748","file1":"1332118747","file0":"1332118742","file4":"1332118752","file5":"1332118777","file3":"1332118749"},"map_files_photo_id_array":[{"photo_id":"1332118777","filename":"file5"},{"photo_id":"1332118748","filename":"file2"},{"photo_id":"1332118752","filename":"file4"},{"photo_id":"1332118747","filename":"file1"},{"photo_id":"1332118742","filename":"file0"},{"photo_id":"1332118749","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332118748":["hashtag1","hashtag2"]},{"1332118742":["hashtag1","hashtag2"]},{"1332118777":["hashtag1","hashtag2"]},{"1332118747":["hashtag1","hashtag2"]},{"1332118752":["hashtag1","hashtag2"]},{"1332118749":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332118748, 1332118742, 1332118777, 1332118747, 1332118752, 1332118749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.440887451171875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:04:02.984362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/01/image_28012025_00_01_15_10324.jpg', '/home/pi/Desktop/images/28012025/00/01/image_28012025_00_01_25_9920.jpg', '/home/pi/Desktop/images/28012025/00/01/image_28012025_00_01_36_10311.jpg', '/home/pi/Desktop/images/28012025/00/01/image_28012025_00_01_45_9305.jpg', '/home/pi/Desktop/images/28012025/00/01/image_28012025_00_01_55_10481.jpg', '/home/pi/Desktop/images/28012025/00/01/image_28012025_00_02_06_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/01/image_28012025_00_01_15_10324.jpg
/home/pi/Desktop/images/28012025/00/01/image_28012025_00_01_25_9920.jpg
/home/pi/Desktop/images/28012025/00/01/image_28012025_00_01_36_10311.jpg
/home/pi/Desktop/images/28012025/00/01/image_28012025_00_01_45_9305.jpg
/home/pi/Desktop/images/28012025/00/01/image_28012025_00_01_55_10481.jpg
/home/pi/Desktop/images/28012025/00/01/image_28012025_00_02_06_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332118802","1332118804","1332118807","1332118801","1332118800","1332118799"],"photo_ids_order":["1332118799","1332118800","1332118801","1332118802","1332118804","1332118807"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8f4efa9f3508898bdcc00a353395f0c3.jpg","text":"TemporaryFile(/tmp/multipartBody5433188773834875900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019105348,"filename":"image_28012025_00_01_45_9305.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9c5f374774cb35fed58221014d76ea08.jpg","text":"TemporaryFile(/tmp/multipartBody8689684309037058908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019105348,"filename":"image_28012025_00_01_55_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1e0ebfe0e94e70decee12a38de0d2f06.jpg","text":"TemporaryFile(/tmp/multipartBody8785020457468518631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019105348,"filename":"image_28012025_00_02_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/1/28/d3ace9f955763a05aafe5e38873bbbc8.jpg","text":"TemporaryFile(/tmp/multipartBody665524679866762378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019105348,"filename":"image_28012025_00_01_36_10311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f6b6adcd84147e7851369ec71fe6bfda.jpg","text":"TemporaryFile(/tmp/multipartBody7241429780598977210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019105348,"filename":"image_28012025_00_01_25_9920.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8eb205e92f4a5552dee198d07dcf79f4.jpg","text":"TemporaryFile(/tmp/multipartBody19571079496657876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019105348,"filename":"image_28012025_00_01_15_10324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332118801","file1":"1332118800","file0":"1332118799","file4":"1332118804","file5":"1332118807","file3":"1332118802"},"map_files_photo_id_array":[{"photo_id":"1332118807","filename":"file5"},{"photo_id":"1332118801","filename":"file2"},{"photo_id":"1332118804","filename":"file4"},{"photo_id":"1332118800","filename":"file1"},{"photo_id":"1332118799","filename":"file0"},{"photo_id":"1332118802","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332118802":["hashtag1","hashtag2"]},{"1332118804":["hashtag1","hashtag2"]},{"1332118807":["hashtag1","hashtag2"]},{"1332118801":["hashtag1","hashtag2"]},{"1332118800":["hashtag1","hashtag2"]},{"1332118799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332118802, 1332118804, 1332118807, 1332118801, 1332118800, 1332118799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.91745734214783 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:05:04.174204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/02/image_28012025_00_02_15_9313.jpg', '/home/pi/Desktop/images/28012025/00/02/image_28012025_00_02_26_10340.jpg', '/home/pi/Desktop/images/28012025/00/02/image_28012025_00_02_36_10352.jpg', '/home/pi/Desktop/images/28012025/00/02/image_28012025_00_02_45_9353.jpg', '/home/pi/Desktop/images/28012025/00/02/image_28012025_00_02_56_10403.jpg', '/home/pi/Desktop/images/28012025/00/02/image_28012025_00_03_05_9419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/02/image_28012025_00_02_15_9313.jpg
/home/pi/Desktop/images/28012025/00/02/image_28012025_00_02_26_10340.jpg
/home/pi/Desktop/images/28012025/00/02/image_28012025_00_02_36_10352.jpg
/home/pi/Desktop/images/28012025/00/02/image_28012025_00_02_45_9353.jpg
/home/pi/Desktop/images/28012025/00/02/image_28012025_00_02_56_10403.jpg
/home/pi/Desktop/images/28012025/00/02/image_28012025_00_03_05_9419.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7216627597808838 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 00:05:12.647819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/09/image_23012025_23_09_17_10468.jpg', '/home/pi/Desktop/images/23012025/23/09/image_23012025_23_09_26_9447.jpg', '/home/pi/Desktop/images/23012025/23/09/image_23012025_23_09_36_10345.jpg', '/home/pi/Desktop/images/23012025/23/09/image_23012025_23_09_47_10341.jpg', '/home/pi/Desktop/images/23012025/23/09/image_23012025_23_09_56_9352.jpg', '/home/pi/Desktop/images/23012025/23/09/image_23012025_23_10_06_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/09/image_23012025_23_09_17_10468.jpg
/home/pi/Desktop/images/23012025/23/09/image_23012025_23_09_26_9447.jpg
/home/pi/Desktop/images/23012025/23/09/image_23012025_23_09_36_10345.jpg
/home/pi/Desktop/images/23012025/23/09/image_23012025_23_09_47_10341.jpg
/home/pi/Desktop/images/23012025/23/09/image_23012025_23_09_56_9352.jpg
/home/pi/Desktop/images/23012025/23/09/image_23012025_23_10_06_10348.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332118847","1332118851","1332118836","1332118839","1332118856","1332118844"],"photo_ids_order":["1332118836","1332118839","1332118844","1332118847","1332118851","1332118856"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8b7de2e9088c6307a247b215270e1061.jpg","text":"TemporaryFile(/tmp/multipartBody834914260321635415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019174766,"filename":"image_23012025_23_09_47_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/07d61ab8b8e71c372cccfad34175a17c.jpg","text":"TemporaryFile(/tmp/multipartBody5533564044272384335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019174766,"filename":"image_23012025_23_09_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/1/28/286ed6d8dc97337c33f382b515986455.jpg","text":"TemporaryFile(/tmp/multipartBody2189634948277646096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019174766,"filename":"image_23012025_23_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/1/28/f4dd1a3e94caef94d57e793101642b31.jpg","text":"TemporaryFile(/tmp/multipartBody9152448543023357163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019174766,"filename":"image_23012025_23_09_26_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4e1e7061d0c7bdeeba52c8c66130d36a.jpg","text":"TemporaryFile(/tmp/multipartBody1783354597537919754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019174766,"filename":"image_23012025_23_10_06_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c329770635001432b4f09e4c1d6ec2f2.jpg","text":"TemporaryFile(/tmp/multipartBody3201372996652869227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019174766,"filename":"image_23012025_23_09_36_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332118844","file1":"1332118839","file0":"1332118836","file4":"1332118851","file5":"1332118856","file3":"1332118847"},"map_files_photo_id_array":[{"photo_id":"1332118856","filename":"file5"},{"photo_id":"1332118844","filename":"file2"},{"photo_id":"1332118851","filename":"file4"},{"photo_id":"1332118839","filename":"file1"},{"photo_id":"1332118836","filename":"file0"},{"photo_id":"1332118847","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332118847":["hashtag1","hashtag2"]},{"1332118851":["hashtag1","hashtag2"]},{"1332118836":["hashtag1","hashtag2"]},{"1332118839":["hashtag1","hashtag2"]},{"1332118856":["hashtag1","hashtag2"]},{"1332118844":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332118847, 1332118851, 1332118836, 1332118839, 1332118856, 1332118844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.559895277023315 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:06:03.469757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/02/image_28012025_00_02_15_9313.jpg', '/home/pi/Desktop/images/28012025/00/02/image_28012025_00_02_26_10340.jpg', '/home/pi/Desktop/images/28012025/00/02/image_28012025_00_02_36_10352.jpg', '/home/pi/Desktop/images/28012025/00/02/image_28012025_00_02_45_9353.jpg', '/home/pi/Desktop/images/28012025/00/02/image_28012025_00_02_56_10403.jpg', '/home/pi/Desktop/images/28012025/00/02/image_28012025_00_03_05_9419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/02/image_28012025_00_02_15_9313.jpg
/home/pi/Desktop/images/28012025/00/02/image_28012025_00_02_26_10340.jpg
/home/pi/Desktop/images/28012025/00/02/image_28012025_00_02_36_10352.jpg
/home/pi/Desktop/images/28012025/00/02/image_28012025_00_02_45_9353.jpg
/home/pi/Desktop/images/28012025/00/02/image_28012025_00_02_56_10403.jpg
/home/pi/Desktop/images/28012025/00/02/image_28012025_00_03_05_9419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332118975","1332119442","1332118977","1332118974","1332119069","1332118976"],"photo_ids_order":["1332118974","1332118975","1332118976","1332118977","1332119069","1332119442"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/81cd4e9791aaa351fa19d96630bd221c.jpg","text":"TemporaryFile(/tmp/multipartBody1639812312358602582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019224413,"filename":"image_28012025_00_02_26_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c65261fe14dca4a6e785be9a4981f4cd.jpg","text":"TemporaryFile(/tmp/multipartBody1435978167688641159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019224413,"filename":"image_28012025_00_03_05_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b44030e398d348017c93461e58fb4bf6.jpg","text":"TemporaryFile(/tmp/multipartBody7809112953707011974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019224413,"filename":"image_28012025_00_02_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/1/28/8162bdcbc9bc4b22d029765367b5e23b.jpg","text":"TemporaryFile(/tmp/multipartBody990575215642992270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019224413,"filename":"image_28012025_00_02_15_9313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d2a3adc83172a8cdc7b9fb69fa577ec0.jpg","text":"TemporaryFile(/tmp/multipartBody2790434064648872625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019224413,"filename":"image_28012025_00_02_56_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ecf795943eced1ddcb0d62cb8ccbfb83.jpg","text":"TemporaryFile(/tmp/multipartBody852501283281291054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019224413,"filename":"image_28012025_00_02_36_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332118976","file1":"1332118975","file0":"1332118974","file4":"1332119069","file5":"1332119442","file3":"1332118977"},"map_files_photo_id_array":[{"photo_id":"1332119442","filename":"file5"},{"photo_id":"1332118976","filename":"file2"},{"photo_id":"1332119069","filename":"file4"},{"photo_id":"1332118975","filename":"file1"},{"photo_id":"1332118974","filename":"file0"},{"photo_id":"1332118977","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332118975":["hashtag1","hashtag2"]},{"1332119442":["hashtag1","hashtag2"]},{"1332118977":["hashtag1","hashtag2"]},{"1332118974":["hashtag1","hashtag2"]},{"1332119069":["hashtag1","hashtag2"]},{"1332118976":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332118975, 1332119442, 1332118977, 1332118974, 1332119069, 1332118976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.110514402389526 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:07:04.368119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/03/image_28012025_00_03_15_10463.jpg', '/home/pi/Desktop/images/28012025/00/03/image_28012025_00_03_26_10357.jpg', '/home/pi/Desktop/images/28012025/00/03/image_28012025_00_03_35_9336.jpg', '/home/pi/Desktop/images/28012025/00/03/image_28012025_00_03_46_10465.jpg', '/home/pi/Desktop/images/28012025/00/03/image_28012025_00_03_55_9346.jpg', '/home/pi/Desktop/images/28012025/00/03/image_28012025_00_04_05_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/03/image_28012025_00_03_15_10463.jpg
/home/pi/Desktop/images/28012025/00/03/image_28012025_00_03_26_10357.jpg
/home/pi/Desktop/images/28012025/00/03/image_28012025_00_03_35_9336.jpg
/home/pi/Desktop/images/28012025/00/03/image_28012025_00_03_46_10465.jpg
/home/pi/Desktop/images/28012025/00/03/image_28012025_00_03_55_9346.jpg
/home/pi/Desktop/images/28012025/00/03/image_28012025_00_04_05_10367.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.912499189376831 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 00:07:12.913380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/10/image_23012025_23_10_16_9323.jpg', '/home/pi/Desktop/images/23012025/23/10/image_23012025_23_10_26_10353.jpg', '/home/pi/Desktop/images/23012025/23/10/image_23012025_23_10_36_10383.jpg', '/home/pi/Desktop/images/23012025/23/10/image_23012025_23_10_46_9349.jpg', '/home/pi/Desktop/images/23012025/23/10/image_23012025_23_10_56_10381.jpg', '/home/pi/Desktop/images/23012025/23/10/image_23012025_23_11_07_10409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/10/image_23012025_23_10_16_9323.jpg
/home/pi/Desktop/images/23012025/23/10/image_23012025_23_10_26_10353.jpg
/home/pi/Desktop/images/23012025/23/10/image_23012025_23_10_36_10383.jpg
/home/pi/Desktop/images/23012025/23/10/image_23012025_23_10_46_9349.jpg
/home/pi/Desktop/images/23012025/23/10/image_23012025_23_10_56_10381.jpg
/home/pi/Desktop/images/23012025/23/10/image_23012025_23_11_07_10409.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332120083","1332120094","1332120090","1332120098","1332120092","1332120074"],"photo_ids_order":["1332120074","1332120083","1332120090","1332120092","1332120094","1332120098"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c2128474c3ad85b57f391bae9d687908.jpg","text":"TemporaryFile(/tmp/multipartBody7076384073142514366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019295033,"filename":"image_23012025_23_10_26_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/aad3d47685b5fa94d9055d9a554824a5.jpg","text":"TemporaryFile(/tmp/multipartBody5652079777723095485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019295033,"filename":"image_23012025_23_10_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/1/28/d3b741849acc836ce84c7bc7f166488b.jpg","text":"TemporaryFile(/tmp/multipartBody4062601414480282174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019295033,"filename":"image_23012025_23_10_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/1/28/8f57c383ea488bf63ce51cbd6809ebc2.jpg","text":"TemporaryFile(/tmp/multipartBody8287157824134028686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019295033,"filename":"image_23012025_23_11_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/1/28/c4fc1292187ff1c33eec0e2dcf87075e.jpg","text":"TemporaryFile(/tmp/multipartBody7843267627096718874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019295033,"filename":"image_23012025_23_10_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/1/28/f0186a4232e8f0cf34534e6a7992e99e.jpg","text":"TemporaryFile(/tmp/multipartBody6858330012405259192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019295033,"filename":"image_23012025_23_10_16_9323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332120090","file1":"1332120083","file0":"1332120074","file4":"1332120094","file5":"1332120098","file3":"1332120092"},"map_files_photo_id_array":[{"photo_id":"1332120098","filename":"file5"},{"photo_id":"1332120090","filename":"file2"},{"photo_id":"1332120094","filename":"file4"},{"photo_id":"1332120083","filename":"file1"},{"photo_id":"1332120074","filename":"file0"},{"photo_id":"1332120092","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332120083":["hashtag1","hashtag2"]},{"1332120094":["hashtag1","hashtag2"]},{"1332120090":["hashtag1","hashtag2"]},{"1332120098":["hashtag1","hashtag2"]},{"1332120092":["hashtag1","hashtag2"]},{"1332120074":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332120083, 1332120094, 1332120090, 1332120098, 1332120092, 1332120074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.328380823135376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:08:03.681572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/03/image_28012025_00_03_15_10463.jpg', '/home/pi/Desktop/images/28012025/00/03/image_28012025_00_03_26_10357.jpg', '/home/pi/Desktop/images/28012025/00/03/image_28012025_00_03_35_9336.jpg', '/home/pi/Desktop/images/28012025/00/03/image_28012025_00_03_46_10465.jpg', '/home/pi/Desktop/images/28012025/00/03/image_28012025_00_03_55_9346.jpg', '/home/pi/Desktop/images/28012025/00/03/image_28012025_00_04_05_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/03/image_28012025_00_03_15_10463.jpg
/home/pi/Desktop/images/28012025/00/03/image_28012025_00_03_26_10357.jpg
/home/pi/Desktop/images/28012025/00/03/image_28012025_00_03_35_9336.jpg
/home/pi/Desktop/images/28012025/00/03/image_28012025_00_03_46_10465.jpg
/home/pi/Desktop/images/28012025/00/03/image_28012025_00_03_55_9346.jpg
/home/pi/Desktop/images/28012025/00/03/image_28012025_00_04_05_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332120524","1332120611","1332120439","1332120513","1332120522","1332120120"],"photo_ids_order":["1332120120","1332120439","1332120513","1332120522","1332120524","1332120611"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3eb235b889a8c809e1ad7fa37b49b115.jpg","text":"TemporaryFile(/tmp/multipartBody393410418174886249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019344632,"filename":"image_28012025_00_03_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/1/28/54f8008f49eb35e62be129dbc042b414.jpg","text":"TemporaryFile(/tmp/multipartBody7299832082814346814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019344632,"filename":"image_28012025_00_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/1/28/610abc4c2df76e6edbc3ebfbd2768a1d.jpg","text":"TemporaryFile(/tmp/multipartBody1881211569972899631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019344632,"filename":"image_28012025_00_03_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/1/28/15f677b523263c41480c76686d5ffad2.jpg","text":"TemporaryFile(/tmp/multipartBody79700611443373156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019344632,"filename":"image_28012025_00_03_35_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3851fb92c3267a1a25cfd6e2f3bbcb04.jpg","text":"TemporaryFile(/tmp/multipartBody1737258473332183838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019344632,"filename":"image_28012025_00_03_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/1/28/92c94836cef0acb09bd8fe614f88b088.jpg","text":"TemporaryFile(/tmp/multipartBody4929481732634711652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019344632,"filename":"image_28012025_00_03_15_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332120513","file1":"1332120439","file0":"1332120120","file4":"1332120524","file5":"1332120611","file3":"1332120522"},"map_files_photo_id_array":[{"photo_id":"1332120611","filename":"file5"},{"photo_id":"1332120513","filename":"file2"},{"photo_id":"1332120524","filename":"file4"},{"photo_id":"1332120439","filename":"file1"},{"photo_id":"1332120120","filename":"file0"},{"photo_id":"1332120522","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332120524":["hashtag1","hashtag2"]},{"1332120611":["hashtag1","hashtag2"]},{"1332120439":["hashtag1","hashtag2"]},{"1332120513":["hashtag1","hashtag2"]},{"1332120522":["hashtag1","hashtag2"]},{"1332120120":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332120524, 1332120611, 1332120439, 1332120513, 1332120522, 1332120120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.80963683128357 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:09:03.932482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/04/image_28012025_00_04_16_10338.jpg', '/home/pi/Desktop/images/28012025/00/04/image_28012025_00_04_25_9335.jpg', '/home/pi/Desktop/images/28012025/00/04/image_28012025_00_04_35_10444.jpg', '/home/pi/Desktop/images/28012025/00/04/image_28012025_00_04_46_10358.jpg', '/home/pi/Desktop/images/28012025/00/04/image_28012025_00_04_55_9405.jpg', '/home/pi/Desktop/images/28012025/00/04/image_28012025_00_05_06_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/04/image_28012025_00_04_16_10338.jpg
/home/pi/Desktop/images/28012025/00/04/image_28012025_00_04_25_9335.jpg
/home/pi/Desktop/images/28012025/00/04/image_28012025_00_04_35_10444.jpg
/home/pi/Desktop/images/28012025/00/04/image_28012025_00_04_46_10358.jpg
/home/pi/Desktop/images/28012025/00/04/image_28012025_00_04_55_9405.jpg
/home/pi/Desktop/images/28012025/00/04/image_28012025_00_05_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6692304611206055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 00:09:12.428915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/11/image_23012025_23_11_16_9379.jpg', '/home/pi/Desktop/images/23012025/23/11/image_23012025_23_11_26_10366.jpg', '/home/pi/Desktop/images/23012025/23/11/image_23012025_23_11_36_9401.jpg', '/home/pi/Desktop/images/23012025/23/11/image_23012025_23_11_46_10420.jpg', '/home/pi/Desktop/images/23012025/23/11/image_23012025_23_11_57_10418.jpg', '/home/pi/Desktop/images/23012025/23/11/image_23012025_23_12_06_9463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/11/image_23012025_23_11_16_9379.jpg
/home/pi/Desktop/images/23012025/23/11/image_23012025_23_11_26_10366.jpg
/home/pi/Desktop/images/23012025/23/11/image_23012025_23_11_36_9401.jpg
/home/pi/Desktop/images/23012025/23/11/image_23012025_23_11_46_10420.jpg
/home/pi/Desktop/images/23012025/23/11/image_23012025_23_11_57_10418.jpg
/home/pi/Desktop/images/23012025/23/11/image_23012025_23_12_06_9463.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332120764","1332120746","1332120754","1332120757","1332120761","1332120749"],"photo_ids_order":["1332120746","1332120749","1332120754","1332120757","1332120761","1332120764"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/adfc5f29b84a6ff98f7b06ea96564712.jpg","text":"TemporaryFile(/tmp/multipartBody5541634944656696910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019414550,"filename":"image_23012025_23_12_06_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/981cbad4e97f0edcc96917de0f1f7266.jpg","text":"TemporaryFile(/tmp/multipartBody9082595869702930979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019414550,"filename":"image_23012025_23_11_16_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/43585b306370d4f01e0f4633cbae2c04.jpg","text":"TemporaryFile(/tmp/multipartBody1080054022246154124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019414550,"filename":"image_23012025_23_11_36_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cf6410c7499e744ac4fec46b925b1079.jpg","text":"TemporaryFile(/tmp/multipartBody8973858828729630958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019414550,"filename":"image_23012025_23_11_46_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e367ad1c26651bec276a0c412105dca3.jpg","text":"TemporaryFile(/tmp/multipartBody6742808003230193033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019414550,"filename":"image_23012025_23_11_57_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2280fc4e603abd4755059d3d96b31b00.jpg","text":"TemporaryFile(/tmp/multipartBody6825807313873020588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019414550,"filename":"image_23012025_23_11_26_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332120754","file1":"1332120749","file0":"1332120746","file4":"1332120761","file5":"1332120764","file3":"1332120757"},"map_files_photo_id_array":[{"photo_id":"1332120764","filename":"file5"},{"photo_id":"1332120754","filename":"file2"},{"photo_id":"1332120761","filename":"file4"},{"photo_id":"1332120749","filename":"file1"},{"photo_id":"1332120746","filename":"file0"},{"photo_id":"1332120757","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332120764":["hashtag1","hashtag2"]},{"1332120746":["hashtag1","hashtag2"]},{"1332120754":["hashtag1","hashtag2"]},{"1332120757":["hashtag1","hashtag2"]},{"1332120761":["hashtag1","hashtag2"]},{"1332120749":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332120764, 1332120746, 1332120754, 1332120757, 1332120761, 1332120749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.481529712677 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:10:03.422796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/04/image_28012025_00_04_16_10338.jpg', '/home/pi/Desktop/images/28012025/00/04/image_28012025_00_04_25_9335.jpg', '/home/pi/Desktop/images/28012025/00/04/image_28012025_00_04_35_10444.jpg', '/home/pi/Desktop/images/28012025/00/04/image_28012025_00_04_46_10358.jpg', '/home/pi/Desktop/images/28012025/00/04/image_28012025_00_04_55_9405.jpg', '/home/pi/Desktop/images/28012025/00/04/image_28012025_00_05_06_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/04/image_28012025_00_04_16_10338.jpg
/home/pi/Desktop/images/28012025/00/04/image_28012025_00_04_25_9335.jpg
/home/pi/Desktop/images/28012025/00/04/image_28012025_00_04_35_10444.jpg
/home/pi/Desktop/images/28012025/00/04/image_28012025_00_04_46_10358.jpg
/home/pi/Desktop/images/28012025/00/04/image_28012025_00_04_55_9405.jpg
/home/pi/Desktop/images/28012025/00/04/image_28012025_00_05_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":["1332121261","1332120862","1332120967","1332121056","1332121145","1332120773"],"photo_ids_order":["1332120773","1332120862","1332120967","1332121056","1332121145","1332121261"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a2fd80eed7ff6d5609777a06c65aea8e.jpg","text":"TemporaryFile(/tmp/multipartBody4400738560388603556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019464377,"filename":"image_28012025_00_05_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/1/28/559e6e8e47f2307b17d64227fe8ca7ae.jpg","text":"TemporaryFile(/tmp/multipartBody1893851616695911576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019464377,"filename":"image_28012025_00_04_25_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2ff267e6e3f0437132876edd6f18df94.jpg","text":"TemporaryFile(/tmp/multipartBody8219090688181165182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019464377,"filename":"image_28012025_00_04_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/1/28/fd9544622b90712a764fa2f8c496ff51.jpg","text":"TemporaryFile(/tmp/multipartBody9080010574846943036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019464377,"filename":"image_28012025_00_04_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/1/28/74648b5df82bcb8721faaf68c34c0c81.jpg","text":"TemporaryFile(/tmp/multipartBody2348284661776163235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019464377,"filename":"image_28012025_00_04_55_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f00486deaef11d0784dc4a3f4dd19797.jpg","text":"TemporaryFile(/tmp/multipartBody1463082415161710429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019464377,"filename":"image_28012025_00_04_16_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332120967","file1":"1332120862","file0":"1332120773","file4":"1332121145","file5":"1332121261","file3":"1332121056"},"map_files_photo_id_array":[{"photo_id":"1332121261","filename":"file5"},{"photo_id":"1332120967","filename":"file2"},{"photo_id":"1332121145","filename":"file4"},{"photo_id":"1332120862","filename":"file1"},{"photo_id":"1332120773","filename":"file0"},{"photo_id":"1332121056","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332121261":["hashtag1","hashtag2"]},{"1332120862":["hashtag1","hashtag2"]},{"1332120967":["hashtag1","hashtag2"]},{"1332121056":["hashtag1","hashtag2"]},{"1332121145":["hashtag1","hashtag2"]},{"1332120773":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332121261, 1332120862, 1332120967, 1332121056, 1332121145, 1332120773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.365538597106934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:11:04.591040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/05/image_28012025_00_05_16_10381.jpg', '/home/pi/Desktop/images/28012025/00/05/image_28012025_00_05_26_9547.jpg', '/home/pi/Desktop/images/28012025/00/05/image_28012025_00_05_36_10358.jpg', '/home/pi/Desktop/images/28012025/00/05/image_28012025_00_05_45_9332.jpg', '/home/pi/Desktop/images/28012025/00/05/image_28012025_00_05_56_10413.jpg', '/home/pi/Desktop/images/28012025/00/05/image_28012025_00_06_05_9428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/05/image_28012025_00_05_16_10381.jpg
/home/pi/Desktop/images/28012025/00/05/image_28012025_00_05_26_9547.jpg
/home/pi/Desktop/images/28012025/00/05/image_28012025_00_05_36_10358.jpg
/home/pi/Desktop/images/28012025/00/05/image_28012025_00_05_45_9332.jpg
/home/pi/Desktop/images/28012025/00/05/image_28012025_00_05_56_10413.jpg
/home/pi/Desktop/images/28012025/00/05/image_28012025_00_06_05_9428.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6241195201873779 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 00:11:13.063860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/12/image_23012025_23_12_16_10342.jpg', '/home/pi/Desktop/images/23012025/23/12/image_23012025_23_12_26_9345.jpg', '/home/pi/Desktop/images/23012025/23/12/image_23012025_23_12_36_10431.jpg', '/home/pi/Desktop/images/23012025/23/12/image_23012025_23_12_47_10350.jpg', '/home/pi/Desktop/images/23012025/23/12/image_23012025_23_12_56_9384.jpg', '/home/pi/Desktop/images/23012025/23/12/image_23012025_23_13_06_10455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/12/image_23012025_23_12_16_10342.jpg
/home/pi/Desktop/images/23012025/23/12/image_23012025_23_12_26_9345.jpg
/home/pi/Desktop/images/23012025/23/12/image_23012025_23_12_36_10431.jpg
/home/pi/Desktop/images/23012025/23/12/image_23012025_23_12_47_10350.jpg
/home/pi/Desktop/images/23012025/23/12/image_23012025_23_12_56_9384.jpg
/home/pi/Desktop/images/23012025/23/12/image_23012025_23_13_06_10455.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332121540","1332121494","1332121617","1332121632","1332121592","1332121604"],"photo_ids_order":["1332121494","1332121540","1332121592","1332121604","1332121617","1332121632"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/adcd0dca3cd92411fdcf3e3a13c8e4a8.jpg","text":"TemporaryFile(/tmp/multipartBody946709382129527021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019535167,"filename":"image_23012025_23_12_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/1/28/15c8ba57494cc3b2d9f63c52fdd79dd1.jpg","text":"TemporaryFile(/tmp/multipartBody5453450263858493717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019535167,"filename":"image_23012025_23_12_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/1/28/30ebe4cd39591296be9c8b72e302c758.jpg","text":"TemporaryFile(/tmp/multipartBody6032002838398186392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019535167,"filename":"image_23012025_23_12_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/1/28/76bf2230416a058a138cdfcef83355a4.jpg","text":"TemporaryFile(/tmp/multipartBody2067367259130262540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019535167,"filename":"image_23012025_23_13_06_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/91865835cb3c78375971d526adceee2f.jpg","text":"TemporaryFile(/tmp/multipartBody9170706256372092704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019535167,"filename":"image_23012025_23_12_36_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b9c4610511ad091b9ef5bd17ca97f5de.jpg","text":"TemporaryFile(/tmp/multipartBody8587675680968734302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019535167,"filename":"image_23012025_23_12_47_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332121592","file1":"1332121540","file0":"1332121494","file4":"1332121617","file5":"1332121632","file3":"1332121604"},"map_files_photo_id_array":[{"photo_id":"1332121632","filename":"file5"},{"photo_id":"1332121592","filename":"file2"},{"photo_id":"1332121617","filename":"file4"},{"photo_id":"1332121540","filename":"file1"},{"photo_id":"1332121494","filename":"file0"},{"photo_id":"1332121604","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332121540":["hashtag1","hashtag2"]},{"1332121494":["hashtag1","hashtag2"]},{"1332121617":["hashtag1","hashtag2"]},{"1332121632":["hashtag1","hashtag2"]},{"1332121592":["hashtag1","hashtag2"]},{"1332121604":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332121540, 1332121494, 1332121617, 1332121632, 1332121592, 1332121604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.646498680114746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:12:03.059779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/05/image_28012025_00_05_16_10381.jpg', '/home/pi/Desktop/images/28012025/00/05/image_28012025_00_05_26_9547.jpg', '/home/pi/Desktop/images/28012025/00/05/image_28012025_00_05_36_10358.jpg', '/home/pi/Desktop/images/28012025/00/05/image_28012025_00_05_45_9332.jpg', '/home/pi/Desktop/images/28012025/00/05/image_28012025_00_05_56_10413.jpg', '/home/pi/Desktop/images/28012025/00/05/image_28012025_00_06_05_9428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/05/image_28012025_00_05_16_10381.jpg
/home/pi/Desktop/images/28012025/00/05/image_28012025_00_05_26_9547.jpg
/home/pi/Desktop/images/28012025/00/05/image_28012025_00_05_36_10358.jpg
/home/pi/Desktop/images/28012025/00/05/image_28012025_00_05_45_9332.jpg
/home/pi/Desktop/images/28012025/00/05/image_28012025_00_05_56_10413.jpg
/home/pi/Desktop/images/28012025/00/05/image_28012025_00_06_05_9428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332121762","1332121765","1332121770","1332121752","1332121695","1332121704"],"photo_ids_order":["1332121695","1332121704","1332121752","1332121762","1332121765","1332121770"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1bf96528e5566617e64e4eddeab06a72.jpg","text":"TemporaryFile(/tmp/multipartBody2104737625795331990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019584001,"filename":"image_28012025_00_05_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/1/28/7aaabc21ab6626a8c97173d21e413a1f.jpg","text":"TemporaryFile(/tmp/multipartBody8600243099951335486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019584001,"filename":"image_28012025_00_05_56_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9d48a9bef77be9bd8f9f20bf0e11fe89.jpg","text":"TemporaryFile(/tmp/multipartBody357526242712824433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019584001,"filename":"image_28012025_00_06_05_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f8904534f263eb42c8c0feaba89fdf32.jpg","text":"TemporaryFile(/tmp/multipartBody2990449762700665420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019584001,"filename":"image_28012025_00_05_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/1/28/7d1008ee64f6336c5c06de443e4aabc8.jpg","text":"TemporaryFile(/tmp/multipartBody9217213083817919403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019584001,"filename":"image_28012025_00_05_16_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/62a961043386d3206dbfd6a862c3c741.jpg","text":"TemporaryFile(/tmp/multipartBody2516155228207668585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019584001,"filename":"image_28012025_00_05_26_9547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332121752","file1":"1332121704","file0":"1332121695","file4":"1332121765","file5":"1332121770","file3":"1332121762"},"map_files_photo_id_array":[{"photo_id":"1332121770","filename":"file5"},{"photo_id":"1332121752","filename":"file2"},{"photo_id":"1332121765","filename":"file4"},{"photo_id":"1332121704","filename":"file1"},{"photo_id":"1332121695","filename":"file0"},{"photo_id":"1332121762","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332121762":["hashtag1","hashtag2"]},{"1332121765":["hashtag1","hashtag2"]},{"1332121770":["hashtag1","hashtag2"]},{"1332121752":["hashtag1","hashtag2"]},{"1332121695":["hashtag1","hashtag2"]},{"1332121704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332121762, 1332121765, 1332121770, 1332121752, 1332121695, 1332121704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.51464533805847 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:13:04.055582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/06/image_28012025_00_06_15_10351.jpg', '/home/pi/Desktop/images/28012025/00/06/image_28012025_00_06_26_10369.jpg', '/home/pi/Desktop/images/28012025/00/06/image_28012025_00_06_35_9355.jpg', '/home/pi/Desktop/images/28012025/00/06/image_28012025_00_06_46_10415.jpg', '/home/pi/Desktop/images/28012025/00/06/image_28012025_00_06_56_10346.jpg', '/home/pi/Desktop/images/28012025/00/06/image_28012025_00_07_05_9471.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/06/image_28012025_00_06_15_10351.jpg
/home/pi/Desktop/images/28012025/00/06/image_28012025_00_06_26_10369.jpg
/home/pi/Desktop/images/28012025/00/06/image_28012025_00_06_35_9355.jpg
/home/pi/Desktop/images/28012025/00/06/image_28012025_00_06_46_10415.jpg
/home/pi/Desktop/images/28012025/00/06/image_28012025_00_06_56_10346.jpg
/home/pi/Desktop/images/28012025/00/06/image_28012025_00_07_05_9471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332121789","1332121783","1332121785","1332121784","1332121793","1332121787"],"photo_ids_order":["1332121783","1332121784","1332121785","1332121787","1332121789","1332121793"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/96928f947c2dc15ddf59b56c3516c097.jpg","text":"TemporaryFile(/tmp/multipartBody7051531326891586647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019646514,"filename":"image_28012025_00_06_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/1/28/30f3ca0d81bd3b90d12ed68d31213e39.jpg","text":"TemporaryFile(/tmp/multipartBody693409999269601387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019646514,"filename":"image_28012025_00_06_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/1/28/c4e50acc9cefea22080e7243adb7f932.jpg","text":"TemporaryFile(/tmp/multipartBody3496336721895593005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019646514,"filename":"image_28012025_00_06_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/1/28/399831a42ac99b6d01dffaf85548bffa.jpg","text":"TemporaryFile(/tmp/multipartBody877424860430162039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019646514,"filename":"image_28012025_00_06_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/1/28/62adb9f27f6fa01007875ea34de81d24.jpg","text":"TemporaryFile(/tmp/multipartBody3814737338013022578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019646514,"filename":"image_28012025_00_07_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/1/28/aca78b287965c01fc0cee72c1a2b6442.jpg","text":"TemporaryFile(/tmp/multipartBody2161325038092538452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019646514,"filename":"image_28012025_00_06_46_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332121785","file1":"1332121784","file0":"1332121783","file4":"1332121789","file5":"1332121793","file3":"1332121787"},"map_files_photo_id_array":[{"photo_id":"1332121793","filename":"file5"},{"photo_id":"1332121785","filename":"file2"},{"photo_id":"1332121789","filename":"file4"},{"photo_id":"1332121784","filename":"file1"},{"photo_id":"1332121783","filename":"file0"},{"photo_id":"1332121787","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332121789":["hashtag1","hashtag2"]},{"1332121783":["hashtag1","hashtag2"]},{"1332121785":["hashtag1","hashtag2"]},{"1332121784":["hashtag1","hashtag2"]},{"1332121793":["hashtag1","hashtag2"]},{"1332121787":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332121789, 1332121783, 1332121785, 1332121784, 1332121793, 1332121787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.066405057907104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:14:03.223128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/07/image_28012025_00_07_16_10354.jpg', '/home/pi/Desktop/images/28012025/00/07/image_28012025_00_07_25_9343.jpg', '/home/pi/Desktop/images/28012025/00/07/image_28012025_00_07_36_10454.jpg', '/home/pi/Desktop/images/28012025/00/07/image_28012025_00_07_46_10342.jpg', '/home/pi/Desktop/images/28012025/00/07/image_28012025_00_07_55_9345.jpg', '/home/pi/Desktop/images/28012025/00/07/image_28012025_00_08_06_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/07/image_28012025_00_07_16_10354.jpg
/home/pi/Desktop/images/28012025/00/07/image_28012025_00_07_25_9343.jpg
/home/pi/Desktop/images/28012025/00/07/image_28012025_00_07_36_10454.jpg
/home/pi/Desktop/images/28012025/00/07/image_28012025_00_07_46_10342.jpg
/home/pi/Desktop/images/28012025/00/07/image_28012025_00_07_55_9345.jpg
/home/pi/Desktop/images/28012025/00/07/image_28012025_00_08_06_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332121811","1332121819","1332121804","1332121833","1332121806","1332121809"],"photo_ids_order":["1332121804","1332121806","1332121809","1332121811","1332121819","1332121833"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/70379cb6cf906cfa4b05defa9c41eef9.jpg","text":"TemporaryFile(/tmp/multipartBody6220334133105230696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019704162,"filename":"image_28012025_00_07_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/1/28/6b9fcfe09dce4425b066f6564ad35dea.jpg","text":"TemporaryFile(/tmp/multipartBody8250526309381795535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019704162,"filename":"image_28012025_00_07_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/1/28/e55a57a2ba1cc79f161c9b28f6b57de3.jpg","text":"TemporaryFile(/tmp/multipartBody6748933226249007390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019704162,"filename":"image_28012025_00_07_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/1/28/e785050b50f0b9af6c98a40b30c4d73e.jpg","text":"TemporaryFile(/tmp/multipartBody3729750342571099066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019704162,"filename":"image_28012025_00_08_06_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/eb8e222e0837ad19bb97fd5473f715fa.jpg","text":"TemporaryFile(/tmp/multipartBody8378446956081795633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019704162,"filename":"image_28012025_00_07_25_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7f0ce2252540fe6565fb652f746215dd.jpg","text":"TemporaryFile(/tmp/multipartBody7460705653795639057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019704162,"filename":"image_28012025_00_07_36_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332121809","file1":"1332121806","file0":"1332121804","file4":"1332121819","file5":"1332121833","file3":"1332121811"},"map_files_photo_id_array":[{"photo_id":"1332121833","filename":"file5"},{"photo_id":"1332121809","filename":"file2"},{"photo_id":"1332121819","filename":"file4"},{"photo_id":"1332121806","filename":"file1"},{"photo_id":"1332121804","filename":"file0"},{"photo_id":"1332121811","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332121811":["hashtag1","hashtag2"]},{"1332121819":["hashtag1","hashtag2"]},{"1332121804":["hashtag1","hashtag2"]},{"1332121833":["hashtag1","hashtag2"]},{"1332121806":["hashtag1","hashtag2"]},{"1332121809":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332121811, 1332121819, 1332121804, 1332121833, 1332121806, 1332121809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.115241050720215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:15:04.325451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/08/image_28012025_00_08_16_10427.jpg', '/home/pi/Desktop/images/28012025/00/08/image_28012025_00_08_25_9487.jpg', '/home/pi/Desktop/images/28012025/00/08/image_28012025_00_08_36_10339.jpg', '/home/pi/Desktop/images/28012025/00/08/image_28012025_00_08_45_9406.jpg', '/home/pi/Desktop/images/28012025/00/08/image_28012025_00_08_56_10342.jpg', '/home/pi/Desktop/images/28012025/00/08/image_28012025_00_09_06_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/08/image_28012025_00_08_16_10427.jpg
/home/pi/Desktop/images/28012025/00/08/image_28012025_00_08_25_9487.jpg
/home/pi/Desktop/images/28012025/00/08/image_28012025_00_08_36_10339.jpg
/home/pi/Desktop/images/28012025/00/08/image_28012025_00_08_45_9406.jpg
/home/pi/Desktop/images/28012025/00/08/image_28012025_00_08_56_10342.jpg
/home/pi/Desktop/images/28012025/00/08/image_28012025_00_09_06_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332121894","1332121873","1332121906","1332121917","1332121895","1332121919"],"photo_ids_order":["1332121873","1332121894","1332121895","1332121906","1332121917","1332121919"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/511778ac110c0e88cf87fd9b41f33b7e.jpg","text":"TemporaryFile(/tmp/multipartBody3424428146604414408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019765394,"filename":"image_28012025_00_08_25_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/09a0e614fe3a873ad58c1b78cdd3a660.jpg","text":"TemporaryFile(/tmp/multipartBody735361371186231321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019765394,"filename":"image_28012025_00_08_16_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fb22879de7d738bb1dbd28aeb05fa371.jpg","text":"TemporaryFile(/tmp/multipartBody8775186150420730237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019765394,"filename":"image_28012025_00_08_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/1/28/75f35f3704d4f6c3407fe1da9b2c6af8.jpg","text":"TemporaryFile(/tmp/multipartBody1459642855744901948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019765394,"filename":"image_28012025_00_08_56_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d6f34f12ce11a5ddd27c83b1363fae5f.jpg","text":"TemporaryFile(/tmp/multipartBody1348916051006439134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019765394,"filename":"image_28012025_00_08_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/1/28/60fb11dd6881719cd98a3bbe99f359e6.jpg","text":"TemporaryFile(/tmp/multipartBody5227810293651869306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019765394,"filename":"image_28012025_00_09_06_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332121895","file1":"1332121894","file0":"1332121873","file4":"1332121917","file5":"1332121919","file3":"1332121906"},"map_files_photo_id_array":[{"photo_id":"1332121919","filename":"file5"},{"photo_id":"1332121895","filename":"file2"},{"photo_id":"1332121917","filename":"file4"},{"photo_id":"1332121894","filename":"file1"},{"photo_id":"1332121873","filename":"file0"},{"photo_id":"1332121906","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332121894":["hashtag1","hashtag2"]},{"1332121873":["hashtag1","hashtag2"]},{"1332121906":["hashtag1","hashtag2"]},{"1332121917":["hashtag1","hashtag2"]},{"1332121895":["hashtag1","hashtag2"]},{"1332121919":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332121894, 1332121873, 1332121906, 1332121917, 1332121895, 1332121919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.441842555999756 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:16:03.607065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/09/image_28012025_00_09_15_9453.jpg', '/home/pi/Desktop/images/28012025/00/09/image_28012025_00_09_26_10370.jpg', '/home/pi/Desktop/images/28012025/00/09/image_28012025_00_09_35_9347.jpg', '/home/pi/Desktop/images/28012025/00/09/image_28012025_00_09_45_10353.jpg', '/home/pi/Desktop/images/28012025/00/09/image_28012025_00_09_56_10352.jpg', '/home/pi/Desktop/images/28012025/00/09/image_28012025_00_10_05_9364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/09/image_28012025_00_09_15_9453.jpg
/home/pi/Desktop/images/28012025/00/09/image_28012025_00_09_26_10370.jpg
/home/pi/Desktop/images/28012025/00/09/image_28012025_00_09_35_9347.jpg
/home/pi/Desktop/images/28012025/00/09/image_28012025_00_09_45_10353.jpg
/home/pi/Desktop/images/28012025/00/09/image_28012025_00_09_56_10352.jpg
/home/pi/Desktop/images/28012025/00/09/image_28012025_00_10_05_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5449845790863037 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 00:16:13.002849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/13/image_23012025_23_13_16_9350.jpg', '/home/pi/Desktop/images/23012025/23/13/image_23012025_23_13_26_10434.jpg', '/home/pi/Desktop/images/23012025/23/13/image_23012025_23_13_37_10341.jpg', '/home/pi/Desktop/images/23012025/23/13/image_23012025_23_13_56_10368.jpg', '/home/pi/Desktop/images/23012025/23/13/image_23012025_23_14_07_10348.jpg', '/home/pi/Desktop/images/23012025/23/14/image_23012025_23_14_16_9444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/13/image_23012025_23_13_16_9350.jpg
/home/pi/Desktop/images/23012025/23/13/image_23012025_23_13_26_10434.jpg
/home/pi/Desktop/images/23012025/23/13/image_23012025_23_13_37_10341.jpg
/home/pi/Desktop/images/23012025/23/13/image_23012025_23_13_56_10368.jpg
/home/pi/Desktop/images/23012025/23/13/image_23012025_23_14_07_10348.jpg
/home/pi/Desktop/images/23012025/23/14/image_23012025_23_14_16_9444.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332123054","1332122944","1332123173","1332122783","1332122639","1332122497"],"photo_ids_order":["1332122497","1332122639","1332122783","1332122944","1332123054","1332123173"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/522179d4a65969687b92e21d3b2fa96c.jpg","text":"TemporaryFile(/tmp/multipartBody3626460186660155442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019835122,"filename":"image_23012025_23_14_07_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/eb8649ae0a795072145bba24c56837c4.jpg","text":"TemporaryFile(/tmp/multipartBody6475919771481861822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019835122,"filename":"image_23012025_23_13_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/1/28/19cbf1759ad1b0e29fc88518276bd416.jpg","text":"TemporaryFile(/tmp/multipartBody9117916826430372432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019835122,"filename":"image_23012025_23_14_16_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bdcb18bb01d15800616030e26c0fcc2f.jpg","text":"TemporaryFile(/tmp/multipartBody6569106303047324314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019835122,"filename":"image_23012025_23_13_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/1/28/f406c7898b734529ce8b554f0bd31095.jpg","text":"TemporaryFile(/tmp/multipartBody9142315312942271018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019835122,"filename":"image_23012025_23_13_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/1/28/4a8083aecc7dd03ed41b4ecede981f35.jpg","text":"TemporaryFile(/tmp/multipartBody7725459976605817647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019835122,"filename":"image_23012025_23_13_16_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332122783","file1":"1332122639","file0":"1332122497","file4":"1332123054","file5":"1332123173","file3":"1332122944"},"map_files_photo_id_array":[{"photo_id":"1332123173","filename":"file5"},{"photo_id":"1332122783","filename":"file2"},{"photo_id":"1332123054","filename":"file4"},{"photo_id":"1332122639","filename":"file1"},{"photo_id":"1332122497","filename":"file0"},{"photo_id":"1332122944","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332123054":["hashtag1","hashtag2"]},{"1332122944":["hashtag1","hashtag2"]},{"1332123173":["hashtag1","hashtag2"]},{"1332122783":["hashtag1","hashtag2"]},{"1332122639":["hashtag1","hashtag2"]},{"1332122497":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332123054, 1332122944, 1332123173, 1332122783, 1332122639, 1332122497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.439818143844604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:17:03.736695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/09/image_28012025_00_09_15_9453.jpg', '/home/pi/Desktop/images/28012025/00/09/image_28012025_00_09_26_10370.jpg', '/home/pi/Desktop/images/28012025/00/09/image_28012025_00_09_35_9347.jpg', '/home/pi/Desktop/images/28012025/00/09/image_28012025_00_09_45_10353.jpg', '/home/pi/Desktop/images/28012025/00/09/image_28012025_00_09_56_10352.jpg', '/home/pi/Desktop/images/28012025/00/09/image_28012025_00_10_05_9364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/09/image_28012025_00_09_15_9453.jpg
/home/pi/Desktop/images/28012025/00/09/image_28012025_00_09_26_10370.jpg
/home/pi/Desktop/images/28012025/00/09/image_28012025_00_09_35_9347.jpg
/home/pi/Desktop/images/28012025/00/09/image_28012025_00_09_45_10353.jpg
/home/pi/Desktop/images/28012025/00/09/image_28012025_00_09_56_10352.jpg
/home/pi/Desktop/images/28012025/00/09/image_28012025_00_10_05_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":["1332123270","1332123267","1332123264","1332123272","1332123260","1332123262"],"photo_ids_order":["1332123260","1332123262","1332123264","1332123267","1332123270","1332123272"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c0d52d7a5e9f56e26cc658c9dfcf8656.jpg","text":"TemporaryFile(/tmp/multipartBody2129265949654948192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019884844,"filename":"image_28012025_00_09_56_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b54c24115ba4d2a2e92effcf2e98ffb6.jpg","text":"TemporaryFile(/tmp/multipartBody6160426934211992021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019884844,"filename":"image_28012025_00_09_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/1/28/25c49147dc5850f28a97e103e2ef6ead.jpg","text":"TemporaryFile(/tmp/multipartBody5694017694854167629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019884844,"filename":"image_28012025_00_09_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/1/28/d68c5eabd03cd9af6fe713d1dd2dbd0e.jpg","text":"TemporaryFile(/tmp/multipartBody4563167059116316352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019884844,"filename":"image_28012025_00_10_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/1/28/06a2d5d820a58a2b309d1aee0ae1b3f8.jpg","text":"TemporaryFile(/tmp/multipartBody4741248189263019130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019884844,"filename":"image_28012025_00_09_15_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/54e1bb9bbce7f6ed129cf6579462e7ec.jpg","text":"TemporaryFile(/tmp/multipartBody2137871443873017462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019884844,"filename":"image_28012025_00_09_26_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332123264","file1":"1332123262","file0":"1332123260","file4":"1332123270","file5":"1332123272","file3":"1332123267"},"map_files_photo_id_array":[{"photo_id":"1332123272","filename":"file5"},{"photo_id":"1332123264","filename":"file2"},{"photo_id":"1332123270","filename":"file4"},{"photo_id":"1332123262","filename":"file1"},{"photo_id":"1332123260","filename":"file0"},{"photo_id":"1332123267","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332123270":["hashtag1","hashtag2"]},{"1332123267":["hashtag1","hashtag2"]},{"1332123264":["hashtag1","hashtag2"]},{"1332123272":["hashtag1","hashtag2"]},{"1332123260":["hashtag1","hashtag2"]},{"1332123262":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332123270, 1332123267, 1332123264, 1332123272, 1332123260, 1332123262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.27943706512451 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:18:03.155783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/10/image_28012025_00_10_16_10336.jpg', '/home/pi/Desktop/images/28012025/00/10/image_28012025_00_10_26_10413.jpg', '/home/pi/Desktop/images/28012025/00/10/image_28012025_00_10_35_9417.jpg', '/home/pi/Desktop/images/28012025/00/10/image_28012025_00_10_46_10365.jpg', '/home/pi/Desktop/images/28012025/00/10/image_28012025_00_10_55_9357.jpg', '/home/pi/Desktop/images/28012025/00/10/image_28012025_00_11_06_10443.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/10/image_28012025_00_10_16_10336.jpg
/home/pi/Desktop/images/28012025/00/10/image_28012025_00_10_26_10413.jpg
/home/pi/Desktop/images/28012025/00/10/image_28012025_00_10_35_9417.jpg
/home/pi/Desktop/images/28012025/00/10/image_28012025_00_10_46_10365.jpg
/home/pi/Desktop/images/28012025/00/10/image_28012025_00_10_55_9357.jpg
/home/pi/Desktop/images/28012025/00/10/image_28012025_00_11_06_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":["1332123558","1332123641","1332123638","1332123611","1332123608","1332123589"],"photo_ids_order":["1332123558","1332123589","1332123608","1332123611","1332123638","1332123641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3851ff9c6849dc1c5d0d619f22837d6b.jpg","text":"TemporaryFile(/tmp/multipartBody7115612387744568545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019944095,"filename":"image_28012025_00_10_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/1/28/91f6bc439ef0164647b1e53f99e65e51.jpg","text":"TemporaryFile(/tmp/multipartBody915501245753137090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019944095,"filename":"image_28012025_00_11_06_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7949893ca6b928c683cc93ef12abbe05.jpg","text":"TemporaryFile(/tmp/multipartBody5253538851043918436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019944095,"filename":"image_28012025_00_10_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/1/28/7c3c088ab0fc16e76f0e955da172fa77.jpg","text":"TemporaryFile(/tmp/multipartBody2687699161702495350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019944095,"filename":"image_28012025_00_10_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/1/28/8bcf62db362a6fa08472badcc2c52908.jpg","text":"TemporaryFile(/tmp/multipartBody528804288886335445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019944095,"filename":"image_28012025_00_10_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/1/28/6cdbbf6fe55c44425c88cd2751fb4b2d.jpg","text":"TemporaryFile(/tmp/multipartBody2734251967740057473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738019944095,"filename":"image_28012025_00_10_26_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332123608","file1":"1332123589","file0":"1332123558","file4":"1332123638","file5":"1332123641","file3":"1332123611"},"map_files_photo_id_array":[{"photo_id":"1332123641","filename":"file5"},{"photo_id":"1332123608","filename":"file2"},{"photo_id":"1332123638","filename":"file4"},{"photo_id":"1332123589","filename":"file1"},{"photo_id":"1332123558","filename":"file0"},{"photo_id":"1332123611","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332123558":["hashtag1","hashtag2"]},{"1332123641":["hashtag1","hashtag2"]},{"1332123638":["hashtag1","hashtag2"]},{"1332123611":["hashtag1","hashtag2"]},{"1332123608":["hashtag1","hashtag2"]},{"1332123589":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332123558, 1332123641, 1332123638, 1332123611, 1332123608, 1332123589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.728028774261475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:19:04.276921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/11/image_28012025_00_11_16_10345.jpg', '/home/pi/Desktop/images/28012025/00/11/image_28012025_00_11_25_9349.jpg', '/home/pi/Desktop/images/28012025/00/11/image_28012025_00_11_36_10392.jpg', '/home/pi/Desktop/images/28012025/00/11/image_28012025_00_11_46_10358.jpg', '/home/pi/Desktop/images/28012025/00/11/image_28012025_00_11_55_9429.jpg', '/home/pi/Desktop/images/28012025/00/11/image_28012025_00_12_06_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/11/image_28012025_00_11_16_10345.jpg
/home/pi/Desktop/images/28012025/00/11/image_28012025_00_11_25_9349.jpg
/home/pi/Desktop/images/28012025/00/11/image_28012025_00_11_36_10392.jpg
/home/pi/Desktop/images/28012025/00/11/image_28012025_00_11_46_10358.jpg
/home/pi/Desktop/images/28012025/00/11/image_28012025_00_11_55_9429.jpg
/home/pi/Desktop/images/28012025/00/11/image_28012025_00_12_06_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":["1332123831","1332124052","1332123816","1332123827","1332123920","1332123838"],"photo_ids_order":["1332123816","1332123827","1332123831","1332123838","1332123920","1332124052"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cbfc0aced41408f37fde0a69a53afcd3.jpg","text":"TemporaryFile(/tmp/multipartBody4002136463896899572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020005318,"filename":"image_28012025_00_11_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/1/28/6566e38922e42673dd1e0f981ea5530b.jpg","text":"TemporaryFile(/tmp/multipartBody1207712119674817353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020005318,"filename":"image_28012025_00_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/1/28/af053ac53e696e0122fbd3244528a656.jpg","text":"TemporaryFile(/tmp/multipartBody6148128198655623483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020005318,"filename":"image_28012025_00_11_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/1/28/944a461575b729694be9a20012d4203b.jpg","text":"TemporaryFile(/tmp/multipartBody6503185457973948681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020005318,"filename":"image_28012025_00_11_25_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9d90c522ce0db5b89589e088ab24a75c.jpg","text":"TemporaryFile(/tmp/multipartBody5148440796300694268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020005318,"filename":"image_28012025_00_11_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/1/28/5a1cec1af1a8546eeee838e1b97445db.jpg","text":"TemporaryFile(/tmp/multipartBody4199292520310914090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020005318,"filename":"image_28012025_00_11_46_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332123831","file1":"1332123827","file0":"1332123816","file4":"1332123920","file5":"1332124052","file3":"1332123838"},"map_files_photo_id_array":[{"photo_id":"1332124052","filename":"file5"},{"photo_id":"1332123831","filename":"file2"},{"photo_id":"1332123920","filename":"file4"},{"photo_id":"1332123827","filename":"file1"},{"photo_id":"1332123816","filename":"file0"},{"photo_id":"1332123838","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332123831":["hashtag1","hashtag2"]},{"1332124052":["hashtag1","hashtag2"]},{"1332123816":["hashtag1","hashtag2"]},{"1332123827":["hashtag1","hashtag2"]},{"1332123920":["hashtag1","hashtag2"]},{"1332123838":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332123831, 1332124052, 1332123816, 1332123827, 1332123920, 1332123838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.340566873550415 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:20:03.446760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/12/image_28012025_00_12_15_9327.jpg', '/home/pi/Desktop/images/28012025/00/12/image_28012025_00_12_26_10450.jpg', '/home/pi/Desktop/images/28012025/00/12/image_28012025_00_12_36_10357.jpg', '/home/pi/Desktop/images/28012025/00/12/image_28012025_00_12_45_9332.jpg', '/home/pi/Desktop/images/28012025/00/12/image_28012025_00_12_56_10418.jpg', '/home/pi/Desktop/images/28012025/00/12/image_28012025_00_13_06_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/12/image_28012025_00_12_15_9327.jpg
/home/pi/Desktop/images/28012025/00/12/image_28012025_00_12_26_10450.jpg
/home/pi/Desktop/images/28012025/00/12/image_28012025_00_12_36_10357.jpg
/home/pi/Desktop/images/28012025/00/12/image_28012025_00_12_45_9332.jpg
/home/pi/Desktop/images/28012025/00/12/image_28012025_00_12_56_10418.jpg
/home/pi/Desktop/images/28012025/00/12/image_28012025_00_13_06_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":["1332124361","1332124381","1332124384","1332124357","1332124350","1332124338"],"photo_ids_order":["1332124338","1332124350","1332124357","1332124361","1332124381","1332124384"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2e056e6c41c1051cc101ac2556287501.jpg","text":"TemporaryFile(/tmp/multipartBody4848557861221732129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020064388,"filename":"image_28012025_00_12_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/1/28/e11651543026d0ca3a451651432a4592.jpg","text":"TemporaryFile(/tmp/multipartBody1926926132722689698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020064388,"filename":"image_28012025_00_12_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/1/28/136098c55035f88f16525013fa8b9688.jpg","text":"TemporaryFile(/tmp/multipartBody4009778714188827289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020064388,"filename":"image_28012025_00_13_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/1/28/6a3aa806553be497fec4a07193d200ad.jpg","text":"TemporaryFile(/tmp/multipartBody307706150699192613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020064388,"filename":"image_28012025_00_12_36_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e5a17eb38f1e837fb0306fd4158fa77e.jpg","text":"TemporaryFile(/tmp/multipartBody6878169184081642501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020064388,"filename":"image_28012025_00_12_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/1/28/7b2180fffc3dfc34a9db9e231301ebf1.jpg","text":"TemporaryFile(/tmp/multipartBody6718616274381030474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020064388,"filename":"image_28012025_00_12_15_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332124357","file1":"1332124350","file0":"1332124338","file4":"1332124381","file5":"1332124384","file3":"1332124361"},"map_files_photo_id_array":[{"photo_id":"1332124384","filename":"file5"},{"photo_id":"1332124357","filename":"file2"},{"photo_id":"1332124381","filename":"file4"},{"photo_id":"1332124350","filename":"file1"},{"photo_id":"1332124338","filename":"file0"},{"photo_id":"1332124361","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332124361":["hashtag1","hashtag2"]},{"1332124381":["hashtag1","hashtag2"]},{"1332124384":["hashtag1","hashtag2"]},{"1332124357":["hashtag1","hashtag2"]},{"1332124350":["hashtag1","hashtag2"]},{"1332124338":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332124361, 1332124381, 1332124384, 1332124357, 1332124350, 1332124338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.44741201400757 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:21:04.300599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/13/image_28012025_00_13_15_9376.jpg', '/home/pi/Desktop/images/28012025/00/13/image_28012025_00_13_26_10438.jpg', '/home/pi/Desktop/images/28012025/00/13/image_28012025_00_13_35_9333.jpg', '/home/pi/Desktop/images/28012025/00/13/image_28012025_00_13_46_10455.jpg', '/home/pi/Desktop/images/28012025/00/13/image_28012025_00_13_56_10396.jpg', '/home/pi/Desktop/images/28012025/00/13/image_28012025_00_14_06_9576.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/13/image_28012025_00_13_15_9376.jpg
/home/pi/Desktop/images/28012025/00/13/image_28012025_00_13_26_10438.jpg
/home/pi/Desktop/images/28012025/00/13/image_28012025_00_13_35_9333.jpg
/home/pi/Desktop/images/28012025/00/13/image_28012025_00_13_46_10455.jpg
/home/pi/Desktop/images/28012025/00/13/image_28012025_00_13_56_10396.jpg
/home/pi/Desktop/images/28012025/00/13/image_28012025_00_14_06_9576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332124697","1332124670","1332124693","1332124687","1332124690","1332124684"],"photo_ids_order":["1332124670","1332124684","1332124687","1332124690","1332124693","1332124697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f89fb437f5ec7de35be50b7f8bf65357.jpg","text":"TemporaryFile(/tmp/multipartBody8929962311874375814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020127043,"filename":"image_28012025_00_14_06_9576.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/73bf1aa4e35f37207bba434fc369de96.jpg","text":"TemporaryFile(/tmp/multipartBody113727698089703906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020127043,"filename":"image_28012025_00_13_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/1/28/14b1ee96c3205f2b54d30c640f97815e.jpg","text":"TemporaryFile(/tmp/multipartBody7221139501646542306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020127043,"filename":"image_28012025_00_13_56_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0b3e185496ded58843c13c9d1247f512.jpg","text":"TemporaryFile(/tmp/multipartBody115228391782628763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020127043,"filename":"image_28012025_00_13_35_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/616f1f85163177000c5b35999ba78b30.jpg","text":"TemporaryFile(/tmp/multipartBody3491356319356772100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020127043,"filename":"image_28012025_00_13_46_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/520cd6efc75a04f6c095957b777d1598.jpg","text":"TemporaryFile(/tmp/multipartBody8923105279733185174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020127043,"filename":"image_28012025_00_13_26_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332124687","file1":"1332124684","file0":"1332124670","file4":"1332124693","file5":"1332124697","file3":"1332124690"},"map_files_photo_id_array":[{"photo_id":"1332124697","filename":"file5"},{"photo_id":"1332124687","filename":"file2"},{"photo_id":"1332124693","filename":"file4"},{"photo_id":"1332124684","filename":"file1"},{"photo_id":"1332124670","filename":"file0"},{"photo_id":"1332124690","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332124697":["hashtag1","hashtag2"]},{"1332124670":["hashtag1","hashtag2"]},{"1332124693":["hashtag1","hashtag2"]},{"1332124687":["hashtag1","hashtag2"]},{"1332124690":["hashtag1","hashtag2"]},{"1332124684":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332124697, 1332124670, 1332124693, 1332124687, 1332124690, 1332124684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.08817100524902 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:22:02.979824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/14/image_28012025_00_14_15_9536.jpg', '/home/pi/Desktop/images/28012025/00/14/image_28012025_00_14_26_10476.jpg', '/home/pi/Desktop/images/28012025/00/14/image_28012025_00_14_36_10370.jpg', '/home/pi/Desktop/images/28012025/00/14/image_28012025_00_14_46_10033.jpg', '/home/pi/Desktop/images/28012025/00/14/image_28012025_00_14_55_9387.jpg', '/home/pi/Desktop/images/28012025/00/14/image_28012025_00_15_06_10327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/14/image_28012025_00_14_15_9536.jpg
/home/pi/Desktop/images/28012025/00/14/image_28012025_00_14_26_10476.jpg
/home/pi/Desktop/images/28012025/00/14/image_28012025_00_14_36_10370.jpg
/home/pi/Desktop/images/28012025/00/14/image_28012025_00_14_46_10033.jpg
/home/pi/Desktop/images/28012025/00/14/image_28012025_00_14_55_9387.jpg
/home/pi/Desktop/images/28012025/00/14/image_28012025_00_15_06_10327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332124722","1332124716","1332124731","1332124719","1332124713","1332124709"],"photo_ids_order":["1332124709","1332124713","1332124716","1332124719","1332124722","1332124731"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dfc577fc01543df802d9a03c0bc3faae.jpg","text":"TemporaryFile(/tmp/multipartBody1470792016995275219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020183916,"filename":"image_28012025_00_14_55_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5d4f90b327bc6ee7f2d76d36997dbaf1.jpg","text":"TemporaryFile(/tmp/multipartBody3138521949182534533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020183916,"filename":"image_28012025_00_14_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/1/28/151f474998118ee3839b3a69d5520867.jpg","text":"TemporaryFile(/tmp/multipartBody8228927156589581804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020183916,"filename":"image_28012025_00_15_06_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8f52ae8ee88d5d56b86dc99980477760.jpg","text":"TemporaryFile(/tmp/multipartBody5499546577605998063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020183916,"filename":"image_28012025_00_14_46_10033.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8d17bc942015d6f3b682dbf06d3e1776.jpg","text":"TemporaryFile(/tmp/multipartBody3175282905364361998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020183916,"filename":"image_28012025_00_14_26_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/95998ce3664b3bd29411d764789d802a.jpg","text":"TemporaryFile(/tmp/multipartBody426604843290383907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020183916,"filename":"image_28012025_00_14_15_9536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332124716","file1":"1332124713","file0":"1332124709","file4":"1332124722","file5":"1332124731","file3":"1332124719"},"map_files_photo_id_array":[{"photo_id":"1332124731","filename":"file5"},{"photo_id":"1332124716","filename":"file2"},{"photo_id":"1332124722","filename":"file4"},{"photo_id":"1332124713","filename":"file1"},{"photo_id":"1332124709","filename":"file0"},{"photo_id":"1332124719","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332124722":["hashtag1","hashtag2"]},{"1332124716":["hashtag1","hashtag2"]},{"1332124731":["hashtag1","hashtag2"]},{"1332124719":["hashtag1","hashtag2"]},{"1332124713":["hashtag1","hashtag2"]},{"1332124709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332124722, 1332124716, 1332124731, 1332124719, 1332124713, 1332124709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.605754375457764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:23:03.945959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/15/image_28012025_00_15_15_9323.jpg', '/home/pi/Desktop/images/28012025/00/15/image_28012025_00_15_25_10394.jpg', '/home/pi/Desktop/images/28012025/00/15/image_28012025_00_15_36_10460.jpg', '/home/pi/Desktop/images/28012025/00/15/image_28012025_00_15_45_9336.jpg', '/home/pi/Desktop/images/28012025/00/15/image_28012025_00_15_56_10423.jpg', '/home/pi/Desktop/images/28012025/00/15/image_28012025_00_16_06_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/15/image_28012025_00_15_15_9323.jpg
/home/pi/Desktop/images/28012025/00/15/image_28012025_00_15_25_10394.jpg
/home/pi/Desktop/images/28012025/00/15/image_28012025_00_15_36_10460.jpg
/home/pi/Desktop/images/28012025/00/15/image_28012025_00_15_45_9336.jpg
/home/pi/Desktop/images/28012025/00/15/image_28012025_00_15_56_10423.jpg
/home/pi/Desktop/images/28012025/00/15/image_28012025_00_16_06_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332124758","1332124763","1332124772","1332124766","1332124769","1332124755"],"photo_ids_order":["1332124755","1332124758","1332124763","1332124766","1332124769","1332124772"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bb82fcee725ca6b3ce6e1f7a4bf7d1b4.jpg","text":"TemporaryFile(/tmp/multipartBody430301781366770524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020244983,"filename":"image_28012025_00_15_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/1/28/0be7e94a44cffc144ab8acb336bd2a02.jpg","text":"TemporaryFile(/tmp/multipartBody1895118270603072742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020244983,"filename":"image_28012025_00_15_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/1/28/068ef373fd229b785c371261372b0ce6.jpg","text":"TemporaryFile(/tmp/multipartBody2552548333517353573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020244983,"filename":"image_28012025_00_16_06_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cc85cc9977dd6cf7ff7d3c1114126ee3.jpg","text":"TemporaryFile(/tmp/multipartBody2871807062322243827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020244983,"filename":"image_28012025_00_15_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/1/28/49f7c2c47a684f1b7148745ad1fa186e.jpg","text":"TemporaryFile(/tmp/multipartBody223196588764746720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020244983,"filename":"image_28012025_00_15_56_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f6d0f9ac8f8d291f0d06fa03076cb565.jpg","text":"TemporaryFile(/tmp/multipartBody3098729744658218129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020244983,"filename":"image_28012025_00_15_15_9323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332124763","file1":"1332124758","file0":"1332124755","file4":"1332124769","file5":"1332124772","file3":"1332124766"},"map_files_photo_id_array":[{"photo_id":"1332124772","filename":"file5"},{"photo_id":"1332124763","filename":"file2"},{"photo_id":"1332124769","filename":"file4"},{"photo_id":"1332124758","filename":"file1"},{"photo_id":"1332124755","filename":"file0"},{"photo_id":"1332124766","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332124758":["hashtag1","hashtag2"]},{"1332124763":["hashtag1","hashtag2"]},{"1332124772":["hashtag1","hashtag2"]},{"1332124766":["hashtag1","hashtag2"]},{"1332124769":["hashtag1","hashtag2"]},{"1332124755":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332124758, 1332124763, 1332124772, 1332124766, 1332124769, 1332124755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.49626421928406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:24:03.461183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/16/image_28012025_00_16_15_9484.jpg', '/home/pi/Desktop/images/28012025/00/16/image_28012025_00_16_26_10360.jpg', '/home/pi/Desktop/images/28012025/00/16/image_28012025_00_16_35_9350.jpg', '/home/pi/Desktop/images/28012025/00/16/image_28012025_00_16_46_10402.jpg', '/home/pi/Desktop/images/28012025/00/16/image_28012025_00_16_56_10348.jpg', '/home/pi/Desktop/images/28012025/00/16/image_28012025_00_17_05_9457.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/16/image_28012025_00_16_15_9484.jpg
/home/pi/Desktop/images/28012025/00/16/image_28012025_00_16_26_10360.jpg
/home/pi/Desktop/images/28012025/00/16/image_28012025_00_16_35_9350.jpg
/home/pi/Desktop/images/28012025/00/16/image_28012025_00_16_46_10402.jpg
/home/pi/Desktop/images/28012025/00/16/image_28012025_00_16_56_10348.jpg
/home/pi/Desktop/images/28012025/00/16/image_28012025_00_17_05_9457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332124793","1332124790","1332124897","1332124786","1332124780","1332124783"],"photo_ids_order":["1332124780","1332124783","1332124786","1332124790","1332124793","1332124897"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5bb5ce2f960346803859627b2ed03e96.jpg","text":"TemporaryFile(/tmp/multipartBody5901928188109476112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020304416,"filename":"image_28012025_00_16_56_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3db43f7e88db93e3eb2e1711c810a07a.jpg","text":"TemporaryFile(/tmp/multipartBody6857344454780919741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020304416,"filename":"image_28012025_00_16_46_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5dd345fce8e7500f2554ff7fbcbc74a9.jpg","text":"TemporaryFile(/tmp/multipartBody6753458869033732973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020304416,"filename":"image_28012025_00_17_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/1/28/8d885c35eee664a76ccae576129ffddc.jpg","text":"TemporaryFile(/tmp/multipartBody7260921800258193882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020304416,"filename":"image_28012025_00_16_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/1/28/2edaeac3e983410b1f51deef61fd641c.jpg","text":"TemporaryFile(/tmp/multipartBody4053261391377628513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020304416,"filename":"image_28012025_00_16_15_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d6cbdae97c88feadc274c5398780b767.jpg","text":"TemporaryFile(/tmp/multipartBody2800722657739860168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020304416,"filename":"image_28012025_00_16_26_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332124786","file1":"1332124783","file0":"1332124780","file4":"1332124793","file5":"1332124897","file3":"1332124790"},"map_files_photo_id_array":[{"photo_id":"1332124897","filename":"file5"},{"photo_id":"1332124786","filename":"file2"},{"photo_id":"1332124793","filename":"file4"},{"photo_id":"1332124783","filename":"file1"},{"photo_id":"1332124780","filename":"file0"},{"photo_id":"1332124790","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332124793":["hashtag1","hashtag2"]},{"1332124790":["hashtag1","hashtag2"]},{"1332124897":["hashtag1","hashtag2"]},{"1332124786":["hashtag1","hashtag2"]},{"1332124780":["hashtag1","hashtag2"]},{"1332124783":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332124793, 1332124790, 1332124897, 1332124786, 1332124780, 1332124783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2961847782135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:25:04.443390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/17/image_28012025_00_17_16_10357.jpg', '/home/pi/Desktop/images/28012025/00/17/image_28012025_00_17_25_9331.jpg', '/home/pi/Desktop/images/28012025/00/17/image_28012025_00_17_35_10377.jpg', '/home/pi/Desktop/images/28012025/00/17/image_28012025_00_17_46_10343.jpg', '/home/pi/Desktop/images/28012025/00/17/image_28012025_00_17_55_9345.jpg', '/home/pi/Desktop/images/28012025/00/17/image_28012025_00_18_06_10446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/17/image_28012025_00_17_16_10357.jpg
/home/pi/Desktop/images/28012025/00/17/image_28012025_00_17_25_9331.jpg
/home/pi/Desktop/images/28012025/00/17/image_28012025_00_17_35_10377.jpg
/home/pi/Desktop/images/28012025/00/17/image_28012025_00_17_46_10343.jpg
/home/pi/Desktop/images/28012025/00/17/image_28012025_00_17_55_9345.jpg
/home/pi/Desktop/images/28012025/00/17/image_28012025_00_18_06_10446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332126014","1332125933","1332126019","1332126010","1332125991","1332125997"],"photo_ids_order":["1332125933","1332125991","1332125997","1332126010","1332126014","1332126019"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1813ee715a48d86b90bfebbf78340330.jpg","text":"TemporaryFile(/tmp/multipartBody116918870286433590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020365483,"filename":"image_28012025_00_17_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/1/28/7d516423adb4df0b5f3483ee9d70551f.jpg","text":"TemporaryFile(/tmp/multipartBody1365297919518875959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020365483,"filename":"image_28012025_00_17_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/1/28/91123c83c0805d27ca8b96278e6d2340.jpg","text":"TemporaryFile(/tmp/multipartBody2893121176411968410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020365483,"filename":"image_28012025_00_18_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/1/28/beab4afb9c63301ab7bec11ba5c58edf.jpg","text":"TemporaryFile(/tmp/multipartBody3245679450391116046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020365483,"filename":"image_28012025_00_17_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/1/28/ce24d2df36b836268dca5258147d1a5c.jpg","text":"TemporaryFile(/tmp/multipartBody3325654509775528960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020365483,"filename":"image_28012025_00_17_25_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/64fc85755add0eb488d1caa8f58bda4d.jpg","text":"TemporaryFile(/tmp/multipartBody1218464837302222605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020365483,"filename":"image_28012025_00_17_35_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332125997","file1":"1332125991","file0":"1332125933","file4":"1332126014","file5":"1332126019","file3":"1332126010"},"map_files_photo_id_array":[{"photo_id":"1332126019","filename":"file5"},{"photo_id":"1332125997","filename":"file2"},{"photo_id":"1332126014","filename":"file4"},{"photo_id":"1332125991","filename":"file1"},{"photo_id":"1332125933","filename":"file0"},{"photo_id":"1332126010","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332126014":["hashtag1","hashtag2"]},{"1332125933":["hashtag1","hashtag2"]},{"1332126019":["hashtag1","hashtag2"]},{"1332126010":["hashtag1","hashtag2"]},{"1332125991":["hashtag1","hashtag2"]},{"1332125997":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332126014, 1332125933, 1332126019, 1332126010, 1332125991, 1332125997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75806021690369 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:26:02.878381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/18/image_28012025_00_18_16_10342.jpg', '/home/pi/Desktop/images/28012025/00/18/image_28012025_00_18_25_9387.jpg', '/home/pi/Desktop/images/28012025/00/18/image_28012025_00_18_36_10350.jpg', '/home/pi/Desktop/images/28012025/00/18/image_28012025_00_18_45_9356.jpg', '/home/pi/Desktop/images/28012025/00/18/image_28012025_00_18_55_10467.jpg', '/home/pi/Desktop/images/28012025/00/18/image_28012025_00_19_06_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/18/image_28012025_00_18_16_10342.jpg
/home/pi/Desktop/images/28012025/00/18/image_28012025_00_18_25_9387.jpg
/home/pi/Desktop/images/28012025/00/18/image_28012025_00_18_36_10350.jpg
/home/pi/Desktop/images/28012025/00/18/image_28012025_00_18_45_9356.jpg
/home/pi/Desktop/images/28012025/00/18/image_28012025_00_18_55_10467.jpg
/home/pi/Desktop/images/28012025/00/18/image_28012025_00_19_06_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":["1332126419","1332126391","1332126421","1332126396","1332126393","1332126417"],"photo_ids_order":["1332126391","1332126393","1332126396","1332126417","1332126419","1332126421"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3c8eef29c7de68ce69dc1fbeb7619401.jpg","text":"TemporaryFile(/tmp/multipartBody6181572313197704872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020423810,"filename":"image_28012025_00_18_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/1/28/b1fe3172f338686666d355d9118e2a87.jpg","text":"TemporaryFile(/tmp/multipartBody4393077479195955722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020423810,"filename":"image_28012025_00_18_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/1/28/3439a619f8b3ad38c8e3ba3b99b17421.jpg","text":"TemporaryFile(/tmp/multipartBody8889500176379427572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020423810,"filename":"image_28012025_00_19_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/1/28/e497fd35eade85ca3f48932374bea850.jpg","text":"TemporaryFile(/tmp/multipartBody6600611710162201832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020423810,"filename":"image_28012025_00_18_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/1/28/ed716d76828b48331becefd9d1e3d1a2.jpg","text":"TemporaryFile(/tmp/multipartBody1078965380359757807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020423810,"filename":"image_28012025_00_18_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/1/28/97799e4d11bb2f64f0c6e8e8aabe7364.jpg","text":"TemporaryFile(/tmp/multipartBody8365740314596289742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020423810,"filename":"image_28012025_00_18_45_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332126396","file1":"1332126393","file0":"1332126391","file4":"1332126419","file5":"1332126421","file3":"1332126417"},"map_files_photo_id_array":[{"photo_id":"1332126421","filename":"file5"},{"photo_id":"1332126396","filename":"file2"},{"photo_id":"1332126419","filename":"file4"},{"photo_id":"1332126393","filename":"file1"},{"photo_id":"1332126391","filename":"file0"},{"photo_id":"1332126417","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332126419":["hashtag1","hashtag2"]},{"1332126391":["hashtag1","hashtag2"]},{"1332126421":["hashtag1","hashtag2"]},{"1332126396":["hashtag1","hashtag2"]},{"1332126393":["hashtag1","hashtag2"]},{"1332126417":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332126419, 1332126391, 1332126421, 1332126396, 1332126393, 1332126417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.8878812789917 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:27:03.590572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/19/image_28012025_00_19_15_9325.jpg', '/home/pi/Desktop/images/28012025/00/19/image_28012025_00_19_26_10455.jpg', '/home/pi/Desktop/images/28012025/00/19/image_28012025_00_19_36_10341.jpg', '/home/pi/Desktop/images/28012025/00/19/image_28012025_00_19_45_9397.jpg', '/home/pi/Desktop/images/28012025/00/19/image_28012025_00_19_56_10351.jpg', '/home/pi/Desktop/images/28012025/00/19/image_28012025_00_20_05_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/19/image_28012025_00_19_15_9325.jpg
/home/pi/Desktop/images/28012025/00/19/image_28012025_00_19_26_10455.jpg
/home/pi/Desktop/images/28012025/00/19/image_28012025_00_19_36_10341.jpg
/home/pi/Desktop/images/28012025/00/19/image_28012025_00_19_45_9397.jpg
/home/pi/Desktop/images/28012025/00/19/image_28012025_00_19_56_10351.jpg
/home/pi/Desktop/images/28012025/00/19/image_28012025_00_20_05_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332126614","1332126616","1332126619","1332126618","1332126621","1332126615"],"photo_ids_order":["1332126614","1332126615","1332126616","1332126618","1332126619","1332126621"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d8f0edbd3aa6dee22f27264cbf1f10e7.jpg","text":"TemporaryFile(/tmp/multipartBody59517906652103132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020484650,"filename":"image_28012025_00_19_15_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c0341a33634b8d4be96e8e553a44a0ab.jpg","text":"TemporaryFile(/tmp/multipartBody7873902579519429189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020484650,"filename":"image_28012025_00_19_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/1/28/48f1f64647100d7ecbd991fb3689da80.jpg","text":"TemporaryFile(/tmp/multipartBody8675906334865374492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020484650,"filename":"image_28012025_00_19_56_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6dc966b1ffc78a9a38f3a31201ae7dce.jpg","text":"TemporaryFile(/tmp/multipartBody1514281901152008233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020484650,"filename":"image_28012025_00_19_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/1/28/0ba4a68759409a01fcdd2ba25161516a.jpg","text":"TemporaryFile(/tmp/multipartBody6040851101258289986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020484650,"filename":"image_28012025_00_20_05_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/81a3f3910dd7f88632adcfc69df36277.jpg","text":"TemporaryFile(/tmp/multipartBody8058014612184322605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020484650,"filename":"image_28012025_00_19_26_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332126616","file1":"1332126615","file0":"1332126614","file4":"1332126619","file5":"1332126621","file3":"1332126618"},"map_files_photo_id_array":[{"photo_id":"1332126621","filename":"file5"},{"photo_id":"1332126616","filename":"file2"},{"photo_id":"1332126619","filename":"file4"},{"photo_id":"1332126615","filename":"file1"},{"photo_id":"1332126614","filename":"file0"},{"photo_id":"1332126618","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332126614":["hashtag1","hashtag2"]},{"1332126616":["hashtag1","hashtag2"]},{"1332126619":["hashtag1","hashtag2"]},{"1332126618":["hashtag1","hashtag2"]},{"1332126621":["hashtag1","hashtag2"]},{"1332126615":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332126614, 1332126616, 1332126619, 1332126618, 1332126621, 1332126615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.26526403427124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:28:03.117891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/20/image_28012025_00_20_15_10333.jpg', '/home/pi/Desktop/images/28012025/00/20/image_28012025_00_20_26_10355.jpg', '/home/pi/Desktop/images/28012025/00/20/image_28012025_00_20_35_9358.jpg', '/home/pi/Desktop/images/28012025/00/20/image_28012025_00_20_46_10470.jpg', '/home/pi/Desktop/images/28012025/00/20/image_28012025_00_20_56_10357.jpg', '/home/pi/Desktop/images/28012025/00/20/image_28012025_00_21_05_9455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/20/image_28012025_00_20_15_10333.jpg
/home/pi/Desktop/images/28012025/00/20/image_28012025_00_20_26_10355.jpg
/home/pi/Desktop/images/28012025/00/20/image_28012025_00_20_35_9358.jpg
/home/pi/Desktop/images/28012025/00/20/image_28012025_00_20_46_10470.jpg
/home/pi/Desktop/images/28012025/00/20/image_28012025_00_20_56_10357.jpg
/home/pi/Desktop/images/28012025/00/20/image_28012025_00_21_05_9455.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5487060546875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 00:28:12.580561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/14/image_23012025_23_14_26_10362.jpg', '/home/pi/Desktop/images/23012025/23/14/image_23012025_23_14_36_9391.jpg', '/home/pi/Desktop/images/23012025/23/14/image_23012025_23_14_46_10447.jpg', '/home/pi/Desktop/images/23012025/23/14/image_23012025_23_14_57_10364.jpg', '/home/pi/Desktop/images/23012025/23/14/image_23012025_23_15_06_9389.jpg', '/home/pi/Desktop/images/23012025/23/15/image_23012025_23_15_16_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/14/image_23012025_23_14_26_10362.jpg
/home/pi/Desktop/images/23012025/23/14/image_23012025_23_14_36_9391.jpg
/home/pi/Desktop/images/23012025/23/14/image_23012025_23_14_46_10447.jpg
/home/pi/Desktop/images/23012025/23/14/image_23012025_23_14_57_10364.jpg
/home/pi/Desktop/images/23012025/23/14/image_23012025_23_15_06_9389.jpg
/home/pi/Desktop/images/23012025/23/15/image_23012025_23_15_16_10367.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332126862","1332126865","1332126876","1332126872","1332126869","1332126860"],"photo_ids_order":["1332126860","1332126862","1332126865","1332126869","1332126872","1332126876"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e8f40cd637aef889626db1d758e7fd27.jpg","text":"TemporaryFile(/tmp/multipartBody8355476564029276853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020554716,"filename":"image_23012025_23_14_36_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4f3ed15a8733040e7c20fb026d877487.jpg","text":"TemporaryFile(/tmp/multipartBody4981657155426255084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020554716,"filename":"image_23012025_23_14_46_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4157aeefbcd2989bed65cb5bf25fbfb4.jpg","text":"TemporaryFile(/tmp/multipartBody1025737372221562513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020554716,"filename":"image_23012025_23_15_16_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9f803fe72a1a3fe96fd818335051bd3f.jpg","text":"TemporaryFile(/tmp/multipartBody5434878778232941008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020554716,"filename":"image_23012025_23_15_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/1/28/84b6f972c1f5135e32a7446e30e6a7c9.jpg","text":"TemporaryFile(/tmp/multipartBody7466491117956774299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020554716,"filename":"image_23012025_23_14_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/1/28/e99980e8fd32d9250e6da7b7cbe5a648.jpg","text":"TemporaryFile(/tmp/multipartBody9179180998522431896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020554716,"filename":"image_23012025_23_14_26_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332126865","file1":"1332126862","file0":"1332126860","file4":"1332126872","file5":"1332126876","file3":"1332126869"},"map_files_photo_id_array":[{"photo_id":"1332126876","filename":"file5"},{"photo_id":"1332126865","filename":"file2"},{"photo_id":"1332126872","filename":"file4"},{"photo_id":"1332126862","filename":"file1"},{"photo_id":"1332126860","filename":"file0"},{"photo_id":"1332126869","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332126862":["hashtag1","hashtag2"]},{"1332126865":["hashtag1","hashtag2"]},{"1332126876":["hashtag1","hashtag2"]},{"1332126872":["hashtag1","hashtag2"]},{"1332126869":["hashtag1","hashtag2"]},{"1332126860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332126862, 1332126865, 1332126876, 1332126872, 1332126869, 1332126860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.62167048454285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:29:04.103364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/20/image_28012025_00_20_15_10333.jpg', '/home/pi/Desktop/images/28012025/00/20/image_28012025_00_20_26_10355.jpg', '/home/pi/Desktop/images/28012025/00/20/image_28012025_00_20_35_9358.jpg', '/home/pi/Desktop/images/28012025/00/20/image_28012025_00_20_46_10470.jpg', '/home/pi/Desktop/images/28012025/00/20/image_28012025_00_20_56_10357.jpg', '/home/pi/Desktop/images/28012025/00/20/image_28012025_00_21_05_9455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/20/image_28012025_00_20_15_10333.jpg
/home/pi/Desktop/images/28012025/00/20/image_28012025_00_20_26_10355.jpg
/home/pi/Desktop/images/28012025/00/20/image_28012025_00_20_35_9358.jpg
/home/pi/Desktop/images/28012025/00/20/image_28012025_00_20_46_10470.jpg
/home/pi/Desktop/images/28012025/00/20/image_28012025_00_20_56_10357.jpg
/home/pi/Desktop/images/28012025/00/20/image_28012025_00_21_05_9455.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332126902","1332126892","1332126886","1332126883","1332126910","1332126890"],"photo_ids_order":["1332126883","1332126886","1332126890","1332126892","1332126902","1332126910"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/99efdd2ce423518b9d1b8bdf7ff44a92.jpg","text":"TemporaryFile(/tmp/multipartBody4470000847740737797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020605214,"filename":"image_28012025_00_20_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/1/28/eeade9e96cab2cd80dc73b1a93e40e11.jpg","text":"TemporaryFile(/tmp/multipartBody6394438322826598869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020605214,"filename":"image_28012025_00_20_46_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6a9fbb37211d409b07d2e1deb8e9fba3.jpg","text":"TemporaryFile(/tmp/multipartBody5372551236839514879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020605214,"filename":"image_28012025_00_20_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/1/28/1432e16e1e07c833ebaf1774ff2ad4dc.jpg","text":"TemporaryFile(/tmp/multipartBody6486421010718293891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020605214,"filename":"image_28012025_00_20_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/1/28/dc887d18483c2274be4b464cd0bfafdd.jpg","text":"TemporaryFile(/tmp/multipartBody8145641333746302821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020605214,"filename":"image_28012025_00_21_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/1/28/d7d61e42f0a7715b1f934c7a84f5f2d3.jpg","text":"TemporaryFile(/tmp/multipartBody4141356092324473194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020605214,"filename":"image_28012025_00_20_35_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332126890","file1":"1332126886","file0":"1332126883","file4":"1332126902","file5":"1332126910","file3":"1332126892"},"map_files_photo_id_array":[{"photo_id":"1332126910","filename":"file5"},{"photo_id":"1332126890","filename":"file2"},{"photo_id":"1332126902","filename":"file4"},{"photo_id":"1332126886","filename":"file1"},{"photo_id":"1332126883","filename":"file0"},{"photo_id":"1332126892","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332126902":["hashtag1","hashtag2"]},{"1332126892":["hashtag1","hashtag2"]},{"1332126886":["hashtag1","hashtag2"]},{"1332126883":["hashtag1","hashtag2"]},{"1332126910":["hashtag1","hashtag2"]},{"1332126890":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332126902, 1332126892, 1332126886, 1332126883, 1332126910, 1332126890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.87414002418518 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:30:03.050698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/21/image_28012025_00_21_16_10355.jpg', '/home/pi/Desktop/images/28012025/00/21/image_28012025_00_21_25_9355.jpg', '/home/pi/Desktop/images/28012025/00/21/image_28012025_00_21_36_10464.jpg', '/home/pi/Desktop/images/28012025/00/21/image_28012025_00_21_46_10372.jpg', '/home/pi/Desktop/images/28012025/00/21/image_28012025_00_21_55_9396.jpg', '/home/pi/Desktop/images/28012025/00/21/image_28012025_00_22_06_10381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/21/image_28012025_00_21_16_10355.jpg
/home/pi/Desktop/images/28012025/00/21/image_28012025_00_21_25_9355.jpg
/home/pi/Desktop/images/28012025/00/21/image_28012025_00_21_36_10464.jpg
/home/pi/Desktop/images/28012025/00/21/image_28012025_00_21_46_10372.jpg
/home/pi/Desktop/images/28012025/00/21/image_28012025_00_21_55_9396.jpg
/home/pi/Desktop/images/28012025/00/21/image_28012025_00_22_06_10381.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332126976","1332126970","1332126978","1332126939","1332126974","1332126938"],"photo_ids_order":["1332126938","1332126939","1332126970","1332126974","1332126976","1332126978"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/019a985c309f7a7f8ef66d2eeea1e4ef.jpg","text":"TemporaryFile(/tmp/multipartBody1717486026596831838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020663981,"filename":"image_28012025_00_21_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/1/28/46d42ff9c0a1b11462782043c9eca713.jpg","text":"TemporaryFile(/tmp/multipartBody2202348846537322694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020663981,"filename":"image_28012025_00_21_36_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4c031888e0844536ac28eb82412231f1.jpg","text":"TemporaryFile(/tmp/multipartBody6664446809614227136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020663981,"filename":"image_28012025_00_22_06_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e2fe0f55259c02c11f5f4fbd3284137e.jpg","text":"TemporaryFile(/tmp/multipartBody1265917965809257123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020663981,"filename":"image_28012025_00_21_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/1/28/1d74404c346c9b0fb3781834eff52995.jpg","text":"TemporaryFile(/tmp/multipartBody6895841249943912986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020663981,"filename":"image_28012025_00_21_46_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0547c400792b318705c9860107bdeb40.jpg","text":"TemporaryFile(/tmp/multipartBody7485332583668935702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020663981,"filename":"image_28012025_00_21_16_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332126970","file1":"1332126939","file0":"1332126938","file4":"1332126976","file5":"1332126978","file3":"1332126974"},"map_files_photo_id_array":[{"photo_id":"1332126978","filename":"file5"},{"photo_id":"1332126970","filename":"file2"},{"photo_id":"1332126976","filename":"file4"},{"photo_id":"1332126939","filename":"file1"},{"photo_id":"1332126938","filename":"file0"},{"photo_id":"1332126974","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332126976":["hashtag1","hashtag2"]},{"1332126970":["hashtag1","hashtag2"]},{"1332126978":["hashtag1","hashtag2"]},{"1332126939":["hashtag1","hashtag2"]},{"1332126974":["hashtag1","hashtag2"]},{"1332126938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332126976, 1332126970, 1332126978, 1332126939, 1332126974, 1332126938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.47646427154541 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:31:04.362841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/22/image_28012025_00_22_15_9356.jpg', '/home/pi/Desktop/images/28012025/00/22/image_28012025_00_22_25_10384.jpg', '/home/pi/Desktop/images/28012025/00/22/image_28012025_00_22_36_10361.jpg', '/home/pi/Desktop/images/28012025/00/22/image_28012025_00_22_45_9362.jpg', '/home/pi/Desktop/images/28012025/00/22/image_28012025_00_22_56_10476.jpg', '/home/pi/Desktop/images/28012025/00/22/image_28012025_00_23_05_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/22/image_28012025_00_22_15_9356.jpg
/home/pi/Desktop/images/28012025/00/22/image_28012025_00_22_25_10384.jpg
/home/pi/Desktop/images/28012025/00/22/image_28012025_00_22_36_10361.jpg
/home/pi/Desktop/images/28012025/00/22/image_28012025_00_22_45_9362.jpg
/home/pi/Desktop/images/28012025/00/22/image_28012025_00_22_56_10476.jpg
/home/pi/Desktop/images/28012025/00/22/image_28012025_00_23_05_9335.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332126988","1332126984","1332126989","1332127025","1332127034","1332127037"],"photo_ids_order":["1332126984","1332126988","1332126989","1332127025","1332127034","1332127037"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0da24255250f51757eb30842bbacee3f.jpg","text":"TemporaryFile(/tmp/multipartBody6387396323826334227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020725407,"filename":"image_28012025_00_22_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/1/28/b13ec7868e0ae7121a972803319e3c93.jpg","text":"TemporaryFile(/tmp/multipartBody22920170469734567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020725407,"filename":"image_28012025_00_22_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/1/28/fcbb970b913e462ba39fdc21600192aa.jpg","text":"TemporaryFile(/tmp/multipartBody4777407232936455028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020725407,"filename":"image_28012025_00_22_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/1/28/8ff16a994136514235ddddd2ddd1b8ce.jpg","text":"TemporaryFile(/tmp/multipartBody957183085829023681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020725407,"filename":"image_28012025_00_22_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/1/28/71655c6f23a6abecd28a5ade93a0c047.jpg","text":"TemporaryFile(/tmp/multipartBody436853162664818821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020725407,"filename":"image_28012025_00_22_56_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/732341e84352eedb3a3b1249fce58482.jpg","text":"TemporaryFile(/tmp/multipartBody9163085929516173985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020725407,"filename":"image_28012025_00_23_05_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332126989","file1":"1332126988","file0":"1332126984","file4":"1332127034","file5":"1332127037","file3":"1332127025"},"map_files_photo_id_array":[{"photo_id":"1332127037","filename":"file5"},{"photo_id":"1332126989","filename":"file2"},{"photo_id":"1332127034","filename":"file4"},{"photo_id":"1332126988","filename":"file1"},{"photo_id":"1332126984","filename":"file0"},{"photo_id":"1332127025","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332126988":["hashtag1","hashtag2"]},{"1332126984":["hashtag1","hashtag2"]},{"1332126989":["hashtag1","hashtag2"]},{"1332127025":["hashtag1","hashtag2"]},{"1332127034":["hashtag1","hashtag2"]},{"1332127037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332126988, 1332126984, 1332126989, 1332127025, 1332127034, 1332127037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.22525930404663 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:32:03.158574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/23/image_28012025_00_23_15_10424.jpg', '/home/pi/Desktop/images/28012025/00/23/image_28012025_00_23_26_10389.jpg', '/home/pi/Desktop/images/28012025/00/23/image_28012025_00_23_35_9478.jpg', '/home/pi/Desktop/images/28012025/00/23/image_28012025_00_23_46_10448.jpg', '/home/pi/Desktop/images/28012025/00/23/image_28012025_00_23_55_9347.jpg', '/home/pi/Desktop/images/28012025/00/23/image_28012025_00_24_06_10458.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/23/image_28012025_00_23_15_10424.jpg
/home/pi/Desktop/images/28012025/00/23/image_28012025_00_23_26_10389.jpg
/home/pi/Desktop/images/28012025/00/23/image_28012025_00_23_35_9478.jpg
/home/pi/Desktop/images/28012025/00/23/image_28012025_00_23_46_10448.jpg
/home/pi/Desktop/images/28012025/00/23/image_28012025_00_23_55_9347.jpg
/home/pi/Desktop/images/28012025/00/23/image_28012025_00_24_06_10458.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332127087","1332127126","1332127086","1332127085","1332127127","1332127084"],"photo_ids_order":["1332127084","1332127085","1332127086","1332127087","1332127126","1332127127"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1e6a62816199b9fa95c3b09ef4e8dc64.jpg","text":"TemporaryFile(/tmp/multipartBody602935477274513748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020784096,"filename":"image_28012025_00_23_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/1/28/58ef827bc42e5a9e17b5d2075172a98a.jpg","text":"TemporaryFile(/tmp/multipartBody3871185962939185316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020784096,"filename":"image_28012025_00_23_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/1/28/956464f5423c37b4ffdcbf104a482e0d.jpg","text":"TemporaryFile(/tmp/multipartBody7498121432685900627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020784096,"filename":"image_28012025_00_23_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/1/28/99ac576e79b2387251dba883cc0a1716.jpg","text":"TemporaryFile(/tmp/multipartBody4607955773868685028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020784096,"filename":"image_28012025_00_23_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/1/28/efcf96b2bd6854fa96938f01eb6477d4.jpg","text":"TemporaryFile(/tmp/multipartBody1376469922453199379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020784096,"filename":"image_28012025_00_24_06_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cb2d035b312477e4344041918a341233.jpg","text":"TemporaryFile(/tmp/multipartBody4871282963741347218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020784096,"filename":"image_28012025_00_23_15_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332127086","file1":"1332127085","file0":"1332127084","file4":"1332127126","file5":"1332127127","file3":"1332127087"},"map_files_photo_id_array":[{"photo_id":"1332127127","filename":"file5"},{"photo_id":"1332127086","filename":"file2"},{"photo_id":"1332127126","filename":"file4"},{"photo_id":"1332127085","filename":"file1"},{"photo_id":"1332127084","filename":"file0"},{"photo_id":"1332127087","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332127087":["hashtag1","hashtag2"]},{"1332127126":["hashtag1","hashtag2"]},{"1332127086":["hashtag1","hashtag2"]},{"1332127085":["hashtag1","hashtag2"]},{"1332127127":["hashtag1","hashtag2"]},{"1332127084":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332127087, 1332127126, 1332127086, 1332127085, 1332127127, 1332127084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.761847496032715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:33:04.511751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/24/image_28012025_00_24_16_10353.jpg', '/home/pi/Desktop/images/28012025/00/24/image_28012025_00_24_25_9411.jpg', '/home/pi/Desktop/images/28012025/00/24/image_28012025_00_24_36_10352.jpg', '/home/pi/Desktop/images/28012025/00/24/image_28012025_00_24_45_9354.jpg', '/home/pi/Desktop/images/28012025/00/24/image_28012025_00_24_55_10465.jpg', '/home/pi/Desktop/images/28012025/00/24/image_28012025_00_25_06_10385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/24/image_28012025_00_24_16_10353.jpg
/home/pi/Desktop/images/28012025/00/24/image_28012025_00_24_25_9411.jpg
/home/pi/Desktop/images/28012025/00/24/image_28012025_00_24_36_10352.jpg
/home/pi/Desktop/images/28012025/00/24/image_28012025_00_24_45_9354.jpg
/home/pi/Desktop/images/28012025/00/24/image_28012025_00_24_55_10465.jpg
/home/pi/Desktop/images/28012025/00/24/image_28012025_00_25_06_10385.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7018940448760986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:34:03.062005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/24/image_28012025_00_24_16_10353.jpg', '/home/pi/Desktop/images/28012025/00/24/image_28012025_00_24_25_9411.jpg', '/home/pi/Desktop/images/28012025/00/24/image_28012025_00_24_36_10352.jpg', '/home/pi/Desktop/images/28012025/00/24/image_28012025_00_24_45_9354.jpg', '/home/pi/Desktop/images/28012025/00/24/image_28012025_00_24_55_10465.jpg', '/home/pi/Desktop/images/28012025/00/24/image_28012025_00_25_06_10385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/24/image_28012025_00_24_16_10353.jpg
/home/pi/Desktop/images/28012025/00/24/image_28012025_00_24_25_9411.jpg
/home/pi/Desktop/images/28012025/00/24/image_28012025_00_24_36_10352.jpg
/home/pi/Desktop/images/28012025/00/24/image_28012025_00_24_45_9354.jpg
/home/pi/Desktop/images/28012025/00/24/image_28012025_00_24_55_10465.jpg
/home/pi/Desktop/images/28012025/00/24/image_28012025_00_25_06_10385.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332127498","1332127762","1332127534","1332128031","1332127496","1332127500"],"photo_ids_order":["1332127496","1332127498","1332127500","1332127534","1332127762","1332128031"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4b4090b0c4ce089dba91416af1362101.jpg","text":"TemporaryFile(/tmp/multipartBody5190415881779072908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020904021,"filename":"image_28012025_00_24_25_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f93d2695cac33a32665e147583676678.jpg","text":"TemporaryFile(/tmp/multipartBody3352875059953568919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020904021,"filename":"image_28012025_00_24_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/1/28/0762d182d67f2929c6a10e6cf1cb7ac8.jpg","text":"TemporaryFile(/tmp/multipartBody2476269044509605801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020904021,"filename":"image_28012025_00_24_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/1/28/df3df5a8edf2672e9ff531efbd4519c9.jpg","text":"TemporaryFile(/tmp/multipartBody1920374337691452967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020904021,"filename":"image_28012025_00_25_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/1/28/f3ec5d6dbab0babef1ceb12a35f871a9.jpg","text":"TemporaryFile(/tmp/multipartBody1916409906762030651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020904021,"filename":"image_28012025_00_24_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/1/28/60f7dbf503e7ac1ac8c27e3a3f1d7ab8.jpg","text":"TemporaryFile(/tmp/multipartBody6554797711819469370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020904021,"filename":"image_28012025_00_24_36_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332127500","file1":"1332127498","file0":"1332127496","file4":"1332127762","file5":"1332128031","file3":"1332127534"},"map_files_photo_id_array":[{"photo_id":"1332128031","filename":"file5"},{"photo_id":"1332127500","filename":"file2"},{"photo_id":"1332127762","filename":"file4"},{"photo_id":"1332127498","filename":"file1"},{"photo_id":"1332127496","filename":"file0"},{"photo_id":"1332127534","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332127498":["hashtag1","hashtag2"]},{"1332127762":["hashtag1","hashtag2"]},{"1332127534":["hashtag1","hashtag2"]},{"1332128031":["hashtag1","hashtag2"]},{"1332127496":["hashtag1","hashtag2"]},{"1332127500":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332127498, 1332127762, 1332127534, 1332128031, 1332127496, 1332127500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.7603120803833 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:35:03.636443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/25/image_28012025_00_25_15_9342.jpg', '/home/pi/Desktop/images/28012025/00/25/image_28012025_00_25_26_10454.jpg', '/home/pi/Desktop/images/28012025/00/25/image_28012025_00_25_35_9339.jpg', '/home/pi/Desktop/images/28012025/00/25/image_28012025_00_25_45_10374.jpg', '/home/pi/Desktop/images/28012025/00/25/image_28012025_00_25_56_10370.jpg', '/home/pi/Desktop/images/28012025/00/25/image_28012025_00_26_05_9440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/25/image_28012025_00_25_15_9342.jpg
/home/pi/Desktop/images/28012025/00/25/image_28012025_00_25_26_10454.jpg
/home/pi/Desktop/images/28012025/00/25/image_28012025_00_25_35_9339.jpg
/home/pi/Desktop/images/28012025/00/25/image_28012025_00_25_45_10374.jpg
/home/pi/Desktop/images/28012025/00/25/image_28012025_00_25_56_10370.jpg
/home/pi/Desktop/images/28012025/00/25/image_28012025_00_26_05_9440.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332128311","1332128314","1332128292","1332128178","1332128348","1332128344"],"photo_ids_order":["1332128178","1332128292","1332128311","1332128314","1332128344","1332128348"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/03425b2c0b6404c1ae5821815933661f.jpg","text":"TemporaryFile(/tmp/multipartBody1663771041319521042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020964681,"filename":"image_28012025_00_25_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/1/28/5a1906767060887543412e7e7964aa87.jpg","text":"TemporaryFile(/tmp/multipartBody8154540336087669392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020964681,"filename":"image_28012025_00_25_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/1/28/891e6561f87ab24ed9507870caf5dc3b.jpg","text":"TemporaryFile(/tmp/multipartBody4256721204172812190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020964681,"filename":"image_28012025_00_25_26_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b005029dc6a06de35b7ae2dea8d45288.jpg","text":"TemporaryFile(/tmp/multipartBody1214871876219900803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020964681,"filename":"image_28012025_00_25_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/1/28/7500a2b9d6dd6bd65a372cde3123b74e.jpg","text":"TemporaryFile(/tmp/multipartBody6574728274548726989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020964681,"filename":"image_28012025_00_26_05_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/037fe1021a34fad35690952d43f11497.jpg","text":"TemporaryFile(/tmp/multipartBody531451917602490544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738020964681,"filename":"image_28012025_00_25_56_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332128311","file1":"1332128292","file0":"1332128178","file4":"1332128344","file5":"1332128348","file3":"1332128314"},"map_files_photo_id_array":[{"photo_id":"1332128348","filename":"file5"},{"photo_id":"1332128311","filename":"file2"},{"photo_id":"1332128344","filename":"file4"},{"photo_id":"1332128292","filename":"file1"},{"photo_id":"1332128178","filename":"file0"},{"photo_id":"1332128314","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332128311":["hashtag1","hashtag2"]},{"1332128314":["hashtag1","hashtag2"]},{"1332128292":["hashtag1","hashtag2"]},{"1332128178":["hashtag1","hashtag2"]},{"1332128348":["hashtag1","hashtag2"]},{"1332128344":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332128311, 1332128314, 1332128292, 1332128178, 1332128348, 1332128344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.139448404312134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:36:03.403413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/26/image_28012025_00_26_16_10350.jpg', '/home/pi/Desktop/images/28012025/00/26/image_28012025_00_26_26_10350.jpg', '/home/pi/Desktop/images/28012025/00/26/image_28012025_00_26_35_9494.jpg', '/home/pi/Desktop/images/28012025/00/26/image_28012025_00_26_46_10366.jpg', '/home/pi/Desktop/images/28012025/00/26/image_28012025_00_26_55_9330.jpg', '/home/pi/Desktop/images/28012025/00/26/image_28012025_00_27_05_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/26/image_28012025_00_26_16_10350.jpg
/home/pi/Desktop/images/28012025/00/26/image_28012025_00_26_26_10350.jpg
/home/pi/Desktop/images/28012025/00/26/image_28012025_00_26_35_9494.jpg
/home/pi/Desktop/images/28012025/00/26/image_28012025_00_26_46_10366.jpg
/home/pi/Desktop/images/28012025/00/26/image_28012025_00_26_55_9330.jpg
/home/pi/Desktop/images/28012025/00/26/image_28012025_00_27_05_10415.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332128452","1332128445","1332128450","1332128447","1332128441","1332128443"],"photo_ids_order":["1332128441","1332128443","1332128445","1332128447","1332128450","1332128452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/614b55c88f88e62f66a8acd28eef27d7.jpg","text":"TemporaryFile(/tmp/multipartBody8383130480639567307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021024339,"filename":"image_28012025_00_27_05_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ccea13535c94bf797c26d756ba5449fb.jpg","text":"TemporaryFile(/tmp/multipartBody1693280378329349071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021024339,"filename":"image_28012025_00_26_35_9494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6cf20fd7ca018bebf705c71134cbe834.jpg","text":"TemporaryFile(/tmp/multipartBody1442774600974820254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021024339,"filename":"image_28012025_00_26_55_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/23373c7a0595b0023b6253eda426ceef.jpg","text":"TemporaryFile(/tmp/multipartBody8072293522455150940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021024339,"filename":"image_28012025_00_26_46_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dfeab39bad9d14d75aca7e5f6a80184b.jpg","text":"TemporaryFile(/tmp/multipartBody3870300357976696122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021024339,"filename":"image_28012025_00_26_16_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1b74dfd72e70dbc64697f8ce1ce8f566.jpg","text":"TemporaryFile(/tmp/multipartBody612993341885855364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021024339,"filename":"image_28012025_00_26_26_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332128445","file1":"1332128443","file0":"1332128441","file4":"1332128450","file5":"1332128452","file3":"1332128447"},"map_files_photo_id_array":[{"photo_id":"1332128452","filename":"file5"},{"photo_id":"1332128445","filename":"file2"},{"photo_id":"1332128450","filename":"file4"},{"photo_id":"1332128443","filename":"file1"},{"photo_id":"1332128441","filename":"file0"},{"photo_id":"1332128447","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332128452":["hashtag1","hashtag2"]},{"1332128445":["hashtag1","hashtag2"]},{"1332128450":["hashtag1","hashtag2"]},{"1332128447":["hashtag1","hashtag2"]},{"1332128441":["hashtag1","hashtag2"]},{"1332128443":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332128452, 1332128445, 1332128450, 1332128447, 1332128441, 1332128443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.235487937927246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:37:03.773668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/27/image_28012025_00_27_16_10341.jpg', '/home/pi/Desktop/images/28012025/00/27/image_28012025_00_27_25_9483.jpg', '/home/pi/Desktop/images/28012025/00/27/image_28012025_00_27_36_10391.jpg', '/home/pi/Desktop/images/28012025/00/27/image_28012025_00_27_45_9395.jpg', '/home/pi/Desktop/images/28012025/00/27/image_28012025_00_27_55_10354.jpg', '/home/pi/Desktop/images/28012025/00/27/image_28012025_00_28_06_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/27/image_28012025_00_27_16_10341.jpg
/home/pi/Desktop/images/28012025/00/27/image_28012025_00_27_25_9483.jpg
/home/pi/Desktop/images/28012025/00/27/image_28012025_00_27_36_10391.jpg
/home/pi/Desktop/images/28012025/00/27/image_28012025_00_27_45_9395.jpg
/home/pi/Desktop/images/28012025/00/27/image_28012025_00_27_55_10354.jpg
/home/pi/Desktop/images/28012025/00/27/image_28012025_00_28_06_10374.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332128495","1332128465","1332128468","1332128494","1332128473","1332128470"],"photo_ids_order":["1332128465","1332128468","1332128470","1332128473","1332128494","1332128495"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e46299637108e629e71f0dc7cbdee65e.jpg","text":"TemporaryFile(/tmp/multipartBody2204250760508855809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021084880,"filename":"image_28012025_00_28_06_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/54152ef4c1cb80cd7d6c492f386602cc.jpg","text":"TemporaryFile(/tmp/multipartBody9021026422421672185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021084880,"filename":"image_28012025_00_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/1/28/23fe712dbec394463e71dc43fcf2d018.jpg","text":"TemporaryFile(/tmp/multipartBody2924252622487555677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021084880,"filename":"image_28012025_00_27_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/1/28/aae98fc1f3076c30be4b781eb44b3465.jpg","text":"TemporaryFile(/tmp/multipartBody7216115113594949573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021084880,"filename":"image_28012025_00_27_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/1/28/81ad31c47341d92202b3bfac621c2019.jpg","text":"TemporaryFile(/tmp/multipartBody114430292919744764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021084880,"filename":"image_28012025_00_27_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/1/28/101aa9a1e3a8c5731e20c287d6c27998.jpg","text":"TemporaryFile(/tmp/multipartBody4357558863621530424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021084880,"filename":"image_28012025_00_27_36_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332128470","file1":"1332128468","file0":"1332128465","file4":"1332128494","file5":"1332128495","file3":"1332128473"},"map_files_photo_id_array":[{"photo_id":"1332128495","filename":"file5"},{"photo_id":"1332128470","filename":"file2"},{"photo_id":"1332128494","filename":"file4"},{"photo_id":"1332128468","filename":"file1"},{"photo_id":"1332128465","filename":"file0"},{"photo_id":"1332128473","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332128495":["hashtag1","hashtag2"]},{"1332128465":["hashtag1","hashtag2"]},{"1332128468":["hashtag1","hashtag2"]},{"1332128494":["hashtag1","hashtag2"]},{"1332128473":["hashtag1","hashtag2"]},{"1332128470":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332128495, 1332128465, 1332128468, 1332128494, 1332128473, 1332128470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.18943953514099 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:38:03.291329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/28/image_28012025_00_28_15_9330.jpg', '/home/pi/Desktop/images/28012025/00/28/image_28012025_00_28_26_10438.jpg', '/home/pi/Desktop/images/28012025/00/28/image_28012025_00_28_36_10346.jpg', '/home/pi/Desktop/images/28012025/00/28/image_28012025_00_28_45_9493.jpg', '/home/pi/Desktop/images/28012025/00/28/image_28012025_00_28_56_10374.jpg', '/home/pi/Desktop/images/28012025/00/28/image_28012025_00_29_05_9336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/28/image_28012025_00_28_15_9330.jpg
/home/pi/Desktop/images/28012025/00/28/image_28012025_00_28_26_10438.jpg
/home/pi/Desktop/images/28012025/00/28/image_28012025_00_28_36_10346.jpg
/home/pi/Desktop/images/28012025/00/28/image_28012025_00_28_45_9493.jpg
/home/pi/Desktop/images/28012025/00/28/image_28012025_00_28_56_10374.jpg
/home/pi/Desktop/images/28012025/00/28/image_28012025_00_29_05_9336.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332128512","1332128509","1332128514","1332128517","1332128507","1332128516"],"photo_ids_order":["1332128507","1332128509","1332128512","1332128514","1332128516","1332128517"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7286c25e9607d416b83b7c4c13999c35.jpg","text":"TemporaryFile(/tmp/multipartBody7436588595724571600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021144322,"filename":"image_28012025_00_28_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/1/28/08001d44c7369cb437410579aa825999.jpg","text":"TemporaryFile(/tmp/multipartBody8991818339247659177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021144322,"filename":"image_28012025_00_28_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/1/28/f8fd4d4bd6fefaa257eaa1a52f69b97b.jpg","text":"TemporaryFile(/tmp/multipartBody4816786202705920118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021144322,"filename":"image_28012025_00_28_45_9493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4bd420f2d89a7bf6e2db75cb74d87607.jpg","text":"TemporaryFile(/tmp/multipartBody3544584187150473335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021144322,"filename":"image_28012025_00_29_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/1/28/219c4a046248ed13694f88ae0cd19538.jpg","text":"TemporaryFile(/tmp/multipartBody2111923835719634892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021144322,"filename":"image_28012025_00_28_15_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/80fcfb6ae0e713d46bfd5e541c852cb2.jpg","text":"TemporaryFile(/tmp/multipartBody1889072662109934268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021144322,"filename":"image_28012025_00_28_56_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332128512","file1":"1332128509","file0":"1332128507","file4":"1332128516","file5":"1332128517","file3":"1332128514"},"map_files_photo_id_array":[{"photo_id":"1332128517","filename":"file5"},{"photo_id":"1332128512","filename":"file2"},{"photo_id":"1332128516","filename":"file4"},{"photo_id":"1332128509","filename":"file1"},{"photo_id":"1332128507","filename":"file0"},{"photo_id":"1332128514","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332128512":["hashtag1","hashtag2"]},{"1332128509":["hashtag1","hashtag2"]},{"1332128514":["hashtag1","hashtag2"]},{"1332128517":["hashtag1","hashtag2"]},{"1332128507":["hashtag1","hashtag2"]},{"1332128516":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332128512, 1332128509, 1332128514, 1332128517, 1332128507, 1332128516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.51413011550903 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:39:04.043642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/29/image_28012025_00_29_16_10428.jpg', '/home/pi/Desktop/images/28012025/00/29/image_28012025_00_29_26_10369.jpg', '/home/pi/Desktop/images/28012025/00/29/image_28012025_00_29_35_9470.jpg', '/home/pi/Desktop/images/28012025/00/29/image_28012025_00_29_46_10357.jpg', '/home/pi/Desktop/images/28012025/00/29/image_28012025_00_29_55_9347.jpg', '/home/pi/Desktop/images/28012025/00/29/image_28012025_00_30_06_10450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/29/image_28012025_00_29_16_10428.jpg
/home/pi/Desktop/images/28012025/00/29/image_28012025_00_29_26_10369.jpg
/home/pi/Desktop/images/28012025/00/29/image_28012025_00_29_35_9470.jpg
/home/pi/Desktop/images/28012025/00/29/image_28012025_00_29_46_10357.jpg
/home/pi/Desktop/images/28012025/00/29/image_28012025_00_29_55_9347.jpg
/home/pi/Desktop/images/28012025/00/29/image_28012025_00_30_06_10450.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332128589","1332128592","1332128715","1332128594","1332128587","1332128629"],"photo_ids_order":["1332128587","1332128589","1332128592","1332128594","1332128629","1332128715"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d6d6fd035f79ab2fd736c0c57259a333.jpg","text":"TemporaryFile(/tmp/multipartBody2307556604096860967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021205108,"filename":"image_28012025_00_29_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/1/28/3f55332f04a15ad83bbeae50601b27ee.jpg","text":"TemporaryFile(/tmp/multipartBody6434633008608627949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021205108,"filename":"image_28012025_00_29_35_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d56a974684587fc50a4aa137b31f93e8.jpg","text":"TemporaryFile(/tmp/multipartBody4333782219883766847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021205108,"filename":"image_28012025_00_30_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/1/28/27c4cef4599f5c2de595e9378ed7ed17.jpg","text":"TemporaryFile(/tmp/multipartBody8262093451109934831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021205108,"filename":"image_28012025_00_29_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/1/28/fcf319123be231169ff065e90d320a3f.jpg","text":"TemporaryFile(/tmp/multipartBody1244292875495626630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021205108,"filename":"image_28012025_00_29_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/1/28/9e68720fb1486679d58cd54b4ed8c93d.jpg","text":"TemporaryFile(/tmp/multipartBody138344354144130131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021205108,"filename":"image_28012025_00_29_55_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332128592","file1":"1332128589","file0":"1332128587","file4":"1332128629","file5":"1332128715","file3":"1332128594"},"map_files_photo_id_array":[{"photo_id":"1332128715","filename":"file5"},{"photo_id":"1332128592","filename":"file2"},{"photo_id":"1332128629","filename":"file4"},{"photo_id":"1332128589","filename":"file1"},{"photo_id":"1332128587","filename":"file0"},{"photo_id":"1332128594","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332128589":["hashtag1","hashtag2"]},{"1332128592":["hashtag1","hashtag2"]},{"1332128715":["hashtag1","hashtag2"]},{"1332128594":["hashtag1","hashtag2"]},{"1332128587":["hashtag1","hashtag2"]},{"1332128629":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332128589, 1332128592, 1332128715, 1332128594, 1332128587, 1332128629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.93443298339844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:40:03.536117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/30/image_28012025_00_30_16_10354.jpg', '/home/pi/Desktop/images/28012025/00/30/image_28012025_00_30_25_9415.jpg', '/home/pi/Desktop/images/28012025/00/30/image_28012025_00_30_36_10355.jpg', '/home/pi/Desktop/images/28012025/00/30/image_28012025_00_30_45_9345.jpg', '/home/pi/Desktop/images/28012025/00/30/image_28012025_00_30_55_10411.jpg', '/home/pi/Desktop/images/28012025/00/30/image_28012025_00_31_06_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/30/image_28012025_00_30_16_10354.jpg
/home/pi/Desktop/images/28012025/00/30/image_28012025_00_30_25_9415.jpg
/home/pi/Desktop/images/28012025/00/30/image_28012025_00_30_36_10355.jpg
/home/pi/Desktop/images/28012025/00/30/image_28012025_00_30_45_9345.jpg
/home/pi/Desktop/images/28012025/00/30/image_28012025_00_30_55_10411.jpg
/home/pi/Desktop/images/28012025/00/30/image_28012025_00_31_06_10351.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332128821","1332128818","1332128834","1332128831","1332128825","1332128828"],"photo_ids_order":["1332128818","1332128821","1332128825","1332128828","1332128831","1332128834"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7383b5f52eff77b3039f5238dbca1a1a.jpg","text":"TemporaryFile(/tmp/multipartBody9091419099601034472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021264460,"filename":"image_28012025_00_30_25_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f71bb3872036cbc7107efec76ea5d8ff.jpg","text":"TemporaryFile(/tmp/multipartBody2877516895982858388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021264460,"filename":"image_28012025_00_30_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/1/28/59b1c393a89044c3b77018bf3526857a.jpg","text":"TemporaryFile(/tmp/multipartBody7164210756944507569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021264460,"filename":"image_28012025_00_31_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/1/28/bcebfa8614281020fff01b02f66092f3.jpg","text":"TemporaryFile(/tmp/multipartBody2493532027043408802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021264460,"filename":"image_28012025_00_30_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/1/28/9f15d49874367542a320571217e6d5f5.jpg","text":"TemporaryFile(/tmp/multipartBody1322861989500939947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021264460,"filename":"image_28012025_00_30_36_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8714120e4eacfd8274d25654e5d91a3b.jpg","text":"TemporaryFile(/tmp/multipartBody39336860094698243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021264460,"filename":"image_28012025_00_30_45_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332128825","file1":"1332128821","file0":"1332128818","file4":"1332128831","file5":"1332128834","file3":"1332128828"},"map_files_photo_id_array":[{"photo_id":"1332128834","filename":"file5"},{"photo_id":"1332128825","filename":"file2"},{"photo_id":"1332128831","filename":"file4"},{"photo_id":"1332128821","filename":"file1"},{"photo_id":"1332128818","filename":"file0"},{"photo_id":"1332128828","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332128821":["hashtag1","hashtag2"]},{"1332128818":["hashtag1","hashtag2"]},{"1332128834":["hashtag1","hashtag2"]},{"1332128831":["hashtag1","hashtag2"]},{"1332128825":["hashtag1","hashtag2"]},{"1332128828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332128821, 1332128818, 1332128834, 1332128831, 1332128825, 1332128828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.181397676467896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:41:04.218752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/31/image_28012025_00_31_15_9319.jpg', '/home/pi/Desktop/images/28012025/00/31/image_28012025_00_31_26_10446.jpg', '/home/pi/Desktop/images/28012025/00/31/image_28012025_00_31_36_10345.jpg', '/home/pi/Desktop/images/28012025/00/31/image_28012025_00_31_45_9408.jpg', '/home/pi/Desktop/images/28012025/00/31/image_28012025_00_31_56_10409.jpg', '/home/pi/Desktop/images/28012025/00/31/image_28012025_00_32_05_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/31/image_28012025_00_31_15_9319.jpg
/home/pi/Desktop/images/28012025/00/31/image_28012025_00_31_26_10446.jpg
/home/pi/Desktop/images/28012025/00/31/image_28012025_00_31_36_10345.jpg
/home/pi/Desktop/images/28012025/00/31/image_28012025_00_31_45_9408.jpg
/home/pi/Desktop/images/28012025/00/31/image_28012025_00_31_56_10409.jpg
/home/pi/Desktop/images/28012025/00/31/image_28012025_00_32_05_9351.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332128880","1332128850","1332128843","1332128866","1332128860","1332128854"],"photo_ids_order":["1332128843","1332128850","1332128854","1332128860","1332128866","1332128880"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/404b6c3285be9d909f8dea2f3d3e935d.jpg","text":"TemporaryFile(/tmp/multipartBody3565724428820950942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021325280,"filename":"image_28012025_00_32_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/1/28/40847af82999defe3e4b6e2f39f9d9ad.jpg","text":"TemporaryFile(/tmp/multipartBody6343760256024159962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021325280,"filename":"image_28012025_00_31_26_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8fcf46bc5e58e62a9c23c48ace4f77bf.jpg","text":"TemporaryFile(/tmp/multipartBody2230871470670124400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021325280,"filename":"image_28012025_00_31_15_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e05a2f20744d3c0951791af8efa6dc27.jpg","text":"TemporaryFile(/tmp/multipartBody3063311969706290223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021325280,"filename":"image_28012025_00_31_56_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9b74776627c8e3c2414edebdf8e47927.jpg","text":"TemporaryFile(/tmp/multipartBody8827551654013551162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021325280,"filename":"image_28012025_00_31_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/1/28/f6ef8d18fca29208cd3f31c27f4a8b77.jpg","text":"TemporaryFile(/tmp/multipartBody4723426832948007851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021325280,"filename":"image_28012025_00_31_36_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332128854","file1":"1332128850","file0":"1332128843","file4":"1332128866","file5":"1332128880","file3":"1332128860"},"map_files_photo_id_array":[{"photo_id":"1332128880","filename":"file5"},{"photo_id":"1332128854","filename":"file2"},{"photo_id":"1332128866","filename":"file4"},{"photo_id":"1332128850","filename":"file1"},{"photo_id":"1332128843","filename":"file0"},{"photo_id":"1332128860","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332128880":["hashtag1","hashtag2"]},{"1332128850":["hashtag1","hashtag2"]},{"1332128843":["hashtag1","hashtag2"]},{"1332128866":["hashtag1","hashtag2"]},{"1332128860":["hashtag1","hashtag2"]},{"1332128854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332128880, 1332128850, 1332128843, 1332128866, 1332128860, 1332128854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.050904512405396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:42:02.949733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/32/image_28012025_00_32_16_10403.jpg', '/home/pi/Desktop/images/28012025/00/32/image_28012025_00_32_26_10351.jpg', '/home/pi/Desktop/images/28012025/00/32/image_28012025_00_32_35_9350.jpg', '/home/pi/Desktop/images/28012025/00/32/image_28012025_00_32_46_10345.jpg', '/home/pi/Desktop/images/28012025/00/32/image_28012025_00_32_56_10362.jpg', '/home/pi/Desktop/images/28012025/00/32/image_28012025_00_33_05_9481.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/32/image_28012025_00_32_16_10403.jpg
/home/pi/Desktop/images/28012025/00/32/image_28012025_00_32_26_10351.jpg
/home/pi/Desktop/images/28012025/00/32/image_28012025_00_32_35_9350.jpg
/home/pi/Desktop/images/28012025/00/32/image_28012025_00_32_46_10345.jpg
/home/pi/Desktop/images/28012025/00/32/image_28012025_00_32_56_10362.jpg
/home/pi/Desktop/images/28012025/00/32/image_28012025_00_33_05_9481.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332128979","1332128923","1332128960","1332128957","1332129013","1332128953"],"photo_ids_order":["1332128923","1332128953","1332128957","1332128960","1332128979","1332129013"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d72797a7b41afb01ade9f9c1d907ddf6.jpg","text":"TemporaryFile(/tmp/multipartBody8925605057199610670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021383887,"filename":"image_28012025_00_32_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/1/28/0a06fdb66ea50867596067543716d43e.jpg","text":"TemporaryFile(/tmp/multipartBody8321417308303376784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021383887,"filename":"image_28012025_00_32_16_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c13aa94b47ce27871800e4680318937a.jpg","text":"TemporaryFile(/tmp/multipartBody6934721729979742142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021383887,"filename":"image_28012025_00_32_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/1/28/8ae04019bd06e2e66f2b9cdc22641ebf.jpg","text":"TemporaryFile(/tmp/multipartBody3977950546392239689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021383887,"filename":"image_28012025_00_32_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/1/28/14c4f8de8ce1c5da326a3f36f3f82073.jpg","text":"TemporaryFile(/tmp/multipartBody5517299203846195217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021383887,"filename":"image_28012025_00_33_05_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d7d41620551b45ad19ecfba39ec60934.jpg","text":"TemporaryFile(/tmp/multipartBody1979747740265250980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021383887,"filename":"image_28012025_00_32_26_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332128957","file1":"1332128953","file0":"1332128923","file4":"1332128979","file5":"1332129013","file3":"1332128960"},"map_files_photo_id_array":[{"photo_id":"1332129013","filename":"file5"},{"photo_id":"1332128957","filename":"file2"},{"photo_id":"1332128979","filename":"file4"},{"photo_id":"1332128953","filename":"file1"},{"photo_id":"1332128923","filename":"file0"},{"photo_id":"1332128960","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332128979":["hashtag1","hashtag2"]},{"1332128923":["hashtag1","hashtag2"]},{"1332128960":["hashtag1","hashtag2"]},{"1332128957":["hashtag1","hashtag2"]},{"1332129013":["hashtag1","hashtag2"]},{"1332128953":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332128979, 1332128923, 1332128960, 1332128957, 1332129013, 1332128953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.294912338256836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:43:04.543010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/33/image_28012025_00_33_16_10340.jpg', '/home/pi/Desktop/images/28012025/00/33/image_28012025_00_33_25_9346.jpg', '/home/pi/Desktop/images/28012025/00/33/image_28012025_00_33_36_10458.jpg', '/home/pi/Desktop/images/28012025/00/33/image_28012025_00_33_46_10380.jpg', '/home/pi/Desktop/images/28012025/00/33/image_28012025_00_33_55_9422.jpg', '/home/pi/Desktop/images/28012025/00/33/image_28012025_00_34_05_9855.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/33/image_28012025_00_33_16_10340.jpg
/home/pi/Desktop/images/28012025/00/33/image_28012025_00_33_25_9346.jpg
/home/pi/Desktop/images/28012025/00/33/image_28012025_00_33_36_10458.jpg
/home/pi/Desktop/images/28012025/00/33/image_28012025_00_33_46_10380.jpg
/home/pi/Desktop/images/28012025/00/33/image_28012025_00_33_55_9422.jpg
/home/pi/Desktop/images/28012025/00/33/image_28012025_00_34_05_9855.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332129089","1332129092","1332129086","1332129071","1332129068","1332129094"],"photo_ids_order":["1332129068","1332129071","1332129086","1332129089","1332129092","1332129094"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3e565ed3ddf056c853bfe0a560ce1ec0.jpg","text":"TemporaryFile(/tmp/multipartBody3157862562053939813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021445552,"filename":"image_28012025_00_33_46_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/50385b22f66693849f910f96322828f3.jpg","text":"TemporaryFile(/tmp/multipartBody5139170965012304453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021445552,"filename":"image_28012025_00_33_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/1/28/16181857d130773797bc728a9ba20a96.jpg","text":"TemporaryFile(/tmp/multipartBody3512846500852577589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021445552,"filename":"image_28012025_00_33_36_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c63e8de0e725c7f0f015ccdf32f8bc62.jpg","text":"TemporaryFile(/tmp/multipartBody6938700975711115668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021445552,"filename":"image_28012025_00_33_25_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7fb6c85aef08778a7d5abe7adefcc2f2.jpg","text":"TemporaryFile(/tmp/multipartBody7579089601964553817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021445552,"filename":"image_28012025_00_33_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/1/28/23fe2190019305d8172a71034b7bf0e3.jpg","text":"TemporaryFile(/tmp/multipartBody7055120020660791797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021445552,"filename":"image_28012025_00_34_05_9855.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332129086","file1":"1332129071","file0":"1332129068","file4":"1332129092","file5":"1332129094","file3":"1332129089"},"map_files_photo_id_array":[{"photo_id":"1332129094","filename":"file5"},{"photo_id":"1332129086","filename":"file2"},{"photo_id":"1332129092","filename":"file4"},{"photo_id":"1332129071","filename":"file1"},{"photo_id":"1332129068","filename":"file0"},{"photo_id":"1332129089","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332129089":["hashtag1","hashtag2"]},{"1332129092":["hashtag1","hashtag2"]},{"1332129086":["hashtag1","hashtag2"]},{"1332129071":["hashtag1","hashtag2"]},{"1332129068":["hashtag1","hashtag2"]},{"1332129094":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332129089, 1332129092, 1332129086, 1332129071, 1332129068, 1332129094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.799983501434326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:44:03.494546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/34/image_28012025_00_34_16_10341.jpg', '/home/pi/Desktop/images/28012025/00/34/image_28012025_00_34_26_10353.jpg', '/home/pi/Desktop/images/28012025/00/34/image_28012025_00_34_35_9479.jpg', '/home/pi/Desktop/images/28012025/00/34/image_28012025_00_34_46_10404.jpg', '/home/pi/Desktop/images/28012025/00/34/image_28012025_00_34_55_9333.jpg', '/home/pi/Desktop/images/28012025/00/34/image_28012025_00_35_06_10464.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/34/image_28012025_00_34_16_10341.jpg
/home/pi/Desktop/images/28012025/00/34/image_28012025_00_34_26_10353.jpg
/home/pi/Desktop/images/28012025/00/34/image_28012025_00_34_35_9479.jpg
/home/pi/Desktop/images/28012025/00/34/image_28012025_00_34_46_10404.jpg
/home/pi/Desktop/images/28012025/00/34/image_28012025_00_34_55_9333.jpg
/home/pi/Desktop/images/28012025/00/34/image_28012025_00_35_06_10464.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332129129","1332129132","1332129136","1332129145","1332129139","1332129148"],"photo_ids_order":["1332129129","1332129132","1332129136","1332129139","1332129145","1332129148"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ca058ba221ce70c6c7f4ecc445919876.jpg","text":"TemporaryFile(/tmp/multipartBody2329770232528877207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021504428,"filename":"image_28012025_00_34_16_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/23cf03da9ec1ea9a0226a6843550918a.jpg","text":"TemporaryFile(/tmp/multipartBody3306274382118587591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021504428,"filename":"image_28012025_00_34_26_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/12c265601b46966a71f0075d38707afa.jpg","text":"TemporaryFile(/tmp/multipartBody813059043750044465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021504428,"filename":"image_28012025_00_34_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/1/28/bc381536cf300eac7b8e9c664528a077.jpg","text":"TemporaryFile(/tmp/multipartBody7260222504759987466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021504428,"filename":"image_28012025_00_34_55_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/eeb033408da169be7225d868f5f0af10.jpg","text":"TemporaryFile(/tmp/multipartBody6225847390690913814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021504428,"filename":"image_28012025_00_34_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/1/28/f9dab0b688373351fc23890cae2639fb.jpg","text":"TemporaryFile(/tmp/multipartBody3033680468539794173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021504428,"filename":"image_28012025_00_35_06_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332129136","file1":"1332129132","file0":"1332129129","file4":"1332129145","file5":"1332129148","file3":"1332129139"},"map_files_photo_id_array":[{"photo_id":"1332129148","filename":"file5"},{"photo_id":"1332129136","filename":"file2"},{"photo_id":"1332129145","filename":"file4"},{"photo_id":"1332129132","filename":"file1"},{"photo_id":"1332129129","filename":"file0"},{"photo_id":"1332129139","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332129129":["hashtag1","hashtag2"]},{"1332129132":["hashtag1","hashtag2"]},{"1332129136":["hashtag1","hashtag2"]},{"1332129145":["hashtag1","hashtag2"]},{"1332129139":["hashtag1","hashtag2"]},{"1332129148":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332129129, 1332129132, 1332129136, 1332129145, 1332129139, 1332129148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.761943340301514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:45:04.240394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/35/image_28012025_00_35_16_10347.jpg', '/home/pi/Desktop/images/28012025/00/35/image_28012025_00_35_25_9398.jpg', '/home/pi/Desktop/images/28012025/00/35/image_28012025_00_35_36_10357.jpg', '/home/pi/Desktop/images/28012025/00/35/image_28012025_00_35_45_9344.jpg', '/home/pi/Desktop/images/28012025/00/35/image_28012025_00_35_55_10376.jpg', '/home/pi/Desktop/images/28012025/00/35/image_28012025_00_36_06_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/35/image_28012025_00_35_16_10347.jpg
/home/pi/Desktop/images/28012025/00/35/image_28012025_00_35_25_9398.jpg
/home/pi/Desktop/images/28012025/00/35/image_28012025_00_35_36_10357.jpg
/home/pi/Desktop/images/28012025/00/35/image_28012025_00_35_45_9344.jpg
/home/pi/Desktop/images/28012025/00/35/image_28012025_00_35_55_10376.jpg
/home/pi/Desktop/images/28012025/00/35/image_28012025_00_36_06_10371.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332129165","1332129168","1332129158","1332129169","1332129160","1332129163"],"photo_ids_order":["1332129158","1332129160","1332129163","1332129165","1332129168","1332129169"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2292d6a114b4e087d93baab3b9ce091b.jpg","text":"TemporaryFile(/tmp/multipartBody7956434895250646082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021565245,"filename":"image_28012025_00_35_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/1/28/a079a4822a976ff1f16eeea1644271fa.jpg","text":"TemporaryFile(/tmp/multipartBody6152743110680155323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021565245,"filename":"image_28012025_00_35_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/1/28/67329c9bac236ab11e15c66f11706e95.jpg","text":"TemporaryFile(/tmp/multipartBody6743760185078327750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021565245,"filename":"image_28012025_00_35_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/1/28/9d2937dcdc8a6539ad0b582a500ff9ba.jpg","text":"TemporaryFile(/tmp/multipartBody3907780291415286215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021565245,"filename":"image_28012025_00_36_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/1/28/36d5c73d53d8048b76f57b5118561b22.jpg","text":"TemporaryFile(/tmp/multipartBody9139928495863774904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021565245,"filename":"image_28012025_00_35_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/1/28/23425bd8671aa52fca4c3faf24528cb7.jpg","text":"TemporaryFile(/tmp/multipartBody5779193626378920844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021565245,"filename":"image_28012025_00_35_36_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332129163","file1":"1332129160","file0":"1332129158","file4":"1332129168","file5":"1332129169","file3":"1332129165"},"map_files_photo_id_array":[{"photo_id":"1332129169","filename":"file5"},{"photo_id":"1332129163","filename":"file2"},{"photo_id":"1332129168","filename":"file4"},{"photo_id":"1332129160","filename":"file1"},{"photo_id":"1332129158","filename":"file0"},{"photo_id":"1332129165","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332129165":["hashtag1","hashtag2"]},{"1332129168":["hashtag1","hashtag2"]},{"1332129158":["hashtag1","hashtag2"]},{"1332129169":["hashtag1","hashtag2"]},{"1332129160":["hashtag1","hashtag2"]},{"1332129163":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332129165, 1332129168, 1332129158, 1332129169, 1332129160, 1332129163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.69905233383179 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:46:02.944590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/36/image_28012025_00_36_15_9330.jpg', '/home/pi/Desktop/images/28012025/00/36/image_28012025_00_36_26_10451.jpg', '/home/pi/Desktop/images/28012025/00/36/image_28012025_00_36_36_10355.jpg', '/home/pi/Desktop/images/28012025/00/36/image_28012025_00_36_45_9413.jpg', '/home/pi/Desktop/images/28012025/00/36/image_28012025_00_36_56_10360.jpg', '/home/pi/Desktop/images/28012025/00/36/image_28012025_00_37_05_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/36/image_28012025_00_36_15_9330.jpg
/home/pi/Desktop/images/28012025/00/36/image_28012025_00_36_26_10451.jpg
/home/pi/Desktop/images/28012025/00/36/image_28012025_00_36_36_10355.jpg
/home/pi/Desktop/images/28012025/00/36/image_28012025_00_36_45_9413.jpg
/home/pi/Desktop/images/28012025/00/36/image_28012025_00_36_56_10360.jpg
/home/pi/Desktop/images/28012025/00/36/image_28012025_00_37_05_9342.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332129356","1332129242","1332129185","1332129248","1332129221","1332129187"],"photo_ids_order":["1332129185","1332129187","1332129221","1332129242","1332129248","1332129356"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c35bccc346f3c1bfd4b4ea3432165286.jpg","text":"TemporaryFile(/tmp/multipartBody5993845187657739326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021623877,"filename":"image_28012025_00_37_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/1/28/3d059ef2bc2aacbd71acc9e83eb30fe4.jpg","text":"TemporaryFile(/tmp/multipartBody5692658256333059829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021623877,"filename":"image_28012025_00_36_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/1/28/06fbd389166201d7ae2493156771afa4.jpg","text":"TemporaryFile(/tmp/multipartBody4162174588167296920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021623877,"filename":"image_28012025_00_36_15_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3a15d1c5ef16936f29fe4b52fd315cc7.jpg","text":"TemporaryFile(/tmp/multipartBody2624263623032469012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021623877,"filename":"image_28012025_00_36_56_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/15810b5f5b8dca399e12434a9ba0bc0e.jpg","text":"TemporaryFile(/tmp/multipartBody6890847086641772945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021623877,"filename":"image_28012025_00_36_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/1/28/9f25cc8850e6e71828db791831e75cff.jpg","text":"TemporaryFile(/tmp/multipartBody6717489875024041045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021623877,"filename":"image_28012025_00_36_26_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332129221","file1":"1332129187","file0":"1332129185","file4":"1332129248","file5":"1332129356","file3":"1332129242"},"map_files_photo_id_array":[{"photo_id":"1332129356","filename":"file5"},{"photo_id":"1332129221","filename":"file2"},{"photo_id":"1332129248","filename":"file4"},{"photo_id":"1332129187","filename":"file1"},{"photo_id":"1332129185","filename":"file0"},{"photo_id":"1332129242","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332129356":["hashtag1","hashtag2"]},{"1332129242":["hashtag1","hashtag2"]},{"1332129185":["hashtag1","hashtag2"]},{"1332129248":["hashtag1","hashtag2"]},{"1332129221":["hashtag1","hashtag2"]},{"1332129187":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332129356, 1332129242, 1332129185, 1332129248, 1332129221, 1332129187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.097718477249146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:47:04.567450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/37/image_28012025_00_37_15_10375.jpg', '/home/pi/Desktop/images/28012025/00/37/image_28012025_00_37_26_10360.jpg', '/home/pi/Desktop/images/28012025/00/37/image_28012025_00_37_35_9336.jpg', '/home/pi/Desktop/images/28012025/00/37/image_28012025_00_37_46_10461.jpg', '/home/pi/Desktop/images/28012025/00/37/image_28012025_00_37_56_10358.jpg', '/home/pi/Desktop/images/28012025/00/37/image_28012025_00_38_05_9442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/37/image_28012025_00_37_15_10375.jpg
/home/pi/Desktop/images/28012025/00/37/image_28012025_00_37_26_10360.jpg
/home/pi/Desktop/images/28012025/00/37/image_28012025_00_37_35_9336.jpg
/home/pi/Desktop/images/28012025/00/37/image_28012025_00_37_46_10461.jpg
/home/pi/Desktop/images/28012025/00/37/image_28012025_00_37_56_10358.jpg
/home/pi/Desktop/images/28012025/00/37/image_28012025_00_38_05_9442.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332130352","1332130085","1332129985","1332130322","1332129897","1332130228"],"photo_ids_order":["1332129897","1332129985","1332130085","1332130228","1332130322","1332130352"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f7bbd72e11417af7a7d0dfa68fa08321.jpg","text":"TemporaryFile(/tmp/multipartBody1375604034150633837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021685619,"filename":"image_28012025_00_38_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/1/28/30ae0e592aa386c249bc4ad3b07ed6ee.jpg","text":"TemporaryFile(/tmp/multipartBody1125664468800138466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021685619,"filename":"image_28012025_00_37_35_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c2e548fa3d885d3437849a7f2b2cd9d7.jpg","text":"TemporaryFile(/tmp/multipartBody5128650202999433440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021685619,"filename":"image_28012025_00_37_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/1/28/a7fb6b80fbe17e4edd61ebfbee52ef2f.jpg","text":"TemporaryFile(/tmp/multipartBody374709207519868215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021685619,"filename":"image_28012025_00_37_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/1/28/fd15b79a89b8d518c16dc27f0e80632a.jpg","text":"TemporaryFile(/tmp/multipartBody8584777952131788726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021685619,"filename":"image_28012025_00_37_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/1/28/bc03b7e1b2b54ec2605652053cc7f480.jpg","text":"TemporaryFile(/tmp/multipartBody710315061215449448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021685619,"filename":"image_28012025_00_37_46_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332130085","file1":"1332129985","file0":"1332129897","file4":"1332130322","file5":"1332130352","file3":"1332130228"},"map_files_photo_id_array":[{"photo_id":"1332130352","filename":"file5"},{"photo_id":"1332130085","filename":"file2"},{"photo_id":"1332130322","filename":"file4"},{"photo_id":"1332129985","filename":"file1"},{"photo_id":"1332129897","filename":"file0"},{"photo_id":"1332130228","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332130352":["hashtag1","hashtag2"]},{"1332130085":["hashtag1","hashtag2"]},{"1332129985":["hashtag1","hashtag2"]},{"1332130322":["hashtag1","hashtag2"]},{"1332129897":["hashtag1","hashtag2"]},{"1332130228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332130352, 1332130085, 1332129985, 1332130322, 1332129897, 1332130228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.48097491264343 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:48:03.078648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/38/image_28012025_00_38_16_10333.jpg', '/home/pi/Desktop/images/28012025/00/38/image_28012025_00_38_26_10130.jpg', '/home/pi/Desktop/images/28012025/00/38/image_28012025_00_38_35_9393.jpg', '/home/pi/Desktop/images/28012025/00/38/image_28012025_00_38_46_10374.jpg', '/home/pi/Desktop/images/28012025/00/38/image_28012025_00_38_56_10360.jpg', '/home/pi/Desktop/images/28012025/00/38/image_28012025_00_39_06_9882.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/38/image_28012025_00_38_16_10333.jpg
/home/pi/Desktop/images/28012025/00/38/image_28012025_00_38_26_10130.jpg
/home/pi/Desktop/images/28012025/00/38/image_28012025_00_38_35_9393.jpg
/home/pi/Desktop/images/28012025/00/38/image_28012025_00_38_46_10374.jpg
/home/pi/Desktop/images/28012025/00/38/image_28012025_00_38_56_10360.jpg
/home/pi/Desktop/images/28012025/00/38/image_28012025_00_39_06_9882.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332130368","1332130385","1332130379","1332130382","1332130372","1332130375"],"photo_ids_order":["1332130368","1332130372","1332130375","1332130379","1332130382","1332130385"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a2f23a06a37cd78821461a0e0571785f.jpg","text":"TemporaryFile(/tmp/multipartBody8039618734183886146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021745494,"filename":"image_28012025_00_38_16_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/98ced5a762d08b300e5893ad313d51d0.jpg","text":"TemporaryFile(/tmp/multipartBody1180328281576158388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021745494,"filename":"image_28012025_00_39_06_9882.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9c4a8331f26897a9ed4619ff13c0d4e4.jpg","text":"TemporaryFile(/tmp/multipartBody5978601571429944971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021745494,"filename":"image_28012025_00_38_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/1/28/dc88d9248737add95727b7cf95c07b12.jpg","text":"TemporaryFile(/tmp/multipartBody6402262381981038423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021745494,"filename":"image_28012025_00_38_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/1/28/4c71ae3121dd54ed57fe2bfb0ac4bb1a.jpg","text":"TemporaryFile(/tmp/multipartBody3356172245105534255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021745494,"filename":"image_28012025_00_38_26_10130.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3616d250283f9155f11dbe18900b17b0.jpg","text":"TemporaryFile(/tmp/multipartBody4324448265487565121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021745494,"filename":"image_28012025_00_38_35_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332130375","file1":"1332130372","file0":"1332130368","file4":"1332130382","file5":"1332130385","file3":"1332130379"},"map_files_photo_id_array":[{"photo_id":"1332130385","filename":"file5"},{"photo_id":"1332130375","filename":"file2"},{"photo_id":"1332130382","filename":"file4"},{"photo_id":"1332130372","filename":"file1"},{"photo_id":"1332130368","filename":"file0"},{"photo_id":"1332130379","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332130368":["hashtag1","hashtag2"]},{"1332130385":["hashtag1","hashtag2"]},{"1332130379":["hashtag1","hashtag2"]},{"1332130382":["hashtag1","hashtag2"]},{"1332130372":["hashtag1","hashtag2"]},{"1332130375":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332130368, 1332130385, 1332130379, 1332130382, 1332130372, 1332130375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.080604791641235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:49:04.210250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/39/image_28012025_00_39_15_9478.jpg', '/home/pi/Desktop/images/28012025/00/39/image_28012025_00_39_26_10383.jpg', '/home/pi/Desktop/images/28012025/00/39/image_28012025_00_39_35_9407.jpg', '/home/pi/Desktop/images/28012025/00/39/image_28012025_00_39_45_10362.jpg', '/home/pi/Desktop/images/28012025/00/39/image_28012025_00_39_56_10346.jpg', '/home/pi/Desktop/images/28012025/00/39/image_28012025_00_40_05_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/39/image_28012025_00_39_15_9478.jpg
/home/pi/Desktop/images/28012025/00/39/image_28012025_00_39_26_10383.jpg
/home/pi/Desktop/images/28012025/00/39/image_28012025_00_39_35_9407.jpg
/home/pi/Desktop/images/28012025/00/39/image_28012025_00_39_45_10362.jpg
/home/pi/Desktop/images/28012025/00/39/image_28012025_00_39_56_10346.jpg
/home/pi/Desktop/images/28012025/00/39/image_28012025_00_40_05_9349.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6669449806213379 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:50:02.916699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/39/image_28012025_00_39_15_9478.jpg', '/home/pi/Desktop/images/28012025/00/39/image_28012025_00_39_26_10383.jpg', '/home/pi/Desktop/images/28012025/00/39/image_28012025_00_39_35_9407.jpg', '/home/pi/Desktop/images/28012025/00/39/image_28012025_00_39_45_10362.jpg', '/home/pi/Desktop/images/28012025/00/39/image_28012025_00_39_56_10346.jpg', '/home/pi/Desktop/images/28012025/00/39/image_28012025_00_40_05_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/39/image_28012025_00_39_15_9478.jpg
/home/pi/Desktop/images/28012025/00/39/image_28012025_00_39_26_10383.jpg
/home/pi/Desktop/images/28012025/00/39/image_28012025_00_39_35_9407.jpg
/home/pi/Desktop/images/28012025/00/39/image_28012025_00_39_45_10362.jpg
/home/pi/Desktop/images/28012025/00/39/image_28012025_00_39_56_10346.jpg
/home/pi/Desktop/images/28012025/00/39/image_28012025_00_40_05_9349.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332130575","1332130578","1332130563","1332130556","1332130561","1332130558"],"photo_ids_order":["1332130556","1332130558","1332130561","1332130563","1332130575","1332130578"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a1f9467f4562660cab750b8a1a9fb459.jpg","text":"TemporaryFile(/tmp/multipartBody7418149374681592009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021863856,"filename":"image_28012025_00_39_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/1/28/84d0552168da54d1869b618abfe49ed9.jpg","text":"TemporaryFile(/tmp/multipartBody6401274524758909973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021863856,"filename":"image_28012025_00_40_05_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4d61ba3d4429392903c3c61ca6a19c37.jpg","text":"TemporaryFile(/tmp/multipartBody7592154577363341713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021863856,"filename":"image_28012025_00_39_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/1/28/68b2cb0dbd2038f36e85f98487297584.jpg","text":"TemporaryFile(/tmp/multipartBody957250500653727778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021863856,"filename":"image_28012025_00_39_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/1/28/33fdfa20a93153d209ed76c28644f091.jpg","text":"TemporaryFile(/tmp/multipartBody1617822270748615914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021863856,"filename":"image_28012025_00_39_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/1/28/2f1619e77254cd08f839278be2646dd5.jpg","text":"TemporaryFile(/tmp/multipartBody8575701574149328740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021863856,"filename":"image_28012025_00_39_26_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332130561","file1":"1332130558","file0":"1332130556","file4":"1332130575","file5":"1332130578","file3":"1332130563"},"map_files_photo_id_array":[{"photo_id":"1332130578","filename":"file5"},{"photo_id":"1332130561","filename":"file2"},{"photo_id":"1332130575","filename":"file4"},{"photo_id":"1332130558","filename":"file1"},{"photo_id":"1332130556","filename":"file0"},{"photo_id":"1332130563","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332130575":["hashtag1","hashtag2"]},{"1332130578":["hashtag1","hashtag2"]},{"1332130563":["hashtag1","hashtag2"]},{"1332130556":["hashtag1","hashtag2"]},{"1332130561":["hashtag1","hashtag2"]},{"1332130558":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332130575, 1332130578, 1332130563, 1332130556, 1332130561, 1332130558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.62275552749634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:51:04.548818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/40/image_28012025_00_40_16_10458.jpg', '/home/pi/Desktop/images/28012025/00/40/image_28012025_00_40_26_10368.jpg', '/home/pi/Desktop/images/28012025/00/40/image_28012025_00_40_35_9444.jpg', '/home/pi/Desktop/images/28012025/00/40/image_28012025_00_40_46_10363.jpg', '/home/pi/Desktop/images/28012025/00/40/image_28012025_00_40_55_9424.jpg', '/home/pi/Desktop/images/28012025/00/40/image_28012025_00_41_06_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/40/image_28012025_00_40_16_10458.jpg
/home/pi/Desktop/images/28012025/00/40/image_28012025_00_40_26_10368.jpg
/home/pi/Desktop/images/28012025/00/40/image_28012025_00_40_35_9444.jpg
/home/pi/Desktop/images/28012025/00/40/image_28012025_00_40_46_10363.jpg
/home/pi/Desktop/images/28012025/00/40/image_28012025_00_40_55_9424.jpg
/home/pi/Desktop/images/28012025/00/40/image_28012025_00_41_06_10356.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332130587","1332130596","1332130694","1332130697","1332130589","1332130696"],"photo_ids_order":["1332130587","1332130589","1332130596","1332130694","1332130696","1332130697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/01f4150d7e822ca26e642ae8a10f015b.jpg","text":"TemporaryFile(/tmp/multipartBody413465597989790537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021925594,"filename":"image_28012025_00_40_16_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2c9c8b0c0cc1576d9fe94bb9c5997768.jpg","text":"TemporaryFile(/tmp/multipartBody4601287584351286430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021925594,"filename":"image_28012025_00_40_35_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d40430d4d7c7b090618dcdb1d939016d.jpg","text":"TemporaryFile(/tmp/multipartBody7860404492338948170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021925594,"filename":"image_28012025_00_40_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/1/28/993e20075f76bcc74a4937b2614e8eb0.jpg","text":"TemporaryFile(/tmp/multipartBody11414087823302918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021925594,"filename":"image_28012025_00_41_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/1/28/8ef0e2a58f1a66e6225dff5c5e2e1836.jpg","text":"TemporaryFile(/tmp/multipartBody2448105770078035920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021925594,"filename":"image_28012025_00_40_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/1/28/5be78b7ecb26b3f44275d465c00ed9ac.jpg","text":"TemporaryFile(/tmp/multipartBody1887737766591451210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021925594,"filename":"image_28012025_00_40_55_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332130596","file1":"1332130589","file0":"1332130587","file4":"1332130696","file5":"1332130697","file3":"1332130694"},"map_files_photo_id_array":[{"photo_id":"1332130697","filename":"file5"},{"photo_id":"1332130596","filename":"file2"},{"photo_id":"1332130696","filename":"file4"},{"photo_id":"1332130589","filename":"file1"},{"photo_id":"1332130587","filename":"file0"},{"photo_id":"1332130694","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332130587":["hashtag1","hashtag2"]},{"1332130596":["hashtag1","hashtag2"]},{"1332130694":["hashtag1","hashtag2"]},{"1332130697":["hashtag1","hashtag2"]},{"1332130589":["hashtag1","hashtag2"]},{"1332130696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332130587, 1332130596, 1332130694, 1332130697, 1332130589, 1332130696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.63609290122986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:52:03.111485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/41/image_28012025_00_41_16_10344.jpg', '/home/pi/Desktop/images/28012025/00/41/image_28012025_00_41_25_9479.jpg', '/home/pi/Desktop/images/28012025/00/41/image_28012025_00_41_36_10351.jpg', '/home/pi/Desktop/images/28012025/00/41/image_28012025_00_41_45_9340.jpg', '/home/pi/Desktop/images/28012025/00/41/image_28012025_00_41_56_10457.jpg', '/home/pi/Desktop/images/28012025/00/41/image_28012025_00_42_06_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/41/image_28012025_00_41_16_10344.jpg
/home/pi/Desktop/images/28012025/00/41/image_28012025_00_41_25_9479.jpg
/home/pi/Desktop/images/28012025/00/41/image_28012025_00_41_36_10351.jpg
/home/pi/Desktop/images/28012025/00/41/image_28012025_00_41_45_9340.jpg
/home/pi/Desktop/images/28012025/00/41/image_28012025_00_41_56_10457.jpg
/home/pi/Desktop/images/28012025/00/41/image_28012025_00_42_06_10359.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332130752","1332130755","1332130749","1332130734","1332130731","1332130738"],"photo_ids_order":["1332130731","1332130734","1332130738","1332130749","1332130752","1332130755"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1c47aed02c890ca9df4dea7fe13e754a.jpg","text":"TemporaryFile(/tmp/multipartBody4040934264137777227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021984061,"filename":"image_28012025_00_41_56_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ed94f5753e584079b54f25fee7f46e85.jpg","text":"TemporaryFile(/tmp/multipartBody3358239181466322252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021984061,"filename":"image_28012025_00_42_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/1/28/7c704da2dd5f2a55259e4b1dffdd09a6.jpg","text":"TemporaryFile(/tmp/multipartBody1715008412409689829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021984061,"filename":"image_28012025_00_41_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/1/28/960291450968e151ef969d764b7628ce.jpg","text":"TemporaryFile(/tmp/multipartBody2807774439513163521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021984061,"filename":"image_28012025_00_41_25_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/10407f6ffb9cbc11dea8e16315d47c5c.jpg","text":"TemporaryFile(/tmp/multipartBody5675156314353581772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021984061,"filename":"image_28012025_00_41_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/1/28/e1ad4dfdcb867f2fb00e557be4ad8b57.jpg","text":"TemporaryFile(/tmp/multipartBody3056778510956022017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738021984061,"filename":"image_28012025_00_41_36_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332130738","file1":"1332130734","file0":"1332130731","file4":"1332130752","file5":"1332130755","file3":"1332130749"},"map_files_photo_id_array":[{"photo_id":"1332130755","filename":"file5"},{"photo_id":"1332130738","filename":"file2"},{"photo_id":"1332130752","filename":"file4"},{"photo_id":"1332130734","filename":"file1"},{"photo_id":"1332130731","filename":"file0"},{"photo_id":"1332130749","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332130752":["hashtag1","hashtag2"]},{"1332130755":["hashtag1","hashtag2"]},{"1332130749":["hashtag1","hashtag2"]},{"1332130734":["hashtag1","hashtag2"]},{"1332130731":["hashtag1","hashtag2"]},{"1332130738":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332130752, 1332130755, 1332130749, 1332130734, 1332130731, 1332130738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.46257567405701 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:53:03.777459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/42/image_28012025_00_42_15_9400.jpg', '/home/pi/Desktop/images/28012025/00/42/image_28012025_00_42_26_10360.jpg', '/home/pi/Desktop/images/28012025/00/42/image_28012025_00_42_35_9352.jpg', '/home/pi/Desktop/images/28012025/00/42/image_28012025_00_42_45_10412.jpg', '/home/pi/Desktop/images/28012025/00/42/image_28012025_00_42_56_10353.jpg', '/home/pi/Desktop/images/28012025/00/42/image_28012025_00_43_05_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/42/image_28012025_00_42_15_9400.jpg
/home/pi/Desktop/images/28012025/00/42/image_28012025_00_42_26_10360.jpg
/home/pi/Desktop/images/28012025/00/42/image_28012025_00_42_35_9352.jpg
/home/pi/Desktop/images/28012025/00/42/image_28012025_00_42_45_10412.jpg
/home/pi/Desktop/images/28012025/00/42/image_28012025_00_42_56_10353.jpg
/home/pi/Desktop/images/28012025/00/42/image_28012025_00_43_05_9347.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332130997","1332130979","1332130910","1332130999","1332130861","1332130921"],"photo_ids_order":["1332130861","1332130910","1332130921","1332130979","1332130997","1332130999"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/362a7242d0218c6ddc615fe799d74dd5.jpg","text":"TemporaryFile(/tmp/multipartBody1233560308514735134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022044824,"filename":"image_28012025_00_42_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/1/28/748feffb126913598c6b030b0f1cfc0e.jpg","text":"TemporaryFile(/tmp/multipartBody129891224130845007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022044824,"filename":"image_28012025_00_42_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/1/28/6ef269bc0bafba147daabcafe7a3136a.jpg","text":"TemporaryFile(/tmp/multipartBody6503048114518124922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022044824,"filename":"image_28012025_00_42_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/1/28/de82dac355e642e1568a62fe0ecf8585.jpg","text":"TemporaryFile(/tmp/multipartBody3056414290845803653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022044824,"filename":"image_28012025_00_43_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/1/28/9f9889aa70945984cbb689235c0bf928.jpg","text":"TemporaryFile(/tmp/multipartBody5514907410847107020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022044824,"filename":"image_28012025_00_42_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/1/28/1ef548eaca105143dfd2d902c0c4fc25.jpg","text":"TemporaryFile(/tmp/multipartBody2743745659262403483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022044824,"filename":"image_28012025_00_42_35_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332130921","file1":"1332130910","file0":"1332130861","file4":"1332130997","file5":"1332130999","file3":"1332130979"},"map_files_photo_id_array":[{"photo_id":"1332130999","filename":"file5"},{"photo_id":"1332130921","filename":"file2"},{"photo_id":"1332130997","filename":"file4"},{"photo_id":"1332130910","filename":"file1"},{"photo_id":"1332130861","filename":"file0"},{"photo_id":"1332130979","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332130997":["hashtag1","hashtag2"]},{"1332130979":["hashtag1","hashtag2"]},{"1332130910":["hashtag1","hashtag2"]},{"1332130999":["hashtag1","hashtag2"]},{"1332130861":["hashtag1","hashtag2"]},{"1332130921":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332130997, 1332130979, 1332130910, 1332130999, 1332130861, 1332130921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.13224148750305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:54:03.100999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/43/image_28012025_00_43_15_10353.jpg', '/home/pi/Desktop/images/28012025/00/43/image_28012025_00_43_26_10352.jpg', '/home/pi/Desktop/images/28012025/00/43/image_28012025_00_43_35_9350.jpg', '/home/pi/Desktop/images/28012025/00/43/image_28012025_00_43_46_10476.jpg', '/home/pi/Desktop/images/28012025/00/43/image_28012025_00_43_55_9357.jpg', '/home/pi/Desktop/images/28012025/00/43/image_28012025_00_44_05_10412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/43/image_28012025_00_43_15_10353.jpg
/home/pi/Desktop/images/28012025/00/43/image_28012025_00_43_26_10352.jpg
/home/pi/Desktop/images/28012025/00/43/image_28012025_00_43_35_9350.jpg
/home/pi/Desktop/images/28012025/00/43/image_28012025_00_43_46_10476.jpg
/home/pi/Desktop/images/28012025/00/43/image_28012025_00_43_55_9357.jpg
/home/pi/Desktop/images/28012025/00/43/image_28012025_00_44_05_10412.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332131715","1332131834","1332132019","1332131653","1332131443","1332131533"],"photo_ids_order":["1332131443","1332131533","1332131653","1332131715","1332131834","1332132019"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/95c94c3b6cb3df2ac6b71b83b471a108.jpg","text":"TemporaryFile(/tmp/multipartBody5473262604119863898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022104035,"filename":"image_28012025_00_43_46_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2eef20baac3a326c14da3f530a878790.jpg","text":"TemporaryFile(/tmp/multipartBody8461044826544100782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022104035,"filename":"image_28012025_00_43_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/1/28/fc871768d97ddd732c930025970aabf8.jpg","text":"TemporaryFile(/tmp/multipartBody4861459558711508502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022104035,"filename":"image_28012025_00_44_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/1/28/d49d81f9528335b6f1af04d2223da089.jpg","text":"TemporaryFile(/tmp/multipartBody8154364863475268168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022104035,"filename":"image_28012025_00_43_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/1/28/ae58f1e11cd22a91e54162565781290e.jpg","text":"TemporaryFile(/tmp/multipartBody1449543578079456619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022104035,"filename":"image_28012025_00_43_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/1/28/3b6eb2612f9dd1fe393484ff5e3ddf02.jpg","text":"TemporaryFile(/tmp/multipartBody9073404362834241659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022104035,"filename":"image_28012025_00_43_26_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332131653","file1":"1332131533","file0":"1332131443","file4":"1332131834","file5":"1332132019","file3":"1332131715"},"map_files_photo_id_array":[{"photo_id":"1332132019","filename":"file5"},{"photo_id":"1332131653","filename":"file2"},{"photo_id":"1332131834","filename":"file4"},{"photo_id":"1332131533","filename":"file1"},{"photo_id":"1332131443","filename":"file0"},{"photo_id":"1332131715","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332131715":["hashtag1","hashtag2"]},{"1332131834":["hashtag1","hashtag2"]},{"1332132019":["hashtag1","hashtag2"]},{"1332131653":["hashtag1","hashtag2"]},{"1332131443":["hashtag1","hashtag2"]},{"1332131533":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332131715, 1332131834, 1332132019, 1332131653, 1332131443, 1332131533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.96986222267151 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:55:04.568529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/44/image_28012025_00_44_16_10361.jpg', '/home/pi/Desktop/images/28012025/00/44/image_28012025_00_44_25_9502.jpg', '/home/pi/Desktop/images/28012025/00/44/image_28012025_00_44_36_10407.jpg', '/home/pi/Desktop/images/28012025/00/44/image_28012025_00_44_45_9365.jpg', '/home/pi/Desktop/images/28012025/00/44/image_28012025_00_44_56_10456.jpg', '/home/pi/Desktop/images/28012025/00/44/image_28012025_00_45_06_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/44/image_28012025_00_44_16_10361.jpg
/home/pi/Desktop/images/28012025/00/44/image_28012025_00_44_25_9502.jpg
/home/pi/Desktop/images/28012025/00/44/image_28012025_00_44_36_10407.jpg
/home/pi/Desktop/images/28012025/00/44/image_28012025_00_44_45_9365.jpg
/home/pi/Desktop/images/28012025/00/44/image_28012025_00_44_56_10456.jpg
/home/pi/Desktop/images/28012025/00/44/image_28012025_00_45_06_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6420958042144775 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:56:03.394409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/44/image_28012025_00_44_16_10361.jpg', '/home/pi/Desktop/images/28012025/00/44/image_28012025_00_44_25_9502.jpg', '/home/pi/Desktop/images/28012025/00/44/image_28012025_00_44_36_10407.jpg', '/home/pi/Desktop/images/28012025/00/44/image_28012025_00_44_45_9365.jpg', '/home/pi/Desktop/images/28012025/00/44/image_28012025_00_44_56_10456.jpg', '/home/pi/Desktop/images/28012025/00/44/image_28012025_00_45_06_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/44/image_28012025_00_44_16_10361.jpg
/home/pi/Desktop/images/28012025/00/44/image_28012025_00_44_25_9502.jpg
/home/pi/Desktop/images/28012025/00/44/image_28012025_00_44_36_10407.jpg
/home/pi/Desktop/images/28012025/00/44/image_28012025_00_44_45_9365.jpg
/home/pi/Desktop/images/28012025/00/44/image_28012025_00_44_56_10456.jpg
/home/pi/Desktop/images/28012025/00/44/image_28012025_00_45_06_10366.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332132507","1332132698","1332132590","1332132485","1332132478","1332132483"],"photo_ids_order":["1332132478","1332132483","1332132485","1332132507","1332132590","1332132698"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5a1c03ff43a26e274f5bafad61802b7b.jpg","text":"TemporaryFile(/tmp/multipartBody6401709404988175623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022224333,"filename":"image_28012025_00_44_45_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/38e0ad90d37cf85ef9a124323b1efc00.jpg","text":"TemporaryFile(/tmp/multipartBody7753892987209887928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022224333,"filename":"image_28012025_00_45_06_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/37f2bbf3acca9f2ca578d884580df245.jpg","text":"TemporaryFile(/tmp/multipartBody5603782178589342327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022224333,"filename":"image_28012025_00_44_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/1/28/1a2c7343f0fc33b8f4fe28b8a4eac494.jpg","text":"TemporaryFile(/tmp/multipartBody4004725461024767246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022224333,"filename":"image_28012025_00_44_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/1/28/961327f62e8d35ce4692ed601ca6159d.jpg","text":"TemporaryFile(/tmp/multipartBody3248990550192649162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022224333,"filename":"image_28012025_00_44_16_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b5870cf71e54b20e1e5d06d3f0ff31f9.jpg","text":"TemporaryFile(/tmp/multipartBody5371842905780870926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022224333,"filename":"image_28012025_00_44_25_9502.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332132485","file1":"1332132483","file0":"1332132478","file4":"1332132590","file5":"1332132698","file3":"1332132507"},"map_files_photo_id_array":[{"photo_id":"1332132698","filename":"file5"},{"photo_id":"1332132485","filename":"file2"},{"photo_id":"1332132590","filename":"file4"},{"photo_id":"1332132483","filename":"file1"},{"photo_id":"1332132478","filename":"file0"},{"photo_id":"1332132507","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332132507":["hashtag1","hashtag2"]},{"1332132698":["hashtag1","hashtag2"]},{"1332132590":["hashtag1","hashtag2"]},{"1332132485":["hashtag1","hashtag2"]},{"1332132478":["hashtag1","hashtag2"]},{"1332132483":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332132507, 1332132698, 1332132590, 1332132485, 1332132478, 1332132483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.687453508377075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:57:03.615242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/45/image_28012025_00_45_15_9418.jpg', '/home/pi/Desktop/images/28012025/00/45/image_28012025_00_45_26_10475.jpg', '/home/pi/Desktop/images/28012025/00/45/image_28012025_00_45_35_9445.jpg', '/home/pi/Desktop/images/28012025/00/45/image_28012025_00_45_46_10444.jpg', '/home/pi/Desktop/images/28012025/00/45/image_28012025_00_45_55_9457.jpg', '/home/pi/Desktop/images/28012025/00/45/image_28012025_00_46_06_10443.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/45/image_28012025_00_45_15_9418.jpg
/home/pi/Desktop/images/28012025/00/45/image_28012025_00_45_26_10475.jpg
/home/pi/Desktop/images/28012025/00/45/image_28012025_00_45_35_9445.jpg
/home/pi/Desktop/images/28012025/00/45/image_28012025_00_45_46_10444.jpg
/home/pi/Desktop/images/28012025/00/45/image_28012025_00_45_55_9457.jpg
/home/pi/Desktop/images/28012025/00/45/image_28012025_00_46_06_10443.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332132995","1332132997","1332133039","1332132970","1332132958","1332132993"],"photo_ids_order":["1332132958","1332132970","1332132993","1332132995","1332132997","1332133039"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6552a723cc9546d1766cf89894ba06e6.jpg","text":"TemporaryFile(/tmp/multipartBody5680031699038819003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022284710,"filename":"image_28012025_00_45_46_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1ae55522de38b93898a27898827b0658.jpg","text":"TemporaryFile(/tmp/multipartBody2156843704301566801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022284710,"filename":"image_28012025_00_45_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/1/28/f26467e90eae3e80e372ebb400da07a1.jpg","text":"TemporaryFile(/tmp/multipartBody2088061152745123256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022284710,"filename":"image_28012025_00_46_06_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/71549fa881c845db5722b2e4bd8c46bb.jpg","text":"TemporaryFile(/tmp/multipartBody1234350482473521698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022284710,"filename":"image_28012025_00_45_26_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f48545636ab69b7323e2e30247317c0b.jpg","text":"TemporaryFile(/tmp/multipartBody1448579481639409864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022284710,"filename":"image_28012025_00_45_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/1/28/c69144dece7a7b05e10c9c4a9edd0a07.jpg","text":"TemporaryFile(/tmp/multipartBody8256603366682231465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022284710,"filename":"image_28012025_00_45_35_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332132993","file1":"1332132970","file0":"1332132958","file4":"1332132997","file5":"1332133039","file3":"1332132995"},"map_files_photo_id_array":[{"photo_id":"1332133039","filename":"file5"},{"photo_id":"1332132993","filename":"file2"},{"photo_id":"1332132997","filename":"file4"},{"photo_id":"1332132970","filename":"file1"},{"photo_id":"1332132958","filename":"file0"},{"photo_id":"1332132995","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332132995":["hashtag1","hashtag2"]},{"1332132997":["hashtag1","hashtag2"]},{"1332133039":["hashtag1","hashtag2"]},{"1332132970":["hashtag1","hashtag2"]},{"1332132958":["hashtag1","hashtag2"]},{"1332132993":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332132995, 1332132997, 1332133039, 1332132970, 1332132958, 1332132993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.49512505531311 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 00:59:04.351742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/46/image_28012025_00_46_16_10353.jpg', '/home/pi/Desktop/images/28012025/00/46/image_28012025_00_46_25_9495.jpg', '/home/pi/Desktop/images/28012025/00/46/image_28012025_00_46_36_10357.jpg', '/home/pi/Desktop/images/28012025/00/46/image_28012025_00_46_45_9358.jpg', '/home/pi/Desktop/images/28012025/00/46/image_28012025_00_46_56_10480.jpg', '/home/pi/Desktop/images/28012025/00/46/image_28012025_00_47_06_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/46/image_28012025_00_46_16_10353.jpg
/home/pi/Desktop/images/28012025/00/46/image_28012025_00_46_25_9495.jpg
/home/pi/Desktop/images/28012025/00/46/image_28012025_00_46_36_10357.jpg
/home/pi/Desktop/images/28012025/00/46/image_28012025_00_46_45_9358.jpg
/home/pi/Desktop/images/28012025/00/46/image_28012025_00_46_56_10480.jpg
/home/pi/Desktop/images/28012025/00/46/image_28012025_00_47_06_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6440966129302979 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 00:59:33.031447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/46/image_28012025_00_46_16_10353.jpg', '/home/pi/Desktop/images/28012025/00/46/image_28012025_00_46_25_9495.jpg', '/home/pi/Desktop/images/28012025/00/46/image_28012025_00_46_36_10357.jpg', '/home/pi/Desktop/images/28012025/00/46/image_28012025_00_46_45_9358.jpg', '/home/pi/Desktop/images/28012025/00/46/image_28012025_00_46_56_10480.jpg', '/home/pi/Desktop/images/28012025/00/46/image_28012025_00_47_06_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/46/image_28012025_00_46_16_10353.jpg
/home/pi/Desktop/images/28012025/00/46/image_28012025_00_46_25_9495.jpg
/home/pi/Desktop/images/28012025/00/46/image_28012025_00_46_36_10357.jpg
/home/pi/Desktop/images/28012025/00/46/image_28012025_00_46_45_9358.jpg
/home/pi/Desktop/images/28012025/00/46/image_28012025_00_46_56_10480.jpg
/home/pi/Desktop/images/28012025/00/46/image_28012025_00_47_06_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332133393","1332133802","1332133703","1332133581","1332133476","1332133929"],"photo_ids_order":["1332133393","1332133476","1332133581","1332133703","1332133802","1332133929"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6e49e411495ec3f95d73e0897c2d5608.jpg","text":"TemporaryFile(/tmp/multipartBody8459577393014410186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022433943,"filename":"image_28012025_00_46_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/1/28/1d772c1d135b881adc7d5102e4cefe9e.jpg","text":"TemporaryFile(/tmp/multipartBody5565276685707770043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022433943,"filename":"image_28012025_00_46_56_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6a7880ba1c39912bf8b11d3461b59b71.jpg","text":"TemporaryFile(/tmp/multipartBody8668444141712066096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022433943,"filename":"image_28012025_00_46_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/1/28/02ec4f56167204f6faf1b270f274b8b3.jpg","text":"TemporaryFile(/tmp/multipartBody3397672349550326779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022433943,"filename":"image_28012025_00_46_36_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ba8beaecc44c5ee031d607e6dd903583.jpg","text":"TemporaryFile(/tmp/multipartBody2370145970495762485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022433943,"filename":"image_28012025_00_46_25_9495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/835b96068fcbbf332cd16da6e57be4cb.jpg","text":"TemporaryFile(/tmp/multipartBody951543955421987248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022433943,"filename":"image_28012025_00_47_06_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332133581","file1":"1332133476","file0":"1332133393","file4":"1332133802","file5":"1332133929","file3":"1332133703"},"map_files_photo_id_array":[{"photo_id":"1332133929","filename":"file5"},{"photo_id":"1332133581","filename":"file2"},{"photo_id":"1332133802","filename":"file4"},{"photo_id":"1332133476","filename":"file1"},{"photo_id":"1332133393","filename":"file0"},{"photo_id":"1332133703","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332133393":["hashtag1","hashtag2"]},{"1332133802":["hashtag1","hashtag2"]},{"1332133703":["hashtag1","hashtag2"]},{"1332133581":["hashtag1","hashtag2"]},{"1332133476":["hashtag1","hashtag2"]},{"1332133929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332133393, 1332133802, 1332133703, 1332133581, 1332133476, 1332133929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.996190309524536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:00:32.276614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/47/image_28012025_00_47_15_9500.jpg', '/home/pi/Desktop/images/28012025/00/47/image_28012025_00_47_26_10363.jpg', '/home/pi/Desktop/images/28012025/00/47/image_28012025_00_47_35_9353.jpg', '/home/pi/Desktop/images/28012025/00/47/image_28012025_00_47_46_10443.jpg', '/home/pi/Desktop/images/28012025/00/47/image_28012025_00_47_56_10357.jpg', '/home/pi/Desktop/images/28012025/00/47/image_28012025_00_48_05_9385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/47/image_28012025_00_47_15_9500.jpg
/home/pi/Desktop/images/28012025/00/47/image_28012025_00_47_26_10363.jpg
/home/pi/Desktop/images/28012025/00/47/image_28012025_00_47_35_9353.jpg
/home/pi/Desktop/images/28012025/00/47/image_28012025_00_47_46_10443.jpg
/home/pi/Desktop/images/28012025/00/47/image_28012025_00_47_56_10357.jpg
/home/pi/Desktop/images/28012025/00/47/image_28012025_00_48_05_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":["1332134281","1332134272","1332134274","1332134282","1332134276","1332134279"],"photo_ids_order":["1332134272","1332134274","1332134276","1332134279","1332134281","1332134282"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d65b6aee39f5ba0601f76172450da3e0.jpg","text":"TemporaryFile(/tmp/multipartBody8102882262319331020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022493183,"filename":"image_28012025_00_47_56_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/09711c8d844b33b2786c975fb60e765b.jpg","text":"TemporaryFile(/tmp/multipartBody2320132825797094216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022493183,"filename":"image_28012025_00_47_15_9500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7ca84de8952771a99f2a94a6bda625c9.jpg","text":"TemporaryFile(/tmp/multipartBody1622898388314939497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022493183,"filename":"image_28012025_00_47_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/1/28/d7e178c1a5bc667731467cd42c6ba1e4.jpg","text":"TemporaryFile(/tmp/multipartBody3822041739581593841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022493183,"filename":"image_28012025_00_48_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/1/28/2d533ff08967b262fd4351e939f533f3.jpg","text":"TemporaryFile(/tmp/multipartBody8591331794935712905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022493183,"filename":"image_28012025_00_47_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/1/28/0185d7db092700ab63d75b60d419142f.jpg","text":"TemporaryFile(/tmp/multipartBody4641467421414656542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022493183,"filename":"image_28012025_00_47_46_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332134276","file1":"1332134274","file0":"1332134272","file4":"1332134281","file5":"1332134282","file3":"1332134279"},"map_files_photo_id_array":[{"photo_id":"1332134282","filename":"file5"},{"photo_id":"1332134276","filename":"file2"},{"photo_id":"1332134281","filename":"file4"},{"photo_id":"1332134274","filename":"file1"},{"photo_id":"1332134272","filename":"file0"},{"photo_id":"1332134279","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332134281":["hashtag1","hashtag2"]},{"1332134272":["hashtag1","hashtag2"]},{"1332134274":["hashtag1","hashtag2"]},{"1332134282":["hashtag1","hashtag2"]},{"1332134276":["hashtag1","hashtag2"]},{"1332134279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332134281, 1332134272, 1332134274, 1332134282, 1332134276, 1332134279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.74326205253601 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:01:32.475043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/48/image_28012025_00_48_16_10336.jpg', '/home/pi/Desktop/images/28012025/00/48/image_28012025_00_48_25_9397.jpg', '/home/pi/Desktop/images/28012025/00/48/image_28012025_00_48_35_10372.jpg', '/home/pi/Desktop/images/28012025/00/48/image_28012025_00_48_46_10427.jpg', '/home/pi/Desktop/images/28012025/00/48/image_28012025_00_48_55_9451.jpg', '/home/pi/Desktop/images/28012025/00/48/image_28012025_00_49_05_10025.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/48/image_28012025_00_48_16_10336.jpg
/home/pi/Desktop/images/28012025/00/48/image_28012025_00_48_25_9397.jpg
/home/pi/Desktop/images/28012025/00/48/image_28012025_00_48_35_10372.jpg
/home/pi/Desktop/images/28012025/00/48/image_28012025_00_48_46_10427.jpg
/home/pi/Desktop/images/28012025/00/48/image_28012025_00_48_55_9451.jpg
/home/pi/Desktop/images/28012025/00/48/image_28012025_00_49_05_10025.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332134309","1332134488","1332134895","1332134679","1332134307","1332134301"],"photo_ids_order":["1332134301","1332134307","1332134309","1332134488","1332134679","1332134895"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ad92ccedca5c8d4e80115aabd6f4e4f8.jpg","text":"TemporaryFile(/tmp/multipartBody8924442206558112232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022553377,"filename":"image_28012025_00_48_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/1/28/a031b02b4831b61cf127740a168fdca4.jpg","text":"TemporaryFile(/tmp/multipartBody6775141751717683218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022553377,"filename":"image_28012025_00_48_46_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fb7841cc53cf34df3aaae3bfdfec6a7d.jpg","text":"TemporaryFile(/tmp/multipartBody4882853465603508139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022553377,"filename":"image_28012025_00_49_05_10025.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/706c86e32e5a93df06d56283e65c749c.jpg","text":"TemporaryFile(/tmp/multipartBody8942778566938730553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022553377,"filename":"image_28012025_00_48_55_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/077b02fa9e46518c38d8bf50ed2e68ba.jpg","text":"TemporaryFile(/tmp/multipartBody8014418576255541385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022553377,"filename":"image_28012025_00_48_25_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2cc45914148931d01d222e757bde0b84.jpg","text":"TemporaryFile(/tmp/multipartBody2564468662619387894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022553377,"filename":"image_28012025_00_48_16_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332134309","file1":"1332134307","file0":"1332134301","file4":"1332134679","file5":"1332134895","file3":"1332134488"},"map_files_photo_id_array":[{"photo_id":"1332134895","filename":"file5"},{"photo_id":"1332134309","filename":"file2"},{"photo_id":"1332134679","filename":"file4"},{"photo_id":"1332134307","filename":"file1"},{"photo_id":"1332134301","filename":"file0"},{"photo_id":"1332134488","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332134309":["hashtag1","hashtag2"]},{"1332134488":["hashtag1","hashtag2"]},{"1332134895":["hashtag1","hashtag2"]},{"1332134679":["hashtag1","hashtag2"]},{"1332134307":["hashtag1","hashtag2"]},{"1332134301":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332134309, 1332134488, 1332134895, 1332134679, 1332134307, 1332134301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.587169885635376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:02:32.693301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/49/image_28012025_00_49_16_10328.jpg', '/home/pi/Desktop/images/28012025/00/49/image_28012025_00_49_25_9386.jpg', '/home/pi/Desktop/images/28012025/00/49/image_28012025_00_49_35_10353.jpg', '/home/pi/Desktop/images/28012025/00/49/image_28012025_00_49_46_10359.jpg', '/home/pi/Desktop/images/28012025/00/49/image_28012025_00_49_55_9379.jpg', '/home/pi/Desktop/images/28012025/00/49/image_28012025_00_50_06_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/49/image_28012025_00_49_16_10328.jpg
/home/pi/Desktop/images/28012025/00/49/image_28012025_00_49_25_9386.jpg
/home/pi/Desktop/images/28012025/00/49/image_28012025_00_49_35_10353.jpg
/home/pi/Desktop/images/28012025/00/49/image_28012025_00_49_46_10359.jpg
/home/pi/Desktop/images/28012025/00/49/image_28012025_00_49_55_9379.jpg
/home/pi/Desktop/images/28012025/00/49/image_28012025_00_50_06_10352.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5213313102722168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 01:02:42.655748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/49/image_28012025_00_49_16_10328.jpg', '/home/pi/Desktop/images/28012025/00/49/image_28012025_00_49_25_9386.jpg', '/home/pi/Desktop/images/28012025/00/49/image_28012025_00_49_35_10353.jpg', '/home/pi/Desktop/images/28012025/00/49/image_28012025_00_49_46_10359.jpg', '/home/pi/Desktop/images/28012025/00/49/image_28012025_00_49_55_9379.jpg', '/home/pi/Desktop/images/28012025/00/49/image_28012025_00_50_06_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/49/image_28012025_00_49_16_10328.jpg
/home/pi/Desktop/images/28012025/00/49/image_28012025_00_49_25_9386.jpg
/home/pi/Desktop/images/28012025/00/49/image_28012025_00_49_35_10353.jpg
/home/pi/Desktop/images/28012025/00/49/image_28012025_00_49_46_10359.jpg
/home/pi/Desktop/images/28012025/00/49/image_28012025_00_49_55_9379.jpg
/home/pi/Desktop/images/28012025/00/49/image_28012025_00_50_06_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332135472","1332135495","1332135313","1332135447","1332135305","1332135499"],"photo_ids_order":["1332135305","1332135313","1332135447","1332135472","1332135495","1332135499"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b0a39870a972e2aa3cc9d0cf4d20f21a.jpg","text":"TemporaryFile(/tmp/multipartBody2289183363997626237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022623557,"filename":"image_28012025_00_49_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/1/28/e864d0664ce308e4a83800e67c0cfd91.jpg","text":"TemporaryFile(/tmp/multipartBody7020625771778510461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022623557,"filename":"image_28012025_00_49_55_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1e234100ab32b09b23ebf6dc9b6f7b83.jpg","text":"TemporaryFile(/tmp/multipartBody916961828427858373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022623557,"filename":"image_28012025_00_49_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/1/28/b2faf156e209d5c4508c76a482127117.jpg","text":"TemporaryFile(/tmp/multipartBody6197215818511521696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022623557,"filename":"image_28012025_00_49_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/1/28/6b74da3f5fdf7ab2281be468b66c24ef.jpg","text":"TemporaryFile(/tmp/multipartBody5394684240015401176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022623557,"filename":"image_28012025_00_49_16_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bd47fe85c115bc2f6b130666e3b26a8a.jpg","text":"TemporaryFile(/tmp/multipartBody1457746806375694437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022623557,"filename":"image_28012025_00_50_06_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332135447","file1":"1332135313","file0":"1332135305","file4":"1332135495","file5":"1332135499","file3":"1332135472"},"map_files_photo_id_array":[{"photo_id":"1332135499","filename":"file5"},{"photo_id":"1332135447","filename":"file2"},{"photo_id":"1332135495","filename":"file4"},{"photo_id":"1332135313","filename":"file1"},{"photo_id":"1332135305","filename":"file0"},{"photo_id":"1332135472","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332135472":["hashtag1","hashtag2"]},{"1332135495":["hashtag1","hashtag2"]},{"1332135313":["hashtag1","hashtag2"]},{"1332135447":["hashtag1","hashtag2"]},{"1332135305":["hashtag1","hashtag2"]},{"1332135499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332135472, 1332135495, 1332135313, 1332135447, 1332135305, 1332135499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.497337102890015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:03:32.815880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/50/image_28012025_00_50_16_10333.jpg', '/home/pi/Desktop/images/28012025/00/50/image_28012025_00_50_25_9461.jpg', '/home/pi/Desktop/images/28012025/00/50/image_28012025_00_50_36_10341.jpg', '/home/pi/Desktop/images/28012025/00/50/image_28012025_00_50_45_9409.jpg', '/home/pi/Desktop/images/28012025/00/50/image_28012025_00_50_56_10416.jpg', '/home/pi/Desktop/images/28012025/00/50/image_28012025_00_51_06_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/50/image_28012025_00_50_16_10333.jpg
/home/pi/Desktop/images/28012025/00/50/image_28012025_00_50_25_9461.jpg
/home/pi/Desktop/images/28012025/00/50/image_28012025_00_50_36_10341.jpg
/home/pi/Desktop/images/28012025/00/50/image_28012025_00_50_45_9409.jpg
/home/pi/Desktop/images/28012025/00/50/image_28012025_00_50_56_10416.jpg
/home/pi/Desktop/images/28012025/00/50/image_28012025_00_51_06_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332135556","1332135561","1332135564","1332135558","1332135546","1332135563"],"photo_ids_order":["1332135546","1332135556","1332135558","1332135561","1332135563","1332135564"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/da83d9905f27c8d14e3f7a0d0eed8f39.jpg","text":"TemporaryFile(/tmp/multipartBody1127536969824428557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022673727,"filename":"image_28012025_00_50_25_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1c36ed2a68093e9ef6b971feca775685.jpg","text":"TemporaryFile(/tmp/multipartBody2614079926962627477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022673727,"filename":"image_28012025_00_50_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/1/28/254aeffcd28f7a40f1f9a3ac612c2846.jpg","text":"TemporaryFile(/tmp/multipartBody6883035704730198074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022673727,"filename":"image_28012025_00_51_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/1/28/609d1e8381aa54ecbc4c02585dd9adcf.jpg","text":"TemporaryFile(/tmp/multipartBody9021317829340654835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022673727,"filename":"image_28012025_00_50_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/1/28/80fa16599161cb22fa2840ee1f99366e.jpg","text":"TemporaryFile(/tmp/multipartBody3157004540029610078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022673727,"filename":"image_28012025_00_50_16_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/94e4575bb02dc5bffdab4df107f292f7.jpg","text":"TemporaryFile(/tmp/multipartBody7892186367165528449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022673727,"filename":"image_28012025_00_50_56_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332135558","file1":"1332135556","file0":"1332135546","file4":"1332135563","file5":"1332135564","file3":"1332135561"},"map_files_photo_id_array":[{"photo_id":"1332135564","filename":"file5"},{"photo_id":"1332135558","filename":"file2"},{"photo_id":"1332135563","filename":"file4"},{"photo_id":"1332135556","filename":"file1"},{"photo_id":"1332135546","filename":"file0"},{"photo_id":"1332135561","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332135556":["hashtag1","hashtag2"]},{"1332135561":["hashtag1","hashtag2"]},{"1332135564":["hashtag1","hashtag2"]},{"1332135558":["hashtag1","hashtag2"]},{"1332135546":["hashtag1","hashtag2"]},{"1332135563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332135556, 1332135561, 1332135564, 1332135558, 1332135546, 1332135563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.55754828453064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:04:33.073463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/51/image_28012025_00_51_15_9359.jpg', '/home/pi/Desktop/images/28012025/00/51/image_28012025_00_51_26_10343.jpg', '/home/pi/Desktop/images/28012025/00/51/image_28012025_00_51_36_10414.jpg', '/home/pi/Desktop/images/28012025/00/51/image_28012025_00_51_45_9452.jpg', '/home/pi/Desktop/images/28012025/00/51/image_28012025_00_51_56_10341.jpg', '/home/pi/Desktop/images/28012025/00/51/image_28012025_00_52_05_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/51/image_28012025_00_51_15_9359.jpg
/home/pi/Desktop/images/28012025/00/51/image_28012025_00_51_26_10343.jpg
/home/pi/Desktop/images/28012025/00/51/image_28012025_00_51_36_10414.jpg
/home/pi/Desktop/images/28012025/00/51/image_28012025_00_51_45_9452.jpg
/home/pi/Desktop/images/28012025/00/51/image_28012025_00_51_56_10341.jpg
/home/pi/Desktop/images/28012025/00/51/image_28012025_00_52_05_9335.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5169374942779541 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 01:04:43.151590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/51/image_28012025_00_51_15_9359.jpg', '/home/pi/Desktop/images/28012025/00/51/image_28012025_00_51_26_10343.jpg', '/home/pi/Desktop/images/28012025/00/51/image_28012025_00_51_36_10414.jpg', '/home/pi/Desktop/images/28012025/00/51/image_28012025_00_51_45_9452.jpg', '/home/pi/Desktop/images/28012025/00/51/image_28012025_00_51_56_10341.jpg', '/home/pi/Desktop/images/28012025/00/51/image_28012025_00_52_05_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/51/image_28012025_00_51_15_9359.jpg
/home/pi/Desktop/images/28012025/00/51/image_28012025_00_51_26_10343.jpg
/home/pi/Desktop/images/28012025/00/51/image_28012025_00_51_36_10414.jpg
/home/pi/Desktop/images/28012025/00/51/image_28012025_00_51_45_9452.jpg
/home/pi/Desktop/images/28012025/00/51/image_28012025_00_51_56_10341.jpg
/home/pi/Desktop/images/28012025/00/51/image_28012025_00_52_05_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332135607","1332135616","1332135621","1332135618","1332135614","1332135611"],"photo_ids_order":["1332135607","1332135611","1332135614","1332135616","1332135618","1332135621"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b1648766628407a583bc88bd6f7ce3d8.jpg","text":"TemporaryFile(/tmp/multipartBody2546410236145517235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022744058,"filename":"image_28012025_00_51_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/1/28/b6584184113eac9badc58dabc6bbe7ed.jpg","text":"TemporaryFile(/tmp/multipartBody920939506227066574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022744058,"filename":"image_28012025_00_51_45_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/17f03e9f8eb8c7ed0acfcd8b1b54b3d3.jpg","text":"TemporaryFile(/tmp/multipartBody2320760904485851611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022744058,"filename":"image_28012025_00_52_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/1/28/ba06387bc9e0ee8ae3706aa2a96b1fd1.jpg","text":"TemporaryFile(/tmp/multipartBody3956966715581140635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022744058,"filename":"image_28012025_00_51_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/1/28/c78415084234fd9be7c2d921f9a40d9a.jpg","text":"TemporaryFile(/tmp/multipartBody8896986612578559528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022744058,"filename":"image_28012025_00_51_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/1/28/c110d319c1a94b57c3ccdac5e5357c4f.jpg","text":"TemporaryFile(/tmp/multipartBody7527517481780722361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022744058,"filename":"image_28012025_00_51_26_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332135614","file1":"1332135611","file0":"1332135607","file4":"1332135618","file5":"1332135621","file3":"1332135616"},"map_files_photo_id_array":[{"photo_id":"1332135621","filename":"file5"},{"photo_id":"1332135614","filename":"file2"},{"photo_id":"1332135618","filename":"file4"},{"photo_id":"1332135611","filename":"file1"},{"photo_id":"1332135607","filename":"file0"},{"photo_id":"1332135616","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332135607":["hashtag1","hashtag2"]},{"1332135616":["hashtag1","hashtag2"]},{"1332135621":["hashtag1","hashtag2"]},{"1332135618":["hashtag1","hashtag2"]},{"1332135614":["hashtag1","hashtag2"]},{"1332135611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332135607, 1332135616, 1332135621, 1332135618, 1332135614, 1332135611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.08424520492554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:05:32.371698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/52/image_28012025_00_52_15_10349.jpg', '/home/pi/Desktop/images/28012025/00/52/image_28012025_00_52_26_10357.jpg', '/home/pi/Desktop/images/28012025/00/52/image_28012025_00_52_35_9342.jpg', '/home/pi/Desktop/images/28012025/00/52/image_28012025_00_52_46_10351.jpg', '/home/pi/Desktop/images/28012025/00/52/image_28012025_00_52_56_10347.jpg', '/home/pi/Desktop/images/28012025/00/52/image_28012025_00_53_05_9320.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/52/image_28012025_00_52_15_10349.jpg
/home/pi/Desktop/images/28012025/00/52/image_28012025_00_52_26_10357.jpg
/home/pi/Desktop/images/28012025/00/52/image_28012025_00_52_35_9342.jpg
/home/pi/Desktop/images/28012025/00/52/image_28012025_00_52_46_10351.jpg
/home/pi/Desktop/images/28012025/00/52/image_28012025_00_52_56_10347.jpg
/home/pi/Desktop/images/28012025/00/52/image_28012025_00_53_05_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":["1332135643","1332135637","1332135639","1332135632","1332135641","1332135635"],"photo_ids_order":["1332135632","1332135635","1332135637","1332135639","1332135641","1332135643"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fd688fa89867d89213a8a12f80cef49e.jpg","text":"TemporaryFile(/tmp/multipartBody6008224827233377382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022793282,"filename":"image_28012025_00_53_05_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/17e89e32cb6e2ecd2004dd24c9a277b8.jpg","text":"TemporaryFile(/tmp/multipartBody7366661860741939670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022793282,"filename":"image_28012025_00_52_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/1/28/61a1f7e2f8b66d69cb13ba4aaa2a554e.jpg","text":"TemporaryFile(/tmp/multipartBody1964614202863235244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022793282,"filename":"image_28012025_00_52_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/1/28/9385edc474f918b4ac1f7ebc6ac53758.jpg","text":"TemporaryFile(/tmp/multipartBody467208606913826250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022793282,"filename":"image_28012025_00_52_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/1/28/3218b5f2bc63c7c61f99bc1e72e45f9a.jpg","text":"TemporaryFile(/tmp/multipartBody713018451998166051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022793282,"filename":"image_28012025_00_52_56_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5080b744f3c0c3b09272dec9ff53d0c0.jpg","text":"TemporaryFile(/tmp/multipartBody1832128883787086629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022793282,"filename":"image_28012025_00_52_26_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332135637","file1":"1332135635","file0":"1332135632","file4":"1332135641","file5":"1332135643","file3":"1332135639"},"map_files_photo_id_array":[{"photo_id":"1332135643","filename":"file5"},{"photo_id":"1332135637","filename":"file2"},{"photo_id":"1332135641","filename":"file4"},{"photo_id":"1332135635","filename":"file1"},{"photo_id":"1332135632","filename":"file0"},{"photo_id":"1332135639","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332135643":["hashtag1","hashtag2"]},{"1332135637":["hashtag1","hashtag2"]},{"1332135639":["hashtag1","hashtag2"]},{"1332135632":["hashtag1","hashtag2"]},{"1332135641":["hashtag1","hashtag2"]},{"1332135635":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332135643, 1332135637, 1332135639, 1332135632, 1332135641, 1332135635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.96431064605713 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:06:32.560316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/53/image_28012025_00_53_16_10342.jpg', '/home/pi/Desktop/images/28012025/00/53/image_28012025_00_53_26_10398.jpg', '/home/pi/Desktop/images/28012025/00/53/image_28012025_00_53_35_9462.jpg', '/home/pi/Desktop/images/28012025/00/53/image_28012025_00_53_46_10344.jpg', '/home/pi/Desktop/images/28012025/00/53/image_28012025_00_53_55_9412.jpg', '/home/pi/Desktop/images/28012025/00/53/image_28012025_00_54_06_10448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/53/image_28012025_00_53_16_10342.jpg
/home/pi/Desktop/images/28012025/00/53/image_28012025_00_53_26_10398.jpg
/home/pi/Desktop/images/28012025/00/53/image_28012025_00_53_35_9462.jpg
/home/pi/Desktop/images/28012025/00/53/image_28012025_00_53_46_10344.jpg
/home/pi/Desktop/images/28012025/00/53/image_28012025_00_53_55_9412.jpg
/home/pi/Desktop/images/28012025/00/53/image_28012025_00_54_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":["1332136392","1332135829","1332136451","1332135968","1332136100","1332136252"],"photo_ids_order":["1332135829","1332135968","1332136100","1332136252","1332136392","1332136451"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e93a7297422691429a788e258fb9fd9b.jpg","text":"TemporaryFile(/tmp/multipartBody1935443110928362441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022853475,"filename":"image_28012025_00_53_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/1/28/9c36332b25ef2ddf76992d550eff838a.jpg","text":"TemporaryFile(/tmp/multipartBody2225807260590556800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022853475,"filename":"image_28012025_00_53_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/1/28/4eabb797e34589d8ba82560fcd75d1c4.jpg","text":"TemporaryFile(/tmp/multipartBody7072459412050122583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022853475,"filename":"image_28012025_00_54_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/1/28/aea604a5ef7fba6d28895ffe6e215445.jpg","text":"TemporaryFile(/tmp/multipartBody6833471453863220416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022853475,"filename":"image_28012025_00_53_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/1/28/bed2a61a5fe6d7669042a88228742358.jpg","text":"TemporaryFile(/tmp/multipartBody8631450163508852581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022853475,"filename":"image_28012025_00_53_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/1/28/eb80d114fb3552359936441f40485f51.jpg","text":"TemporaryFile(/tmp/multipartBody3280063870570823725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022853475,"filename":"image_28012025_00_53_46_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332136100","file1":"1332135968","file0":"1332135829","file4":"1332136392","file5":"1332136451","file3":"1332136252"},"map_files_photo_id_array":[{"photo_id":"1332136451","filename":"file5"},{"photo_id":"1332136100","filename":"file2"},{"photo_id":"1332136392","filename":"file4"},{"photo_id":"1332135968","filename":"file1"},{"photo_id":"1332135829","filename":"file0"},{"photo_id":"1332136252","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332136392":["hashtag1","hashtag2"]},{"1332135829":["hashtag1","hashtag2"]},{"1332136451":["hashtag1","hashtag2"]},{"1332135968":["hashtag1","hashtag2"]},{"1332136100":["hashtag1","hashtag2"]},{"1332136252":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332136392, 1332135829, 1332136451, 1332135968, 1332136100, 1332136252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.15100646018982 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:07:32.831930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/54/image_28012025_00_54_15_9410.jpg', '/home/pi/Desktop/images/28012025/00/54/image_28012025_00_54_25_10417.jpg', '/home/pi/Desktop/images/28012025/00/54/image_28012025_00_54_36_10421.jpg', '/home/pi/Desktop/images/28012025/00/54/image_28012025_00_54_45_9513.jpg', '/home/pi/Desktop/images/28012025/00/54/image_28012025_00_54_56_10353.jpg', '/home/pi/Desktop/images/28012025/00/54/image_28012025_00_55_05_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/54/image_28012025_00_54_15_9410.jpg
/home/pi/Desktop/images/28012025/00/54/image_28012025_00_54_25_10417.jpg
/home/pi/Desktop/images/28012025/00/54/image_28012025_00_54_36_10421.jpg
/home/pi/Desktop/images/28012025/00/54/image_28012025_00_54_45_9513.jpg
/home/pi/Desktop/images/28012025/00/54/image_28012025_00_54_56_10353.jpg
/home/pi/Desktop/images/28012025/00/54/image_28012025_00_55_05_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":["1332136470","1332136476","1332136475","1332136478","1332136474","1332136477"],"photo_ids_order":["1332136470","1332136474","1332136475","1332136476","1332136477","1332136478"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9e3f39c4ac02583a10c70d2a0262781d.jpg","text":"TemporaryFile(/tmp/multipartBody5252831909804915245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022913846,"filename":"image_28012025_00_54_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/1/28/129c1c33d208b88e225a3ad7c2c0ca43.jpg","text":"TemporaryFile(/tmp/multipartBody3530420601106481726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022913846,"filename":"image_28012025_00_54_45_9513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9247a8fdad09e4c1773b49b4b4230f0e.jpg","text":"TemporaryFile(/tmp/multipartBody2294908098862429581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022913846,"filename":"image_28012025_00_54_36_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/27d8dbf0b504854797ba13d0ac86532d.jpg","text":"TemporaryFile(/tmp/multipartBody7028871302314902086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022913846,"filename":"image_28012025_00_55_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/1/28/6099518b00783f78867dd5bbce235c1d.jpg","text":"TemporaryFile(/tmp/multipartBody7528333291359625519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022913846,"filename":"image_28012025_00_54_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/1/28/60824910b508f3839e98782fed202011.jpg","text":"TemporaryFile(/tmp/multipartBody2088627260541096509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022913846,"filename":"image_28012025_00_54_56_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332136475","file1":"1332136474","file0":"1332136470","file4":"1332136477","file5":"1332136478","file3":"1332136476"},"map_files_photo_id_array":[{"photo_id":"1332136478","filename":"file5"},{"photo_id":"1332136475","filename":"file2"},{"photo_id":"1332136477","filename":"file4"},{"photo_id":"1332136474","filename":"file1"},{"photo_id":"1332136470","filename":"file0"},{"photo_id":"1332136476","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332136470":["hashtag1","hashtag2"]},{"1332136476":["hashtag1","hashtag2"]},{"1332136475":["hashtag1","hashtag2"]},{"1332136478":["hashtag1","hashtag2"]},{"1332136474":["hashtag1","hashtag2"]},{"1332136477":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332136470, 1332136476, 1332136475, 1332136478, 1332136474, 1332136477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.780898332595825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:08:33.020352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/55/image_28012025_00_55_15_10362.jpg', '/home/pi/Desktop/images/28012025/00/55/image_28012025_00_55_26_10425.jpg', '/home/pi/Desktop/images/28012025/00/55/image_28012025_00_55_35_9338.jpg', '/home/pi/Desktop/images/28012025/00/55/image_28012025_00_55_46_10449.jpg', '/home/pi/Desktop/images/28012025/00/55/image_28012025_00_55_56_10353.jpg', '/home/pi/Desktop/images/28012025/00/55/image_28012025_00_56_05_9390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/55/image_28012025_00_55_15_10362.jpg
/home/pi/Desktop/images/28012025/00/55/image_28012025_00_55_26_10425.jpg
/home/pi/Desktop/images/28012025/00/55/image_28012025_00_55_35_9338.jpg
/home/pi/Desktop/images/28012025/00/55/image_28012025_00_55_46_10449.jpg
/home/pi/Desktop/images/28012025/00/55/image_28012025_00_55_56_10353.jpg
/home/pi/Desktop/images/28012025/00/55/image_28012025_00_56_05_9390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332137538","1332136971","1332136767","1332137183","1332137399","1332137494"],"photo_ids_order":["1332136767","1332136971","1332137183","1332137399","1332137494","1332137538"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/719e65b77925e4cf40add3027d41f005.jpg","text":"TemporaryFile(/tmp/multipartBody2103580778060315125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022973963,"filename":"image_28012025_00_56_05_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c493535812d37419a8f0c19ec29a4e73.jpg","text":"TemporaryFile(/tmp/multipartBody5095366036474109940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022973963,"filename":"image_28012025_00_55_26_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/530504de8ca79aa6c380d7cbea7e855e.jpg","text":"TemporaryFile(/tmp/multipartBody160000642611535447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022973963,"filename":"image_28012025_00_55_15_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9c91adfb7da6a909644c31de63c643bc.jpg","text":"TemporaryFile(/tmp/multipartBody5965517993376015336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022973963,"filename":"image_28012025_00_55_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/1/28/a32649fa6c6e576adb54121b439c46cb.jpg","text":"TemporaryFile(/tmp/multipartBody1180688669580025025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022973963,"filename":"image_28012025_00_55_46_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/062eb1b6ab8f8071052726ff67a4c57f.jpg","text":"TemporaryFile(/tmp/multipartBody7846864644274109530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738022973963,"filename":"image_28012025_00_55_56_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332137183","file1":"1332136971","file0":"1332136767","file4":"1332137494","file5":"1332137538","file3":"1332137399"},"map_files_photo_id_array":[{"photo_id":"1332137538","filename":"file5"},{"photo_id":"1332137183","filename":"file2"},{"photo_id":"1332137494","filename":"file4"},{"photo_id":"1332136971","filename":"file1"},{"photo_id":"1332136767","filename":"file0"},{"photo_id":"1332137399","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332137538":["hashtag1","hashtag2"]},{"1332136971":["hashtag1","hashtag2"]},{"1332136767":["hashtag1","hashtag2"]},{"1332137183":["hashtag1","hashtag2"]},{"1332137399":["hashtag1","hashtag2"]},{"1332137494":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332137538, 1332136971, 1332136767, 1332137183, 1332137399, 1332137494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.29768085479736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:09:33.232507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/56/image_28012025_00_56_16_10330.jpg', '/home/pi/Desktop/images/28012025/00/56/image_28012025_00_56_25_9356.jpg', '/home/pi/Desktop/images/28012025/00/56/image_28012025_00_56_36_10452.jpg', '/home/pi/Desktop/images/28012025/00/56/image_28012025_00_56_46_10350.jpg', '/home/pi/Desktop/images/28012025/00/56/image_28012025_00_56_55_9476.jpg', '/home/pi/Desktop/images/28012025/00/56/image_28012025_00_57_06_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/56/image_28012025_00_56_16_10330.jpg
/home/pi/Desktop/images/28012025/00/56/image_28012025_00_56_25_9356.jpg
/home/pi/Desktop/images/28012025/00/56/image_28012025_00_56_36_10452.jpg
/home/pi/Desktop/images/28012025/00/56/image_28012025_00_56_46_10350.jpg
/home/pi/Desktop/images/28012025/00/56/image_28012025_00_56_55_9476.jpg
/home/pi/Desktop/images/28012025/00/56/image_28012025_00_57_06_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332137847","1332137802","1332137849","1332137905","1332137854","1332137908"],"photo_ids_order":["1332137802","1332137847","1332137849","1332137854","1332137905","1332137908"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d96b67203ea5fad181889a13d41c1640.jpg","text":"TemporaryFile(/tmp/multipartBody1872095317656015180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023034147,"filename":"image_28012025_00_56_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/1/28/e108cb8fb4c353b93f5f277c0577d7dc.jpg","text":"TemporaryFile(/tmp/multipartBody2386238791121711795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023034147,"filename":"image_28012025_00_56_16_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0025775366784e12b466346790120186.jpg","text":"TemporaryFile(/tmp/multipartBody5965245546233342423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023034147,"filename":"image_28012025_00_56_36_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6eb57b25cfd795f8f1bb891e6ea1aa7c.jpg","text":"TemporaryFile(/tmp/multipartBody4032485357084155020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023034147,"filename":"image_28012025_00_56_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/1/28/905ac183ef371022d4627ffe61ccfd6b.jpg","text":"TemporaryFile(/tmp/multipartBody8012090224725246370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023034147,"filename":"image_28012025_00_56_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/1/28/0e378128828158c0e17068fc9b4f352f.jpg","text":"TemporaryFile(/tmp/multipartBody6026997360381416244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023034147,"filename":"image_28012025_00_57_06_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332137849","file1":"1332137847","file0":"1332137802","file4":"1332137905","file5":"1332137908","file3":"1332137854"},"map_files_photo_id_array":[{"photo_id":"1332137908","filename":"file5"},{"photo_id":"1332137849","filename":"file2"},{"photo_id":"1332137905","filename":"file4"},{"photo_id":"1332137847","filename":"file1"},{"photo_id":"1332137802","filename":"file0"},{"photo_id":"1332137854","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332137847":["hashtag1","hashtag2"]},{"1332137802":["hashtag1","hashtag2"]},{"1332137849":["hashtag1","hashtag2"]},{"1332137905":["hashtag1","hashtag2"]},{"1332137854":["hashtag1","hashtag2"]},{"1332137908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332137847, 1332137802, 1332137849, 1332137905, 1332137854, 1332137908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.5227632522583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:10:32.373651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/57/image_28012025_00_57_15_9385.jpg', '/home/pi/Desktop/images/28012025/00/57/image_28012025_00_57_25_10345.jpg', '/home/pi/Desktop/images/28012025/00/57/image_28012025_00_57_36_10351.jpg', '/home/pi/Desktop/images/28012025/00/57/image_28012025_00_57_45_9349.jpg', '/home/pi/Desktop/images/28012025/00/57/image_28012025_00_57_55_10352.jpg', '/home/pi/Desktop/images/28012025/00/57/image_28012025_00_58_06_10408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/57/image_28012025_00_57_15_9385.jpg
/home/pi/Desktop/images/28012025/00/57/image_28012025_00_57_25_10345.jpg
/home/pi/Desktop/images/28012025/00/57/image_28012025_00_57_36_10351.jpg
/home/pi/Desktop/images/28012025/00/57/image_28012025_00_57_45_9349.jpg
/home/pi/Desktop/images/28012025/00/57/image_28012025_00_57_55_10352.jpg
/home/pi/Desktop/images/28012025/00/57/image_28012025_00_58_06_10408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332137928","1332137937","1332137925","1332137936","1332137921","1332137923"],"photo_ids_order":["1332137921","1332137923","1332137925","1332137928","1332137936","1332137937"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9956a15967ccc4aa5ae20e65690bfc2b.jpg","text":"TemporaryFile(/tmp/multipartBody6964872298316528909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023093286,"filename":"image_28012025_00_57_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/1/28/52492e3753ba22e6bb97eb3ffc1bfc01.jpg","text":"TemporaryFile(/tmp/multipartBody1465788604223791131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023093286,"filename":"image_28012025_00_58_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/1/28/1556d629e583cfa42b0d87fd42313ea1.jpg","text":"TemporaryFile(/tmp/multipartBody8733048900478159422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023093286,"filename":"image_28012025_00_57_36_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/68368e6146524facf3e6d403a6b03083.jpg","text":"TemporaryFile(/tmp/multipartBody1412431869726627301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023093286,"filename":"image_28012025_00_57_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/1/28/e5aa21348c4da5368a579f18f8ce1a0b.jpg","text":"TemporaryFile(/tmp/multipartBody1137655249622248297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023093286,"filename":"image_28012025_00_57_15_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/09b02ad391bef4448c52a419e0261674.jpg","text":"TemporaryFile(/tmp/multipartBody1782953648465790096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023093286,"filename":"image_28012025_00_57_25_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332137925","file1":"1332137923","file0":"1332137921","file4":"1332137936","file5":"1332137937","file3":"1332137928"},"map_files_photo_id_array":[{"photo_id":"1332137937","filename":"file5"},{"photo_id":"1332137925","filename":"file2"},{"photo_id":"1332137936","filename":"file4"},{"photo_id":"1332137923","filename":"file1"},{"photo_id":"1332137921","filename":"file0"},{"photo_id":"1332137928","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332137928":["hashtag1","hashtag2"]},{"1332137937":["hashtag1","hashtag2"]},{"1332137925":["hashtag1","hashtag2"]},{"1332137936":["hashtag1","hashtag2"]},{"1332137921":["hashtag1","hashtag2"]},{"1332137923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332137928, 1332137937, 1332137925, 1332137936, 1332137921, 1332137923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.057862520217896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:11:32.560394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/58/image_28012025_00_58_15_9389.jpg', '/home/pi/Desktop/images/28012025/00/58/image_28012025_00_58_26_10363.jpg', '/home/pi/Desktop/images/28012025/00/58/image_28012025_00_58_35_9358.jpg', '/home/pi/Desktop/images/28012025/00/58/image_28012025_00_58_45_10461.jpg', '/home/pi/Desktop/images/28012025/00/58/image_28012025_00_58_56_10391.jpg', '/home/pi/Desktop/images/28012025/00/58/image_28012025_00_59_05_9436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/58/image_28012025_00_58_15_9389.jpg
/home/pi/Desktop/images/28012025/00/58/image_28012025_00_58_26_10363.jpg
/home/pi/Desktop/images/28012025/00/58/image_28012025_00_58_35_9358.jpg
/home/pi/Desktop/images/28012025/00/58/image_28012025_00_58_45_10461.jpg
/home/pi/Desktop/images/28012025/00/58/image_28012025_00_58_56_10391.jpg
/home/pi/Desktop/images/28012025/00/58/image_28012025_00_59_05_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":["1332137961","1332137978","1332137960","1332137959","1332137979","1332137964"],"photo_ids_order":["1332137959","1332137960","1332137961","1332137964","1332137978","1332137979"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4a469dcd6466305bb9b86ab190dcf70b.jpg","text":"TemporaryFile(/tmp/multipartBody8746225187983139221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023153482,"filename":"image_28012025_00_58_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/1/28/cd241e9d50158e4441f4874f62a0bc1d.jpg","text":"TemporaryFile(/tmp/multipartBody4216879888655236908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023153482,"filename":"image_28012025_00_58_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/1/28/3f79dbf156c439590ea93d1db0d9bec5.jpg","text":"TemporaryFile(/tmp/multipartBody8205303045521123053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023153482,"filename":"image_28012025_00_58_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/1/28/da2695d94a480dcf347086ea4182b93f.jpg","text":"TemporaryFile(/tmp/multipartBody3335954363078626961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023153482,"filename":"image_28012025_00_58_15_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6b7211717b09a6191f2c38545de23c47.jpg","text":"TemporaryFile(/tmp/multipartBody1528873442087483456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023153482,"filename":"image_28012025_00_59_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/1/28/172677c9c7de3ac05336308c6aee8b86.jpg","text":"TemporaryFile(/tmp/multipartBody5070604579685682309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023153482,"filename":"image_28012025_00_58_45_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332137961","file1":"1332137960","file0":"1332137959","file4":"1332137978","file5":"1332137979","file3":"1332137964"},"map_files_photo_id_array":[{"photo_id":"1332137979","filename":"file5"},{"photo_id":"1332137961","filename":"file2"},{"photo_id":"1332137978","filename":"file4"},{"photo_id":"1332137960","filename":"file1"},{"photo_id":"1332137959","filename":"file0"},{"photo_id":"1332137964","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332137961":["hashtag1","hashtag2"]},{"1332137978":["hashtag1","hashtag2"]},{"1332137960":["hashtag1","hashtag2"]},{"1332137959":["hashtag1","hashtag2"]},{"1332137979":["hashtag1","hashtag2"]},{"1332137964":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332137961, 1332137978, 1332137960, 1332137959, 1332137979, 1332137964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.082197427749634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:12:32.938960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/00/59/image_28012025_00_59_16_10368.jpg', '/home/pi/Desktop/images/28012025/00/59/image_28012025_00_59_25_9352.jpg', '/home/pi/Desktop/images/28012025/00/59/image_28012025_00_59_35_10426.jpg', '/home/pi/Desktop/images/28012025/00/59/image_28012025_00_59_46_10345.jpg', '/home/pi/Desktop/images/28012025/00/59/image_28012025_00_59_55_9361.jpg', '/home/pi/Desktop/images/28012025/01/01/image_28012025_01_01_14_10076.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/00/59/image_28012025_00_59_16_10368.jpg
/home/pi/Desktop/images/28012025/00/59/image_28012025_00_59_25_9352.jpg
/home/pi/Desktop/images/28012025/00/59/image_28012025_00_59_35_10426.jpg
/home/pi/Desktop/images/28012025/00/59/image_28012025_00_59_46_10345.jpg
/home/pi/Desktop/images/28012025/00/59/image_28012025_00_59_55_9361.jpg
/home/pi/Desktop/images/28012025/01/01/image_28012025_01_01_14_10076.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332138006","1332137999","1332138002","1332138004","1332138007","1332137997"],"photo_ids_order":["1332137997","1332137999","1332138002","1332138004","1332138006","1332138007"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c5932aad77cdea64014eecf68908e7ab.jpg","text":"TemporaryFile(/tmp/multipartBody5545592900694996546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023213846,"filename":"image_28012025_00_59_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/1/28/4d2f652a24759e39fb2e5681aeaf0df6.jpg","text":"TemporaryFile(/tmp/multipartBody698948410264080062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023213846,"filename":"image_28012025_00_59_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/1/28/c2e699cacc504b11027588d19c40f5c5.jpg","text":"TemporaryFile(/tmp/multipartBody4399451697306698103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023213846,"filename":"image_28012025_00_59_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/1/28/ece75310df48eaefc47c8ae37ee8321e.jpg","text":"TemporaryFile(/tmp/multipartBody8426084791207327456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023213846,"filename":"image_28012025_00_59_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/1/28/db1cb7890e3fe19672a8fe01b0462811.jpg","text":"TemporaryFile(/tmp/multipartBody3964699993329670646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023213846,"filename":"image_28012025_01_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/1/28/cd49bd3b064fdf674d28a8919d81370d.jpg","text":"TemporaryFile(/tmp/multipartBody997296233093485949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023213846,"filename":"image_28012025_00_59_16_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332138002","file1":"1332137999","file0":"1332137997","file4":"1332138006","file5":"1332138007","file3":"1332138004"},"map_files_photo_id_array":[{"photo_id":"1332138007","filename":"file5"},{"photo_id":"1332138002","filename":"file2"},{"photo_id":"1332138006","filename":"file4"},{"photo_id":"1332137999","filename":"file1"},{"photo_id":"1332137997","filename":"file0"},{"photo_id":"1332138004","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332138006":["hashtag1","hashtag2"]},{"1332137999":["hashtag1","hashtag2"]},{"1332138002":["hashtag1","hashtag2"]},{"1332138004":["hashtag1","hashtag2"]},{"1332138007":["hashtag1","hashtag2"]},{"1332137997":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332138006, 1332137999, 1332138002, 1332138004, 1332138007, 1332137997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.256327390670776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:13:32.190819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/01/image_28012025_01_01_24_10454.jpg', '/home/pi/Desktop/images/28012025/01/01/image_28012025_01_01_35_10332.jpg', '/home/pi/Desktop/images/28012025/01/01/image_28012025_01_01_44_9365.jpg', '/home/pi/Desktop/images/28012025/01/01/image_28012025_01_01_54_10347.jpg', '/home/pi/Desktop/images/28012025/01/01/image_28012025_01_02_05_10411.jpg', '/home/pi/Desktop/images/28012025/01/02/image_28012025_01_02_14_9461.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/01/image_28012025_01_01_24_10454.jpg
/home/pi/Desktop/images/28012025/01/01/image_28012025_01_01_35_10332.jpg
/home/pi/Desktop/images/28012025/01/01/image_28012025_01_01_44_9365.jpg
/home/pi/Desktop/images/28012025/01/01/image_28012025_01_01_54_10347.jpg
/home/pi/Desktop/images/28012025/01/01/image_28012025_01_02_05_10411.jpg
/home/pi/Desktop/images/28012025/01/02/image_28012025_01_02_14_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":["1332138026","1332138029","1332138014","1332138028","1332138027","1332138015"],"photo_ids_order":["1332138014","1332138015","1332138026","1332138027","1332138028","1332138029"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/110144039151bd1897679dd1ced17f55.jpg","text":"TemporaryFile(/tmp/multipartBody7690954372947337718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023273097,"filename":"image_28012025_01_01_44_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/08024d5a71f56a8a72cf2b31ceb40271.jpg","text":"TemporaryFile(/tmp/multipartBody3270988240481971965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023273097,"filename":"image_28012025_01_02_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/1/28/3357df5c865fecb1497698fe7f636b21.jpg","text":"TemporaryFile(/tmp/multipartBody924917980532694771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023273097,"filename":"image_28012025_01_01_24_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/373b462d79e6565a69eb6d82a98e6aa0.jpg","text":"TemporaryFile(/tmp/multipartBody5825637425610832761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023273097,"filename":"image_28012025_01_02_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/1/28/7c47b16edaa31ae1bc6c9c3673c27ca8.jpg","text":"TemporaryFile(/tmp/multipartBody7195452139863242118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023273097,"filename":"image_28012025_01_01_54_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/75372efec2fef7f9cc8af35f73e60089.jpg","text":"TemporaryFile(/tmp/multipartBody460921137673261173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023273097,"filename":"image_28012025_01_01_35_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332138026","file1":"1332138015","file0":"1332138014","file4":"1332138028","file5":"1332138029","file3":"1332138027"},"map_files_photo_id_array":[{"photo_id":"1332138029","filename":"file5"},{"photo_id":"1332138026","filename":"file2"},{"photo_id":"1332138028","filename":"file4"},{"photo_id":"1332138015","filename":"file1"},{"photo_id":"1332138014","filename":"file0"},{"photo_id":"1332138027","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332138026":["hashtag1","hashtag2"]},{"1332138029":["hashtag1","hashtag2"]},{"1332138014":["hashtag1","hashtag2"]},{"1332138028":["hashtag1","hashtag2"]},{"1332138027":["hashtag1","hashtag2"]},{"1332138015":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332138026, 1332138029, 1332138014, 1332138028, 1332138027, 1332138015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.30861306190491 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:14:32.390936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/02/image_28012025_01_02_25_10365.jpg', '/home/pi/Desktop/images/28012025/01/02/image_28012025_01_02_34_9357.jpg', '/home/pi/Desktop/images/28012025/01/02/image_28012025_01_02_44_10352.jpg', '/home/pi/Desktop/images/28012025/01/02/image_28012025_01_02_55_10362.jpg', '/home/pi/Desktop/images/28012025/01/02/image_28012025_01_03_04_9373.jpg', '/home/pi/Desktop/images/28012025/01/03/image_28012025_01_03_14_10327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/02/image_28012025_01_02_25_10365.jpg
/home/pi/Desktop/images/28012025/01/02/image_28012025_01_02_34_9357.jpg
/home/pi/Desktop/images/28012025/01/02/image_28012025_01_02_44_10352.jpg
/home/pi/Desktop/images/28012025/01/02/image_28012025_01_02_55_10362.jpg
/home/pi/Desktop/images/28012025/01/02/image_28012025_01_03_04_9373.jpg
/home/pi/Desktop/images/28012025/01/03/image_28012025_01_03_14_10327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332138074","1332138077","1332138067","1332138076","1332138072","1332138069"],"photo_ids_order":["1332138067","1332138069","1332138072","1332138074","1332138076","1332138077"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2c7f905292ce8ab5a9582ad6a4cfefce.jpg","text":"TemporaryFile(/tmp/multipartBody7834240648158730508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023333295,"filename":"image_28012025_01_02_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/1/28/19bcd44c5d53c897af89fbcc5ca59357.jpg","text":"TemporaryFile(/tmp/multipartBody3766730511459513897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023333295,"filename":"image_28012025_01_03_14_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/08518fca45a7de32993f2be269aa6ff8.jpg","text":"TemporaryFile(/tmp/multipartBody1076658833203000327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023333295,"filename":"image_28012025_01_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/1/28/71fdaa8ceec5bc9667b68baa38db5014.jpg","text":"TemporaryFile(/tmp/multipartBody1034840489342408205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023333295,"filename":"image_28012025_01_03_04_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b99dc2cd6083cc638954d70fc33d0a30.jpg","text":"TemporaryFile(/tmp/multipartBody3313802026275243647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023333295,"filename":"image_28012025_01_02_44_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/146677b332e195b4e8c1a4b964574bf6.jpg","text":"TemporaryFile(/tmp/multipartBody7310761010255056350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023333295,"filename":"image_28012025_01_02_34_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332138072","file1":"1332138069","file0":"1332138067","file4":"1332138076","file5":"1332138077","file3":"1332138074"},"map_files_photo_id_array":[{"photo_id":"1332138077","filename":"file5"},{"photo_id":"1332138072","filename":"file2"},{"photo_id":"1332138076","filename":"file4"},{"photo_id":"1332138069","filename":"file1"},{"photo_id":"1332138067","filename":"file0"},{"photo_id":"1332138074","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332138074":["hashtag1","hashtag2"]},{"1332138077":["hashtag1","hashtag2"]},{"1332138067":["hashtag1","hashtag2"]},{"1332138076":["hashtag1","hashtag2"]},{"1332138072":["hashtag1","hashtag2"]},{"1332138069":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332138074, 1332138077, 1332138067, 1332138076, 1332138072, 1332138069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.151700258255005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:15:33.442558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/03/image_28012025_01_03_25_10379.jpg', '/home/pi/Desktop/images/28012025/01/03/image_28012025_01_03_34_9469.jpg', '/home/pi/Desktop/images/28012025/01/03/image_28012025_01_03_45_10364.jpg', '/home/pi/Desktop/images/28012025/01/03/image_28012025_01_03_54_9443.jpg', '/home/pi/Desktop/images/28012025/01/03/image_28012025_01_04_05_10358.jpg', '/home/pi/Desktop/images/28012025/01/04/image_28012025_01_04_15_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/03/image_28012025_01_03_25_10379.jpg
/home/pi/Desktop/images/28012025/01/03/image_28012025_01_03_34_9469.jpg
/home/pi/Desktop/images/28012025/01/03/image_28012025_01_03_45_10364.jpg
/home/pi/Desktop/images/28012025/01/03/image_28012025_01_03_54_9443.jpg
/home/pi/Desktop/images/28012025/01/03/image_28012025_01_04_05_10358.jpg
/home/pi/Desktop/images/28012025/01/04/image_28012025_01_04_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":["1332138749","1332138988","1332138847","1332138957","1332138633","1332138948"],"photo_ids_order":["1332138633","1332138749","1332138847","1332138948","1332138957","1332138988"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9e7d63cefaa2c2700570d7bf0d423a07.jpg","text":"TemporaryFile(/tmp/multipartBody8906690825457755395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023394399,"filename":"image_28012025_01_03_34_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bd9e605d84f8292ea78b33c1e2fb8024.jpg","text":"TemporaryFile(/tmp/multipartBody2801139390576944863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023394399,"filename":"image_28012025_01_04_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/1/28/5062c3497101a531a9e0845daeb04287.jpg","text":"TemporaryFile(/tmp/multipartBody3162963170268424338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023394399,"filename":"image_28012025_01_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/1/28/620227d73508a6e193b1012119063ae9.jpg","text":"TemporaryFile(/tmp/multipartBody8539883379480745739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023394399,"filename":"image_28012025_01_04_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/1/28/3ada7c61dd43e0da52ccb864f4ada904.jpg","text":"TemporaryFile(/tmp/multipartBody5475978273178892993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023394399,"filename":"image_28012025_01_03_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/1/28/4eb9d6a06ad5413e7506e22b384c0d23.jpg","text":"TemporaryFile(/tmp/multipartBody127413807701955264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023394399,"filename":"image_28012025_01_03_54_9443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332138847","file1":"1332138749","file0":"1332138633","file4":"1332138957","file5":"1332138988","file3":"1332138948"},"map_files_photo_id_array":[{"photo_id":"1332138988","filename":"file5"},{"photo_id":"1332138847","filename":"file2"},{"photo_id":"1332138957","filename":"file4"},{"photo_id":"1332138749","filename":"file1"},{"photo_id":"1332138633","filename":"file0"},{"photo_id":"1332138948","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332138749":["hashtag1","hashtag2"]},{"1332138988":["hashtag1","hashtag2"]},{"1332138847":["hashtag1","hashtag2"]},{"1332138957":["hashtag1","hashtag2"]},{"1332138633":["hashtag1","hashtag2"]},{"1332138948":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332138749, 1332138988, 1332138847, 1332138957, 1332138633, 1332138948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60906910896301 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:16:32.796535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/04/image_28012025_01_04_24_9346.jpg', '/home/pi/Desktop/images/28012025/01/04/image_28012025_01_04_35_10334.jpg', '/home/pi/Desktop/images/28012025/01/04/image_28012025_01_04_45_10363.jpg', '/home/pi/Desktop/images/28012025/01/04/image_28012025_01_04_54_9347.jpg', '/home/pi/Desktop/images/28012025/01/04/image_28012025_01_05_05_10356.jpg', '/home/pi/Desktop/images/28012025/01/05/image_28012025_01_05_14_9385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/04/image_28012025_01_04_24_9346.jpg
/home/pi/Desktop/images/28012025/01/04/image_28012025_01_04_35_10334.jpg
/home/pi/Desktop/images/28012025/01/04/image_28012025_01_04_45_10363.jpg
/home/pi/Desktop/images/28012025/01/04/image_28012025_01_04_54_9347.jpg
/home/pi/Desktop/images/28012025/01/04/image_28012025_01_05_05_10356.jpg
/home/pi/Desktop/images/28012025/01/05/image_28012025_01_05_14_9385.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5239584445953369 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 01:16:42.750032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/04/image_28012025_01_04_24_9346.jpg', '/home/pi/Desktop/images/28012025/01/04/image_28012025_01_04_35_10334.jpg', '/home/pi/Desktop/images/28012025/01/04/image_28012025_01_04_45_10363.jpg', '/home/pi/Desktop/images/28012025/01/04/image_28012025_01_04_54_9347.jpg', '/home/pi/Desktop/images/28012025/01/04/image_28012025_01_05_05_10356.jpg', '/home/pi/Desktop/images/28012025/01/05/image_28012025_01_05_14_9385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/04/image_28012025_01_04_24_9346.jpg
/home/pi/Desktop/images/28012025/01/04/image_28012025_01_04_35_10334.jpg
/home/pi/Desktop/images/28012025/01/04/image_28012025_01_04_45_10363.jpg
/home/pi/Desktop/images/28012025/01/04/image_28012025_01_04_54_9347.jpg
/home/pi/Desktop/images/28012025/01/04/image_28012025_01_05_05_10356.jpg
/home/pi/Desktop/images/28012025/01/05/image_28012025_01_05_14_9385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332139409","1332139411","1332139405","1332139398","1332139402","1332139407"],"photo_ids_order":["1332139398","1332139402","1332139405","1332139407","1332139409","1332139411"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f6a40b8a8a95acde688089bfb347b310.jpg","text":"TemporaryFile(/tmp/multipartBody7742052898514719590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023463659,"filename":"image_28012025_01_05_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/1/28/5c42558fe3743a70f28e7d28291e652f.jpg","text":"TemporaryFile(/tmp/multipartBody1529775997489040796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023463659,"filename":"image_28012025_01_05_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/1/28/4cdf5126ef5724ac9e1109578797a0cf.jpg","text":"TemporaryFile(/tmp/multipartBody3705474504619672350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023463659,"filename":"image_28012025_01_04_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/1/28/8da5ead96a213cd533035676793daed3.jpg","text":"TemporaryFile(/tmp/multipartBody5892311327045624742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023463659,"filename":"image_28012025_01_04_24_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d8c7eb297431a0bd1d35a84cec6041d1.jpg","text":"TemporaryFile(/tmp/multipartBody2375098597620570363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023463659,"filename":"image_28012025_01_04_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/1/28/7beeb65b7cd1f9da2a745eeaf2158304.jpg","text":"TemporaryFile(/tmp/multipartBody5054185077767225121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023463659,"filename":"image_28012025_01_04_54_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332139405","file1":"1332139402","file0":"1332139398","file4":"1332139409","file5":"1332139411","file3":"1332139407"},"map_files_photo_id_array":[{"photo_id":"1332139411","filename":"file5"},{"photo_id":"1332139405","filename":"file2"},{"photo_id":"1332139409","filename":"file4"},{"photo_id":"1332139402","filename":"file1"},{"photo_id":"1332139398","filename":"file0"},{"photo_id":"1332139407","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332139409":["hashtag1","hashtag2"]},{"1332139411":["hashtag1","hashtag2"]},{"1332139405":["hashtag1","hashtag2"]},{"1332139398":["hashtag1","hashtag2"]},{"1332139402":["hashtag1","hashtag2"]},{"1332139407":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332139409, 1332139411, 1332139405, 1332139398, 1332139402, 1332139407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.99372220039368 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:17:32.948711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/05/image_28012025_01_05_24_10471.jpg', '/home/pi/Desktop/images/28012025/01/05/image_28012025_01_05_35_10421.jpg', '/home/pi/Desktop/images/28012025/01/05/image_28012025_01_05_44_9371.jpg', '/home/pi/Desktop/images/28012025/01/05/image_28012025_01_05_55_10401.jpg', '/home/pi/Desktop/images/28012025/01/05/image_28012025_01_06_04_9351.jpg', '/home/pi/Desktop/images/28012025/01/06/image_28012025_01_06_14_10403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/05/image_28012025_01_05_24_10471.jpg
/home/pi/Desktop/images/28012025/01/05/image_28012025_01_05_35_10421.jpg
/home/pi/Desktop/images/28012025/01/05/image_28012025_01_05_44_9371.jpg
/home/pi/Desktop/images/28012025/01/05/image_28012025_01_05_55_10401.jpg
/home/pi/Desktop/images/28012025/01/05/image_28012025_01_06_04_9351.jpg
/home/pi/Desktop/images/28012025/01/06/image_28012025_01_06_14_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":["1332139610","1332139588","1332139626","1332139673","1332139661","1332139598"],"photo_ids_order":["1332139588","1332139598","1332139610","1332139626","1332139661","1332139673"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0b2938a127836116fd23c704cad44737.jpg","text":"TemporaryFile(/tmp/multipartBody3221318572696616398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023513883,"filename":"image_28012025_01_05_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/1/28/6f634e07f882608c3d6da048df0dc142.jpg","text":"TemporaryFile(/tmp/multipartBody1887280684586707181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023513883,"filename":"image_28012025_01_05_24_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/185582e1ea8c3fa749b7fe44781d195e.jpg","text":"TemporaryFile(/tmp/multipartBody7285121749931026205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023513883,"filename":"image_28012025_01_05_55_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c076cb7174e1162f8b64ad0a74a3b0c8.jpg","text":"TemporaryFile(/tmp/multipartBody6994061183463202161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023513883,"filename":"image_28012025_01_06_14_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7bee09c191cc2fd95ec69f67071889ab.jpg","text":"TemporaryFile(/tmp/multipartBody5763411734385847796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023513883,"filename":"image_28012025_01_06_04_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ddcf7cd0388e4cedf7a7f5e9e97095c1.jpg","text":"TemporaryFile(/tmp/multipartBody4816622146524688017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023513883,"filename":"image_28012025_01_05_35_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332139610","file1":"1332139598","file0":"1332139588","file4":"1332139661","file5":"1332139673","file3":"1332139626"},"map_files_photo_id_array":[{"photo_id":"1332139673","filename":"file5"},{"photo_id":"1332139610","filename":"file2"},{"photo_id":"1332139661","filename":"file4"},{"photo_id":"1332139598","filename":"file1"},{"photo_id":"1332139588","filename":"file0"},{"photo_id":"1332139626","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332139610":["hashtag1","hashtag2"]},{"1332139588":["hashtag1","hashtag2"]},{"1332139626":["hashtag1","hashtag2"]},{"1332139673":["hashtag1","hashtag2"]},{"1332139661":["hashtag1","hashtag2"]},{"1332139598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332139610, 1332139588, 1332139626, 1332139673, 1332139661, 1332139598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.0079300403595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:18:32.194501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/06/image_28012025_01_06_25_10370.jpg', '/home/pi/Desktop/images/28012025/01/06/image_28012025_01_06_34_9351.jpg', '/home/pi/Desktop/images/28012025/01/06/image_28012025_01_06_44_10357.jpg', '/home/pi/Desktop/images/28012025/01/06/image_28012025_01_06_55_10356.jpg', '/home/pi/Desktop/images/28012025/01/06/image_28012025_01_07_04_9333.jpg', '/home/pi/Desktop/images/28012025/01/07/image_28012025_01_07_15_10420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/06/image_28012025_01_06_25_10370.jpg
/home/pi/Desktop/images/28012025/01/06/image_28012025_01_06_34_9351.jpg
/home/pi/Desktop/images/28012025/01/06/image_28012025_01_06_44_10357.jpg
/home/pi/Desktop/images/28012025/01/06/image_28012025_01_06_55_10356.jpg
/home/pi/Desktop/images/28012025/01/06/image_28012025_01_07_04_9333.jpg
/home/pi/Desktop/images/28012025/01/07/image_28012025_01_07_15_10420.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5151031017303467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 01:18:42.260756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/06/image_28012025_01_06_25_10370.jpg', '/home/pi/Desktop/images/28012025/01/06/image_28012025_01_06_34_9351.jpg', '/home/pi/Desktop/images/28012025/01/06/image_28012025_01_06_44_10357.jpg', '/home/pi/Desktop/images/28012025/01/06/image_28012025_01_06_55_10356.jpg', '/home/pi/Desktop/images/28012025/01/06/image_28012025_01_07_04_9333.jpg', '/home/pi/Desktop/images/28012025/01/07/image_28012025_01_07_15_10420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/06/image_28012025_01_06_25_10370.jpg
/home/pi/Desktop/images/28012025/01/06/image_28012025_01_06_34_9351.jpg
/home/pi/Desktop/images/28012025/01/06/image_28012025_01_06_44_10357.jpg
/home/pi/Desktop/images/28012025/01/06/image_28012025_01_06_55_10356.jpg
/home/pi/Desktop/images/28012025/01/06/image_28012025_01_07_04_9333.jpg
/home/pi/Desktop/images/28012025/01/07/image_28012025_01_07_15_10420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332139742","1332139745","1332139739","1332139750","1332139752","1332139748"],"photo_ids_order":["1332139739","1332139742","1332139745","1332139748","1332139750","1332139752"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c712ad819fa3187ccbff689830b72907.jpg","text":"TemporaryFile(/tmp/multipartBody3002391064853217495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023583168,"filename":"image_28012025_01_06_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/1/28/6980f551d94fed5b7b62cd8bac82a0d1.jpg","text":"TemporaryFile(/tmp/multipartBody7161857397104047542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023583168,"filename":"image_28012025_01_06_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/1/28/e10cba868139af1c1b089816433eabfd.jpg","text":"TemporaryFile(/tmp/multipartBody8716363965353740767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023583168,"filename":"image_28012025_01_06_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/1/28/109241337d306bf0ef09339d569145d6.jpg","text":"TemporaryFile(/tmp/multipartBody7204105505480741582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023583168,"filename":"image_28012025_01_07_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/1/28/31fac3ce48112e6cf38f7f054fe560c0.jpg","text":"TemporaryFile(/tmp/multipartBody1098623466261763627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023583168,"filename":"image_28012025_01_07_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/1/28/445803fa1d02696459408ff010ef8af0.jpg","text":"TemporaryFile(/tmp/multipartBody2928308416711839308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023583168,"filename":"image_28012025_01_06_55_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332139745","file1":"1332139742","file0":"1332139739","file4":"1332139750","file5":"1332139752","file3":"1332139748"},"map_files_photo_id_array":[{"photo_id":"1332139752","filename":"file5"},{"photo_id":"1332139745","filename":"file2"},{"photo_id":"1332139750","filename":"file4"},{"photo_id":"1332139742","filename":"file1"},{"photo_id":"1332139739","filename":"file0"},{"photo_id":"1332139748","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332139742":["hashtag1","hashtag2"]},{"1332139745":["hashtag1","hashtag2"]},{"1332139739":["hashtag1","hashtag2"]},{"1332139750":["hashtag1","hashtag2"]},{"1332139752":["hashtag1","hashtag2"]},{"1332139748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332139742, 1332139745, 1332139739, 1332139750, 1332139752, 1332139748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.15240788459778 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:19:32.535762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/07/image_28012025_01_07_24_9343.jpg', '/home/pi/Desktop/images/28012025/01/07/image_28012025_01_07_34_10456.jpg', '/home/pi/Desktop/images/28012025/01/07/image_28012025_01_07_45_10348.jpg', '/home/pi/Desktop/images/28012025/01/07/image_28012025_01_07_54_9377.jpg', '/home/pi/Desktop/images/28012025/01/07/image_28012025_01_08_04_10377.jpg', '/home/pi/Desktop/images/28012025/01/08/image_28012025_01_08_15_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/07/image_28012025_01_07_24_9343.jpg
/home/pi/Desktop/images/28012025/01/07/image_28012025_01_07_34_10456.jpg
/home/pi/Desktop/images/28012025/01/07/image_28012025_01_07_45_10348.jpg
/home/pi/Desktop/images/28012025/01/07/image_28012025_01_07_54_9377.jpg
/home/pi/Desktop/images/28012025/01/07/image_28012025_01_08_04_10377.jpg
/home/pi/Desktop/images/28012025/01/08/image_28012025_01_08_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":["1332139798","1332139783","1332139774","1332139797","1332139770","1332139769"],"photo_ids_order":["1332139769","1332139770","1332139774","1332139783","1332139797","1332139798"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cd556e92e2d2f4cbad91156f5e3b8ccb.jpg","text":"TemporaryFile(/tmp/multipartBody1647208290077679410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023633449,"filename":"image_28012025_01_08_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/1/28/d6105b3a7540ce601a010579f466605c.jpg","text":"TemporaryFile(/tmp/multipartBody7556157636500875678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023633449,"filename":"image_28012025_01_07_54_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/038a553fe19856d1c174aace1956f6a0.jpg","text":"TemporaryFile(/tmp/multipartBody7388206749207424546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023633449,"filename":"image_28012025_01_07_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/1/28/d3aae4132faa3a60fb6fbcb7cdd76506.jpg","text":"TemporaryFile(/tmp/multipartBody3625036639563263873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023633449,"filename":"image_28012025_01_08_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/1/28/affece2f4af21a3b0accc25e9823c2e1.jpg","text":"TemporaryFile(/tmp/multipartBody1371982577849813031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023633449,"filename":"image_28012025_01_07_34_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/77b14eebda9139311d8b5ea12b450aed.jpg","text":"TemporaryFile(/tmp/multipartBody3963182456307766171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023633449,"filename":"image_28012025_01_07_24_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332139774","file1":"1332139770","file0":"1332139769","file4":"1332139797","file5":"1332139798","file3":"1332139783"},"map_files_photo_id_array":[{"photo_id":"1332139798","filename":"file5"},{"photo_id":"1332139774","filename":"file2"},{"photo_id":"1332139797","filename":"file4"},{"photo_id":"1332139770","filename":"file1"},{"photo_id":"1332139769","filename":"file0"},{"photo_id":"1332139783","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332139798":["hashtag1","hashtag2"]},{"1332139783":["hashtag1","hashtag2"]},{"1332139774":["hashtag1","hashtag2"]},{"1332139797":["hashtag1","hashtag2"]},{"1332139770":["hashtag1","hashtag2"]},{"1332139769":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332139798, 1332139783, 1332139774, 1332139797, 1332139770, 1332139769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.67049980163574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:20:32.703372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/08/image_28012025_01_08_24_9349.jpg', '/home/pi/Desktop/images/28012025/01/08/image_28012025_01_08_35_10424.jpg', '/home/pi/Desktop/images/28012025/01/08/image_28012025_01_08_44_9349.jpg', '/home/pi/Desktop/images/28012025/01/08/image_28012025_01_08_54_10434.jpg', '/home/pi/Desktop/images/28012025/01/08/image_28012025_01_09_05_10330.jpg', '/home/pi/Desktop/images/28012025/01/09/image_28012025_01_09_14_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/08/image_28012025_01_08_24_9349.jpg
/home/pi/Desktop/images/28012025/01/08/image_28012025_01_08_35_10424.jpg
/home/pi/Desktop/images/28012025/01/08/image_28012025_01_08_44_9349.jpg
/home/pi/Desktop/images/28012025/01/08/image_28012025_01_08_54_10434.jpg
/home/pi/Desktop/images/28012025/01/08/image_28012025_01_09_05_10330.jpg
/home/pi/Desktop/images/28012025/01/09/image_28012025_01_09_14_9333.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5213170051574707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 01:20:42.629613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/08/image_28012025_01_08_24_9349.jpg', '/home/pi/Desktop/images/28012025/01/08/image_28012025_01_08_35_10424.jpg', '/home/pi/Desktop/images/28012025/01/08/image_28012025_01_08_44_9349.jpg', '/home/pi/Desktop/images/28012025/01/08/image_28012025_01_08_54_10434.jpg', '/home/pi/Desktop/images/28012025/01/08/image_28012025_01_09_05_10330.jpg', '/home/pi/Desktop/images/28012025/01/09/image_28012025_01_09_14_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/08/image_28012025_01_08_24_9349.jpg
/home/pi/Desktop/images/28012025/01/08/image_28012025_01_08_35_10424.jpg
/home/pi/Desktop/images/28012025/01/08/image_28012025_01_08_44_9349.jpg
/home/pi/Desktop/images/28012025/01/08/image_28012025_01_08_54_10434.jpg
/home/pi/Desktop/images/28012025/01/08/image_28012025_01_09_05_10330.jpg
/home/pi/Desktop/images/28012025/01/09/image_28012025_01_09_14_9333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332139894","1332139891","1332139911","1332139905","1332139908","1332139898"],"photo_ids_order":["1332139891","1332139894","1332139898","1332139905","1332139908","1332139911"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f860cfdc43a8431f79072f49a8dcc630.jpg","text":"TemporaryFile(/tmp/multipartBody6692887311946935610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023703544,"filename":"image_28012025_01_08_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/1/28/21362dbea450ac545a9b15b484e42c69.jpg","text":"TemporaryFile(/tmp/multipartBody4695906411267397579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023703544,"filename":"image_28012025_01_08_24_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1ed80a4ebf0ac2e309f3e46f18f4d0db.jpg","text":"TemporaryFile(/tmp/multipartBody8527850902015361733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023703544,"filename":"image_28012025_01_09_14_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/99b7adf549ef1a9d2d2bd227a09b44f3.jpg","text":"TemporaryFile(/tmp/multipartBody7170721112699456943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023703544,"filename":"image_28012025_01_08_54_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7abc2957c92c8e4af021582c0b62ba2a.jpg","text":"TemporaryFile(/tmp/multipartBody6838619134772857496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023703544,"filename":"image_28012025_01_09_05_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a0cdcaa50e0cd1b041576ca0fa7543bf.jpg","text":"TemporaryFile(/tmp/multipartBody6956511274517554036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023703544,"filename":"image_28012025_01_08_44_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332139898","file1":"1332139894","file0":"1332139891","file4":"1332139908","file5":"1332139911","file3":"1332139905"},"map_files_photo_id_array":[{"photo_id":"1332139911","filename":"file5"},{"photo_id":"1332139898","filename":"file2"},{"photo_id":"1332139908","filename":"file4"},{"photo_id":"1332139894","filename":"file1"},{"photo_id":"1332139891","filename":"file0"},{"photo_id":"1332139905","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332139894":["hashtag1","hashtag2"]},{"1332139891":["hashtag1","hashtag2"]},{"1332139911":["hashtag1","hashtag2"]},{"1332139905":["hashtag1","hashtag2"]},{"1332139908":["hashtag1","hashtag2"]},{"1332139898":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332139894, 1332139891, 1332139911, 1332139905, 1332139908, 1332139898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.705615758895874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:21:32.966999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/09/image_28012025_01_09_24_10346.jpg', '/home/pi/Desktop/images/28012025/01/09/image_28012025_01_09_35_10448.jpg', '/home/pi/Desktop/images/28012025/01/09/image_28012025_01_09_44_9365.jpg', '/home/pi/Desktop/images/28012025/01/09/image_28012025_01_09_55_10345.jpg', '/home/pi/Desktop/images/28012025/01/09/image_28012025_01_10_04_9382.jpg', '/home/pi/Desktop/images/28012025/01/10/image_28012025_01_10_14_10495.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/09/image_28012025_01_09_24_10346.jpg
/home/pi/Desktop/images/28012025/01/09/image_28012025_01_09_35_10448.jpg
/home/pi/Desktop/images/28012025/01/09/image_28012025_01_09_44_9365.jpg
/home/pi/Desktop/images/28012025/01/09/image_28012025_01_09_55_10345.jpg
/home/pi/Desktop/images/28012025/01/09/image_28012025_01_10_04_9382.jpg
/home/pi/Desktop/images/28012025/01/10/image_28012025_01_10_14_10495.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332139961","1332140321","1332140446","1332140140","1332140235","1332140058"],"photo_ids_order":["1332139961","1332140058","1332140140","1332140235","1332140321","1332140446"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0c04d9718181ccb484a7a262c7185096.jpg","text":"TemporaryFile(/tmp/multipartBody4044294053201855134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023753912,"filename":"image_28012025_01_09_24_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ed98d08a48114c0e9214e5944f8e87c4.jpg","text":"TemporaryFile(/tmp/multipartBody2431185436968428753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023753912,"filename":"image_28012025_01_10_04_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a105ad8abcb13c063aabd5d4e0c5fce7.jpg","text":"TemporaryFile(/tmp/multipartBody3412057424212118681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023753912,"filename":"image_28012025_01_10_14_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dd0fa2a284079aa9dd6e638a14b30f66.jpg","text":"TemporaryFile(/tmp/multipartBody3951111731211996857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023753912,"filename":"image_28012025_01_09_44_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e1b29b253a6ef9f8a78a735c8332da22.jpg","text":"TemporaryFile(/tmp/multipartBody1677338027436580002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023753912,"filename":"image_28012025_01_09_55_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2eedbc801455595dba5fb5ec22ebc902.jpg","text":"TemporaryFile(/tmp/multipartBody6826276414433268991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023753912,"filename":"image_28012025_01_09_35_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332140140","file1":"1332140058","file0":"1332139961","file4":"1332140321","file5":"1332140446","file3":"1332140235"},"map_files_photo_id_array":[{"photo_id":"1332140446","filename":"file5"},{"photo_id":"1332140140","filename":"file2"},{"photo_id":"1332140321","filename":"file4"},{"photo_id":"1332140058","filename":"file1"},{"photo_id":"1332139961","filename":"file0"},{"photo_id":"1332140235","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332139961":["hashtag1","hashtag2"]},{"1332140321":["hashtag1","hashtag2"]},{"1332140446":["hashtag1","hashtag2"]},{"1332140140":["hashtag1","hashtag2"]},{"1332140235":["hashtag1","hashtag2"]},{"1332140058":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332139961, 1332140321, 1332140446, 1332140140, 1332140235, 1332140058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.71628212928772 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:22:32.961455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/10/image_28012025_01_10_25_10366.jpg', '/home/pi/Desktop/images/28012025/01/10/image_28012025_01_10_34_9339.jpg', '/home/pi/Desktop/images/28012025/01/10/image_28012025_01_10_45_10410.jpg', '/home/pi/Desktop/images/28012025/01/10/image_28012025_01_10_54_9428.jpg', '/home/pi/Desktop/images/28012025/01/10/image_28012025_01_11_04_10424.jpg', '/home/pi/Desktop/images/28012025/01/11/image_28012025_01_11_15_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/10/image_28012025_01_10_25_10366.jpg
/home/pi/Desktop/images/28012025/01/10/image_28012025_01_10_34_9339.jpg
/home/pi/Desktop/images/28012025/01/10/image_28012025_01_10_45_10410.jpg
/home/pi/Desktop/images/28012025/01/10/image_28012025_01_10_54_9428.jpg
/home/pi/Desktop/images/28012025/01/10/image_28012025_01_11_04_10424.jpg
/home/pi/Desktop/images/28012025/01/11/image_28012025_01_11_15_10335.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5203299522399902 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 01:22:42.964828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/10/image_28012025_01_10_25_10366.jpg', '/home/pi/Desktop/images/28012025/01/10/image_28012025_01_10_34_9339.jpg', '/home/pi/Desktop/images/28012025/01/10/image_28012025_01_10_45_10410.jpg', '/home/pi/Desktop/images/28012025/01/10/image_28012025_01_10_54_9428.jpg', '/home/pi/Desktop/images/28012025/01/10/image_28012025_01_11_04_10424.jpg', '/home/pi/Desktop/images/28012025/01/11/image_28012025_01_11_15_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/10/image_28012025_01_10_25_10366.jpg
/home/pi/Desktop/images/28012025/01/10/image_28012025_01_10_34_9339.jpg
/home/pi/Desktop/images/28012025/01/10/image_28012025_01_10_45_10410.jpg
/home/pi/Desktop/images/28012025/01/10/image_28012025_01_10_54_9428.jpg
/home/pi/Desktop/images/28012025/01/10/image_28012025_01_11_04_10424.jpg
/home/pi/Desktop/images/28012025/01/11/image_28012025_01_11_15_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332140861","1332140863","1332140853","1332140856","1332140859","1332140850"],"photo_ids_order":["1332140850","1332140853","1332140856","1332140859","1332140861","1332140863"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5c0f630e3d2429a99143a963b2540e2c.jpg","text":"TemporaryFile(/tmp/multipartBody7780929105529705163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023823881,"filename":"image_28012025_01_11_04_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/93b417f67898cebc559e959e641419bf.jpg","text":"TemporaryFile(/tmp/multipartBody2092995820812932961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023823881,"filename":"image_28012025_01_11_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/1/28/7a7d7f5cdc2cf37b4ffc33d19dc0b7bd.jpg","text":"TemporaryFile(/tmp/multipartBody8907644031953633441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023823881,"filename":"image_28012025_01_10_34_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9dbc6c6135c6fc58f3eb4a4cbed047d1.jpg","text":"TemporaryFile(/tmp/multipartBody8469027800139109544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023823881,"filename":"image_28012025_01_10_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/1/28/1437a51d575e1a5c8ff2eafc24b1c9c1.jpg","text":"TemporaryFile(/tmp/multipartBody3186330216561765206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023823881,"filename":"image_28012025_01_10_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/1/28/6bc32da5d340c64222b6ad87bc463ebc.jpg","text":"TemporaryFile(/tmp/multipartBody2448220445218398199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023823881,"filename":"image_28012025_01_10_25_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332140856","file1":"1332140853","file0":"1332140850","file4":"1332140861","file5":"1332140863","file3":"1332140859"},"map_files_photo_id_array":[{"photo_id":"1332140863","filename":"file5"},{"photo_id":"1332140856","filename":"file2"},{"photo_id":"1332140861","filename":"file4"},{"photo_id":"1332140853","filename":"file1"},{"photo_id":"1332140850","filename":"file0"},{"photo_id":"1332140859","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332140861":["hashtag1","hashtag2"]},{"1332140863":["hashtag1","hashtag2"]},{"1332140853":["hashtag1","hashtag2"]},{"1332140856":["hashtag1","hashtag2"]},{"1332140859":["hashtag1","hashtag2"]},{"1332140850":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332140861, 1332140863, 1332140853, 1332140856, 1332140859, 1332140850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50526738166809 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:23:32.185112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/11/image_28012025_01_11_24_9390.jpg', '/home/pi/Desktop/images/28012025/01/11/image_28012025_01_11_34_10336.jpg', '/home/pi/Desktop/images/28012025/01/11/image_28012025_01_11_45_10366.jpg', '/home/pi/Desktop/images/28012025/01/11/image_28012025_01_11_54_9356.jpg', '/home/pi/Desktop/images/28012025/01/11/image_28012025_01_12_05_10416.jpg', '/home/pi/Desktop/images/28012025/01/12/image_28012025_01_12_14_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/11/image_28012025_01_11_24_9390.jpg
/home/pi/Desktop/images/28012025/01/11/image_28012025_01_11_34_10336.jpg
/home/pi/Desktop/images/28012025/01/11/image_28012025_01_11_45_10366.jpg
/home/pi/Desktop/images/28012025/01/11/image_28012025_01_11_54_9356.jpg
/home/pi/Desktop/images/28012025/01/11/image_28012025_01_12_05_10416.jpg
/home/pi/Desktop/images/28012025/01/12/image_28012025_01_12_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":["1332140882","1332140885","1332140879","1332140875","1332140884","1332140877"],"photo_ids_order":["1332140875","1332140877","1332140879","1332140882","1332140884","1332140885"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a21a870da7eff13aece0368e6468a660.jpg","text":"TemporaryFile(/tmp/multipartBody8902225584897924989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023873102,"filename":"image_28012025_01_11_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/1/28/7098be9f0852a27d6b9e52c343da094c.jpg","text":"TemporaryFile(/tmp/multipartBody9053890525591029209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023873102,"filename":"image_28012025_01_12_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/1/28/acb7124a52a70d3c449dd0e973eee3cf.jpg","text":"TemporaryFile(/tmp/multipartBody2272356009724484311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023873102,"filename":"image_28012025_01_11_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7a13f2ca3ebb6a60286aa5fb2a8c8ce9.jpg","text":"TemporaryFile(/tmp/multipartBody770164332082644919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023873102,"filename":"image_28012025_01_11_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/1/28/6eabfe9a388bec4725f2f5ab392d8708.jpg","text":"TemporaryFile(/tmp/multipartBody3114845219022523649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023873102,"filename":"image_28012025_01_12_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/1/28/e92cefa536745d8c12a7ddd2a8c36a51.jpg","text":"TemporaryFile(/tmp/multipartBody5740591935436428663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023873102,"filename":"image_28012025_01_11_34_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332140879","file1":"1332140877","file0":"1332140875","file4":"1332140884","file5":"1332140885","file3":"1332140882"},"map_files_photo_id_array":[{"photo_id":"1332140885","filename":"file5"},{"photo_id":"1332140879","filename":"file2"},{"photo_id":"1332140884","filename":"file4"},{"photo_id":"1332140877","filename":"file1"},{"photo_id":"1332140875","filename":"file0"},{"photo_id":"1332140882","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332140882":["hashtag1","hashtag2"]},{"1332140885":["hashtag1","hashtag2"]},{"1332140879":["hashtag1","hashtag2"]},{"1332140875":["hashtag1","hashtag2"]},{"1332140884":["hashtag1","hashtag2"]},{"1332140877":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332140882, 1332140885, 1332140879, 1332140875, 1332140884, 1332140877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.300304651260376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:24:32.547472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/12/image_28012025_01_12_24_10501.jpg', '/home/pi/Desktop/images/28012025/01/12/image_28012025_01_12_35_10376.jpg', '/home/pi/Desktop/images/28012025/01/12/image_28012025_01_12_44_9519.jpg', '/home/pi/Desktop/images/28012025/01/12/image_28012025_01_12_55_10440.jpg', '/home/pi/Desktop/images/28012025/01/12/image_28012025_01_13_04_9381.jpg', '/home/pi/Desktop/images/28012025/01/13/image_28012025_01_13_15_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/12/image_28012025_01_12_24_10501.jpg
/home/pi/Desktop/images/28012025/01/12/image_28012025_01_12_35_10376.jpg
/home/pi/Desktop/images/28012025/01/12/image_28012025_01_12_44_9519.jpg
/home/pi/Desktop/images/28012025/01/12/image_28012025_01_12_55_10440.jpg
/home/pi/Desktop/images/28012025/01/12/image_28012025_01_13_04_9381.jpg
/home/pi/Desktop/images/28012025/01/13/image_28012025_01_13_15_10343.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.52559494972229 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 01:24:42.559963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/12/image_28012025_01_12_24_10501.jpg', '/home/pi/Desktop/images/28012025/01/12/image_28012025_01_12_35_10376.jpg', '/home/pi/Desktop/images/28012025/01/12/image_28012025_01_12_44_9519.jpg', '/home/pi/Desktop/images/28012025/01/12/image_28012025_01_12_55_10440.jpg', '/home/pi/Desktop/images/28012025/01/12/image_28012025_01_13_04_9381.jpg', '/home/pi/Desktop/images/28012025/01/13/image_28012025_01_13_15_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/12/image_28012025_01_12_24_10501.jpg
/home/pi/Desktop/images/28012025/01/12/image_28012025_01_12_35_10376.jpg
/home/pi/Desktop/images/28012025/01/12/image_28012025_01_12_44_9519.jpg
/home/pi/Desktop/images/28012025/01/12/image_28012025_01_12_55_10440.jpg
/home/pi/Desktop/images/28012025/01/12/image_28012025_01_13_04_9381.jpg
/home/pi/Desktop/images/28012025/01/13/image_28012025_01_13_15_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332141410","1332141407","1332141401","1332141403","1332141399","1332141405"],"photo_ids_order":["1332141399","1332141401","1332141403","1332141405","1332141407","1332141410"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a45b01c4ece922d9b211c1b5dca27faf.jpg","text":"TemporaryFile(/tmp/multipartBody6646215335726689604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023943466,"filename":"image_28012025_01_13_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/1/28/7ba42e2de386dc801e68d668b055f10f.jpg","text":"TemporaryFile(/tmp/multipartBody6141532963908573103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023943466,"filename":"image_28012025_01_13_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/1/28/d2953fb1629c26039fe8f00216a4831c.jpg","text":"TemporaryFile(/tmp/multipartBody8466940652041382063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023943466,"filename":"image_28012025_01_12_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/1/28/b0c4e59b8e81feb3c84faa416f82a675.jpg","text":"TemporaryFile(/tmp/multipartBody60535290393514932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023943466,"filename":"image_28012025_01_12_44_9519.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/396b41f68659b94730e45f05ab2d48c5.jpg","text":"TemporaryFile(/tmp/multipartBody1033782163944266190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023943466,"filename":"image_28012025_01_12_24_10501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6e9714e43f566e4210d09e22f44d5699.jpg","text":"TemporaryFile(/tmp/multipartBody5658486812876147123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023943466,"filename":"image_28012025_01_12_55_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332141403","file1":"1332141401","file0":"1332141399","file4":"1332141407","file5":"1332141410","file3":"1332141405"},"map_files_photo_id_array":[{"photo_id":"1332141410","filename":"file5"},{"photo_id":"1332141403","filename":"file2"},{"photo_id":"1332141407","filename":"file4"},{"photo_id":"1332141401","filename":"file1"},{"photo_id":"1332141399","filename":"file0"},{"photo_id":"1332141405","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332141410":["hashtag1","hashtag2"]},{"1332141407":["hashtag1","hashtag2"]},{"1332141401":["hashtag1","hashtag2"]},{"1332141403":["hashtag1","hashtag2"]},{"1332141399":["hashtag1","hashtag2"]},{"1332141405":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332141410, 1332141407, 1332141401, 1332141403, 1332141399, 1332141405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.42857336997986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:25:32.719622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/13/image_28012025_01_13_25_10363.jpg', '/home/pi/Desktop/images/28012025/01/13/image_28012025_01_13_34_9337.jpg', '/home/pi/Desktop/images/28012025/01/13/image_28012025_01_13_45_10447.jpg', '/home/pi/Desktop/images/28012025/01/13/image_28012025_01_13_54_9351.jpg', '/home/pi/Desktop/images/28012025/01/13/image_28012025_01_14_04_10440.jpg', '/home/pi/Desktop/images/28012025/01/14/image_28012025_01_14_15_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/13/image_28012025_01_13_25_10363.jpg
/home/pi/Desktop/images/28012025/01/13/image_28012025_01_13_34_9337.jpg
/home/pi/Desktop/images/28012025/01/13/image_28012025_01_13_45_10447.jpg
/home/pi/Desktop/images/28012025/01/13/image_28012025_01_13_54_9351.jpg
/home/pi/Desktop/images/28012025/01/13/image_28012025_01_14_04_10440.jpg
/home/pi/Desktop/images/28012025/01/14/image_28012025_01_14_15_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332141592","1332141586","1332141709","1332141591","1332141588","1332141630"],"photo_ids_order":["1332141586","1332141588","1332141591","1332141592","1332141630","1332141709"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9f01cc340c59b0ecac5adf700ff7c015.jpg","text":"TemporaryFile(/tmp/multipartBody2283221186076964547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023993635,"filename":"image_28012025_01_13_54_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5068df5943df3b6759950e76bd80f2de.jpg","text":"TemporaryFile(/tmp/multipartBody2945651766776462581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023993635,"filename":"image_28012025_01_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/1/28/5e1bd2f3dcabd233f2b7070b986b0d77.jpg","text":"TemporaryFile(/tmp/multipartBody8463278909136272288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023993635,"filename":"image_28012025_01_14_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/1/28/f5e4a226f8547aab941cba14d02ccd01.jpg","text":"TemporaryFile(/tmp/multipartBody1857525632710714992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023993635,"filename":"image_28012025_01_13_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/1/28/99119aa6254ac7f5bc8717908e131d9f.jpg","text":"TemporaryFile(/tmp/multipartBody3535273389186931075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023993635,"filename":"image_28012025_01_13_34_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2f216c69b03f3c49464ae8b804e196f6.jpg","text":"TemporaryFile(/tmp/multipartBody6914455821700555637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738023993635,"filename":"image_28012025_01_14_04_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332141591","file1":"1332141588","file0":"1332141586","file4":"1332141630","file5":"1332141709","file3":"1332141592"},"map_files_photo_id_array":[{"photo_id":"1332141709","filename":"file5"},{"photo_id":"1332141591","filename":"file2"},{"photo_id":"1332141630","filename":"file4"},{"photo_id":"1332141588","filename":"file1"},{"photo_id":"1332141586","filename":"file0"},{"photo_id":"1332141592","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332141592":["hashtag1","hashtag2"]},{"1332141586":["hashtag1","hashtag2"]},{"1332141709":["hashtag1","hashtag2"]},{"1332141591":["hashtag1","hashtag2"]},{"1332141588":["hashtag1","hashtag2"]},{"1332141630":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332141592, 1332141586, 1332141709, 1332141591, 1332141588, 1332141630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.25079870223999 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:26:32.985089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/14/image_28012025_01_14_24_9326.jpg', '/home/pi/Desktop/images/28012025/01/14/image_28012025_01_14_34_10337.jpg', '/home/pi/Desktop/images/28012025/01/14/image_28012025_01_14_45_10336.jpg', '/home/pi/Desktop/images/28012025/01/14/image_28012025_01_14_54_9370.jpg', '/home/pi/Desktop/images/28012025/01/14/image_28012025_01_15_05_10385.jpg', '/home/pi/Desktop/images/28012025/01/15/image_28012025_01_15_15_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/14/image_28012025_01_14_24_9326.jpg
/home/pi/Desktop/images/28012025/01/14/image_28012025_01_14_34_10337.jpg
/home/pi/Desktop/images/28012025/01/14/image_28012025_01_14_45_10336.jpg
/home/pi/Desktop/images/28012025/01/14/image_28012025_01_14_54_9370.jpg
/home/pi/Desktop/images/28012025/01/14/image_28012025_01_15_05_10385.jpg
/home/pi/Desktop/images/28012025/01/15/image_28012025_01_15_15_10333.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5233237743377686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 01:26:42.904137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/14/image_28012025_01_14_24_9326.jpg', '/home/pi/Desktop/images/28012025/01/14/image_28012025_01_14_34_10337.jpg', '/home/pi/Desktop/images/28012025/01/14/image_28012025_01_14_45_10336.jpg', '/home/pi/Desktop/images/28012025/01/14/image_28012025_01_14_54_9370.jpg', '/home/pi/Desktop/images/28012025/01/14/image_28012025_01_15_05_10385.jpg', '/home/pi/Desktop/images/28012025/01/15/image_28012025_01_15_15_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/14/image_28012025_01_14_24_9326.jpg
/home/pi/Desktop/images/28012025/01/14/image_28012025_01_14_34_10337.jpg
/home/pi/Desktop/images/28012025/01/14/image_28012025_01_14_45_10336.jpg
/home/pi/Desktop/images/28012025/01/14/image_28012025_01_14_54_9370.jpg
/home/pi/Desktop/images/28012025/01/14/image_28012025_01_15_05_10385.jpg
/home/pi/Desktop/images/28012025/01/15/image_28012025_01_15_15_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332142120","1332142114","1332142138","1332142122","1332142116","1332142118"],"photo_ids_order":["1332142114","1332142116","1332142118","1332142120","1332142122","1332142138"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7936cc73e1f5927cb2bacc7294055b8f.jpg","text":"TemporaryFile(/tmp/multipartBody4397889528237166742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024063835,"filename":"image_28012025_01_14_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/1/28/d42392c8e7411204b1b4264d411b311e.jpg","text":"TemporaryFile(/tmp/multipartBody3277717069738507731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024063835,"filename":"image_28012025_01_14_24_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/92eba84bb5a0e34b903ec39e90d439e7.jpg","text":"TemporaryFile(/tmp/multipartBody7987833074542888061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024063835,"filename":"image_28012025_01_15_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/1/28/d4e4ffa15876a15c8a31f71204fab480.jpg","text":"TemporaryFile(/tmp/multipartBody1242279976795451319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024063835,"filename":"image_28012025_01_15_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/1/28/7c37e20f22500738d92467fd0731766e.jpg","text":"TemporaryFile(/tmp/multipartBody3076976781663489272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024063835,"filename":"image_28012025_01_14_34_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bb3452df2ffbdc26f48d588b8899a62b.jpg","text":"TemporaryFile(/tmp/multipartBody2447947647565856397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024063835,"filename":"image_28012025_01_14_45_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332142118","file1":"1332142116","file0":"1332142114","file4":"1332142122","file5":"1332142138","file3":"1332142120"},"map_files_photo_id_array":[{"photo_id":"1332142138","filename":"file5"},{"photo_id":"1332142118","filename":"file2"},{"photo_id":"1332142122","filename":"file4"},{"photo_id":"1332142116","filename":"file1"},{"photo_id":"1332142114","filename":"file0"},{"photo_id":"1332142120","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332142120":["hashtag1","hashtag2"]},{"1332142114":["hashtag1","hashtag2"]},{"1332142138":["hashtag1","hashtag2"]},{"1332142122":["hashtag1","hashtag2"]},{"1332142116":["hashtag1","hashtag2"]},{"1332142118":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332142120, 1332142114, 1332142138, 1332142122, 1332142116, 1332142118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.50554943084717 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:27:32.276415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/15/image_28012025_01_15_24_9326.jpg', '/home/pi/Desktop/images/28012025/01/15/image_28012025_01_15_35_10387.jpg', '/home/pi/Desktop/images/28012025/01/15/image_28012025_01_15_44_9359.jpg', '/home/pi/Desktop/images/28012025/01/15/image_28012025_01_15_54_10425.jpg', '/home/pi/Desktop/images/28012025/01/15/image_28012025_01_16_05_10373.jpg', '/home/pi/Desktop/images/28012025/01/16/image_28012025_01_16_14_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/15/image_28012025_01_15_24_9326.jpg
/home/pi/Desktop/images/28012025/01/15/image_28012025_01_15_35_10387.jpg
/home/pi/Desktop/images/28012025/01/15/image_28012025_01_15_44_9359.jpg
/home/pi/Desktop/images/28012025/01/15/image_28012025_01_15_54_10425.jpg
/home/pi/Desktop/images/28012025/01/15/image_28012025_01_16_05_10373.jpg
/home/pi/Desktop/images/28012025/01/16/image_28012025_01_16_14_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":["1332142543","1332142453","1332142299","1332142890","1332142356","1332142656"],"photo_ids_order":["1332142299","1332142356","1332142453","1332142543","1332142656","1332142890"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/55af4ac1f206a3677a52d8ac401c8046.jpg","text":"TemporaryFile(/tmp/multipartBody3623074500077023829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024113195,"filename":"image_28012025_01_15_54_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0c6c7c73a178433e131337bf28fa5af1.jpg","text":"TemporaryFile(/tmp/multipartBody8844109419993114896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024113195,"filename":"image_28012025_01_15_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/1/28/3637e93361d77de96c01ba6d831958f8.jpg","text":"TemporaryFile(/tmp/multipartBody2725729951581664645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024113195,"filename":"image_28012025_01_15_24_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d145e31eda509ff83d2ebeb1093d045f.jpg","text":"TemporaryFile(/tmp/multipartBody6532135263023868210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024113195,"filename":"image_28012025_01_16_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/1/28/23f9c94db8cb27b06dd37598a3c8ec4c.jpg","text":"TemporaryFile(/tmp/multipartBody614828831249400866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024113195,"filename":"image_28012025_01_15_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/1/28/289b16043e707d484207801945e11ad4.jpg","text":"TemporaryFile(/tmp/multipartBody6466482712184123841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024113195,"filename":"image_28012025_01_16_05_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332142453","file1":"1332142356","file0":"1332142299","file4":"1332142656","file5":"1332142890","file3":"1332142543"},"map_files_photo_id_array":[{"photo_id":"1332142890","filename":"file5"},{"photo_id":"1332142453","filename":"file2"},{"photo_id":"1332142656","filename":"file4"},{"photo_id":"1332142356","filename":"file1"},{"photo_id":"1332142299","filename":"file0"},{"photo_id":"1332142543","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332142543":["hashtag1","hashtag2"]},{"1332142453":["hashtag1","hashtag2"]},{"1332142299":["hashtag1","hashtag2"]},{"1332142890":["hashtag1","hashtag2"]},{"1332142356":["hashtag1","hashtag2"]},{"1332142656":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332142543, 1332142453, 1332142299, 1332142890, 1332142356, 1332142656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35974931716919 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:28:32.528691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/16/image_28012025_01_16_25_10451.jpg', '/home/pi/Desktop/images/28012025/01/16/image_28012025_01_16_34_9484.jpg', '/home/pi/Desktop/images/28012025/01/16/image_28012025_01_16_44_10393.jpg', '/home/pi/Desktop/images/28012025/01/16/image_28012025_01_16_55_10341.jpg', '/home/pi/Desktop/images/28012025/01/16/image_28012025_01_17_04_9374.jpg', '/home/pi/Desktop/images/28012025/01/17/image_28012025_01_17_14_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/16/image_28012025_01_16_25_10451.jpg
/home/pi/Desktop/images/28012025/01/16/image_28012025_01_16_34_9484.jpg
/home/pi/Desktop/images/28012025/01/16/image_28012025_01_16_44_10393.jpg
/home/pi/Desktop/images/28012025/01/16/image_28012025_01_16_55_10341.jpg
/home/pi/Desktop/images/28012025/01/16/image_28012025_01_17_04_9374.jpg
/home/pi/Desktop/images/28012025/01/17/image_28012025_01_17_14_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":["1332143032","1332143035","1332143172","1332143244","1332143171","1332143030"],"photo_ids_order":["1332143030","1332143032","1332143035","1332143171","1332143172","1332143244"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6ec1a7798cbcd1f857b47ecf7ca89d9f.jpg","text":"TemporaryFile(/tmp/multipartBody5744458985593042411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024173434,"filename":"image_28012025_01_16_34_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7fad81d28300bc1b5f81ecaf2784e36a.jpg","text":"TemporaryFile(/tmp/multipartBody569763958871253537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024173434,"filename":"image_28012025_01_16_44_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dae5b5d3caa9905250122ab3f64b44ea.jpg","text":"TemporaryFile(/tmp/multipartBody828354282623096802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024173434,"filename":"image_28012025_01_17_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/1/28/e1e9022a57d910709935b5cdf4bc721a.jpg","text":"TemporaryFile(/tmp/multipartBody6997297672997546683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024173434,"filename":"image_28012025_01_17_14_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f7b47bd9f3c29ea235abc4380407b5f8.jpg","text":"TemporaryFile(/tmp/multipartBody2563905285248285021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024173434,"filename":"image_28012025_01_16_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/1/28/70ea9a7b3908f6c29c41905591f167f8.jpg","text":"TemporaryFile(/tmp/multipartBody1178073193123866133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024173434,"filename":"image_28012025_01_16_25_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332143035","file1":"1332143032","file0":"1332143030","file4":"1332143172","file5":"1332143244","file3":"1332143171"},"map_files_photo_id_array":[{"photo_id":"1332143244","filename":"file5"},{"photo_id":"1332143035","filename":"file2"},{"photo_id":"1332143172","filename":"file4"},{"photo_id":"1332143032","filename":"file1"},{"photo_id":"1332143030","filename":"file0"},{"photo_id":"1332143171","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332143032":["hashtag1","hashtag2"]},{"1332143035":["hashtag1","hashtag2"]},{"1332143172":["hashtag1","hashtag2"]},{"1332143244":["hashtag1","hashtag2"]},{"1332143171":["hashtag1","hashtag2"]},{"1332143030":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332143032, 1332143035, 1332143172, 1332143244, 1332143171, 1332143030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.94144797325134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:29:32.763650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/17/image_28012025_01_17_25_10356.jpg', '/home/pi/Desktop/images/28012025/01/17/image_28012025_01_17_35_9981.jpg', '/home/pi/Desktop/images/28012025/01/17/image_28012025_01_17_44_9462.jpg', '/home/pi/Desktop/images/28012025/01/17/image_28012025_01_17_55_10356.jpg', '/home/pi/Desktop/images/28012025/01/17/image_28012025_01_18_04_9422.jpg', '/home/pi/Desktop/images/28012025/01/18/image_28012025_01_18_14_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/17/image_28012025_01_17_25_10356.jpg
/home/pi/Desktop/images/28012025/01/17/image_28012025_01_17_35_9981.jpg
/home/pi/Desktop/images/28012025/01/17/image_28012025_01_17_44_9462.jpg
/home/pi/Desktop/images/28012025/01/17/image_28012025_01_17_55_10356.jpg
/home/pi/Desktop/images/28012025/01/17/image_28012025_01_18_04_9422.jpg
/home/pi/Desktop/images/28012025/01/18/image_28012025_01_18_14_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":["1332143298","1332143302","1332143292","1332143301","1332143294","1332143296"],"photo_ids_order":["1332143292","1332143294","1332143296","1332143298","1332143301","1332143302"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3938792de97e9f4f50668a65fa9e1ed4.jpg","text":"TemporaryFile(/tmp/multipartBody5057889120295403403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024233676,"filename":"image_28012025_01_17_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/1/28/9dd9731ad2b4390719512df2c0d0d639.jpg","text":"TemporaryFile(/tmp/multipartBody6714534752921742675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024233676,"filename":"image_28012025_01_18_14_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e335b83a416c5cf3f2efe980fbf8fec9.jpg","text":"TemporaryFile(/tmp/multipartBody5383579128807487795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024233676,"filename":"image_28012025_01_17_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/1/28/2110e9474fe44329dbf8d62771ef13c5.jpg","text":"TemporaryFile(/tmp/multipartBody1492379776142745409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024233676,"filename":"image_28012025_01_18_04_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a4aeba2e57c56b9509c8a159de821bff.jpg","text":"TemporaryFile(/tmp/multipartBody8047425911537884050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024233676,"filename":"image_28012025_01_17_35_9981.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/53198525dcf14a30d1657b58bec57062.jpg","text":"TemporaryFile(/tmp/multipartBody4271310235823530988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024233676,"filename":"image_28012025_01_17_44_9462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332143296","file1":"1332143294","file0":"1332143292","file4":"1332143301","file5":"1332143302","file3":"1332143298"},"map_files_photo_id_array":[{"photo_id":"1332143302","filename":"file5"},{"photo_id":"1332143296","filename":"file2"},{"photo_id":"1332143301","filename":"file4"},{"photo_id":"1332143294","filename":"file1"},{"photo_id":"1332143292","filename":"file0"},{"photo_id":"1332143298","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332143298":["hashtag1","hashtag2"]},{"1332143302":["hashtag1","hashtag2"]},{"1332143292":["hashtag1","hashtag2"]},{"1332143301":["hashtag1","hashtag2"]},{"1332143294":["hashtag1","hashtag2"]},{"1332143296":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332143298, 1332143302, 1332143292, 1332143301, 1332143294, 1332143296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.05920124053955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:30:32.892203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/18/image_28012025_01_18_25_10356.jpg', '/home/pi/Desktop/images/28012025/01/18/image_28012025_01_18_34_9365.jpg', '/home/pi/Desktop/images/28012025/01/18/image_28012025_01_18_45_10464.jpg', '/home/pi/Desktop/images/28012025/01/18/image_28012025_01_18_54_9358.jpg', '/home/pi/Desktop/images/28012025/01/18/image_28012025_01_19_04_10399.jpg', '/home/pi/Desktop/images/28012025/01/19/image_28012025_01_19_15_10323.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/18/image_28012025_01_18_25_10356.jpg
/home/pi/Desktop/images/28012025/01/18/image_28012025_01_18_34_9365.jpg
/home/pi/Desktop/images/28012025/01/18/image_28012025_01_18_45_10464.jpg
/home/pi/Desktop/images/28012025/01/18/image_28012025_01_18_54_9358.jpg
/home/pi/Desktop/images/28012025/01/18/image_28012025_01_19_04_10399.jpg
/home/pi/Desktop/images/28012025/01/19/image_28012025_01_19_15_10323.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5297107696533203 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 01:30:42.893055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/18/image_28012025_01_18_25_10356.jpg', '/home/pi/Desktop/images/28012025/01/18/image_28012025_01_18_34_9365.jpg', '/home/pi/Desktop/images/28012025/01/18/image_28012025_01_18_45_10464.jpg', '/home/pi/Desktop/images/28012025/01/18/image_28012025_01_18_54_9358.jpg', '/home/pi/Desktop/images/28012025/01/18/image_28012025_01_19_04_10399.jpg', '/home/pi/Desktop/images/28012025/01/19/image_28012025_01_19_15_10323.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/18/image_28012025_01_18_25_10356.jpg
/home/pi/Desktop/images/28012025/01/18/image_28012025_01_18_34_9365.jpg
/home/pi/Desktop/images/28012025/01/18/image_28012025_01_18_45_10464.jpg
/home/pi/Desktop/images/28012025/01/18/image_28012025_01_18_54_9358.jpg
/home/pi/Desktop/images/28012025/01/18/image_28012025_01_19_04_10399.jpg
/home/pi/Desktop/images/28012025/01/19/image_28012025_01_19_15_10323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332143370","1332143373","1332143355","1332143340","1332143343","1332143368"],"photo_ids_order":["1332143340","1332143343","1332143355","1332143368","1332143370","1332143373"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d7533273ed6f2e977aa4fc114ca3cb8a.jpg","text":"TemporaryFile(/tmp/multipartBody4894911798231683447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024303804,"filename":"image_28012025_01_19_04_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1a7c9d0505383ae3cae846aab5a4610c.jpg","text":"TemporaryFile(/tmp/multipartBody2427103154428746827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024303804,"filename":"image_28012025_01_19_15_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/93012e4c6034436d79f3d23369642a45.jpg","text":"TemporaryFile(/tmp/multipartBody5548249406228104710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024303804,"filename":"image_28012025_01_18_45_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8691cf70bffd956e056ab0cde93f04d8.jpg","text":"TemporaryFile(/tmp/multipartBody5572352081446994179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024303804,"filename":"image_28012025_01_18_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/1/28/64838d5da8c46e6ab872439d9c9c7b25.jpg","text":"TemporaryFile(/tmp/multipartBody4404779156267456375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024303804,"filename":"image_28012025_01_18_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/1/28/176a518967686d3e27410364a50b56b5.jpg","text":"TemporaryFile(/tmp/multipartBody3665363519013814800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024303804,"filename":"image_28012025_01_18_54_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332143355","file1":"1332143343","file0":"1332143340","file4":"1332143370","file5":"1332143373","file3":"1332143368"},"map_files_photo_id_array":[{"photo_id":"1332143373","filename":"file5"},{"photo_id":"1332143355","filename":"file2"},{"photo_id":"1332143370","filename":"file4"},{"photo_id":"1332143343","filename":"file1"},{"photo_id":"1332143340","filename":"file0"},{"photo_id":"1332143368","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332143370":["hashtag1","hashtag2"]},{"1332143373":["hashtag1","hashtag2"]},{"1332143355":["hashtag1","hashtag2"]},{"1332143340":["hashtag1","hashtag2"]},{"1332143343":["hashtag1","hashtag2"]},{"1332143368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332143370, 1332143373, 1332143355, 1332143340, 1332143343, 1332143368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.36554956436157 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:31:33.073980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/19/image_28012025_01_19_24_9365.jpg', '/home/pi/Desktop/images/28012025/01/19/image_28012025_01_19_34_10423.jpg', '/home/pi/Desktop/images/28012025/01/19/image_28012025_01_19_45_10381.jpg', '/home/pi/Desktop/images/28012025/01/19/image_28012025_01_19_54_9505.jpg', '/home/pi/Desktop/images/28012025/01/19/image_28012025_01_20_05_10356.jpg', '/home/pi/Desktop/images/28012025/01/20/image_28012025_01_20_14_9327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/19/image_28012025_01_19_24_9365.jpg
/home/pi/Desktop/images/28012025/01/19/image_28012025_01_19_34_10423.jpg
/home/pi/Desktop/images/28012025/01/19/image_28012025_01_19_45_10381.jpg
/home/pi/Desktop/images/28012025/01/19/image_28012025_01_19_54_9505.jpg
/home/pi/Desktop/images/28012025/01/19/image_28012025_01_20_05_10356.jpg
/home/pi/Desktop/images/28012025/01/20/image_28012025_01_20_14_9327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332143388","1332143387","1332143390","1332143392","1332143386","1332143389"],"photo_ids_order":["1332143386","1332143387","1332143388","1332143389","1332143390","1332143392"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0ed19e81bff520f0cd4a81e23b35b70f.jpg","text":"TemporaryFile(/tmp/multipartBody7199439597181836322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024353992,"filename":"image_28012025_01_19_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/1/28/11da8a75b513d26432cb30acddc6b8b6.jpg","text":"TemporaryFile(/tmp/multipartBody1470835971485557328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024353992,"filename":"image_28012025_01_19_34_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d11fde0cc058fa59218f1bda470d8f09.jpg","text":"TemporaryFile(/tmp/multipartBody6562693048661513085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024353992,"filename":"image_28012025_01_20_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/453348b0d7a4b9525c5c6d200738483f.jpg","text":"TemporaryFile(/tmp/multipartBody7428848203041917399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024353992,"filename":"image_28012025_01_20_14_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e32ad4e710e017a72f9091f99bc55216.jpg","text":"TemporaryFile(/tmp/multipartBody8531966282962072907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024353992,"filename":"image_28012025_01_19_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/1/28/2b102a630bf10012b27d1a37da72400b.jpg","text":"TemporaryFile(/tmp/multipartBody1828639243731861058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024353992,"filename":"image_28012025_01_19_54_9505.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332143388","file1":"1332143387","file0":"1332143386","file4":"1332143390","file5":"1332143392","file3":"1332143389"},"map_files_photo_id_array":[{"photo_id":"1332143392","filename":"file5"},{"photo_id":"1332143388","filename":"file2"},{"photo_id":"1332143390","filename":"file4"},{"photo_id":"1332143387","filename":"file1"},{"photo_id":"1332143386","filename":"file0"},{"photo_id":"1332143389","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332143388":["hashtag1","hashtag2"]},{"1332143387":["hashtag1","hashtag2"]},{"1332143390":["hashtag1","hashtag2"]},{"1332143392":["hashtag1","hashtag2"]},{"1332143386":["hashtag1","hashtag2"]},{"1332143389":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332143388, 1332143387, 1332143390, 1332143392, 1332143386, 1332143389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.61556792259216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:32:32.316579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/20/image_28012025_01_20_24_10359.jpg', '/home/pi/Desktop/images/28012025/01/20/image_28012025_01_20_35_10346.jpg', '/home/pi/Desktop/images/28012025/01/20/image_28012025_01_20_44_9333.jpg', '/home/pi/Desktop/images/28012025/01/20/image_28012025_01_20_54_10351.jpg', '/home/pi/Desktop/images/28012025/01/20/image_28012025_01_21_05_10328.jpg', '/home/pi/Desktop/images/28012025/01/21/image_28012025_01_21_14_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/20/image_28012025_01_20_24_10359.jpg
/home/pi/Desktop/images/28012025/01/20/image_28012025_01_20_35_10346.jpg
/home/pi/Desktop/images/28012025/01/20/image_28012025_01_20_44_9333.jpg
/home/pi/Desktop/images/28012025/01/20/image_28012025_01_20_54_10351.jpg
/home/pi/Desktop/images/28012025/01/20/image_28012025_01_21_05_10328.jpg
/home/pi/Desktop/images/28012025/01/21/image_28012025_01_21_14_9343.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5218906402587891 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 01:32:42.426808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/20/image_28012025_01_20_24_10359.jpg', '/home/pi/Desktop/images/28012025/01/20/image_28012025_01_20_35_10346.jpg', '/home/pi/Desktop/images/28012025/01/20/image_28012025_01_20_44_9333.jpg', '/home/pi/Desktop/images/28012025/01/20/image_28012025_01_20_54_10351.jpg', '/home/pi/Desktop/images/28012025/01/20/image_28012025_01_21_05_10328.jpg', '/home/pi/Desktop/images/28012025/01/21/image_28012025_01_21_14_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/20/image_28012025_01_20_24_10359.jpg
/home/pi/Desktop/images/28012025/01/20/image_28012025_01_20_35_10346.jpg
/home/pi/Desktop/images/28012025/01/20/image_28012025_01_20_44_9333.jpg
/home/pi/Desktop/images/28012025/01/20/image_28012025_01_20_54_10351.jpg
/home/pi/Desktop/images/28012025/01/20/image_28012025_01_21_05_10328.jpg
/home/pi/Desktop/images/28012025/01/21/image_28012025_01_21_14_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332143428","1332143445","1332143436","1332143424","1332143459","1332143438"],"photo_ids_order":["1332143424","1332143428","1332143436","1332143438","1332143445","1332143459"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/677368464ae4373176a0300aeed8f842.jpg","text":"TemporaryFile(/tmp/multipartBody7396093662049085701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024423338,"filename":"image_28012025_01_20_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/1/28/99471cfda94503a63f2d49b75d08ed5c.jpg","text":"TemporaryFile(/tmp/multipartBody217473068581029958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024423338,"filename":"image_28012025_01_21_05_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1a69e1eeb3ebad08017fb6df6ac050e7.jpg","text":"TemporaryFile(/tmp/multipartBody3887771018226856950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024423338,"filename":"image_28012025_01_20_44_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e34a8481204e984f6c49c09189bcde0e.jpg","text":"TemporaryFile(/tmp/multipartBody6398138654089349202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024423338,"filename":"image_28012025_01_20_24_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/47a819ccb7db0c832221332a3ca1a941.jpg","text":"TemporaryFile(/tmp/multipartBody4563627803098346008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024423338,"filename":"image_28012025_01_21_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/1/28/2a2ae34547c0a7c0c70c3f4ad8420a7c.jpg","text":"TemporaryFile(/tmp/multipartBody1812369449041392691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024423338,"filename":"image_28012025_01_20_54_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332143436","file1":"1332143428","file0":"1332143424","file4":"1332143445","file5":"1332143459","file3":"1332143438"},"map_files_photo_id_array":[{"photo_id":"1332143459","filename":"file5"},{"photo_id":"1332143436","filename":"file2"},{"photo_id":"1332143445","filename":"file4"},{"photo_id":"1332143428","filename":"file1"},{"photo_id":"1332143424","filename":"file0"},{"photo_id":"1332143438","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332143428":["hashtag1","hashtag2"]},{"1332143445":["hashtag1","hashtag2"]},{"1332143436":["hashtag1","hashtag2"]},{"1332143424":["hashtag1","hashtag2"]},{"1332143459":["hashtag1","hashtag2"]},{"1332143438":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332143428, 1332143445, 1332143436, 1332143424, 1332143459, 1332143438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.59501266479492 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:33:32.568836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/21/image_28012025_01_21_25_10417.jpg', '/home/pi/Desktop/images/28012025/01/21/image_28012025_01_21_35_10341.jpg', '/home/pi/Desktop/images/28012025/01/21/image_28012025_01_21_44_9465.jpg', '/home/pi/Desktop/images/28012025/01/21/image_28012025_01_21_55_10358.jpg', '/home/pi/Desktop/images/28012025/01/21/image_28012025_01_22_04_9341.jpg', '/home/pi/Desktop/images/28012025/01/22/image_28012025_01_22_14_10450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/21/image_28012025_01_21_25_10417.jpg
/home/pi/Desktop/images/28012025/01/21/image_28012025_01_21_35_10341.jpg
/home/pi/Desktop/images/28012025/01/21/image_28012025_01_21_44_9465.jpg
/home/pi/Desktop/images/28012025/01/21/image_28012025_01_21_55_10358.jpg
/home/pi/Desktop/images/28012025/01/21/image_28012025_01_22_04_9341.jpg
/home/pi/Desktop/images/28012025/01/22/image_28012025_01_22_14_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":["1332143542","1332143490","1332143547","1332143486","1332143540","1332143545"],"photo_ids_order":["1332143486","1332143490","1332143540","1332143542","1332143545","1332143547"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d2e6473fc4b86c1c3aad756bc9cdf936.jpg","text":"TemporaryFile(/tmp/multipartBody4319848217086388990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024473476,"filename":"image_28012025_01_21_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/1/28/c90ac6f674085b3cd0351f55682e4a32.jpg","text":"TemporaryFile(/tmp/multipartBody587117464890503227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024473476,"filename":"image_28012025_01_21_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/1/28/f959aa2a585688ad87100b07ef1911bb.jpg","text":"TemporaryFile(/tmp/multipartBody5830841237918926405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024473476,"filename":"image_28012025_01_22_14_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cb6f4c94e94ea04f31803216adae76d1.jpg","text":"TemporaryFile(/tmp/multipartBody7105405317330544879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024473476,"filename":"image_28012025_01_21_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/1/28/a7a78db7b45476de3bcc22e48dab140c.jpg","text":"TemporaryFile(/tmp/multipartBody4213461315563038507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024473476,"filename":"image_28012025_01_21_44_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/81a1d85931400f28efaea0dd1cae6661.jpg","text":"TemporaryFile(/tmp/multipartBody8993263630587172906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024473476,"filename":"image_28012025_01_22_04_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332143540","file1":"1332143490","file0":"1332143486","file4":"1332143545","file5":"1332143547","file3":"1332143542"},"map_files_photo_id_array":[{"photo_id":"1332143547","filename":"file5"},{"photo_id":"1332143540","filename":"file2"},{"photo_id":"1332143545","filename":"file4"},{"photo_id":"1332143490","filename":"file1"},{"photo_id":"1332143486","filename":"file0"},{"photo_id":"1332143542","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332143542":["hashtag1","hashtag2"]},{"1332143490":["hashtag1","hashtag2"]},{"1332143547":["hashtag1","hashtag2"]},{"1332143486":["hashtag1","hashtag2"]},{"1332143540":["hashtag1","hashtag2"]},{"1332143545":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332143542, 1332143490, 1332143547, 1332143486, 1332143540, 1332143545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.14402413368225 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:34:32.780182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/22/image_28012025_01_22_25_10342.jpg', '/home/pi/Desktop/images/28012025/01/22/image_28012025_01_22_34_9382.jpg', '/home/pi/Desktop/images/28012025/01/22/image_28012025_01_22_45_10340.jpg', '/home/pi/Desktop/images/28012025/01/22/image_28012025_01_22_55_10356.jpg', '/home/pi/Desktop/images/28012025/01/22/image_28012025_01_23_04_9327.jpg', '/home/pi/Desktop/images/28012025/01/23/image_28012025_01_23_15_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/22/image_28012025_01_22_25_10342.jpg
/home/pi/Desktop/images/28012025/01/22/image_28012025_01_22_34_9382.jpg
/home/pi/Desktop/images/28012025/01/22/image_28012025_01_22_45_10340.jpg
/home/pi/Desktop/images/28012025/01/22/image_28012025_01_22_55_10356.jpg
/home/pi/Desktop/images/28012025/01/22/image_28012025_01_23_04_9327.jpg
/home/pi/Desktop/images/28012025/01/23/image_28012025_01_23_15_10332.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5225546360015869 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 01:34:42.785112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/22/image_28012025_01_22_25_10342.jpg', '/home/pi/Desktop/images/28012025/01/22/image_28012025_01_22_34_9382.jpg', '/home/pi/Desktop/images/28012025/01/22/image_28012025_01_22_45_10340.jpg', '/home/pi/Desktop/images/28012025/01/22/image_28012025_01_22_55_10356.jpg', '/home/pi/Desktop/images/28012025/01/22/image_28012025_01_23_04_9327.jpg', '/home/pi/Desktop/images/28012025/01/23/image_28012025_01_23_15_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/22/image_28012025_01_22_25_10342.jpg
/home/pi/Desktop/images/28012025/01/22/image_28012025_01_22_34_9382.jpg
/home/pi/Desktop/images/28012025/01/22/image_28012025_01_22_45_10340.jpg
/home/pi/Desktop/images/28012025/01/22/image_28012025_01_22_55_10356.jpg
/home/pi/Desktop/images/28012025/01/22/image_28012025_01_23_04_9327.jpg
/home/pi/Desktop/images/28012025/01/23/image_28012025_01_23_15_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332143569","1332143574","1332143571","1332143565","1332143567","1332143576"],"photo_ids_order":["1332143565","1332143567","1332143569","1332143571","1332143574","1332143576"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4c9649d6cc7866482ef53f2a6e498efe.jpg","text":"TemporaryFile(/tmp/multipartBody4301008134470568320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024543700,"filename":"image_28012025_01_22_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/1/28/c4be9b12040cb83c329375f8b4a17eee.jpg","text":"TemporaryFile(/tmp/multipartBody1515917741261618974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024543700,"filename":"image_28012025_01_23_04_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2ee0879e3da089831c6151ff2983073e.jpg","text":"TemporaryFile(/tmp/multipartBody92920085491386854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024543700,"filename":"image_28012025_01_22_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/1/28/f5a400d68207dd112a5a7ea93561c8f7.jpg","text":"TemporaryFile(/tmp/multipartBody2223317280733902158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024543700,"filename":"image_28012025_01_22_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/1/28/e8d698f8550da001615864540f8dc989.jpg","text":"TemporaryFile(/tmp/multipartBody8977327047066823809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024543700,"filename":"image_28012025_01_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/1/28/6431abf6ddf385ba88faaa775807fa57.jpg","text":"TemporaryFile(/tmp/multipartBody1287149266119104568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024543700,"filename":"image_28012025_01_23_15_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332143569","file1":"1332143567","file0":"1332143565","file4":"1332143574","file5":"1332143576","file3":"1332143571"},"map_files_photo_id_array":[{"photo_id":"1332143576","filename":"file5"},{"photo_id":"1332143569","filename":"file2"},{"photo_id":"1332143574","filename":"file4"},{"photo_id":"1332143567","filename":"file1"},{"photo_id":"1332143565","filename":"file0"},{"photo_id":"1332143571","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332143569":["hashtag1","hashtag2"]},{"1332143574":["hashtag1","hashtag2"]},{"1332143571":["hashtag1","hashtag2"]},{"1332143565":["hashtag1","hashtag2"]},{"1332143567":["hashtag1","hashtag2"]},{"1332143576":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332143569, 1332143574, 1332143571, 1332143565, 1332143567, 1332143576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.61297583580017 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:35:32.906221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/23/image_28012025_01_23_24_9356.jpg', '/home/pi/Desktop/images/28012025/01/23/image_28012025_01_23_35_10758.jpg', '/home/pi/Desktop/images/28012025/01/23/image_28012025_01_23_44_9346.jpg', '/home/pi/Desktop/images/28012025/01/23/image_28012025_01_23_54_10462.jpg', '/home/pi/Desktop/images/28012025/01/23/image_28012025_01_24_05_10344.jpg', '/home/pi/Desktop/images/28012025/01/24/image_28012025_01_24_14_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/23/image_28012025_01_23_24_9356.jpg
/home/pi/Desktop/images/28012025/01/23/image_28012025_01_23_35_10758.jpg
/home/pi/Desktop/images/28012025/01/23/image_28012025_01_23_44_9346.jpg
/home/pi/Desktop/images/28012025/01/23/image_28012025_01_23_54_10462.jpg
/home/pi/Desktop/images/28012025/01/23/image_28012025_01_24_05_10344.jpg
/home/pi/Desktop/images/28012025/01/24/image_28012025_01_24_14_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332143602","1332143585","1332143615","1332143618","1332143600","1332143587"],"photo_ids_order":["1332143585","1332143587","1332143600","1332143602","1332143615","1332143618"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8029a9f31b3280dad9162757784740b5.jpg","text":"TemporaryFile(/tmp/multipartBody957165700439312184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024593810,"filename":"image_28012025_01_23_54_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7030a780f7bd2ea273e98fb72362bc98.jpg","text":"TemporaryFile(/tmp/multipartBody3420824600990153227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024593810,"filename":"image_28012025_01_23_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/1/28/c8ff2eed1555f5797cbbebebc7a25c41.jpg","text":"TemporaryFile(/tmp/multipartBody8430753326434347221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024593810,"filename":"image_28012025_01_24_05_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a9b90a86ae4dff3f6b14712398c96106.jpg","text":"TemporaryFile(/tmp/multipartBody1748709623860326701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024593810,"filename":"image_28012025_01_24_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/1/28/75a8cbf1a6fc76c259a0a0d41272a6b4.jpg","text":"TemporaryFile(/tmp/multipartBody34561159933079880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024593810,"filename":"image_28012025_01_23_44_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/18886018293ca782f815fe767af168ef.jpg","text":"TemporaryFile(/tmp/multipartBody4592008997166324957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024593810,"filename":"image_28012025_01_23_35_10758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332143600","file1":"1332143587","file0":"1332143585","file4":"1332143615","file5":"1332143618","file3":"1332143602"},"map_files_photo_id_array":[{"photo_id":"1332143618","filename":"file5"},{"photo_id":"1332143600","filename":"file2"},{"photo_id":"1332143615","filename":"file4"},{"photo_id":"1332143587","filename":"file1"},{"photo_id":"1332143585","filename":"file0"},{"photo_id":"1332143602","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332143602":["hashtag1","hashtag2"]},{"1332143585":["hashtag1","hashtag2"]},{"1332143615":["hashtag1","hashtag2"]},{"1332143618":["hashtag1","hashtag2"]},{"1332143600":["hashtag1","hashtag2"]},{"1332143587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332143602, 1332143585, 1332143615, 1332143618, 1332143600, 1332143587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.84838390350342 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:36:32.188145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/24/image_28012025_01_24_25_10355.jpg', '/home/pi/Desktop/images/28012025/01/24/image_28012025_01_24_34_9362.jpg', '/home/pi/Desktop/images/28012025/01/24/image_28012025_01_24_44_10488.jpg', '/home/pi/Desktop/images/28012025/01/24/image_28012025_01_24_55_10353.jpg', '/home/pi/Desktop/images/28012025/01/24/image_28012025_01_25_04_9355.jpg', '/home/pi/Desktop/images/28012025/01/25/image_28012025_01_25_15_10441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/24/image_28012025_01_24_25_10355.jpg
/home/pi/Desktop/images/28012025/01/24/image_28012025_01_24_34_9362.jpg
/home/pi/Desktop/images/28012025/01/24/image_28012025_01_24_44_10488.jpg
/home/pi/Desktop/images/28012025/01/24/image_28012025_01_24_55_10353.jpg
/home/pi/Desktop/images/28012025/01/24/image_28012025_01_25_04_9355.jpg
/home/pi/Desktop/images/28012025/01/25/image_28012025_01_25_15_10441.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5304415225982666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 01:36:42.181330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/24/image_28012025_01_24_25_10355.jpg', '/home/pi/Desktop/images/28012025/01/24/image_28012025_01_24_34_9362.jpg', '/home/pi/Desktop/images/28012025/01/24/image_28012025_01_24_44_10488.jpg', '/home/pi/Desktop/images/28012025/01/24/image_28012025_01_24_55_10353.jpg', '/home/pi/Desktop/images/28012025/01/24/image_28012025_01_25_04_9355.jpg', '/home/pi/Desktop/images/28012025/01/25/image_28012025_01_25_15_10441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/24/image_28012025_01_24_25_10355.jpg
/home/pi/Desktop/images/28012025/01/24/image_28012025_01_24_34_9362.jpg
/home/pi/Desktop/images/28012025/01/24/image_28012025_01_24_44_10488.jpg
/home/pi/Desktop/images/28012025/01/24/image_28012025_01_24_55_10353.jpg
/home/pi/Desktop/images/28012025/01/24/image_28012025_01_25_04_9355.jpg
/home/pi/Desktop/images/28012025/01/25/image_28012025_01_25_15_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332143725","1332143668","1332143682","1332143672","1332143729","1332143723"],"photo_ids_order":["1332143668","1332143672","1332143682","1332143723","1332143725","1332143729"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a36f9a48f94fbf0625101ab188a37eae.jpg","text":"TemporaryFile(/tmp/multipartBody4527928064060642236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024663106,"filename":"image_28012025_01_25_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/1/28/03442254c94d376cd30f9ad47a3653bd.jpg","text":"TemporaryFile(/tmp/multipartBody3424659574900873457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024663106,"filename":"image_28012025_01_24_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/1/28/db6d4abf851672cc8da826c87841e168.jpg","text":"TemporaryFile(/tmp/multipartBody4457088601249020566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024663106,"filename":"image_28012025_01_24_44_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f068e9db387b43cd91cb9313b9d40297.jpg","text":"TemporaryFile(/tmp/multipartBody7460112226370452290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024663106,"filename":"image_28012025_01_24_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/1/28/58a9b42917bd9b5dd86b74f681bd48dd.jpg","text":"TemporaryFile(/tmp/multipartBody5217450308817491193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024663106,"filename":"image_28012025_01_25_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/1/28/9b4c0da4ed5b0f52fbd02d41127e1772.jpg","text":"TemporaryFile(/tmp/multipartBody6887287523469619887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024663106,"filename":"image_28012025_01_24_55_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332143682","file1":"1332143672","file0":"1332143668","file4":"1332143725","file5":"1332143729","file3":"1332143723"},"map_files_photo_id_array":[{"photo_id":"1332143729","filename":"file5"},{"photo_id":"1332143682","filename":"file2"},{"photo_id":"1332143725","filename":"file4"},{"photo_id":"1332143672","filename":"file1"},{"photo_id":"1332143668","filename":"file0"},{"photo_id":"1332143723","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332143725":["hashtag1","hashtag2"]},{"1332143668":["hashtag1","hashtag2"]},{"1332143682":["hashtag1","hashtag2"]},{"1332143672":["hashtag1","hashtag2"]},{"1332143729":["hashtag1","hashtag2"]},{"1332143723":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332143725, 1332143668, 1332143682, 1332143672, 1332143729, 1332143723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.66672921180725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:37:32.442138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/25/image_28012025_01_25_25_10353.jpg', '/home/pi/Desktop/images/28012025/01/25/image_28012025_01_25_34_9490.jpg', '/home/pi/Desktop/images/28012025/01/25/image_28012025_01_25_45_10334.jpg', '/home/pi/Desktop/images/28012025/01/25/image_28012025_01_25_54_9404.jpg', '/home/pi/Desktop/images/28012025/01/25/image_28012025_01_26_04_10350.jpg', '/home/pi/Desktop/images/28012025/01/26/image_28012025_01_26_15_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/25/image_28012025_01_25_25_10353.jpg
/home/pi/Desktop/images/28012025/01/25/image_28012025_01_25_34_9490.jpg
/home/pi/Desktop/images/28012025/01/25/image_28012025_01_25_45_10334.jpg
/home/pi/Desktop/images/28012025/01/25/image_28012025_01_25_54_9404.jpg
/home/pi/Desktop/images/28012025/01/25/image_28012025_01_26_04_10350.jpg
/home/pi/Desktop/images/28012025/01/26/image_28012025_01_26_15_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":["1332143748","1332143778","1332143745","1332143750","1332143741","1332143743"],"photo_ids_order":["1332143741","1332143743","1332143745","1332143748","1332143750","1332143778"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0ff5e9c6750195b71c771a8552d8b029.jpg","text":"TemporaryFile(/tmp/multipartBody6890902190175269218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024713351,"filename":"image_28012025_01_25_54_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d100b55c4d1e1ea7a9ff1246db0df692.jpg","text":"TemporaryFile(/tmp/multipartBody3179283607447606371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024713351,"filename":"image_28012025_01_26_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/1/28/892353bb46870348cb7f20f2390d95bf.jpg","text":"TemporaryFile(/tmp/multipartBody6453814132761092674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024713351,"filename":"image_28012025_01_25_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/1/28/7277969b5a37c664529f3b46c7c2bbcf.jpg","text":"TemporaryFile(/tmp/multipartBody2101525637344828202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024713351,"filename":"image_28012025_01_26_04_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c875aa262cc6febff2bd66b6b32a43c9.jpg","text":"TemporaryFile(/tmp/multipartBody6276189356610516427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024713351,"filename":"image_28012025_01_25_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/1/28/f643cb4ab94109477fab561ca090cf2e.jpg","text":"TemporaryFile(/tmp/multipartBody7885030467992024582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024713351,"filename":"image_28012025_01_25_34_9490.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332143745","file1":"1332143743","file0":"1332143741","file4":"1332143750","file5":"1332143778","file3":"1332143748"},"map_files_photo_id_array":[{"photo_id":"1332143778","filename":"file5"},{"photo_id":"1332143745","filename":"file2"},{"photo_id":"1332143750","filename":"file4"},{"photo_id":"1332143743","filename":"file1"},{"photo_id":"1332143741","filename":"file0"},{"photo_id":"1332143748","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332143748":["hashtag1","hashtag2"]},{"1332143778":["hashtag1","hashtag2"]},{"1332143745":["hashtag1","hashtag2"]},{"1332143750":["hashtag1","hashtag2"]},{"1332143741":["hashtag1","hashtag2"]},{"1332143743":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332143748, 1332143778, 1332143745, 1332143750, 1332143741, 1332143743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.305503368377686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:38:32.657159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/26/image_28012025_01_26_24_9321.jpg', '/home/pi/Desktop/images/28012025/01/26/image_28012025_01_26_35_10382.jpg', '/home/pi/Desktop/images/28012025/01/26/image_28012025_01_26_45_10397.jpg', '/home/pi/Desktop/images/28012025/01/26/image_28012025_01_26_54_9425.jpg', '/home/pi/Desktop/images/28012025/01/26/image_28012025_01_27_05_10342.jpg', '/home/pi/Desktop/images/28012025/01/27/image_28012025_01_27_14_9381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/26/image_28012025_01_26_24_9321.jpg
/home/pi/Desktop/images/28012025/01/26/image_28012025_01_26_35_10382.jpg
/home/pi/Desktop/images/28012025/01/26/image_28012025_01_26_45_10397.jpg
/home/pi/Desktop/images/28012025/01/26/image_28012025_01_26_54_9425.jpg
/home/pi/Desktop/images/28012025/01/26/image_28012025_01_27_05_10342.jpg
/home/pi/Desktop/images/28012025/01/27/image_28012025_01_27_14_9381.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5189812183380127 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 01:38:42.580700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/26/image_28012025_01_26_24_9321.jpg', '/home/pi/Desktop/images/28012025/01/26/image_28012025_01_26_35_10382.jpg', '/home/pi/Desktop/images/28012025/01/26/image_28012025_01_26_45_10397.jpg', '/home/pi/Desktop/images/28012025/01/26/image_28012025_01_26_54_9425.jpg', '/home/pi/Desktop/images/28012025/01/26/image_28012025_01_27_05_10342.jpg', '/home/pi/Desktop/images/28012025/01/27/image_28012025_01_27_14_9381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/26/image_28012025_01_26_24_9321.jpg
/home/pi/Desktop/images/28012025/01/26/image_28012025_01_26_35_10382.jpg
/home/pi/Desktop/images/28012025/01/26/image_28012025_01_26_45_10397.jpg
/home/pi/Desktop/images/28012025/01/26/image_28012025_01_26_54_9425.jpg
/home/pi/Desktop/images/28012025/01/26/image_28012025_01_27_05_10342.jpg
/home/pi/Desktop/images/28012025/01/27/image_28012025_01_27_14_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":["1332143871","1332143877","1332143879","1332143873","1332143893","1332143875"],"photo_ids_order":["1332143871","1332143873","1332143875","1332143877","1332143879","1332143893"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/24420f20a95d254f0a1393a0f18055fe.jpg","text":"TemporaryFile(/tmp/multipartBody3057180975737508628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024783490,"filename":"image_28012025_01_26_24_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/40603c58fe0d884ce2b67959519c38ba.jpg","text":"TemporaryFile(/tmp/multipartBody3972207383082162065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024783490,"filename":"image_28012025_01_26_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/1/28/fab764a04688fc3f766a70062f748bfc.jpg","text":"TemporaryFile(/tmp/multipartBody4885122678032219613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024783490,"filename":"image_28012025_01_27_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/1/28/2e7bb3f34c50a801440392884e6780ad.jpg","text":"TemporaryFile(/tmp/multipartBody6785659025608797068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024783490,"filename":"image_28012025_01_26_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/1/28/c609c742942ca541ac989419486166a8.jpg","text":"TemporaryFile(/tmp/multipartBody9042717844664509478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024783490,"filename":"image_28012025_01_27_14_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1f46c7b4781ba330c0ca130439665b4c.jpg","text":"TemporaryFile(/tmp/multipartBody4221565374702114658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024783490,"filename":"image_28012025_01_26_45_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332143875","file1":"1332143873","file0":"1332143871","file4":"1332143879","file5":"1332143893","file3":"1332143877"},"map_files_photo_id_array":[{"photo_id":"1332143893","filename":"file5"},{"photo_id":"1332143875","filename":"file2"},{"photo_id":"1332143879","filename":"file4"},{"photo_id":"1332143873","filename":"file1"},{"photo_id":"1332143871","filename":"file0"},{"photo_id":"1332143877","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332143871":["hashtag1","hashtag2"]},{"1332143877":["hashtag1","hashtag2"]},{"1332143879":["hashtag1","hashtag2"]},{"1332143873":["hashtag1","hashtag2"]},{"1332143893":["hashtag1","hashtag2"]},{"1332143875":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332143871, 1332143877, 1332143879, 1332143873, 1332143893, 1332143875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.108092069625854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:39:32.841591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/27/image_28012025_01_27_24_10417.jpg', '/home/pi/Desktop/images/28012025/01/27/image_28012025_01_27_35_10431.jpg', '/home/pi/Desktop/images/28012025/01/27/image_28012025_01_27_44_9446.jpg', '/home/pi/Desktop/images/28012025/01/27/image_28012025_01_27_55_10357.jpg', '/home/pi/Desktop/images/28012025/01/27/image_28012025_01_28_04_9348.jpg', '/home/pi/Desktop/images/28012025/01/28/image_28012025_01_28_14_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/27/image_28012025_01_27_24_10417.jpg
/home/pi/Desktop/images/28012025/01/27/image_28012025_01_27_35_10431.jpg
/home/pi/Desktop/images/28012025/01/27/image_28012025_01_27_44_9446.jpg
/home/pi/Desktop/images/28012025/01/27/image_28012025_01_27_55_10357.jpg
/home/pi/Desktop/images/28012025/01/27/image_28012025_01_28_04_9348.jpg
/home/pi/Desktop/images/28012025/01/28/image_28012025_01_28_14_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":["1332144027","1332143991","1332144020","1332144023","1332144005","1332144025"],"photo_ids_order":["1332143991","1332144005","1332144020","1332144023","1332144025","1332144027"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b910405310d455540eebab3fac91cd2a.jpg","text":"TemporaryFile(/tmp/multipartBody3773852951645618551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024833762,"filename":"image_28012025_01_28_14_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f0ae9e04dba279d340cb535054e27cd2.jpg","text":"TemporaryFile(/tmp/multipartBody3132674828309161125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024833762,"filename":"image_28012025_01_27_24_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4eaa91098b21ae44225b2a9f4d7bdfd4.jpg","text":"TemporaryFile(/tmp/multipartBody4110173281357272684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024833762,"filename":"image_28012025_01_27_44_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/611f2511b6805dc55d2cc035dc500228.jpg","text":"TemporaryFile(/tmp/multipartBody8428335232713036689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024833762,"filename":"image_28012025_01_27_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/1/28/aedaf1196c62e6d0fdb4a73501b56b2f.jpg","text":"TemporaryFile(/tmp/multipartBody6307717813585603438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024833762,"filename":"image_28012025_01_27_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/1/28/9280c5ab3cedc2d233039c6787e75ee1.jpg","text":"TemporaryFile(/tmp/multipartBody6071440741746251407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024833762,"filename":"image_28012025_01_28_04_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332144020","file1":"1332144005","file0":"1332143991","file4":"1332144025","file5":"1332144027","file3":"1332144023"},"map_files_photo_id_array":[{"photo_id":"1332144027","filename":"file5"},{"photo_id":"1332144020","filename":"file2"},{"photo_id":"1332144025","filename":"file4"},{"photo_id":"1332144005","filename":"file1"},{"photo_id":"1332143991","filename":"file0"},{"photo_id":"1332144023","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332144027":["hashtag1","hashtag2"]},{"1332143991":["hashtag1","hashtag2"]},{"1332144020":["hashtag1","hashtag2"]},{"1332144023":["hashtag1","hashtag2"]},{"1332144005":["hashtag1","hashtag2"]},{"1332144025":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332144027, 1332143991, 1332144020, 1332144023, 1332144005, 1332144025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35736131668091 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:40:33.105787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/28/image_28012025_01_28_25_10353.jpg', '/home/pi/Desktop/images/28012025/01/28/image_28012025_01_28_34_9401.jpg', '/home/pi/Desktop/images/28012025/01/28/image_28012025_01_28_45_10345.jpg', '/home/pi/Desktop/images/28012025/01/28/image_28012025_01_28_55_10386.jpg', '/home/pi/Desktop/images/28012025/01/28/image_28012025_01_29_04_9491.jpg', '/home/pi/Desktop/images/28012025/01/29/image_28012025_01_29_15_10446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/28/image_28012025_01_28_25_10353.jpg
/home/pi/Desktop/images/28012025/01/28/image_28012025_01_28_34_9401.jpg
/home/pi/Desktop/images/28012025/01/28/image_28012025_01_28_45_10345.jpg
/home/pi/Desktop/images/28012025/01/28/image_28012025_01_28_55_10386.jpg
/home/pi/Desktop/images/28012025/01/28/image_28012025_01_29_04_9491.jpg
/home/pi/Desktop/images/28012025/01/29/image_28012025_01_29_15_10446.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5250117778778076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 01:40:42.993292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/28/image_28012025_01_28_25_10353.jpg', '/home/pi/Desktop/images/28012025/01/28/image_28012025_01_28_34_9401.jpg', '/home/pi/Desktop/images/28012025/01/28/image_28012025_01_28_45_10345.jpg', '/home/pi/Desktop/images/28012025/01/28/image_28012025_01_28_55_10386.jpg', '/home/pi/Desktop/images/28012025/01/28/image_28012025_01_29_04_9491.jpg', '/home/pi/Desktop/images/28012025/01/29/image_28012025_01_29_15_10446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/28/image_28012025_01_28_25_10353.jpg
/home/pi/Desktop/images/28012025/01/28/image_28012025_01_28_34_9401.jpg
/home/pi/Desktop/images/28012025/01/28/image_28012025_01_28_45_10345.jpg
/home/pi/Desktop/images/28012025/01/28/image_28012025_01_28_55_10386.jpg
/home/pi/Desktop/images/28012025/01/28/image_28012025_01_29_04_9491.jpg
/home/pi/Desktop/images/28012025/01/29/image_28012025_01_29_15_10446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332145236","1332145184","1332145232","1332145034","1332145226","1332145228"],"photo_ids_order":["1332145034","1332145184","1332145226","1332145228","1332145232","1332145236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/10b4d8da13a1f2c8a145ea49c404b8bd.jpg","text":"TemporaryFile(/tmp/multipartBody2739735073676115500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024903908,"filename":"image_28012025_01_29_15_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/431fca5bd61f0a7472f50cabedb01cee.jpg","text":"TemporaryFile(/tmp/multipartBody3120171623471712916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024903908,"filename":"image_28012025_01_28_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/1/28/10163eae298ad7847e9c90b6930fc729.jpg","text":"TemporaryFile(/tmp/multipartBody2055148373082396459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024903908,"filename":"image_28012025_01_29_04_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2ca002ebac06d74816a3ad60be9f6f4e.jpg","text":"TemporaryFile(/tmp/multipartBody2884715050288734377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024903908,"filename":"image_28012025_01_28_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/1/28/61beecc2b4091a127a6eaf70c33f64c3.jpg","text":"TemporaryFile(/tmp/multipartBody4393045955389661133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024903908,"filename":"image_28012025_01_28_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/1/28/4afdd6b0d0a608d28ef13969ff60d4c2.jpg","text":"TemporaryFile(/tmp/multipartBody2496185213116461765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024903908,"filename":"image_28012025_01_28_55_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332145226","file1":"1332145184","file0":"1332145034","file4":"1332145232","file5":"1332145236","file3":"1332145228"},"map_files_photo_id_array":[{"photo_id":"1332145236","filename":"file5"},{"photo_id":"1332145226","filename":"file2"},{"photo_id":"1332145232","filename":"file4"},{"photo_id":"1332145184","filename":"file1"},{"photo_id":"1332145034","filename":"file0"},{"photo_id":"1332145228","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332145236":["hashtag1","hashtag2"]},{"1332145184":["hashtag1","hashtag2"]},{"1332145232":["hashtag1","hashtag2"]},{"1332145034":["hashtag1","hashtag2"]},{"1332145226":["hashtag1","hashtag2"]},{"1332145228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332145236, 1332145184, 1332145232, 1332145034, 1332145226, 1332145228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.011712312698364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:41:32.312673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/29/image_28012025_01_29_24_9335.jpg', '/home/pi/Desktop/images/28012025/01/29/image_28012025_01_29_35_10339.jpg', '/home/pi/Desktop/images/28012025/01/29/image_28012025_01_29_45_10399.jpg', '/home/pi/Desktop/images/28012025/01/29/image_28012025_01_29_54_9391.jpg', '/home/pi/Desktop/images/28012025/01/29/image_28012025_01_30_05_10364.jpg', '/home/pi/Desktop/images/28012025/01/30/image_28012025_01_30_14_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/29/image_28012025_01_29_24_9335.jpg
/home/pi/Desktop/images/28012025/01/29/image_28012025_01_29_35_10339.jpg
/home/pi/Desktop/images/28012025/01/29/image_28012025_01_29_45_10399.jpg
/home/pi/Desktop/images/28012025/01/29/image_28012025_01_29_54_9391.jpg
/home/pi/Desktop/images/28012025/01/29/image_28012025_01_30_05_10364.jpg
/home/pi/Desktop/images/28012025/01/30/image_28012025_01_30_14_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332145527","1332145250","1332145253","1332145366","1332145246","1332145248"],"photo_ids_order":["1332145246","1332145248","1332145250","1332145253","1332145366","1332145527"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ac907ec6649124696d12c3c1f87a3f8f.jpg","text":"TemporaryFile(/tmp/multipartBody6402123049440026337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024953223,"filename":"image_28012025_01_30_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/1/28/4f4a1ff60fdea2f94c824f05e264b34a.jpg","text":"TemporaryFile(/tmp/multipartBody5861937290443535281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024953223,"filename":"image_28012025_01_29_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/1/28/f87a975a93b7b79f2466bc197ed28d92.jpg","text":"TemporaryFile(/tmp/multipartBody5316958510190468012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024953223,"filename":"image_28012025_01_29_54_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3cb5de8b87c81e04eb20176a54860c42.jpg","text":"TemporaryFile(/tmp/multipartBody8106064782729659973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024953223,"filename":"image_28012025_01_30_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/1/28/ededebccec118173c6781df11a8973ea.jpg","text":"TemporaryFile(/tmp/multipartBody2385603493715243342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024953223,"filename":"image_28012025_01_29_24_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/25175938638533cb088fae3e47a20558.jpg","text":"TemporaryFile(/tmp/multipartBody879858537211913684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738024953223,"filename":"image_28012025_01_29_35_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332145250","file1":"1332145248","file0":"1332145246","file4":"1332145366","file5":"1332145527","file3":"1332145253"},"map_files_photo_id_array":[{"photo_id":"1332145527","filename":"file5"},{"photo_id":"1332145250","filename":"file2"},{"photo_id":"1332145366","filename":"file4"},{"photo_id":"1332145248","filename":"file1"},{"photo_id":"1332145246","filename":"file0"},{"photo_id":"1332145253","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332145527":["hashtag1","hashtag2"]},{"1332145250":["hashtag1","hashtag2"]},{"1332145253":["hashtag1","hashtag2"]},{"1332145366":["hashtag1","hashtag2"]},{"1332145246":["hashtag1","hashtag2"]},{"1332145248":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332145527, 1332145250, 1332145253, 1332145366, 1332145246, 1332145248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.339616537094116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:42:32.562930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/30/image_28012025_01_30_24_10382.jpg', '/home/pi/Desktop/images/28012025/01/30/image_28012025_01_30_35_10340.jpg', '/home/pi/Desktop/images/28012025/01/30/image_28012025_01_30_44_9425.jpg', '/home/pi/Desktop/images/28012025/01/30/image_28012025_01_30_55_10352.jpg', '/home/pi/Desktop/images/28012025/01/30/image_28012025_01_31_05_10333.jpg', '/home/pi/Desktop/images/28012025/01/31/image_28012025_01_31_14_9456.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/30/image_28012025_01_30_24_10382.jpg
/home/pi/Desktop/images/28012025/01/30/image_28012025_01_30_35_10340.jpg
/home/pi/Desktop/images/28012025/01/30/image_28012025_01_30_44_9425.jpg
/home/pi/Desktop/images/28012025/01/30/image_28012025_01_30_55_10352.jpg
/home/pi/Desktop/images/28012025/01/30/image_28012025_01_31_05_10333.jpg
/home/pi/Desktop/images/28012025/01/31/image_28012025_01_31_14_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":["1332145725","1332145647","1332145604","1332145601","1332145618","1332145606"],"photo_ids_order":["1332145601","1332145604","1332145606","1332145618","1332145647","1332145725"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/685dd84fbeade23e7a21e65f40d1bd61.jpg","text":"TemporaryFile(/tmp/multipartBody2378659535268214798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025013472,"filename":"image_28012025_01_31_14_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/386b5fce5eb960cc94cc4d6416ba54c1.jpg","text":"TemporaryFile(/tmp/multipartBody4830553919281510681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025013472,"filename":"image_28012025_01_31_05_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/29201ed088a2058edbde2d6ff7ee6f85.jpg","text":"TemporaryFile(/tmp/multipartBody1088012103584257123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025013472,"filename":"image_28012025_01_30_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/1/28/dca032dfe4478df169616a451072e745.jpg","text":"TemporaryFile(/tmp/multipartBody1402133710149220169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025013472,"filename":"image_28012025_01_30_24_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/66bfd01f7a12cbf7cf6e09a6076af46d.jpg","text":"TemporaryFile(/tmp/multipartBody7953657091933694386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025013472,"filename":"image_28012025_01_30_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/1/28/7deb6542e01234fde8df7a662f4a0bc7.jpg","text":"TemporaryFile(/tmp/multipartBody6014149843938851815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025013472,"filename":"image_28012025_01_30_44_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332145606","file1":"1332145604","file0":"1332145601","file4":"1332145647","file5":"1332145725","file3":"1332145618"},"map_files_photo_id_array":[{"photo_id":"1332145725","filename":"file5"},{"photo_id":"1332145606","filename":"file2"},{"photo_id":"1332145647","filename":"file4"},{"photo_id":"1332145604","filename":"file1"},{"photo_id":"1332145601","filename":"file0"},{"photo_id":"1332145618","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332145725":["hashtag1","hashtag2"]},{"1332145647":["hashtag1","hashtag2"]},{"1332145604":["hashtag1","hashtag2"]},{"1332145601":["hashtag1","hashtag2"]},{"1332145618":["hashtag1","hashtag2"]},{"1332145606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332145725, 1332145647, 1332145604, 1332145601, 1332145618, 1332145606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.52587270736694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:43:32.785470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/31/image_28012025_01_31_25_10412.jpg', '/home/pi/Desktop/images/28012025/01/31/image_28012025_01_31_34_9384.jpg', '/home/pi/Desktop/images/28012025/01/31/image_28012025_01_31_45_10413.jpg', '/home/pi/Desktop/images/28012025/01/31/image_28012025_01_31_55_10338.jpg', '/home/pi/Desktop/images/28012025/01/31/image_28012025_01_32_04_9336.jpg', '/home/pi/Desktop/images/28012025/01/32/image_28012025_01_32_15_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/31/image_28012025_01_31_25_10412.jpg
/home/pi/Desktop/images/28012025/01/31/image_28012025_01_31_34_9384.jpg
/home/pi/Desktop/images/28012025/01/31/image_28012025_01_31_45_10413.jpg
/home/pi/Desktop/images/28012025/01/31/image_28012025_01_31_55_10338.jpg
/home/pi/Desktop/images/28012025/01/31/image_28012025_01_32_04_9336.jpg
/home/pi/Desktop/images/28012025/01/32/image_28012025_01_32_15_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":["1332146180","1332146106","1332145923","1332145964","1332145961","1332146173"],"photo_ids_order":["1332145923","1332145961","1332145964","1332146106","1332146173","1332146180"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a58b59600f2776090160cffa9933a680.jpg","text":"TemporaryFile(/tmp/multipartBody6891539522863131540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025073698,"filename":"image_28012025_01_32_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/1/28/dfaddc2e500246c93dec7dde2b7db9ab.jpg","text":"TemporaryFile(/tmp/multipartBody5786803301492729594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025073698,"filename":"image_28012025_01_31_55_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bc1121516e67b0ba7d54e198a1e9cdbb.jpg","text":"TemporaryFile(/tmp/multipartBody5396371284859351019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025073698,"filename":"image_28012025_01_31_25_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/176813d46e1919b96f1d52e570bedcc4.jpg","text":"TemporaryFile(/tmp/multipartBody5369707400858448202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025073698,"filename":"image_28012025_01_31_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/1/28/2909aef5dbe1fce84e14dca1be58331e.jpg","text":"TemporaryFile(/tmp/multipartBody5629502932624553231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025073698,"filename":"image_28012025_01_31_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/1/28/60aa5c276d973087efdf1dfd4c9066b8.jpg","text":"TemporaryFile(/tmp/multipartBody3963702721740482608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025073698,"filename":"image_28012025_01_32_04_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332145964","file1":"1332145961","file0":"1332145923","file4":"1332146173","file5":"1332146180","file3":"1332146106"},"map_files_photo_id_array":[{"photo_id":"1332146180","filename":"file5"},{"photo_id":"1332145964","filename":"file2"},{"photo_id":"1332146173","filename":"file4"},{"photo_id":"1332145961","filename":"file1"},{"photo_id":"1332145923","filename":"file0"},{"photo_id":"1332146106","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332146180":["hashtag1","hashtag2"]},{"1332146106":["hashtag1","hashtag2"]},{"1332145923":["hashtag1","hashtag2"]},{"1332145964":["hashtag1","hashtag2"]},{"1332145961":["hashtag1","hashtag2"]},{"1332146173":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332146180, 1332146106, 1332145923, 1332145964, 1332145961, 1332146173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.516972064971924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:44:33.052118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/32/image_28012025_01_32_24_9406.jpg', '/home/pi/Desktop/images/28012025/01/32/image_28012025_01_32_34_10489.jpg', '/home/pi/Desktop/images/28012025/01/32/image_28012025_01_32_45_10361.jpg', '/home/pi/Desktop/images/28012025/01/32/image_28012025_01_32_54_9382.jpg', '/home/pi/Desktop/images/28012025/01/32/image_28012025_01_33_05_10351.jpg', '/home/pi/Desktop/images/28012025/01/33/image_28012025_01_33_15_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/32/image_28012025_01_32_24_9406.jpg
/home/pi/Desktop/images/28012025/01/32/image_28012025_01_32_34_10489.jpg
/home/pi/Desktop/images/28012025/01/32/image_28012025_01_32_45_10361.jpg
/home/pi/Desktop/images/28012025/01/32/image_28012025_01_32_54_9382.jpg
/home/pi/Desktop/images/28012025/01/32/image_28012025_01_33_05_10351.jpg
/home/pi/Desktop/images/28012025/01/33/image_28012025_01_33_15_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":["1332146198","1332146243","1332146188","1332146196","1332146190","1332146193"],"photo_ids_order":["1332146188","1332146190","1332146193","1332146196","1332146198","1332146243"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6faa8a6006760e0d4a8754e4b98f7518.jpg","text":"TemporaryFile(/tmp/multipartBody2986861037879047887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025133970,"filename":"image_28012025_01_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/1/28/2afa4e75d1d3c27fbdb1efbb9b5b5098.jpg","text":"TemporaryFile(/tmp/multipartBody7807897675533097806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025133970,"filename":"image_28012025_01_33_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/1/28/996b148a593598ed1abe1f4d8e849237.jpg","text":"TemporaryFile(/tmp/multipartBody6458678904926575632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025133970,"filename":"image_28012025_01_32_24_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a399874ef96ae6d67a52323fb4240a95.jpg","text":"TemporaryFile(/tmp/multipartBody1280989140286337394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025133970,"filename":"image_28012025_01_32_54_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ab0529a9e9ecd2ca55a26bbd771db42e.jpg","text":"TemporaryFile(/tmp/multipartBody562212675374462016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025133970,"filename":"image_28012025_01_32_34_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f1ad32fb498ecd9b5ea3f230261e63c9.jpg","text":"TemporaryFile(/tmp/multipartBody518751919114992795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025133970,"filename":"image_28012025_01_32_45_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332146193","file1":"1332146190","file0":"1332146188","file4":"1332146198","file5":"1332146243","file3":"1332146196"},"map_files_photo_id_array":[{"photo_id":"1332146243","filename":"file5"},{"photo_id":"1332146193","filename":"file2"},{"photo_id":"1332146198","filename":"file4"},{"photo_id":"1332146190","filename":"file1"},{"photo_id":"1332146188","filename":"file0"},{"photo_id":"1332146196","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332146198":["hashtag1","hashtag2"]},{"1332146243":["hashtag1","hashtag2"]},{"1332146188":["hashtag1","hashtag2"]},{"1332146196":["hashtag1","hashtag2"]},{"1332146190":["hashtag1","hashtag2"]},{"1332146193":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332146198, 1332146243, 1332146188, 1332146196, 1332146190, 1332146193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.57179808616638 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:45:32.173354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/33/image_28012025_01_33_24_9370.jpg', '/home/pi/Desktop/images/28012025/01/33/image_28012025_01_33_35_10391.jpg', '/home/pi/Desktop/images/28012025/01/33/image_28012025_01_33_44_9357.jpg', '/home/pi/Desktop/images/28012025/01/33/image_28012025_01_33_54_10404.jpg', '/home/pi/Desktop/images/28012025/01/33/image_28012025_01_34_05_10338.jpg', '/home/pi/Desktop/images/28012025/01/34/image_28012025_01_34_14_9419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/33/image_28012025_01_33_24_9370.jpg
/home/pi/Desktop/images/28012025/01/33/image_28012025_01_33_35_10391.jpg
/home/pi/Desktop/images/28012025/01/33/image_28012025_01_33_44_9357.jpg
/home/pi/Desktop/images/28012025/01/33/image_28012025_01_33_54_10404.jpg
/home/pi/Desktop/images/28012025/01/33/image_28012025_01_34_05_10338.jpg
/home/pi/Desktop/images/28012025/01/34/image_28012025_01_34_14_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":["1332147302","1332146990","1332146807","1332146720","1332147261","1332147321"],"photo_ids_order":["1332146720","1332146807","1332146990","1332147261","1332147302","1332147321"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7a753fd0ea0886cf4e761458d4e45a21.jpg","text":"TemporaryFile(/tmp/multipartBody7433923917008068801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025193091,"filename":"image_28012025_01_34_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/1/28/e5ebfb294c053cb78d162f28988595e6.jpg","text":"TemporaryFile(/tmp/multipartBody1631476476292972199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025193091,"filename":"image_28012025_01_33_44_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d97edb55fe04abc02b31a8a6bddc8fa5.jpg","text":"TemporaryFile(/tmp/multipartBody4000524525044837698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025193091,"filename":"image_28012025_01_33_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/1/28/04d60f79ea9b7ab7e5713dc3a6f023d7.jpg","text":"TemporaryFile(/tmp/multipartBody6542160757985611804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025193091,"filename":"image_28012025_01_33_24_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c5d6b093cab2ae8a752c20482aa04136.jpg","text":"TemporaryFile(/tmp/multipartBody2554298629801343410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025193091,"filename":"image_28012025_01_33_54_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bfae54824a5a57954bb726cb25703874.jpg","text":"TemporaryFile(/tmp/multipartBody8404196236446698368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025193091,"filename":"image_28012025_01_34_14_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332146990","file1":"1332146807","file0":"1332146720","file4":"1332147302","file5":"1332147321","file3":"1332147261"},"map_files_photo_id_array":[{"photo_id":"1332147321","filename":"file5"},{"photo_id":"1332146990","filename":"file2"},{"photo_id":"1332147302","filename":"file4"},{"photo_id":"1332146807","filename":"file1"},{"photo_id":"1332146720","filename":"file0"},{"photo_id":"1332147261","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332147302":["hashtag1","hashtag2"]},{"1332146990":["hashtag1","hashtag2"]},{"1332146807":["hashtag1","hashtag2"]},{"1332146720":["hashtag1","hashtag2"]},{"1332147261":["hashtag1","hashtag2"]},{"1332147321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332147302, 1332146990, 1332146807, 1332146720, 1332147261, 1332147321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.82960915565491 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:46:32.539962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/34/image_28012025_01_34_25_10381.jpg', '/home/pi/Desktop/images/28012025/01/34/image_28012025_01_34_35_10352.jpg', '/home/pi/Desktop/images/28012025/01/34/image_28012025_01_34_44_9421.jpg', '/home/pi/Desktop/images/28012025/01/34/image_28012025_01_34_55_10342.jpg', '/home/pi/Desktop/images/28012025/01/34/image_28012025_01_35_04_9321.jpg', '/home/pi/Desktop/images/28012025/01/35/image_28012025_01_35_14_10460.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/34/image_28012025_01_34_25_10381.jpg
/home/pi/Desktop/images/28012025/01/34/image_28012025_01_34_35_10352.jpg
/home/pi/Desktop/images/28012025/01/34/image_28012025_01_34_44_9421.jpg
/home/pi/Desktop/images/28012025/01/34/image_28012025_01_34_55_10342.jpg
/home/pi/Desktop/images/28012025/01/34/image_28012025_01_35_04_9321.jpg
/home/pi/Desktop/images/28012025/01/35/image_28012025_01_35_14_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":["1332147434","1332147388","1332147544","1332147436","1332147465","1332147386"],"photo_ids_order":["1332147386","1332147388","1332147434","1332147436","1332147465","1332147544"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ac9993c4f651df71fc60c8722e01d078.jpg","text":"TemporaryFile(/tmp/multipartBody1450701353953696080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025253452,"filename":"image_28012025_01_34_44_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c24c9b493322d957ed94a03b9f273b80.jpg","text":"TemporaryFile(/tmp/multipartBody411092629170176966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025253452,"filename":"image_28012025_01_34_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5e628879810ad6e5a44664bfba9ae9c9.jpg","text":"TemporaryFile(/tmp/multipartBody1637181500275410023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025253452,"filename":"image_28012025_01_35_14_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/441c35565fdb6d33cf0d9eef3a201975.jpg","text":"TemporaryFile(/tmp/multipartBody4665899645957523831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025253452,"filename":"image_28012025_01_34_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/1/28/3caacfda000b1bcc739a9733e00aed9e.jpg","text":"TemporaryFile(/tmp/multipartBody4017571387217800641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025253452,"filename":"image_28012025_01_35_04_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1757af07e54fd83b9784181a6c28f6ba.jpg","text":"TemporaryFile(/tmp/multipartBody5512776197263728164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025253452,"filename":"image_28012025_01_34_25_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332147434","file1":"1332147388","file0":"1332147386","file4":"1332147465","file5":"1332147544","file3":"1332147436"},"map_files_photo_id_array":[{"photo_id":"1332147544","filename":"file5"},{"photo_id":"1332147434","filename":"file2"},{"photo_id":"1332147465","filename":"file4"},{"photo_id":"1332147388","filename":"file1"},{"photo_id":"1332147386","filename":"file0"},{"photo_id":"1332147436","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332147434":["hashtag1","hashtag2"]},{"1332147388":["hashtag1","hashtag2"]},{"1332147544":["hashtag1","hashtag2"]},{"1332147436":["hashtag1","hashtag2"]},{"1332147465":["hashtag1","hashtag2"]},{"1332147386":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332147434, 1332147388, 1332147544, 1332147436, 1332147465, 1332147386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75174379348755 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:47:32.745481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/35/image_28012025_01_35_25_10368.jpg', '/home/pi/Desktop/images/28012025/01/35/image_28012025_01_35_34_9353.jpg', '/home/pi/Desktop/images/28012025/01/35/image_28012025_01_35_45_10437.jpg', '/home/pi/Desktop/images/28012025/01/35/image_28012025_01_35_54_9333.jpg', '/home/pi/Desktop/images/28012025/01/35/image_28012025_01_36_04_10448.jpg', '/home/pi/Desktop/images/28012025/01/36/image_28012025_01_36_15_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/35/image_28012025_01_35_25_10368.jpg
/home/pi/Desktop/images/28012025/01/35/image_28012025_01_35_34_9353.jpg
/home/pi/Desktop/images/28012025/01/35/image_28012025_01_35_45_10437.jpg
/home/pi/Desktop/images/28012025/01/35/image_28012025_01_35_54_9333.jpg
/home/pi/Desktop/images/28012025/01/35/image_28012025_01_36_04_10448.jpg
/home/pi/Desktop/images/28012025/01/36/image_28012025_01_36_15_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":["1332147830","1332147833","1332147832","1332147990","1332147831","1332147915"],"photo_ids_order":["1332147830","1332147831","1332147832","1332147833","1332147915","1332147990"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4c89f95eb0a6fe42840ad89443027520.jpg","text":"TemporaryFile(/tmp/multipartBody2956129344267486416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025313655,"filename":"image_28012025_01_35_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/1/28/1adb08b684c522fc4e997af6918e2be9.jpg","text":"TemporaryFile(/tmp/multipartBody4702274003693003538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025313655,"filename":"image_28012025_01_35_54_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6d362d1946dbab906e188877fa2d3558.jpg","text":"TemporaryFile(/tmp/multipartBody3418858983678372529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025313655,"filename":"image_28012025_01_35_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/1/28/ac9f124db4c7913991b4c407c68e0d79.jpg","text":"TemporaryFile(/tmp/multipartBody6723265158465064580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025313655,"filename":"image_28012025_01_36_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/1/28/db51314d3dc945ad73372d341dc64703.jpg","text":"TemporaryFile(/tmp/multipartBody3763694857500360726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025313655,"filename":"image_28012025_01_35_34_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1cf59ca05bb25c3cc10de62398871fba.jpg","text":"TemporaryFile(/tmp/multipartBody441998333230015056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025313655,"filename":"image_28012025_01_36_04_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332147832","file1":"1332147831","file0":"1332147830","file4":"1332147915","file5":"1332147990","file3":"1332147833"},"map_files_photo_id_array":[{"photo_id":"1332147990","filename":"file5"},{"photo_id":"1332147832","filename":"file2"},{"photo_id":"1332147915","filename":"file4"},{"photo_id":"1332147831","filename":"file1"},{"photo_id":"1332147830","filename":"file0"},{"photo_id":"1332147833","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332147830":["hashtag1","hashtag2"]},{"1332147833":["hashtag1","hashtag2"]},{"1332147832":["hashtag1","hashtag2"]},{"1332147990":["hashtag1","hashtag2"]},{"1332147831":["hashtag1","hashtag2"]},{"1332147915":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332147830, 1332147833, 1332147832, 1332147990, 1332147831, 1332147915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.16447401046753 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:48:33.015059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/36/image_28012025_01_36_24_9419.jpg', '/home/pi/Desktop/images/28012025/01/36/image_28012025_01_36_35_10381.jpg', '/home/pi/Desktop/images/28012025/01/36/image_28012025_01_36_54_10423.jpg', '/home/pi/Desktop/images/28012025/01/36/image_28012025_01_37_05_10350.jpg', '/home/pi/Desktop/images/28012025/01/37/image_28012025_01_37_14_9394.jpg', '/home/pi/Desktop/images/28012025/01/37/image_28012025_01_37_25_10405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/36/image_28012025_01_36_24_9419.jpg
/home/pi/Desktop/images/28012025/01/36/image_28012025_01_36_35_10381.jpg
/home/pi/Desktop/images/28012025/01/36/image_28012025_01_36_54_10423.jpg
/home/pi/Desktop/images/28012025/01/36/image_28012025_01_37_05_10350.jpg
/home/pi/Desktop/images/28012025/01/37/image_28012025_01_37_14_9394.jpg
/home/pi/Desktop/images/28012025/01/37/image_28012025_01_37_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":["1332148048","1332148050","1332148044","1332148046","1332148040","1332148157"],"photo_ids_order":["1332148040","1332148044","1332148046","1332148048","1332148050","1332148157"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/535614fd535683e26bafaa8cd9a8f786.jpg","text":"TemporaryFile(/tmp/multipartBody5827849232352271075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025373934,"filename":"image_28012025_01_37_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/1/28/275554dbad594f8bedb3a981e881b17b.jpg","text":"TemporaryFile(/tmp/multipartBody2190685998908384005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025373934,"filename":"image_28012025_01_37_14_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/eca22507fe1de5c393169e6e05245afa.jpg","text":"TemporaryFile(/tmp/multipartBody2217448605713162462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025373934,"filename":"image_28012025_01_36_35_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/35da2654005ba3160ceecd82a7f853a7.jpg","text":"TemporaryFile(/tmp/multipartBody8319208010961065126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025373934,"filename":"image_28012025_01_36_54_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/59b06bc57e8db7ce776b565c77996081.jpg","text":"TemporaryFile(/tmp/multipartBody1589593545994875650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025373934,"filename":"image_28012025_01_36_24_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1ac8646cd8498a65e4424d952f28eddb.jpg","text":"TemporaryFile(/tmp/multipartBody1349280307853813979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025373934,"filename":"image_28012025_01_37_25_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332148046","file1":"1332148044","file0":"1332148040","file4":"1332148050","file5":"1332148157","file3":"1332148048"},"map_files_photo_id_array":[{"photo_id":"1332148157","filename":"file5"},{"photo_id":"1332148046","filename":"file2"},{"photo_id":"1332148050","filename":"file4"},{"photo_id":"1332148044","filename":"file1"},{"photo_id":"1332148040","filename":"file0"},{"photo_id":"1332148048","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332148048":["hashtag1","hashtag2"]},{"1332148050":["hashtag1","hashtag2"]},{"1332148044":["hashtag1","hashtag2"]},{"1332148046":["hashtag1","hashtag2"]},{"1332148040":["hashtag1","hashtag2"]},{"1332148157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332148048, 1332148050, 1332148044, 1332148046, 1332148040, 1332148157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.79320526123047 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:49:32.243910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/37/image_28012025_01_37_34_9350.jpg', '/home/pi/Desktop/images/28012025/01/37/image_28012025_01_37_44_10397.jpg', '/home/pi/Desktop/images/28012025/01/37/image_28012025_01_37_55_10385.jpg', '/home/pi/Desktop/images/28012025/01/37/image_28012025_01_38_04_9338.jpg', '/home/pi/Desktop/images/28012025/01/38/image_28012025_01_38_14_10377.jpg', '/home/pi/Desktop/images/28012025/01/38/image_28012025_01_38_25_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/37/image_28012025_01_37_34_9350.jpg
/home/pi/Desktop/images/28012025/01/37/image_28012025_01_37_44_10397.jpg
/home/pi/Desktop/images/28012025/01/37/image_28012025_01_37_55_10385.jpg
/home/pi/Desktop/images/28012025/01/37/image_28012025_01_38_04_9338.jpg
/home/pi/Desktop/images/28012025/01/38/image_28012025_01_38_14_10377.jpg
/home/pi/Desktop/images/28012025/01/38/image_28012025_01_38_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":["1332148403","1332148402","1332148405","1332148404","1332148407","1332148406"],"photo_ids_order":["1332148402","1332148403","1332148404","1332148405","1332148406","1332148407"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1890caabf200d996cf6132c87e8f2876.jpg","text":"TemporaryFile(/tmp/multipartBody6364409133119874499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025433160,"filename":"image_28012025_01_37_44_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1f171b75921f06beedd10316305c3306.jpg","text":"TemporaryFile(/tmp/multipartBody1020130605270628524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025433160,"filename":"image_28012025_01_37_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/1/28/1bd30fedf416eefc063fea320108c910.jpg","text":"TemporaryFile(/tmp/multipartBody802553849491734482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025433160,"filename":"image_28012025_01_38_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/1/28/4a25ed8ca4eba373840ace4a3ca2e230.jpg","text":"TemporaryFile(/tmp/multipartBody3510487672605735033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025433160,"filename":"image_28012025_01_37_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/1/28/0f7b6fdf0f1d56decc72708552ff4e2a.jpg","text":"TemporaryFile(/tmp/multipartBody7404830049065828744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025433160,"filename":"image_28012025_01_38_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/1/28/41378270d0ecdd9529368f68118137f7.jpg","text":"TemporaryFile(/tmp/multipartBody4013226952902589420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025433160,"filename":"image_28012025_01_38_14_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332148404","file1":"1332148403","file0":"1332148402","file4":"1332148406","file5":"1332148407","file3":"1332148405"},"map_files_photo_id_array":[{"photo_id":"1332148407","filename":"file5"},{"photo_id":"1332148404","filename":"file2"},{"photo_id":"1332148406","filename":"file4"},{"photo_id":"1332148403","filename":"file1"},{"photo_id":"1332148402","filename":"file0"},{"photo_id":"1332148405","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332148403":["hashtag1","hashtag2"]},{"1332148402":["hashtag1","hashtag2"]},{"1332148405":["hashtag1","hashtag2"]},{"1332148404":["hashtag1","hashtag2"]},{"1332148407":["hashtag1","hashtag2"]},{"1332148406":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332148403, 1332148402, 1332148405, 1332148404, 1332148407, 1332148406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.32404375076294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:50:32.512534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/38/image_28012025_01_38_34_9321.jpg', '/home/pi/Desktop/images/28012025/01/38/image_28012025_01_38_44_10354.jpg', '/home/pi/Desktop/images/28012025/01/38/image_28012025_01_38_55_10361.jpg', '/home/pi/Desktop/images/28012025/01/38/image_28012025_01_39_04_9332.jpg', '/home/pi/Desktop/images/28012025/01/39/image_28012025_01_39_15_10438.jpg', '/home/pi/Desktop/images/28012025/01/39/image_28012025_01_39_24_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/38/image_28012025_01_38_34_9321.jpg
/home/pi/Desktop/images/28012025/01/38/image_28012025_01_38_44_10354.jpg
/home/pi/Desktop/images/28012025/01/38/image_28012025_01_38_55_10361.jpg
/home/pi/Desktop/images/28012025/01/38/image_28012025_01_39_04_9332.jpg
/home/pi/Desktop/images/28012025/01/39/image_28012025_01_39_15_10438.jpg
/home/pi/Desktop/images/28012025/01/39/image_28012025_01_39_24_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332148471","1332148465","1332148438","1332148440","1332148472","1332148436"],"photo_ids_order":["1332148436","1332148438","1332148440","1332148465","1332148471","1332148472"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/41f445fb1fe40e0b75e623d5cfb324da.jpg","text":"TemporaryFile(/tmp/multipartBody1151307012638856951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025493433,"filename":"image_28012025_01_39_15_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dfec52722a8db30f0cbeb33058fb2d7a.jpg","text":"TemporaryFile(/tmp/multipartBody925616368896309625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025493433,"filename":"image_28012025_01_39_04_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/019211b150145d7e3fe7d23c5675ab8b.jpg","text":"TemporaryFile(/tmp/multipartBody8517042763756971381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025493433,"filename":"image_28012025_01_38_44_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a359efee7e87be5370c8251fc2e7b18a.jpg","text":"TemporaryFile(/tmp/multipartBody5678781476191824632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025493433,"filename":"image_28012025_01_38_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/1/28/3969e67ee1ff2f263afecbb8b038a770.jpg","text":"TemporaryFile(/tmp/multipartBody3342106869247878510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025493433,"filename":"image_28012025_01_39_24_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ea7e4deff4e76f93104c987c236299f7.jpg","text":"TemporaryFile(/tmp/multipartBody294114039890067567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025493433,"filename":"image_28012025_01_38_34_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332148440","file1":"1332148438","file0":"1332148436","file4":"1332148471","file5":"1332148472","file3":"1332148465"},"map_files_photo_id_array":[{"photo_id":"1332148472","filename":"file5"},{"photo_id":"1332148440","filename":"file2"},{"photo_id":"1332148471","filename":"file4"},{"photo_id":"1332148438","filename":"file1"},{"photo_id":"1332148436","filename":"file0"},{"photo_id":"1332148465","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332148471":["hashtag1","hashtag2"]},{"1332148465":["hashtag1","hashtag2"]},{"1332148438":["hashtag1","hashtag2"]},{"1332148440":["hashtag1","hashtag2"]},{"1332148472":["hashtag1","hashtag2"]},{"1332148436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332148471, 1332148465, 1332148438, 1332148440, 1332148472, 1332148436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29486393928528 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:51:32.603225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/39/image_28012025_01_39_34_10475.jpg', '/home/pi/Desktop/images/28012025/01/39/image_28012025_01_39_45_10349.jpg', '/home/pi/Desktop/images/28012025/01/39/image_28012025_01_39_54_9343.jpg', '/home/pi/Desktop/images/28012025/01/39/image_28012025_01_40_05_10440.jpg', '/home/pi/Desktop/images/28012025/01/40/image_28012025_01_40_15_10357.jpg', '/home/pi/Desktop/images/28012025/01/40/image_28012025_01_40_24_9402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/39/image_28012025_01_39_34_10475.jpg
/home/pi/Desktop/images/28012025/01/39/image_28012025_01_39_45_10349.jpg
/home/pi/Desktop/images/28012025/01/39/image_28012025_01_39_54_9343.jpg
/home/pi/Desktop/images/28012025/01/39/image_28012025_01_40_05_10440.jpg
/home/pi/Desktop/images/28012025/01/40/image_28012025_01_40_15_10357.jpg
/home/pi/Desktop/images/28012025/01/40/image_28012025_01_40_24_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":["1332148492","1332148495","1332148489","1332148497","1332148500","1332148499"],"photo_ids_order":["1332148489","1332148492","1332148495","1332148497","1332148499","1332148500"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c78b14f6d52366a294d15aa8c803f2e4.jpg","text":"TemporaryFile(/tmp/multipartBody6246668093232437853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025553515,"filename":"image_28012025_01_39_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/1/28/979e95441efb33699a605e5cc7596e28.jpg","text":"TemporaryFile(/tmp/multipartBody1353384342246883309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025553515,"filename":"image_28012025_01_39_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/1/28/2c1e4df6affbad59d912fe11850c4052.jpg","text":"TemporaryFile(/tmp/multipartBody7488134719373996607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025553515,"filename":"image_28012025_01_39_34_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a88a060c2dbd43b25f6853c36e5835d6.jpg","text":"TemporaryFile(/tmp/multipartBody6577355824512902784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025553515,"filename":"image_28012025_01_40_05_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f497337ce81be58519061ee64e188387.jpg","text":"TemporaryFile(/tmp/multipartBody2893356881270548294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025553515,"filename":"image_28012025_01_40_24_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/06f9ed733eb3fc44e73250c3f98f4f1f.jpg","text":"TemporaryFile(/tmp/multipartBody7801237261016944358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025553515,"filename":"image_28012025_01_40_15_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332148495","file1":"1332148492","file0":"1332148489","file4":"1332148499","file5":"1332148500","file3":"1332148497"},"map_files_photo_id_array":[{"photo_id":"1332148500","filename":"file5"},{"photo_id":"1332148495","filename":"file2"},{"photo_id":"1332148499","filename":"file4"},{"photo_id":"1332148492","filename":"file1"},{"photo_id":"1332148489","filename":"file0"},{"photo_id":"1332148497","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332148492":["hashtag1","hashtag2"]},{"1332148495":["hashtag1","hashtag2"]},{"1332148489":["hashtag1","hashtag2"]},{"1332148497":["hashtag1","hashtag2"]},{"1332148500":["hashtag1","hashtag2"]},{"1332148499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332148492, 1332148495, 1332148489, 1332148497, 1332148500, 1332148499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.95640277862549 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:52:32.949720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/40/image_28012025_01_40_35_10349.jpg', '/home/pi/Desktop/images/28012025/01/40/image_28012025_01_40_44_9360.jpg', '/home/pi/Desktop/images/28012025/01/40/image_28012025_01_40_54_10480.jpg', '/home/pi/Desktop/images/28012025/01/40/image_28012025_01_41_05_10345.jpg', '/home/pi/Desktop/images/28012025/01/41/image_28012025_01_41_14_9479.jpg', '/home/pi/Desktop/images/28012025/01/41/image_28012025_01_41_25_10412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/40/image_28012025_01_40_35_10349.jpg
/home/pi/Desktop/images/28012025/01/40/image_28012025_01_40_44_9360.jpg
/home/pi/Desktop/images/28012025/01/40/image_28012025_01_40_54_10480.jpg
/home/pi/Desktop/images/28012025/01/40/image_28012025_01_41_05_10345.jpg
/home/pi/Desktop/images/28012025/01/41/image_28012025_01_41_14_9479.jpg
/home/pi/Desktop/images/28012025/01/41/image_28012025_01_41_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":["1332148516","1332148519","1332148521","1332148524","1332148523","1332148514"],"photo_ids_order":["1332148514","1332148516","1332148519","1332148521","1332148523","1332148524"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5f5865ea3ca2bfd123b0d6dec64e7a3a.jpg","text":"TemporaryFile(/tmp/multipartBody3115156250453225624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025613870,"filename":"image_28012025_01_40_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/1/28/a4aa1997a0297f79f98ff3e4c125bde4.jpg","text":"TemporaryFile(/tmp/multipartBody9151388092582313411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025613870,"filename":"image_28012025_01_40_54_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/61251399ea1d6d4f6e26ad963d658f87.jpg","text":"TemporaryFile(/tmp/multipartBody4753706048940738236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025613870,"filename":"image_28012025_01_41_05_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/55c640306d4bf6f73431547ecadaea6e.jpg","text":"TemporaryFile(/tmp/multipartBody5838819857171094297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025613870,"filename":"image_28012025_01_41_25_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ea81cf6d81dfdce619583d7c7f9a97fa.jpg","text":"TemporaryFile(/tmp/multipartBody2697165843028146255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025613870,"filename":"image_28012025_01_41_14_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a5402f6d07d0be8f31f0523ab36de450.jpg","text":"TemporaryFile(/tmp/multipartBody1935776507970012124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025613870,"filename":"image_28012025_01_40_35_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332148519","file1":"1332148516","file0":"1332148514","file4":"1332148523","file5":"1332148524","file3":"1332148521"},"map_files_photo_id_array":[{"photo_id":"1332148524","filename":"file5"},{"photo_id":"1332148519","filename":"file2"},{"photo_id":"1332148523","filename":"file4"},{"photo_id":"1332148516","filename":"file1"},{"photo_id":"1332148514","filename":"file0"},{"photo_id":"1332148521","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332148516":["hashtag1","hashtag2"]},{"1332148519":["hashtag1","hashtag2"]},{"1332148521":["hashtag1","hashtag2"]},{"1332148524":["hashtag1","hashtag2"]},{"1332148523":["hashtag1","hashtag2"]},{"1332148514":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332148516, 1332148519, 1332148521, 1332148524, 1332148523, 1332148514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84306788444519 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:53:32.750381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/41/image_28012025_01_41_34_9342.jpg', '/home/pi/Desktop/images/28012025/01/41/image_28012025_01_41_44_10370.jpg', '/home/pi/Desktop/images/28012025/01/41/image_28012025_01_41_55_10428.jpg', '/home/pi/Desktop/images/28012025/01/41/image_28012025_01_42_04_9334.jpg', '/home/pi/Desktop/images/28012025/01/42/image_28012025_01_42_25_10354.jpg', '/home/pi/Desktop/images/28012025/01/42/image_28012025_01_42_34_9412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/41/image_28012025_01_41_34_9342.jpg
/home/pi/Desktop/images/28012025/01/41/image_28012025_01_41_44_10370.jpg
/home/pi/Desktop/images/28012025/01/41/image_28012025_01_41_55_10428.jpg
/home/pi/Desktop/images/28012025/01/41/image_28012025_01_42_04_9334.jpg
/home/pi/Desktop/images/28012025/01/42/image_28012025_01_42_25_10354.jpg
/home/pi/Desktop/images/28012025/01/42/image_28012025_01_42_34_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":["1332148545","1332148548","1332148533","1332148536","1332148541","1332148547"],"photo_ids_order":["1332148533","1332148536","1332148541","1332148545","1332148547","1332148548"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2cafe2bc081f76787145497c052f19e0.jpg","text":"TemporaryFile(/tmp/multipartBody1366226117408089420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025673672,"filename":"image_28012025_01_42_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/1/28/3b4ec746bb8c819f0479e8b57aadfa75.jpg","text":"TemporaryFile(/tmp/multipartBody4712696586614346345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025673672,"filename":"image_28012025_01_42_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/1/28/f661fc7fc1c95f078391e3752c01776b.jpg","text":"TemporaryFile(/tmp/multipartBody6518880445453955906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025673672,"filename":"image_28012025_01_41_34_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/040d1d03897b3bf2ec275c7f09664d4c.jpg","text":"TemporaryFile(/tmp/multipartBody8163869099733019389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025673672,"filename":"image_28012025_01_41_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/1/28/938f5a08bac4f7a6855c5351bdbfbedc.jpg","text":"TemporaryFile(/tmp/multipartBody4218126889871198029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025673672,"filename":"image_28012025_01_41_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/1/28/6cf110c52a3829d16f7905be961e899a.jpg","text":"TemporaryFile(/tmp/multipartBody7263828652750620402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025673672,"filename":"image_28012025_01_42_25_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332148541","file1":"1332148536","file0":"1332148533","file4":"1332148547","file5":"1332148548","file3":"1332148545"},"map_files_photo_id_array":[{"photo_id":"1332148548","filename":"file5"},{"photo_id":"1332148541","filename":"file2"},{"photo_id":"1332148547","filename":"file4"},{"photo_id":"1332148536","filename":"file1"},{"photo_id":"1332148533","filename":"file0"},{"photo_id":"1332148545","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332148545":["hashtag1","hashtag2"]},{"1332148548":["hashtag1","hashtag2"]},{"1332148533":["hashtag1","hashtag2"]},{"1332148536":["hashtag1","hashtag2"]},{"1332148541":["hashtag1","hashtag2"]},{"1332148547":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332148545, 1332148548, 1332148533, 1332148536, 1332148541, 1332148547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.0374870300293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:54:32.838581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/42/image_28012025_01_42_45_10350.jpg', '/home/pi/Desktop/images/28012025/01/42/image_28012025_01_42_54_9449.jpg', '/home/pi/Desktop/images/28012025/01/42/image_28012025_01_43_04_10356.jpg', '/home/pi/Desktop/images/28012025/01/43/image_28012025_01_43_15_10345.jpg', '/home/pi/Desktop/images/28012025/01/43/image_28012025_01_43_24_9470.jpg', '/home/pi/Desktop/images/28012025/01/43/image_28012025_01_43_35_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/42/image_28012025_01_42_45_10350.jpg
/home/pi/Desktop/images/28012025/01/42/image_28012025_01_42_54_9449.jpg
/home/pi/Desktop/images/28012025/01/42/image_28012025_01_43_04_10356.jpg
/home/pi/Desktop/images/28012025/01/43/image_28012025_01_43_15_10345.jpg
/home/pi/Desktop/images/28012025/01/43/image_28012025_01_43_24_9470.jpg
/home/pi/Desktop/images/28012025/01/43/image_28012025_01_43_35_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":["1332148633","1332148636","1332148618","1332148662","1332148661","1332148631"],"photo_ids_order":["1332148618","1332148631","1332148633","1332148636","1332148661","1332148662"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c08385b64713cddf2091a9b07fd04b33.jpg","text":"TemporaryFile(/tmp/multipartBody3634171215328115523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025733755,"filename":"image_28012025_01_43_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/1/28/2d823e5d47727d3e441d927f5ce89e0c.jpg","text":"TemporaryFile(/tmp/multipartBody1589595052918775852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025733755,"filename":"image_28012025_01_43_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/1/28/125ab856e3e2f1dfc8713a187ef2a442.jpg","text":"TemporaryFile(/tmp/multipartBody5954986284622420002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025733755,"filename":"image_28012025_01_42_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/1/28/7a730ea1b8431092033c701fc5ad5392.jpg","text":"TemporaryFile(/tmp/multipartBody7204347783069213299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025733755,"filename":"image_28012025_01_43_35_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0c999a36a6046e8a0edae4e9b572dc0a.jpg","text":"TemporaryFile(/tmp/multipartBody9069907027011475358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025733755,"filename":"image_28012025_01_43_24_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c4030d791f229e17f996a4ae1c0b031f.jpg","text":"TemporaryFile(/tmp/multipartBody3823026134307328522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025733755,"filename":"image_28012025_01_42_54_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332148633","file1":"1332148631","file0":"1332148618","file4":"1332148661","file5":"1332148662","file3":"1332148636"},"map_files_photo_id_array":[{"photo_id":"1332148662","filename":"file5"},{"photo_id":"1332148633","filename":"file2"},{"photo_id":"1332148661","filename":"file4"},{"photo_id":"1332148631","filename":"file1"},{"photo_id":"1332148618","filename":"file0"},{"photo_id":"1332148636","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332148633":["hashtag1","hashtag2"]},{"1332148636":["hashtag1","hashtag2"]},{"1332148618":["hashtag1","hashtag2"]},{"1332148662":["hashtag1","hashtag2"]},{"1332148661":["hashtag1","hashtag2"]},{"1332148631":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332148633, 1332148636, 1332148618, 1332148662, 1332148661, 1332148631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.85488772392273 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:55:33.003664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/43/image_28012025_01_43_55_10534.jpg', '/home/pi/Desktop/images/28012025/01/43/image_28012025_01_44_04_9441.jpg', '/home/pi/Desktop/images/28012025/01/44/image_28012025_01_44_14_10070.jpg', '/home/pi/Desktop/images/28012025/01/44/image_28012025_01_44_25_10489.jpg', '/home/pi/Desktop/images/28012025/01/44/image_28012025_01_44_35_10360.jpg', '/home/pi/Desktop/images/28012025/01/44/image_28012025_01_44_44_9367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/43/image_28012025_01_43_55_10534.jpg
/home/pi/Desktop/images/28012025/01/43/image_28012025_01_44_04_9441.jpg
/home/pi/Desktop/images/28012025/01/44/image_28012025_01_44_14_10070.jpg
/home/pi/Desktop/images/28012025/01/44/image_28012025_01_44_25_10489.jpg
/home/pi/Desktop/images/28012025/01/44/image_28012025_01_44_35_10360.jpg
/home/pi/Desktop/images/28012025/01/44/image_28012025_01_44_44_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332148693","1332148692","1332148686","1332148689","1332148677","1332148681"],"photo_ids_order":["1332148677","1332148681","1332148686","1332148689","1332148692","1332148693"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0a8a19b6c5a421b1003e5d2d20682699.jpg","text":"TemporaryFile(/tmp/multipartBody3938843604606645607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025793922,"filename":"image_28012025_01_44_44_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/aee0dfbbfcceb44f664e2fbcfcdb922f.jpg","text":"TemporaryFile(/tmp/multipartBody3014226112884956149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025793922,"filename":"image_28012025_01_44_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/1/28/783c7097e68c3518634d6b7cc738e9c3.jpg","text":"TemporaryFile(/tmp/multipartBody1532574162543457633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025793922,"filename":"image_28012025_01_44_14_10070.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8630281096cdaeb1fab4d4b0a4df129d.jpg","text":"TemporaryFile(/tmp/multipartBody9022003723583701622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025793922,"filename":"image_28012025_01_44_25_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f543531e51fc248f2c57e14b3535e929.jpg","text":"TemporaryFile(/tmp/multipartBody250893209697904468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025793922,"filename":"image_28012025_01_43_55_10534.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ada6ae382fa173c04ffa0952b91281b1.jpg","text":"TemporaryFile(/tmp/multipartBody7296460368579509933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025793922,"filename":"image_28012025_01_44_04_9441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332148686","file1":"1332148681","file0":"1332148677","file4":"1332148692","file5":"1332148693","file3":"1332148689"},"map_files_photo_id_array":[{"photo_id":"1332148693","filename":"file5"},{"photo_id":"1332148686","filename":"file2"},{"photo_id":"1332148692","filename":"file4"},{"photo_id":"1332148681","filename":"file1"},{"photo_id":"1332148677","filename":"file0"},{"photo_id":"1332148689","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332148693":["hashtag1","hashtag2"]},{"1332148692":["hashtag1","hashtag2"]},{"1332148686":["hashtag1","hashtag2"]},{"1332148689":["hashtag1","hashtag2"]},{"1332148677":["hashtag1","hashtag2"]},{"1332148681":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332148693, 1332148692, 1332148686, 1332148689, 1332148677, 1332148681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14310169219971 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:56:32.236067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/44/image_28012025_01_44_55_10358.jpg', '/home/pi/Desktop/images/28012025/01/44/image_28012025_01_45_04_9320.jpg', '/home/pi/Desktop/images/28012025/01/45/image_28012025_01_45_14_10483.jpg', '/home/pi/Desktop/images/28012025/01/45/image_28012025_01_45_25_10364.jpg', '/home/pi/Desktop/images/28012025/01/45/image_28012025_01_45_34_9352.jpg', '/home/pi/Desktop/images/28012025/01/45/image_28012025_01_45_44_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/44/image_28012025_01_44_55_10358.jpg
/home/pi/Desktop/images/28012025/01/44/image_28012025_01_45_04_9320.jpg
/home/pi/Desktop/images/28012025/01/45/image_28012025_01_45_14_10483.jpg
/home/pi/Desktop/images/28012025/01/45/image_28012025_01_45_25_10364.jpg
/home/pi/Desktop/images/28012025/01/45/image_28012025_01_45_34_9352.jpg
/home/pi/Desktop/images/28012025/01/45/image_28012025_01_45_44_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":["1332148726","1332148714","1332148708","1332148702","1332148704","1332148706"],"photo_ids_order":["1332148702","1332148704","1332148706","1332148708","1332148714","1332148726"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4384a74e2cdcb216cbcc39daab3ca6c7.jpg","text":"TemporaryFile(/tmp/multipartBody547806021364484925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025853146,"filename":"image_28012025_01_45_44_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0498bee02a6220ffdbcd8bd8c71cd6bb.jpg","text":"TemporaryFile(/tmp/multipartBody1979379010829525712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025853146,"filename":"image_28012025_01_45_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/1/28/9181f493c9b3318b90a7a34bf57bf214.jpg","text":"TemporaryFile(/tmp/multipartBody2425695872887578730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025853146,"filename":"image_28012025_01_45_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/1/28/e03dbf47bdf0904dda9248d14d6343e9.jpg","text":"TemporaryFile(/tmp/multipartBody107531329882400806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025853146,"filename":"image_28012025_01_44_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/1/28/269407a27d7f1a5cbc7b515d91b58dac.jpg","text":"TemporaryFile(/tmp/multipartBody2691944827858666048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025853146,"filename":"image_28012025_01_45_04_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/36b2efed763af1976a3f498ea9b81d9e.jpg","text":"TemporaryFile(/tmp/multipartBody1868662683632920872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738025853146,"filename":"image_28012025_01_45_14_10483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332148706","file1":"1332148704","file0":"1332148702","file4":"1332148714","file5":"1332148726","file3":"1332148708"},"map_files_photo_id_array":[{"photo_id":"1332148726","filename":"file5"},{"photo_id":"1332148706","filename":"file2"},{"photo_id":"1332148714","filename":"file4"},{"photo_id":"1332148704","filename":"file1"},{"photo_id":"1332148702","filename":"file0"},{"photo_id":"1332148708","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332148726":["hashtag1","hashtag2"]},{"1332148714":["hashtag1","hashtag2"]},{"1332148708":["hashtag1","hashtag2"]},{"1332148702":["hashtag1","hashtag2"]},{"1332148704":["hashtag1","hashtag2"]},{"1332148706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332148726, 1332148714, 1332148708, 1332148702, 1332148704, 1332148706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.98009991645813 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 01:57:32.522132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/45/image_28012025_01_45_54_9421.jpg', '/home/pi/Desktop/images/28012025/01/45/image_28012025_01_46_04_10454.jpg', '/home/pi/Desktop/images/28012025/01/46/image_28012025_01_46_15_10350.jpg', '/home/pi/Desktop/images/28012025/01/46/image_28012025_01_46_24_9419.jpg', '/home/pi/Desktop/images/28012025/01/46/image_28012025_01_46_34_10354.jpg', '/home/pi/Desktop/images/28012025/01/46/image_28012025_01_46_45_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/45/image_28012025_01_45_54_9421.jpg
/home/pi/Desktop/images/28012025/01/45/image_28012025_01_46_04_10454.jpg
/home/pi/Desktop/images/28012025/01/46/image_28012025_01_46_15_10350.jpg
/home/pi/Desktop/images/28012025/01/46/image_28012025_01_46_24_9419.jpg
/home/pi/Desktop/images/28012025/01/46/image_28012025_01_46_34_10354.jpg
/home/pi/Desktop/images/28012025/01/46/image_28012025_01_46_45_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 www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 01:59:03.357565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/45/image_28012025_01_45_54_9421.jpg', '/home/pi/Desktop/images/28012025/01/45/image_28012025_01_46_04_10454.jpg', '/home/pi/Desktop/images/28012025/01/46/image_28012025_01_46_15_10350.jpg', '/home/pi/Desktop/images/28012025/01/46/image_28012025_01_46_24_9419.jpg', '/home/pi/Desktop/images/28012025/01/46/image_28012025_01_46_34_10354.jpg', '/home/pi/Desktop/images/28012025/01/46/image_28012025_01_46_45_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/45/image_28012025_01_45_54_9421.jpg
/home/pi/Desktop/images/28012025/01/45/image_28012025_01_46_04_10454.jpg
/home/pi/Desktop/images/28012025/01/46/image_28012025_01_46_15_10350.jpg
/home/pi/Desktop/images/28012025/01/46/image_28012025_01_46_24_9419.jpg
/home/pi/Desktop/images/28012025/01/46/image_28012025_01_46_34_10354.jpg
/home/pi/Desktop/images/28012025/01/46/image_28012025_01_46_45_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":["1332148882","1332148875","1332148878","1332148883","1332148868","1332148972"],"photo_ids_order":["1332148868","1332148875","1332148878","1332148882","1332148883","1332148972"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/237783320d546c93a827ea9240fa69e6.jpg","text":"TemporaryFile(/tmp/multipartBody5134330059878315362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026006448,"filename":"image_28012025_01_46_24_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3422adeb85db593fd36dddd1a0e5100c.jpg","text":"TemporaryFile(/tmp/multipartBody3794017354309343042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026006448,"filename":"image_28012025_01_46_04_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/48afc4a1e037f08bd9d11b408496ee98.jpg","text":"TemporaryFile(/tmp/multipartBody5111046237369726663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026006448,"filename":"image_28012025_01_46_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/1/28/0eb24736919ba1205024c316bb308cd4.jpg","text":"TemporaryFile(/tmp/multipartBody5286837573283269664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026006448,"filename":"image_28012025_01_46_34_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c2e5c2168ae0d07f1b19b4c082177138.jpg","text":"TemporaryFile(/tmp/multipartBody959916668138152301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026006448,"filename":"image_28012025_01_45_54_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6e2f8d814514c4aa7d59c4e2538334a6.jpg","text":"TemporaryFile(/tmp/multipartBody1363797446574190389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026006448,"filename":"image_28012025_01_46_45_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332148878","file1":"1332148875","file0":"1332148868","file4":"1332148883","file5":"1332148972","file3":"1332148882"},"map_files_photo_id_array":[{"photo_id":"1332148972","filename":"file5"},{"photo_id":"1332148878","filename":"file2"},{"photo_id":"1332148883","filename":"file4"},{"photo_id":"1332148875","filename":"file1"},{"photo_id":"1332148868","filename":"file0"},{"photo_id":"1332148882","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332148882":["hashtag1","hashtag2"]},{"1332148875":["hashtag1","hashtag2"]},{"1332148878":["hashtag1","hashtag2"]},{"1332148883":["hashtag1","hashtag2"]},{"1332148868":["hashtag1","hashtag2"]},{"1332148972":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332148882, 1332148875, 1332148878, 1332148883, 1332148868, 1332148972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.065624475479126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 01:59:52.251440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/15/image_23012025_23_15_27_10348.jpg', '/home/pi/Desktop/images/23012025/23/15/image_23012025_23_15_36_9331.jpg', '/home/pi/Desktop/images/23012025/23/15/image_23012025_23_15_46_10339.jpg', '/home/pi/Desktop/images/23012025/23/15/image_23012025_23_15_57_10347.jpg', '/home/pi/Desktop/images/23012025/23/15/image_23012025_23_16_06_9445.jpg', '/home/pi/Desktop/images/23012025/23/16/image_23012025_23_16_17_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/15/image_23012025_23_15_27_10348.jpg
/home/pi/Desktop/images/23012025/23/15/image_23012025_23_15_36_9331.jpg
/home/pi/Desktop/images/23012025/23/15/image_23012025_23_15_46_10339.jpg
/home/pi/Desktop/images/23012025/23/15/image_23012025_23_15_57_10347.jpg
/home/pi/Desktop/images/23012025/23/15/image_23012025_23_16_06_9445.jpg
/home/pi/Desktop/images/23012025/23/16/image_23012025_23_16_17_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332149158","1332149163","1332149165","1332149167","1332149161","1332149155"],"photo_ids_order":["1332149155","1332149158","1332149161","1332149163","1332149165","1332149167"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/da2c37515c5761d1d0a06f684513ac52.jpg","text":"TemporaryFile(/tmp/multipartBody3857829276851851791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026054394,"filename":"image_23012025_23_15_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/1/28/3c66e967fb91d6505aea9e14071878f7.jpg","text":"TemporaryFile(/tmp/multipartBody652436743373269532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026054394,"filename":"image_23012025_23_15_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/1/28/e816e181c11eec9cc809fc0f4c24197a.jpg","text":"TemporaryFile(/tmp/multipartBody2672540339967111080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026054394,"filename":"image_23012025_23_16_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/1/28/800e030270e5eef5fc6add1fa1da88ad.jpg","text":"TemporaryFile(/tmp/multipartBody1129350992217089690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026054394,"filename":"image_23012025_23_16_17_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fe7a9caf7a2009d5006ed4ac6db1781a.jpg","text":"TemporaryFile(/tmp/multipartBody2852771043494149942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026054394,"filename":"image_23012025_23_15_46_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1abe18c7f4628209fe94bfca0b22603b.jpg","text":"TemporaryFile(/tmp/multipartBody3970976525975335116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026054394,"filename":"image_23012025_23_15_27_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332149161","file1":"1332149158","file0":"1332149155","file4":"1332149165","file5":"1332149167","file3":"1332149163"},"map_files_photo_id_array":[{"photo_id":"1332149167","filename":"file5"},{"photo_id":"1332149161","filename":"file2"},{"photo_id":"1332149165","filename":"file4"},{"photo_id":"1332149158","filename":"file1"},{"photo_id":"1332149155","filename":"file0"},{"photo_id":"1332149163","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332149158":["hashtag1","hashtag2"]},{"1332149163":["hashtag1","hashtag2"]},{"1332149165":["hashtag1","hashtag2"]},{"1332149167":["hashtag1","hashtag2"]},{"1332149161":["hashtag1","hashtag2"]},{"1332149155":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332149158, 1332149163, 1332149165, 1332149167, 1332149161, 1332149155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.374035358428955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 02:00:42.632384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/46/image_28012025_01_46_54_9447.jpg', '/home/pi/Desktop/images/28012025/01/46/image_28012025_01_47_05_10421.jpg', '/home/pi/Desktop/images/28012025/01/47/image_28012025_01_47_14_9324.jpg', '/home/pi/Desktop/images/28012025/01/47/image_28012025_01_47_24_10418.jpg', '/home/pi/Desktop/images/28012025/01/47/image_28012025_01_47_35_10410.jpg', '/home/pi/Desktop/images/28012025/01/47/image_28012025_01_47_44_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/46/image_28012025_01_46_54_9447.jpg
/home/pi/Desktop/images/28012025/01/46/image_28012025_01_47_05_10421.jpg
/home/pi/Desktop/images/28012025/01/47/image_28012025_01_47_14_9324.jpg
/home/pi/Desktop/images/28012025/01/47/image_28012025_01_47_24_10418.jpg
/home/pi/Desktop/images/28012025/01/47/image_28012025_01_47_35_10410.jpg
/home/pi/Desktop/images/28012025/01/47/image_28012025_01_47_44_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332149224","1332149226","1332149229","1332149223","1332149225","1332149234"],"photo_ids_order":["1332149223","1332149224","1332149225","1332149226","1332149229","1332149234"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/50c6af01b78b64d3f502b53b55639b9e.jpg","text":"TemporaryFile(/tmp/multipartBody7869929362662905849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026103565,"filename":"image_28012025_01_47_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/1/28/b9443ce3f0ccaaffd8fbcc782fcfba72.jpg","text":"TemporaryFile(/tmp/multipartBody5678454148043848556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026103565,"filename":"image_28012025_01_47_24_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f3387b4505cbceddd7be74fb9da413d5.jpg","text":"TemporaryFile(/tmp/multipartBody2035526470051374660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026103565,"filename":"image_28012025_01_47_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/1/28/53e3b9d7494d8bc323de956ed8bd0b2e.jpg","text":"TemporaryFile(/tmp/multipartBody2448522789405843550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026103565,"filename":"image_28012025_01_46_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/1/28/6652d25dbb5c563a319dc268868a9948.jpg","text":"TemporaryFile(/tmp/multipartBody2543362085325392392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026103565,"filename":"image_28012025_01_47_14_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3440439772663cd6f6e92757de85c257.jpg","text":"TemporaryFile(/tmp/multipartBody6523622917171925287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026103565,"filename":"image_28012025_01_47_44_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332149225","file1":"1332149224","file0":"1332149223","file4":"1332149229","file5":"1332149234","file3":"1332149226"},"map_files_photo_id_array":[{"photo_id":"1332149234","filename":"file5"},{"photo_id":"1332149225","filename":"file2"},{"photo_id":"1332149229","filename":"file4"},{"photo_id":"1332149224","filename":"file1"},{"photo_id":"1332149223","filename":"file0"},{"photo_id":"1332149226","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332149224":["hashtag1","hashtag2"]},{"1332149226":["hashtag1","hashtag2"]},{"1332149229":["hashtag1","hashtag2"]},{"1332149223":["hashtag1","hashtag2"]},{"1332149225":["hashtag1","hashtag2"]},{"1332149234":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332149224, 1332149226, 1332149229, 1332149223, 1332149225, 1332149234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.81257104873657 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:01:32.790304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/47/image_28012025_01_47_55_10426.jpg', '/home/pi/Desktop/images/28012025/01/47/image_28012025_01_48_04_9357.jpg', '/home/pi/Desktop/images/28012025/01/48/image_28012025_01_48_14_10414.jpg', '/home/pi/Desktop/images/28012025/01/48/image_28012025_01_48_25_10352.jpg', '/home/pi/Desktop/images/28012025/01/48/image_28012025_01_48_34_9347.jpg', '/home/pi/Desktop/images/28012025/01/48/image_28012025_01_48_45_10407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/47/image_28012025_01_47_55_10426.jpg
/home/pi/Desktop/images/28012025/01/47/image_28012025_01_48_04_9357.jpg
/home/pi/Desktop/images/28012025/01/48/image_28012025_01_48_14_10414.jpg
/home/pi/Desktop/images/28012025/01/48/image_28012025_01_48_25_10352.jpg
/home/pi/Desktop/images/28012025/01/48/image_28012025_01_48_34_9347.jpg
/home/pi/Desktop/images/28012025/01/48/image_28012025_01_48_45_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":["1332149443","1332149388","1332149496","1332149498","1332149387","1332149495"],"photo_ids_order":["1332149387","1332149388","1332149443","1332149495","1332149496","1332149498"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ac14854145dc58e98c4238f6734f5549.jpg","text":"TemporaryFile(/tmp/multipartBody3248786966711797943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026153720,"filename":"image_28012025_01_48_14_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7f6395c259ad2ab140a1872f8e97203d.jpg","text":"TemporaryFile(/tmp/multipartBody2310995962271334851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026153720,"filename":"image_28012025_01_48_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/1/28/0d1d64ded9d6738b34943bf5f6554dfd.jpg","text":"TemporaryFile(/tmp/multipartBody6088401428688858115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026153720,"filename":"image_28012025_01_48_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/1/28/0bce493164c1f29fa2f2e592565f65ba.jpg","text":"TemporaryFile(/tmp/multipartBody8253034296944406865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026153720,"filename":"image_28012025_01_48_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/1/28/e2ed636da7c0ef0cc2daee6d603e4d2c.jpg","text":"TemporaryFile(/tmp/multipartBody7951150188146261584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026153720,"filename":"image_28012025_01_47_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/1/28/24bf48b4ea99e90fad7f3b67a79b9058.jpg","text":"TemporaryFile(/tmp/multipartBody6249345467652069795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026153720,"filename":"image_28012025_01_48_25_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332149443","file1":"1332149388","file0":"1332149387","file4":"1332149496","file5":"1332149498","file3":"1332149495"},"map_files_photo_id_array":[{"photo_id":"1332149498","filename":"file5"},{"photo_id":"1332149443","filename":"file2"},{"photo_id":"1332149496","filename":"file4"},{"photo_id":"1332149388","filename":"file1"},{"photo_id":"1332149387","filename":"file0"},{"photo_id":"1332149495","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332149443":["hashtag1","hashtag2"]},{"1332149388":["hashtag1","hashtag2"]},{"1332149496":["hashtag1","hashtag2"]},{"1332149498":["hashtag1","hashtag2"]},{"1332149387":["hashtag1","hashtag2"]},{"1332149495":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332149443, 1332149388, 1332149496, 1332149498, 1332149387, 1332149495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.08470034599304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:02:32.950984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/48/image_28012025_01_48_55_10364.jpg', '/home/pi/Desktop/images/28012025/01/48/image_28012025_01_49_04_9444.jpg', '/home/pi/Desktop/images/28012025/01/49/image_28012025_01_49_15_10342.jpg', '/home/pi/Desktop/images/28012025/01/49/image_28012025_01_49_25_9948.jpg', '/home/pi/Desktop/images/28012025/01/49/image_28012025_01_49_34_9327.jpg', '/home/pi/Desktop/images/28012025/01/49/image_28012025_01_49_44_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/48/image_28012025_01_48_55_10364.jpg
/home/pi/Desktop/images/28012025/01/48/image_28012025_01_49_04_9444.jpg
/home/pi/Desktop/images/28012025/01/49/image_28012025_01_49_15_10342.jpg
/home/pi/Desktop/images/28012025/01/49/image_28012025_01_49_25_9948.jpg
/home/pi/Desktop/images/28012025/01/49/image_28012025_01_49_34_9327.jpg
/home/pi/Desktop/images/28012025/01/49/image_28012025_01_49_44_10413.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5359764099121094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 02:02:42.971112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/48/image_28012025_01_48_55_10364.jpg', '/home/pi/Desktop/images/28012025/01/48/image_28012025_01_49_04_9444.jpg', '/home/pi/Desktop/images/28012025/01/49/image_28012025_01_49_15_10342.jpg', '/home/pi/Desktop/images/28012025/01/49/image_28012025_01_49_25_9948.jpg', '/home/pi/Desktop/images/28012025/01/49/image_28012025_01_49_34_9327.jpg', '/home/pi/Desktop/images/28012025/01/49/image_28012025_01_49_44_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/48/image_28012025_01_48_55_10364.jpg
/home/pi/Desktop/images/28012025/01/48/image_28012025_01_49_04_9444.jpg
/home/pi/Desktop/images/28012025/01/49/image_28012025_01_49_15_10342.jpg
/home/pi/Desktop/images/28012025/01/49/image_28012025_01_49_25_9948.jpg
/home/pi/Desktop/images/28012025/01/49/image_28012025_01_49_34_9327.jpg
/home/pi/Desktop/images/28012025/01/49/image_28012025_01_49_44_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":["1332149691","1332149602","1332149682","1332149684","1332149687","1332149641"],"photo_ids_order":["1332149602","1332149641","1332149682","1332149684","1332149687","1332149691"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dc3d5bb34d4dcd5a5f58394793c0f2d5.jpg","text":"TemporaryFile(/tmp/multipartBody7924113930072550456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026223924,"filename":"image_28012025_01_49_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/1/28/9b8acb76b523970de9fc8fc07ee9fd22.jpg","text":"TemporaryFile(/tmp/multipartBody3019218191092422983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026223924,"filename":"image_28012025_01_48_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/1/28/02954be2a796adae9bb4e896ca541509.jpg","text":"TemporaryFile(/tmp/multipartBody5052461167464148475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026223924,"filename":"image_28012025_01_49_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/1/28/c914f699a673eb5898d3cefb3e24dab7.jpg","text":"TemporaryFile(/tmp/multipartBody3290242215565281536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026223924,"filename":"image_28012025_01_49_25_9948.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/79d6542e5c4a154c39bc275a3db7ffcd.jpg","text":"TemporaryFile(/tmp/multipartBody5883438321228405170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026223924,"filename":"image_28012025_01_49_34_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/53e95285a0b78a00f0dd49aaa765ab2a.jpg","text":"TemporaryFile(/tmp/multipartBody6238255313482057618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026223924,"filename":"image_28012025_01_49_04_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332149682","file1":"1332149641","file0":"1332149602","file4":"1332149687","file5":"1332149691","file3":"1332149684"},"map_files_photo_id_array":[{"photo_id":"1332149691","filename":"file5"},{"photo_id":"1332149682","filename":"file2"},{"photo_id":"1332149687","filename":"file4"},{"photo_id":"1332149641","filename":"file1"},{"photo_id":"1332149602","filename":"file0"},{"photo_id":"1332149684","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332149691":["hashtag1","hashtag2"]},{"1332149602":["hashtag1","hashtag2"]},{"1332149682":["hashtag1","hashtag2"]},{"1332149684":["hashtag1","hashtag2"]},{"1332149687":["hashtag1","hashtag2"]},{"1332149641":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332149691, 1332149602, 1332149682, 1332149684, 1332149687, 1332149641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.34609818458557 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:03:32.192632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/49/image_28012025_01_49_55_10450.jpg', '/home/pi/Desktop/images/28012025/01/49/image_28012025_01_50_04_9351.jpg', '/home/pi/Desktop/images/28012025/01/50/image_28012025_01_50_15_10355.jpg', '/home/pi/Desktop/images/28012025/01/50/image_28012025_01_50_24_9432.jpg', '/home/pi/Desktop/images/28012025/01/50/image_28012025_01_50_34_10471.jpg', '/home/pi/Desktop/images/28012025/01/50/image_28012025_01_50_45_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/49/image_28012025_01_49_55_10450.jpg
/home/pi/Desktop/images/28012025/01/49/image_28012025_01_50_04_9351.jpg
/home/pi/Desktop/images/28012025/01/50/image_28012025_01_50_15_10355.jpg
/home/pi/Desktop/images/28012025/01/50/image_28012025_01_50_24_9432.jpg
/home/pi/Desktop/images/28012025/01/50/image_28012025_01_50_34_10471.jpg
/home/pi/Desktop/images/28012025/01/50/image_28012025_01_50_45_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332149847","1332149808","1332149849","1332149828","1332149807","1332149848"],"photo_ids_order":["1332149807","1332149808","1332149828","1332149847","1332149848","1332149849"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1d4ebb5681a2c732dd44cecee1add5a1.jpg","text":"TemporaryFile(/tmp/multipartBody8688661306858958729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026273116,"filename":"image_28012025_01_50_24_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/944350095d60f920b08e3513c98f4d74.jpg","text":"TemporaryFile(/tmp/multipartBody7280142547738717111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026273116,"filename":"image_28012025_01_50_04_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/af57e083002708ce25c23c5f390fec01.jpg","text":"TemporaryFile(/tmp/multipartBody7192675144830229322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026273116,"filename":"image_28012025_01_50_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/1/28/9bcfa6e7da192cb6b396bf24c08deb8f.jpg","text":"TemporaryFile(/tmp/multipartBody7965913288248732079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026273116,"filename":"image_28012025_01_50_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3294f7cb586352cd3315e87c0f30211d.jpg","text":"TemporaryFile(/tmp/multipartBody9212189174097874166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026273116,"filename":"image_28012025_01_49_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/1/28/46b3b40f6f99ab01a4fae11c4880c349.jpg","text":"TemporaryFile(/tmp/multipartBody629660893333542224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026273116,"filename":"image_28012025_01_50_34_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332149828","file1":"1332149808","file0":"1332149807","file4":"1332149848","file5":"1332149849","file3":"1332149847"},"map_files_photo_id_array":[{"photo_id":"1332149849","filename":"file5"},{"photo_id":"1332149828","filename":"file2"},{"photo_id":"1332149848","filename":"file4"},{"photo_id":"1332149808","filename":"file1"},{"photo_id":"1332149807","filename":"file0"},{"photo_id":"1332149847","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332149847":["hashtag1","hashtag2"]},{"1332149808":["hashtag1","hashtag2"]},{"1332149849":["hashtag1","hashtag2"]},{"1332149828":["hashtag1","hashtag2"]},{"1332149807":["hashtag1","hashtag2"]},{"1332149848":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332149847, 1332149808, 1332149849, 1332149828, 1332149807, 1332149848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.295761823654175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:04:32.389586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/50/image_28012025_01_50_54_9378.jpg', '/home/pi/Desktop/images/28012025/01/50/image_28012025_01_51_05_10420.jpg', '/home/pi/Desktop/images/28012025/01/51/image_28012025_01_51_14_9430.jpg', '/home/pi/Desktop/images/28012025/01/51/image_28012025_01_51_24_10370.jpg', '/home/pi/Desktop/images/28012025/01/51/image_28012025_01_51_35_10411.jpg', '/home/pi/Desktop/images/28012025/01/51/image_28012025_01_51_44_9401.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/50/image_28012025_01_50_54_9378.jpg
/home/pi/Desktop/images/28012025/01/50/image_28012025_01_51_05_10420.jpg
/home/pi/Desktop/images/28012025/01/51/image_28012025_01_51_14_9430.jpg
/home/pi/Desktop/images/28012025/01/51/image_28012025_01_51_24_10370.jpg
/home/pi/Desktop/images/28012025/01/51/image_28012025_01_51_35_10411.jpg
/home/pi/Desktop/images/28012025/01/51/image_28012025_01_51_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":["1332149859","1332149888","1332149885","1332149879","1332149887","1332149866"],"photo_ids_order":["1332149859","1332149866","1332149879","1332149885","1332149887","1332149888"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/12d0a38c3a40902cace4d47a1276c815.jpg","text":"TemporaryFile(/tmp/multipartBody7493764947464552793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026333311,"filename":"image_28012025_01_50_54_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/649539592e45b58950eaf4e028781abd.jpg","text":"TemporaryFile(/tmp/multipartBody1592282646130068450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026333311,"filename":"image_28012025_01_51_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/1/28/612df5ade2231cf38daf3397a812a057.jpg","text":"TemporaryFile(/tmp/multipartBody2479286918352700681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026333311,"filename":"image_28012025_01_51_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/1/28/411671f7cef1690c05f46c23c542f41a.jpg","text":"TemporaryFile(/tmp/multipartBody1888631332624322384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026333311,"filename":"image_28012025_01_51_14_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4141185906a48d9901dcddff7dcdbdc3.jpg","text":"TemporaryFile(/tmp/multipartBody1539693064307593207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026333311,"filename":"image_28012025_01_51_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/1/28/193f17dce832e522bd9e2866581c7652.jpg","text":"TemporaryFile(/tmp/multipartBody9021163899818511802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026333311,"filename":"image_28012025_01_51_05_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332149879","file1":"1332149866","file0":"1332149859","file4":"1332149887","file5":"1332149888","file3":"1332149885"},"map_files_photo_id_array":[{"photo_id":"1332149888","filename":"file5"},{"photo_id":"1332149879","filename":"file2"},{"photo_id":"1332149887","filename":"file4"},{"photo_id":"1332149866","filename":"file1"},{"photo_id":"1332149859","filename":"file0"},{"photo_id":"1332149885","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332149859":["hashtag1","hashtag2"]},{"1332149888":["hashtag1","hashtag2"]},{"1332149885":["hashtag1","hashtag2"]},{"1332149879":["hashtag1","hashtag2"]},{"1332149887":["hashtag1","hashtag2"]},{"1332149866":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332149859, 1332149888, 1332149885, 1332149879, 1332149887, 1332149866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.897687911987305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:05:32.617321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/51/image_28012025_01_51_55_10398.jpg', '/home/pi/Desktop/images/28012025/01/51/image_28012025_01_52_04_9343.jpg', '/home/pi/Desktop/images/28012025/01/52/image_28012025_01_52_14_10463.jpg', '/home/pi/Desktop/images/28012025/01/52/image_28012025_01_52_25_10361.jpg', '/home/pi/Desktop/images/28012025/01/52/image_28012025_01_52_34_9418.jpg', '/home/pi/Desktop/images/28012025/01/52/image_28012025_01_52_45_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/51/image_28012025_01_51_55_10398.jpg
/home/pi/Desktop/images/28012025/01/51/image_28012025_01_52_04_9343.jpg
/home/pi/Desktop/images/28012025/01/52/image_28012025_01_52_14_10463.jpg
/home/pi/Desktop/images/28012025/01/52/image_28012025_01_52_25_10361.jpg
/home/pi/Desktop/images/28012025/01/52/image_28012025_01_52_34_9418.jpg
/home/pi/Desktop/images/28012025/01/52/image_28012025_01_52_45_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":["1332150772","1332150700","1332150753","1332150747","1332150749","1332150908"],"photo_ids_order":["1332150700","1332150747","1332150749","1332150753","1332150772","1332150908"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1695150309e90ca13899ab86d50a4f1a.jpg","text":"TemporaryFile(/tmp/multipartBody5814124637274235421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026393533,"filename":"image_28012025_01_52_34_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0727d165875eeb592ce29d0249a5397e.jpg","text":"TemporaryFile(/tmp/multipartBody1425491290203337633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026393533,"filename":"image_28012025_01_51_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/1/28/052e7bf035d4c4ec120679519161a5ee.jpg","text":"TemporaryFile(/tmp/multipartBody4055453616148497427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026393533,"filename":"image_28012025_01_52_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/1/28/a29e5c6077148950cfce3af9516e6cf1.jpg","text":"TemporaryFile(/tmp/multipartBody4288503746154660957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026393533,"filename":"image_28012025_01_52_04_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7cd36067e2ac3de946eb3507b34c136f.jpg","text":"TemporaryFile(/tmp/multipartBody6016857051281503552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026393533,"filename":"image_28012025_01_52_14_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/181c5dbacb04585b617b2b102cdd0449.jpg","text":"TemporaryFile(/tmp/multipartBody7539744468144864690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026393533,"filename":"image_28012025_01_52_45_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332150749","file1":"1332150747","file0":"1332150700","file4":"1332150772","file5":"1332150908","file3":"1332150753"},"map_files_photo_id_array":[{"photo_id":"1332150908","filename":"file5"},{"photo_id":"1332150749","filename":"file2"},{"photo_id":"1332150772","filename":"file4"},{"photo_id":"1332150747","filename":"file1"},{"photo_id":"1332150700","filename":"file0"},{"photo_id":"1332150753","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332150772":["hashtag1","hashtag2"]},{"1332150700":["hashtag1","hashtag2"]},{"1332150753":["hashtag1","hashtag2"]},{"1332150747":["hashtag1","hashtag2"]},{"1332150749":["hashtag1","hashtag2"]},{"1332150908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332150772, 1332150700, 1332150753, 1332150747, 1332150749, 1332150908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.80827283859253 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:06:32.948629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/52/image_28012025_01_52_55_10357.jpg', '/home/pi/Desktop/images/28012025/01/52/image_28012025_01_53_04_9332.jpg', '/home/pi/Desktop/images/28012025/01/53/image_28012025_01_53_15_10452.jpg', '/home/pi/Desktop/images/28012025/01/53/image_28012025_01_53_24_9338.jpg', '/home/pi/Desktop/images/28012025/01/53/image_28012025_01_53_34_10460.jpg', '/home/pi/Desktop/images/28012025/01/53/image_28012025_01_53_45_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/52/image_28012025_01_52_55_10357.jpg
/home/pi/Desktop/images/28012025/01/52/image_28012025_01_53_04_9332.jpg
/home/pi/Desktop/images/28012025/01/53/image_28012025_01_53_15_10452.jpg
/home/pi/Desktop/images/28012025/01/53/image_28012025_01_53_24_9338.jpg
/home/pi/Desktop/images/28012025/01/53/image_28012025_01_53_34_10460.jpg
/home/pi/Desktop/images/28012025/01/53/image_28012025_01_53_45_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":["1332151143","1332150972","1332150951","1332151301","1332150929","1332151288"],"photo_ids_order":["1332150929","1332150951","1332150972","1332151143","1332151288","1332151301"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0b819b6373b97b1620f99fec8e46f43a.jpg","text":"TemporaryFile(/tmp/multipartBody294792061662836459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026453861,"filename":"image_28012025_01_53_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/1/28/d8567e69a54edff8de020d43f50664ff.jpg","text":"TemporaryFile(/tmp/multipartBody7812706418233308064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026453861,"filename":"image_28012025_01_53_15_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7ba8212c8186dc245f42339301aa40e7.jpg","text":"TemporaryFile(/tmp/multipartBody4504310299742608731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026453861,"filename":"image_28012025_01_53_04_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9a83c3a595a89972dfdf338c62bb36ff.jpg","text":"TemporaryFile(/tmp/multipartBody483066328229610054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026453861,"filename":"image_28012025_01_53_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/1/28/845f9fd00df257151ba26c1271443176.jpg","text":"TemporaryFile(/tmp/multipartBody8359654927130973211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026453861,"filename":"image_28012025_01_52_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/1/28/2c9924654899721911a76c72476ec61c.jpg","text":"TemporaryFile(/tmp/multipartBody3326967029689876630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026453861,"filename":"image_28012025_01_53_34_10460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332150972","file1":"1332150951","file0":"1332150929","file4":"1332151288","file5":"1332151301","file3":"1332151143"},"map_files_photo_id_array":[{"photo_id":"1332151301","filename":"file5"},{"photo_id":"1332150972","filename":"file2"},{"photo_id":"1332151288","filename":"file4"},{"photo_id":"1332150951","filename":"file1"},{"photo_id":"1332150929","filename":"file0"},{"photo_id":"1332151143","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332151143":["hashtag1","hashtag2"]},{"1332150972":["hashtag1","hashtag2"]},{"1332150951":["hashtag1","hashtag2"]},{"1332151301":["hashtag1","hashtag2"]},{"1332150929":["hashtag1","hashtag2"]},{"1332151288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332151143, 1332150972, 1332150951, 1332151301, 1332150929, 1332151288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.342175006866455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:07:33.162525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/53/image_28012025_01_53_54_9468.jpg', '/home/pi/Desktop/images/28012025/01/53/image_28012025_01_54_05_10364.jpg', '/home/pi/Desktop/images/28012025/01/54/image_28012025_01_54_14_9423.jpg', '/home/pi/Desktop/images/28012025/01/54/image_28012025_01_54_25_10428.jpg', '/home/pi/Desktop/images/28012025/01/54/image_28012025_01_54_34_9355.jpg', '/home/pi/Desktop/images/28012025/01/54/image_28012025_01_54_44_10454.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/53/image_28012025_01_53_54_9468.jpg
/home/pi/Desktop/images/28012025/01/53/image_28012025_01_54_05_10364.jpg
/home/pi/Desktop/images/28012025/01/54/image_28012025_01_54_14_9423.jpg
/home/pi/Desktop/images/28012025/01/54/image_28012025_01_54_25_10428.jpg
/home/pi/Desktop/images/28012025/01/54/image_28012025_01_54_34_9355.jpg
/home/pi/Desktop/images/28012025/01/54/image_28012025_01_54_44_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":["1332151423","1332151428","1332151422","1332151425","1332151424","1332151421"],"photo_ids_order":["1332151421","1332151422","1332151423","1332151424","1332151425","1332151428"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9c8d404ae23316ab77d05b409b4f97eb.jpg","text":"TemporaryFile(/tmp/multipartBody5269412083191599307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026514083,"filename":"image_28012025_01_54_14_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/24a0567ce6d989ae976b32f5ead2241a.jpg","text":"TemporaryFile(/tmp/multipartBody6000978945075628934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026514083,"filename":"image_28012025_01_54_44_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/95f64d78c2796111eda751de6f7e76e1.jpg","text":"TemporaryFile(/tmp/multipartBody3148766520951163311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026514083,"filename":"image_28012025_01_54_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/1/28/26b5ecf0a6da990eb61fee63419411fc.jpg","text":"TemporaryFile(/tmp/multipartBody1932829404159247553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026514083,"filename":"image_28012025_01_54_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/1/28/039aaba81909de5455201800938fb4be.jpg","text":"TemporaryFile(/tmp/multipartBody1671295981293975692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026514083,"filename":"image_28012025_01_54_25_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/92a1685109a17ceedeb6232853df5605.jpg","text":"TemporaryFile(/tmp/multipartBody6185121084381989042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026514083,"filename":"image_28012025_01_53_54_9468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332151423","file1":"1332151422","file0":"1332151421","file4":"1332151425","file5":"1332151428","file3":"1332151424"},"map_files_photo_id_array":[{"photo_id":"1332151428","filename":"file5"},{"photo_id":"1332151423","filename":"file2"},{"photo_id":"1332151425","filename":"file4"},{"photo_id":"1332151422","filename":"file1"},{"photo_id":"1332151421","filename":"file0"},{"photo_id":"1332151424","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332151423":["hashtag1","hashtag2"]},{"1332151428":["hashtag1","hashtag2"]},{"1332151422":["hashtag1","hashtag2"]},{"1332151425":["hashtag1","hashtag2"]},{"1332151424":["hashtag1","hashtag2"]},{"1332151421":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332151423, 1332151428, 1332151422, 1332151425, 1332151424, 1332151421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.39432096481323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:08:32.351300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/54/image_28012025_01_54_55_10345.jpg', '/home/pi/Desktop/images/28012025/01/54/image_28012025_01_55_04_9336.jpg', '/home/pi/Desktop/images/28012025/01/55/image_28012025_01_55_14_10418.jpg', '/home/pi/Desktop/images/28012025/01/55/image_28012025_01_55_25_10344.jpg', '/home/pi/Desktop/images/28012025/01/55/image_28012025_01_55_34_9482.jpg', '/home/pi/Desktop/images/28012025/01/55/image_28012025_01_55_45_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/54/image_28012025_01_54_55_10345.jpg
/home/pi/Desktop/images/28012025/01/54/image_28012025_01_55_04_9336.jpg
/home/pi/Desktop/images/28012025/01/55/image_28012025_01_55_14_10418.jpg
/home/pi/Desktop/images/28012025/01/55/image_28012025_01_55_25_10344.jpg
/home/pi/Desktop/images/28012025/01/55/image_28012025_01_55_34_9482.jpg
/home/pi/Desktop/images/28012025/01/55/image_28012025_01_55_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":["1332151510","1332151507","1332151509","1332151506","1332151511","1332151508"],"photo_ids_order":["1332151506","1332151507","1332151508","1332151509","1332151510","1332151511"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/88cd81bb825e7a5ab9eebb47ea85a7c7.jpg","text":"TemporaryFile(/tmp/multipartBody4869186352806191187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026573255,"filename":"image_28012025_01_55_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/1/28/b8c751c47a39851ad4225430c194c7bd.jpg","text":"TemporaryFile(/tmp/multipartBody8987504592453219278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026573255,"filename":"image_28012025_01_55_04_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bd5796d5045e5414b3e067a51415c32e.jpg","text":"TemporaryFile(/tmp/multipartBody6445147327564121179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026573255,"filename":"image_28012025_01_55_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/1/28/8fe7e81e08d1a1b4d190b8270d058f20.jpg","text":"TemporaryFile(/tmp/multipartBody1205591905836209110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026573255,"filename":"image_28012025_01_54_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/1/28/df8d270eac0b9240b7f44b62cdafad86.jpg","text":"TemporaryFile(/tmp/multipartBody8683011599274048545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026573255,"filename":"image_28012025_01_55_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/1/28/94ceeacdee1ae791d11164597be5a2ce.jpg","text":"TemporaryFile(/tmp/multipartBody8333926469898750352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026573255,"filename":"image_28012025_01_55_14_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332151508","file1":"1332151507","file0":"1332151506","file4":"1332151510","file5":"1332151511","file3":"1332151509"},"map_files_photo_id_array":[{"photo_id":"1332151511","filename":"file5"},{"photo_id":"1332151508","filename":"file2"},{"photo_id":"1332151510","filename":"file4"},{"photo_id":"1332151507","filename":"file1"},{"photo_id":"1332151506","filename":"file0"},{"photo_id":"1332151509","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332151510":["hashtag1","hashtag2"]},{"1332151507":["hashtag1","hashtag2"]},{"1332151509":["hashtag1","hashtag2"]},{"1332151506":["hashtag1","hashtag2"]},{"1332151511":["hashtag1","hashtag2"]},{"1332151508":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332151510, 1332151507, 1332151509, 1332151506, 1332151511, 1332151508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.97025513648987 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:09:32.574083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/55/image_28012025_01_55_54_9406.jpg', '/home/pi/Desktop/images/28012025/01/55/image_28012025_01_56_04_10436.jpg', '/home/pi/Desktop/images/28012025/01/56/image_28012025_01_56_15_10347.jpg', '/home/pi/Desktop/images/28012025/01/56/image_28012025_01_56_24_9357.jpg', '/home/pi/Desktop/images/28012025/01/56/image_28012025_01_56_35_10414.jpg', '/home/pi/Desktop/images/28012025/01/56/image_28012025_01_56_44_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/55/image_28012025_01_55_54_9406.jpg
/home/pi/Desktop/images/28012025/01/55/image_28012025_01_56_04_10436.jpg
/home/pi/Desktop/images/28012025/01/56/image_28012025_01_56_15_10347.jpg
/home/pi/Desktop/images/28012025/01/56/image_28012025_01_56_24_9357.jpg
/home/pi/Desktop/images/28012025/01/56/image_28012025_01_56_35_10414.jpg
/home/pi/Desktop/images/28012025/01/56/image_28012025_01_56_44_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":["1332151603","1332151606","1332151581","1332151605","1332151601","1332151594"],"photo_ids_order":["1332151581","1332151594","1332151601","1332151603","1332151605","1332151606"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d3ede316766b658d9de51466bd8595c3.jpg","text":"TemporaryFile(/tmp/multipartBody7427559845684853941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026633495,"filename":"image_28012025_01_56_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/1/28/11b8df7bfdbef20d2f798fca11070461.jpg","text":"TemporaryFile(/tmp/multipartBody2527067740722968943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026633495,"filename":"image_28012025_01_56_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/1/28/c5ee3bd6d4dac466e9f07af45f86df11.jpg","text":"TemporaryFile(/tmp/multipartBody1957808793494977538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026633495,"filename":"image_28012025_01_55_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/1/28/ec05fb5125171ba12f4aa9dfc7fd4d82.jpg","text":"TemporaryFile(/tmp/multipartBody3097970025679607404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026633495,"filename":"image_28012025_01_56_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/1/28/2d3e305d4039b0a0d4c66eb3274b6944.jpg","text":"TemporaryFile(/tmp/multipartBody5020599099940715118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026633495,"filename":"image_28012025_01_56_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/1/28/b3009903b130eb0ad8ab655c910890f3.jpg","text":"TemporaryFile(/tmp/multipartBody2729647371950783425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026633495,"filename":"image_28012025_01_56_04_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332151601","file1":"1332151594","file0":"1332151581","file4":"1332151605","file5":"1332151606","file3":"1332151603"},"map_files_photo_id_array":[{"photo_id":"1332151606","filename":"file5"},{"photo_id":"1332151601","filename":"file2"},{"photo_id":"1332151605","filename":"file4"},{"photo_id":"1332151594","filename":"file1"},{"photo_id":"1332151581","filename":"file0"},{"photo_id":"1332151603","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332151603":["hashtag1","hashtag2"]},{"1332151606":["hashtag1","hashtag2"]},{"1332151581":["hashtag1","hashtag2"]},{"1332151605":["hashtag1","hashtag2"]},{"1332151601":["hashtag1","hashtag2"]},{"1332151594":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332151603, 1332151606, 1332151581, 1332151605, 1332151601, 1332151594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.44973301887512 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:10:32.875198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/56/image_28012025_01_56_54_10399.jpg', '/home/pi/Desktop/images/28012025/01/56/image_28012025_01_57_05_10346.jpg', '/home/pi/Desktop/images/28012025/01/57/image_28012025_01_57_14_9364.jpg', '/home/pi/Desktop/images/28012025/01/57/image_28012025_01_57_25_10458.jpg', '/home/pi/Desktop/images/28012025/01/57/image_28012025_01_57_35_10331.jpg', '/home/pi/Desktop/images/28012025/01/57/image_28012025_01_57_44_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/56/image_28012025_01_56_54_10399.jpg
/home/pi/Desktop/images/28012025/01/56/image_28012025_01_57_05_10346.jpg
/home/pi/Desktop/images/28012025/01/57/image_28012025_01_57_14_9364.jpg
/home/pi/Desktop/images/28012025/01/57/image_28012025_01_57_25_10458.jpg
/home/pi/Desktop/images/28012025/01/57/image_28012025_01_57_35_10331.jpg
/home/pi/Desktop/images/28012025/01/57/image_28012025_01_57_44_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":["1332151642","1332151662","1332151665","1332151641","1332151640","1332151663"],"photo_ids_order":["1332151640","1332151641","1332151642","1332151662","1332151663","1332151665"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/64c4af630c601570d50dd4d591b58f7d.jpg","text":"TemporaryFile(/tmp/multipartBody4573746982508770407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026693779,"filename":"image_28012025_01_57_14_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f301456630a03983af21abf69895d648.jpg","text":"TemporaryFile(/tmp/multipartBody7711983574084194341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026693779,"filename":"image_28012025_01_57_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/1/28/fddf5d796008d4ecbdff4a4e64e452ac.jpg","text":"TemporaryFile(/tmp/multipartBody7447051832183790337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026693779,"filename":"image_28012025_01_57_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/1/28/448cfc899f8a634c54bba16c7c204934.jpg","text":"TemporaryFile(/tmp/multipartBody5051780725130647567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026693779,"filename":"image_28012025_01_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/1/28/62f65de2304ad7cf046ae0c6213c7033.jpg","text":"TemporaryFile(/tmp/multipartBody5486110689182254323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026693779,"filename":"image_28012025_01_56_54_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b6758ab449f4925dde0da5bf53b306fc.jpg","text":"TemporaryFile(/tmp/multipartBody7850006291591599708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026693779,"filename":"image_28012025_01_57_35_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332151642","file1":"1332151641","file0":"1332151640","file4":"1332151663","file5":"1332151665","file3":"1332151662"},"map_files_photo_id_array":[{"photo_id":"1332151665","filename":"file5"},{"photo_id":"1332151642","filename":"file2"},{"photo_id":"1332151663","filename":"file4"},{"photo_id":"1332151641","filename":"file1"},{"photo_id":"1332151640","filename":"file0"},{"photo_id":"1332151662","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332151642":["hashtag1","hashtag2"]},{"1332151662":["hashtag1","hashtag2"]},{"1332151665":["hashtag1","hashtag2"]},{"1332151641":["hashtag1","hashtag2"]},{"1332151640":["hashtag1","hashtag2"]},{"1332151663":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332151642, 1332151662, 1332151665, 1332151641, 1332151640, 1332151663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.17207384109497 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:11:32.985796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/57/image_28012025_01_57_55_10434.jpg', '/home/pi/Desktop/images/28012025/01/57/image_28012025_01_58_04_9329.jpg', '/home/pi/Desktop/images/28012025/01/58/image_28012025_01_58_14_10451.jpg', '/home/pi/Desktop/images/28012025/01/58/image_28012025_01_58_25_10360.jpg', '/home/pi/Desktop/images/28012025/01/58/image_28012025_01_58_34_9387.jpg', '/home/pi/Desktop/images/28012025/01/58/image_28012025_01_58_45_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/57/image_28012025_01_57_55_10434.jpg
/home/pi/Desktop/images/28012025/01/57/image_28012025_01_58_04_9329.jpg
/home/pi/Desktop/images/28012025/01/58/image_28012025_01_58_14_10451.jpg
/home/pi/Desktop/images/28012025/01/58/image_28012025_01_58_25_10360.jpg
/home/pi/Desktop/images/28012025/01/58/image_28012025_01_58_34_9387.jpg
/home/pi/Desktop/images/28012025/01/58/image_28012025_01_58_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":["1332151692","1332151683","1332151685","1332151688","1332151690","1332151693"],"photo_ids_order":["1332151683","1332151685","1332151688","1332151690","1332151692","1332151693"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c7a62844c5c337e8d5367173f467a5d0.jpg","text":"TemporaryFile(/tmp/multipartBody7047034202371839221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026753905,"filename":"image_28012025_01_58_34_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/54524817a1c613b0fb2283fe1d381a79.jpg","text":"TemporaryFile(/tmp/multipartBody684434517929365229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026753905,"filename":"image_28012025_01_57_55_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4e5237976bdfab1cfe9e8e039413d601.jpg","text":"TemporaryFile(/tmp/multipartBody7900241712942122684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026753905,"filename":"image_28012025_01_58_04_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/47a6966a9fc3947e4de563181a879aee.jpg","text":"TemporaryFile(/tmp/multipartBody7622443926931403301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026753905,"filename":"image_28012025_01_58_14_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/da1378bb85a7e3fe565056716c161b91.jpg","text":"TemporaryFile(/tmp/multipartBody3827100401069453488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026753905,"filename":"image_28012025_01_58_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7d44f72baa8875008cef506d036f507f.jpg","text":"TemporaryFile(/tmp/multipartBody5434548514633374838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026753905,"filename":"image_28012025_01_58_45_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332151688","file1":"1332151685","file0":"1332151683","file4":"1332151692","file5":"1332151693","file3":"1332151690"},"map_files_photo_id_array":[{"photo_id":"1332151693","filename":"file5"},{"photo_id":"1332151688","filename":"file2"},{"photo_id":"1332151692","filename":"file4"},{"photo_id":"1332151685","filename":"file1"},{"photo_id":"1332151683","filename":"file0"},{"photo_id":"1332151690","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332151692":["hashtag1","hashtag2"]},{"1332151683":["hashtag1","hashtag2"]},{"1332151685":["hashtag1","hashtag2"]},{"1332151688":["hashtag1","hashtag2"]},{"1332151690":["hashtag1","hashtag2"]},{"1332151693":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332151692, 1332151683, 1332151685, 1332151688, 1332151690, 1332151693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.19300031661987 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:12:32.342634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/58/image_28012025_01_58_54_9414.jpg', '/home/pi/Desktop/images/28012025/01/58/image_28012025_01_59_04_10427.jpg', '/home/pi/Desktop/images/28012025/01/59/image_28012025_01_59_15_10357.jpg', '/home/pi/Desktop/images/28012025/01/59/image_28012025_01_59_24_9350.jpg', '/home/pi/Desktop/images/28012025/01/59/image_28012025_01_59_35_10462.jpg', '/home/pi/Desktop/images/28012025/01/59/image_28012025_01_59_45_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/58/image_28012025_01_58_54_9414.jpg
/home/pi/Desktop/images/28012025/01/58/image_28012025_01_59_04_10427.jpg
/home/pi/Desktop/images/28012025/01/59/image_28012025_01_59_15_10357.jpg
/home/pi/Desktop/images/28012025/01/59/image_28012025_01_59_24_9350.jpg
/home/pi/Desktop/images/28012025/01/59/image_28012025_01_59_35_10462.jpg
/home/pi/Desktop/images/28012025/01/59/image_28012025_01_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":["1332151756","1332151738","1332151749","1332151701","1332151703","1332151709"],"photo_ids_order":["1332151701","1332151703","1332151709","1332151738","1332151749","1332151756"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b8b8a76c1dd40a95f123e1ca7f97cd26.jpg","text":"TemporaryFile(/tmp/multipartBody5779200966244401388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026813259,"filename":"image_28012025_01_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/1/28/6241d52959bbbbeea51959c04b250ec7.jpg","text":"TemporaryFile(/tmp/multipartBody6298937742228316299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026813259,"filename":"image_28012025_01_59_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/1/28/aa35b98b7ef6eda793296599909e833e.jpg","text":"TemporaryFile(/tmp/multipartBody559788258766270692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026813259,"filename":"image_28012025_01_59_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/1/28/e5e3c000fe20103f8179122500fa150e.jpg","text":"TemporaryFile(/tmp/multipartBody8163352874695661867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026813259,"filename":"image_28012025_01_58_54_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4e264d8b091edb94a389de53ec72d979.jpg","text":"TemporaryFile(/tmp/multipartBody8396243940562682478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026813259,"filename":"image_28012025_01_59_04_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bfe7be51b1479cab46065a0a1976ae96.jpg","text":"TemporaryFile(/tmp/multipartBody1288315341324572282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026813259,"filename":"image_28012025_01_59_15_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332151709","file1":"1332151703","file0":"1332151701","file4":"1332151749","file5":"1332151756","file3":"1332151738"},"map_files_photo_id_array":[{"photo_id":"1332151756","filename":"file5"},{"photo_id":"1332151709","filename":"file2"},{"photo_id":"1332151749","filename":"file4"},{"photo_id":"1332151703","filename":"file1"},{"photo_id":"1332151701","filename":"file0"},{"photo_id":"1332151738","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332151756":["hashtag1","hashtag2"]},{"1332151738":["hashtag1","hashtag2"]},{"1332151749":["hashtag1","hashtag2"]},{"1332151701":["hashtag1","hashtag2"]},{"1332151703":["hashtag1","hashtag2"]},{"1332151709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332151756, 1332151738, 1332151749, 1332151701, 1332151703, 1332151709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.919275522232056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:13:32.656826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/01/59/image_28012025_01_59_54_9426.jpg', '/home/pi/Desktop/images/28012025/02/00/image_28012025_02_00_15_10067.jpg', '/home/pi/Desktop/images/28012025/02/00/image_28012025_02_00_25_10469.jpg', '/home/pi/Desktop/images/28012025/02/00/image_28012025_02_00_36_10429.jpg', '/home/pi/Desktop/images/28012025/02/00/image_28012025_02_00_45_9368.jpg', '/home/pi/Desktop/images/28012025/02/00/image_28012025_02_00_55_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/01/59/image_28012025_01_59_54_9426.jpg
/home/pi/Desktop/images/28012025/02/00/image_28012025_02_00_15_10067.jpg
/home/pi/Desktop/images/28012025/02/00/image_28012025_02_00_25_10469.jpg
/home/pi/Desktop/images/28012025/02/00/image_28012025_02_00_36_10429.jpg
/home/pi/Desktop/images/28012025/02/00/image_28012025_02_00_45_9368.jpg
/home/pi/Desktop/images/28012025/02/00/image_28012025_02_00_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":["1332151840","1332151837","1332151875","1332151848","1332151845","1332151874"],"photo_ids_order":["1332151837","1332151840","1332151845","1332151848","1332151874","1332151875"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2b1f6bf78e3848a6abd863781def358b.jpg","text":"TemporaryFile(/tmp/multipartBody4248216260062238444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026873578,"filename":"image_28012025_02_00_15_10067.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5b088a98f0d9d4b9039d9ea23afd9784.jpg","text":"TemporaryFile(/tmp/multipartBody6724474823782649570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026873578,"filename":"image_28012025_01_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/1/28/b873bce16f7dc13278d1aa9cd186cb0a.jpg","text":"TemporaryFile(/tmp/multipartBody8208857408920531599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026873578,"filename":"image_28012025_02_00_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/1/28/846937a8be523fdf330b79c5c5770f8f.jpg","text":"TemporaryFile(/tmp/multipartBody2153169377336824065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026873578,"filename":"image_28012025_02_00_36_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2ed1e07e2eacf6046f9f0b908dc15c2f.jpg","text":"TemporaryFile(/tmp/multipartBody5321730782710291989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026873578,"filename":"image_28012025_02_00_25_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b1550560f53ad6076f21b9d1923b9af0.jpg","text":"TemporaryFile(/tmp/multipartBody6584946006267767744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026873578,"filename":"image_28012025_02_00_45_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332151845","file1":"1332151840","file0":"1332151837","file4":"1332151874","file5":"1332151875","file3":"1332151848"},"map_files_photo_id_array":[{"photo_id":"1332151875","filename":"file5"},{"photo_id":"1332151845","filename":"file2"},{"photo_id":"1332151874","filename":"file4"},{"photo_id":"1332151840","filename":"file1"},{"photo_id":"1332151837","filename":"file0"},{"photo_id":"1332151848","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332151840":["hashtag1","hashtag2"]},{"1332151837":["hashtag1","hashtag2"]},{"1332151875":["hashtag1","hashtag2"]},{"1332151848":["hashtag1","hashtag2"]},{"1332151845":["hashtag1","hashtag2"]},{"1332151874":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332151840, 1332151837, 1332151875, 1332151848, 1332151845, 1332151874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14728021621704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:14:32.705940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/00/image_28012025_02_01_05_9374.jpg', '/home/pi/Desktop/images/28012025/02/01/image_28012025_02_01_15_10342.jpg', '/home/pi/Desktop/images/28012025/02/01/image_28012025_02_01_25_10369.jpg', '/home/pi/Desktop/images/28012025/02/01/image_28012025_02_01_35_9374.jpg', '/home/pi/Desktop/images/28012025/02/01/image_28012025_02_01_45_10360.jpg', '/home/pi/Desktop/images/28012025/02/01/image_28012025_02_01_56_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/00/image_28012025_02_01_05_9374.jpg
/home/pi/Desktop/images/28012025/02/01/image_28012025_02_01_15_10342.jpg
/home/pi/Desktop/images/28012025/02/01/image_28012025_02_01_25_10369.jpg
/home/pi/Desktop/images/28012025/02/01/image_28012025_02_01_35_9374.jpg
/home/pi/Desktop/images/28012025/02/01/image_28012025_02_01_45_10360.jpg
/home/pi/Desktop/images/28012025/02/01/image_28012025_02_01_56_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332151965","1332151953","1332151950","1332151964","1332151958","1332151955"],"photo_ids_order":["1332151950","1332151953","1332151955","1332151958","1332151964","1332151965"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e01858c7eb399368251897234a0dee8e.jpg","text":"TemporaryFile(/tmp/multipartBody6682525766074026355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026933630,"filename":"image_28012025_02_01_56_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c381466ebf79750f872ce7104116bf5b.jpg","text":"TemporaryFile(/tmp/multipartBody7103675165634703955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026933630,"filename":"image_28012025_02_01_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/1/28/a573272c7e3fc798e9af6c1d5d881388.jpg","text":"TemporaryFile(/tmp/multipartBody6329164759597187911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026933630,"filename":"image_28012025_02_01_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/1/28/24eb5b9e7888de99ae50260be46ccfef.jpg","text":"TemporaryFile(/tmp/multipartBody2313140001742518444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026933630,"filename":"image_28012025_02_01_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/1/28/1c0fce64721c17ac62f28db7872ebf49.jpg","text":"TemporaryFile(/tmp/multipartBody643572648017666990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026933630,"filename":"image_28012025_02_01_35_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/22f6a9ba35ea5db4e7403295bbfa4b83.jpg","text":"TemporaryFile(/tmp/multipartBody2003267467818249136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026933630,"filename":"image_28012025_02_01_25_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332151955","file1":"1332151953","file0":"1332151950","file4":"1332151964","file5":"1332151965","file3":"1332151958"},"map_files_photo_id_array":[{"photo_id":"1332151965","filename":"file5"},{"photo_id":"1332151955","filename":"file2"},{"photo_id":"1332151964","filename":"file4"},{"photo_id":"1332151953","filename":"file1"},{"photo_id":"1332151950","filename":"file0"},{"photo_id":"1332151958","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332151965":["hashtag1","hashtag2"]},{"1332151953":["hashtag1","hashtag2"]},{"1332151950":["hashtag1","hashtag2"]},{"1332151964":["hashtag1","hashtag2"]},{"1332151958":["hashtag1","hashtag2"]},{"1332151955":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332151965, 1332151953, 1332151950, 1332151964, 1332151958, 1332151955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.261332988739014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:15:32.894568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/01/image_28012025_02_02_05_9331.jpg', '/home/pi/Desktop/images/28012025/02/02/image_28012025_02_02_15_10418.jpg', '/home/pi/Desktop/images/28012025/02/02/image_28012025_02_02_26_10341.jpg', '/home/pi/Desktop/images/28012025/02/02/image_28012025_02_02_35_9362.jpg', '/home/pi/Desktop/images/28012025/02/02/image_28012025_02_02_45_10377.jpg', '/home/pi/Desktop/images/28012025/02/02/image_28012025_02_02_55_9330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/01/image_28012025_02_02_05_9331.jpg
/home/pi/Desktop/images/28012025/02/02/image_28012025_02_02_15_10418.jpg
/home/pi/Desktop/images/28012025/02/02/image_28012025_02_02_26_10341.jpg
/home/pi/Desktop/images/28012025/02/02/image_28012025_02_02_35_9362.jpg
/home/pi/Desktop/images/28012025/02/02/image_28012025_02_02_45_10377.jpg
/home/pi/Desktop/images/28012025/02/02/image_28012025_02_02_55_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":["1332152028","1332152025","1332152004","1332152027","1332152026","1332152029"],"photo_ids_order":["1332152004","1332152025","1332152026","1332152027","1332152028","1332152029"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c4ce0e5fc2745a7a9689afb3f625ff69.jpg","text":"TemporaryFile(/tmp/multipartBody8013827432605193553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026993800,"filename":"image_28012025_02_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/1/28/dde3e328ac3bf070990d21f129a00fbe.jpg","text":"TemporaryFile(/tmp/multipartBody3756047987617555454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026993800,"filename":"image_28012025_02_02_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/1/28/37f96b14836da85c8aea08cb31022dae.jpg","text":"TemporaryFile(/tmp/multipartBody196215223861606906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026993800,"filename":"image_28012025_02_02_05_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5b2b6fed337c8a7c672851a848e0a084.jpg","text":"TemporaryFile(/tmp/multipartBody5354367466092304455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026993800,"filename":"image_28012025_02_02_35_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ce4358222cc4e1d24330a73d58c2f450.jpg","text":"TemporaryFile(/tmp/multipartBody2383453515386384851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026993800,"filename":"image_28012025_02_02_26_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/20a26c6c0f7139638785554be787dfb8.jpg","text":"TemporaryFile(/tmp/multipartBody2382592965571057886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738026993800,"filename":"image_28012025_02_02_55_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332152026","file1":"1332152025","file0":"1332152004","file4":"1332152028","file5":"1332152029","file3":"1332152027"},"map_files_photo_id_array":[{"photo_id":"1332152029","filename":"file5"},{"photo_id":"1332152026","filename":"file2"},{"photo_id":"1332152028","filename":"file4"},{"photo_id":"1332152025","filename":"file1"},{"photo_id":"1332152004","filename":"file0"},{"photo_id":"1332152027","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332152028":["hashtag1","hashtag2"]},{"1332152025":["hashtag1","hashtag2"]},{"1332152004":["hashtag1","hashtag2"]},{"1332152027":["hashtag1","hashtag2"]},{"1332152026":["hashtag1","hashtag2"]},{"1332152029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332152028, 1332152025, 1332152004, 1332152027, 1332152026, 1332152029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.487958669662476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:16:32.394983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/02/image_28012025_02_03_05_10337.jpg', '/home/pi/Desktop/images/28012025/02/03/image_28012025_02_03_15_10414.jpg', '/home/pi/Desktop/images/28012025/02/03/image_28012025_02_03_25_9325.jpg', '/home/pi/Desktop/images/28012025/02/03/image_28012025_02_03_35_10353.jpg', '/home/pi/Desktop/images/28012025/02/03/image_28012025_02_03_46_10455.jpg', '/home/pi/Desktop/images/28012025/02/03/image_28012025_02_03_55_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/02/image_28012025_02_03_05_10337.jpg
/home/pi/Desktop/images/28012025/02/03/image_28012025_02_03_15_10414.jpg
/home/pi/Desktop/images/28012025/02/03/image_28012025_02_03_25_9325.jpg
/home/pi/Desktop/images/28012025/02/03/image_28012025_02_03_35_10353.jpg
/home/pi/Desktop/images/28012025/02/03/image_28012025_02_03_46_10455.jpg
/home/pi/Desktop/images/28012025/02/03/image_28012025_02_03_55_9355.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5249497890472412 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 02:16:42.184601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/02/image_28012025_02_03_05_10337.jpg', '/home/pi/Desktop/images/28012025/02/03/image_28012025_02_03_15_10414.jpg', '/home/pi/Desktop/images/28012025/02/03/image_28012025_02_03_25_9325.jpg', '/home/pi/Desktop/images/28012025/02/03/image_28012025_02_03_35_10353.jpg', '/home/pi/Desktop/images/28012025/02/03/image_28012025_02_03_46_10455.jpg', '/home/pi/Desktop/images/28012025/02/03/image_28012025_02_03_55_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/02/image_28012025_02_03_05_10337.jpg
/home/pi/Desktop/images/28012025/02/03/image_28012025_02_03_15_10414.jpg
/home/pi/Desktop/images/28012025/02/03/image_28012025_02_03_25_9325.jpg
/home/pi/Desktop/images/28012025/02/03/image_28012025_02_03_35_10353.jpg
/home/pi/Desktop/images/28012025/02/03/image_28012025_02_03_46_10455.jpg
/home/pi/Desktop/images/28012025/02/03/image_28012025_02_03_55_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":["1332152271","1332152331","1332152340","1332152269","1332152335","1332152230"],"photo_ids_order":["1332152230","1332152269","1332152271","1332152331","1332152335","1332152340"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fec806187058f21f75822db68352b000.jpg","text":"TemporaryFile(/tmp/multipartBody1926111172222649284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027063082,"filename":"image_28012025_02_03_25_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bf02f24ef96ca8e9f55e097c66f56332.jpg","text":"TemporaryFile(/tmp/multipartBody692888223407146576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027063082,"filename":"image_28012025_02_03_35_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e1bbfa6cd0ecb1c04486b26791f172d3.jpg","text":"TemporaryFile(/tmp/multipartBody3389883287139384458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027063082,"filename":"image_28012025_02_03_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/1/28/3f79f1018f0b9f0e15cf00991b1aea8a.jpg","text":"TemporaryFile(/tmp/multipartBody335176250863632686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027063082,"filename":"image_28012025_02_03_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/1/28/768b7a74162419fe98d988030a621cbe.jpg","text":"TemporaryFile(/tmp/multipartBody4202689715682214992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027063082,"filename":"image_28012025_02_03_46_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2ab4ac776ba2644b77fd4c7aed113e63.jpg","text":"TemporaryFile(/tmp/multipartBody6719900384974195661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027063082,"filename":"image_28012025_02_03_05_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332152271","file1":"1332152269","file0":"1332152230","file4":"1332152335","file5":"1332152340","file3":"1332152331"},"map_files_photo_id_array":[{"photo_id":"1332152340","filename":"file5"},{"photo_id":"1332152271","filename":"file2"},{"photo_id":"1332152335","filename":"file4"},{"photo_id":"1332152269","filename":"file1"},{"photo_id":"1332152230","filename":"file0"},{"photo_id":"1332152331","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332152271":["hashtag1","hashtag2"]},{"1332152331":["hashtag1","hashtag2"]},{"1332152340":["hashtag1","hashtag2"]},{"1332152269":["hashtag1","hashtag2"]},{"1332152335":["hashtag1","hashtag2"]},{"1332152230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332152271, 1332152331, 1332152340, 1332152269, 1332152335, 1332152230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.06898903846741 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:17:32.453054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/03/image_28012025_02_04_05_10493.jpg', '/home/pi/Desktop/images/28012025/02/04/image_28012025_02_04_15_9321.jpg', '/home/pi/Desktop/images/28012025/02/04/image_28012025_02_04_25_10406.jpg', '/home/pi/Desktop/images/28012025/02/04/image_28012025_02_04_36_10351.jpg', '/home/pi/Desktop/images/28012025/02/04/image_28012025_02_04_45_9373.jpg', '/home/pi/Desktop/images/28012025/02/04/image_28012025_02_04_55_10470.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/03/image_28012025_02_04_05_10493.jpg
/home/pi/Desktop/images/28012025/02/04/image_28012025_02_04_15_9321.jpg
/home/pi/Desktop/images/28012025/02/04/image_28012025_02_04_25_10406.jpg
/home/pi/Desktop/images/28012025/02/04/image_28012025_02_04_36_10351.jpg
/home/pi/Desktop/images/28012025/02/04/image_28012025_02_04_45_9373.jpg
/home/pi/Desktop/images/28012025/02/04/image_28012025_02_04_55_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":["1332152463","1332152466","1332152465","1332152462","1332152438","1332152464"],"photo_ids_order":["1332152438","1332152462","1332152463","1332152464","1332152465","1332152466"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/454076b80d87e57e0ffdf7c8ee346782.jpg","text":"TemporaryFile(/tmp/multipartBody3423510810241000541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027113366,"filename":"image_28012025_02_04_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/1/28/3513c7237f11fe2c222d37331b826fbb.jpg","text":"TemporaryFile(/tmp/multipartBody1962123956110970493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027113366,"filename":"image_28012025_02_04_55_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8a1476327d296cc1187be65dd8eca670.jpg","text":"TemporaryFile(/tmp/multipartBody3769360330111934934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027113366,"filename":"image_28012025_02_04_45_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b33ebec43d697840b353decabbff6fc0.jpg","text":"TemporaryFile(/tmp/multipartBody7094167536090476584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027113366,"filename":"image_28012025_02_04_15_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/68652d4112849b60b4c761123e632a68.jpg","text":"TemporaryFile(/tmp/multipartBody7015226160407284517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027113366,"filename":"image_28012025_02_04_05_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2e2460dfbea3e3e485875f618dd1e258.jpg","text":"TemporaryFile(/tmp/multipartBody7180300207083912493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027113366,"filename":"image_28012025_02_04_36_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332152463","file1":"1332152462","file0":"1332152438","file4":"1332152465","file5":"1332152466","file3":"1332152464"},"map_files_photo_id_array":[{"photo_id":"1332152466","filename":"file5"},{"photo_id":"1332152463","filename":"file2"},{"photo_id":"1332152465","filename":"file4"},{"photo_id":"1332152462","filename":"file1"},{"photo_id":"1332152438","filename":"file0"},{"photo_id":"1332152464","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332152463":["hashtag1","hashtag2"]},{"1332152466":["hashtag1","hashtag2"]},{"1332152465":["hashtag1","hashtag2"]},{"1332152462":["hashtag1","hashtag2"]},{"1332152438":["hashtag1","hashtag2"]},{"1332152464":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332152463, 1332152466, 1332152465, 1332152462, 1332152438, 1332152464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.32761836051941 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:18:32.636385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/04/image_28012025_02_05_05_9344.jpg', '/home/pi/Desktop/images/28012025/02/05/image_28012025_02_05_15_10374.jpg', '/home/pi/Desktop/images/28012025/02/05/image_28012025_02_05_26_10447.jpg', '/home/pi/Desktop/images/28012025/02/05/image_28012025_02_05_35_9361.jpg', '/home/pi/Desktop/images/28012025/02/05/image_28012025_02_05_45_10477.jpg', '/home/pi/Desktop/images/28012025/02/05/image_28012025_02_05_55_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/04/image_28012025_02_05_05_9344.jpg
/home/pi/Desktop/images/28012025/02/05/image_28012025_02_05_15_10374.jpg
/home/pi/Desktop/images/28012025/02/05/image_28012025_02_05_26_10447.jpg
/home/pi/Desktop/images/28012025/02/05/image_28012025_02_05_35_9361.jpg
/home/pi/Desktop/images/28012025/02/05/image_28012025_02_05_45_10477.jpg
/home/pi/Desktop/images/28012025/02/05/image_28012025_02_05_55_9339.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5102946758270264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 02:18:42.746919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/04/image_28012025_02_05_05_9344.jpg', '/home/pi/Desktop/images/28012025/02/05/image_28012025_02_05_15_10374.jpg', '/home/pi/Desktop/images/28012025/02/05/image_28012025_02_05_26_10447.jpg', '/home/pi/Desktop/images/28012025/02/05/image_28012025_02_05_35_9361.jpg', '/home/pi/Desktop/images/28012025/02/05/image_28012025_02_05_45_10477.jpg', '/home/pi/Desktop/images/28012025/02/05/image_28012025_02_05_55_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/04/image_28012025_02_05_05_9344.jpg
/home/pi/Desktop/images/28012025/02/05/image_28012025_02_05_15_10374.jpg
/home/pi/Desktop/images/28012025/02/05/image_28012025_02_05_26_10447.jpg
/home/pi/Desktop/images/28012025/02/05/image_28012025_02_05_35_9361.jpg
/home/pi/Desktop/images/28012025/02/05/image_28012025_02_05_45_10477.jpg
/home/pi/Desktop/images/28012025/02/05/image_28012025_02_05_55_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332152667","1332152633","1332152621","1332152630","1332152638","1332152617"],"photo_ids_order":["1332152617","1332152621","1332152630","1332152633","1332152638","1332152667"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b78c7891ec9cdf1747d3c9c03a0e2e16.jpg","text":"TemporaryFile(/tmp/multipartBody8140107772370742355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027183656,"filename":"image_28012025_02_05_55_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/26d0e830c4b950d65407a8fc6fa08c4e.jpg","text":"TemporaryFile(/tmp/multipartBody5631803597806561867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027183656,"filename":"image_28012025_02_05_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/1/28/2ef1f3ec000d22fcad7692dc08e30882.jpg","text":"TemporaryFile(/tmp/multipartBody7202148202477087569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027183656,"filename":"image_28012025_02_05_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/1/28/8c0cd4d3d5bf4b9bc3e7837f5d5b657e.jpg","text":"TemporaryFile(/tmp/multipartBody7159110555126534964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027183656,"filename":"image_28012025_02_05_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/1/28/d456c243782a1cebdb73fb86abb89d0b.jpg","text":"TemporaryFile(/tmp/multipartBody8804950382455985885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027183656,"filename":"image_28012025_02_05_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/1/28/2f7a2e2bcb6ad44ee0ff7bb0cd85032d.jpg","text":"TemporaryFile(/tmp/multipartBody809395274466237894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027183656,"filename":"image_28012025_02_05_05_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332152630","file1":"1332152621","file0":"1332152617","file4":"1332152638","file5":"1332152667","file3":"1332152633"},"map_files_photo_id_array":[{"photo_id":"1332152667","filename":"file5"},{"photo_id":"1332152630","filename":"file2"},{"photo_id":"1332152638","filename":"file4"},{"photo_id":"1332152621","filename":"file1"},{"photo_id":"1332152617","filename":"file0"},{"photo_id":"1332152633","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332152667":["hashtag1","hashtag2"]},{"1332152633":["hashtag1","hashtag2"]},{"1332152621":["hashtag1","hashtag2"]},{"1332152630":["hashtag1","hashtag2"]},{"1332152638":["hashtag1","hashtag2"]},{"1332152617":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332152667, 1332152633, 1332152621, 1332152630, 1332152638, 1332152617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.69212222099304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:19:32.798853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/05/image_28012025_02_06_05_10344.jpg', '/home/pi/Desktop/images/28012025/02/06/image_28012025_02_06_15_10342.jpg', '/home/pi/Desktop/images/28012025/02/06/image_28012025_02_06_25_9330.jpg', '/home/pi/Desktop/images/28012025/02/06/image_28012025_02_06_35_10379.jpg', '/home/pi/Desktop/images/28012025/02/06/image_28012025_02_06_45_10349.jpg', '/home/pi/Desktop/images/28012025/02/06/image_28012025_02_06_55_9380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/05/image_28012025_02_06_05_10344.jpg
/home/pi/Desktop/images/28012025/02/06/image_28012025_02_06_15_10342.jpg
/home/pi/Desktop/images/28012025/02/06/image_28012025_02_06_25_9330.jpg
/home/pi/Desktop/images/28012025/02/06/image_28012025_02_06_35_10379.jpg
/home/pi/Desktop/images/28012025/02/06/image_28012025_02_06_45_10349.jpg
/home/pi/Desktop/images/28012025/02/06/image_28012025_02_06_55_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":["1332152727","1332152712","1332152783","1332152709","1332152768","1332152741"],"photo_ids_order":["1332152709","1332152712","1332152727","1332152741","1332152768","1332152783"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5052f112d520d229f0b85497465197a0.jpg","text":"TemporaryFile(/tmp/multipartBody6524881358226213112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027233736,"filename":"image_28012025_02_06_25_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fd92092275377268d4a9a5028263989f.jpg","text":"TemporaryFile(/tmp/multipartBody6287132175031112787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027233736,"filename":"image_28012025_02_06_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/1/28/9f096ce53d4f752738989e8aecde485f.jpg","text":"TemporaryFile(/tmp/multipartBody5220675982383678041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027233736,"filename":"image_28012025_02_06_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/1/28/739e950c950665437ff46c1db4ae7869.jpg","text":"TemporaryFile(/tmp/multipartBody5350674323537374014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027233736,"filename":"image_28012025_02_06_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/1/28/f3a915b0e639ad64c900513d8a47ee69.jpg","text":"TemporaryFile(/tmp/multipartBody1494113594010485121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027233736,"filename":"image_28012025_02_06_45_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/057d9565dcc5bc9fcce477d2b1743fe0.jpg","text":"TemporaryFile(/tmp/multipartBody8257196118720987661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027233736,"filename":"image_28012025_02_06_35_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332152727","file1":"1332152712","file0":"1332152709","file4":"1332152768","file5":"1332152783","file3":"1332152741"},"map_files_photo_id_array":[{"photo_id":"1332152783","filename":"file5"},{"photo_id":"1332152727","filename":"file2"},{"photo_id":"1332152768","filename":"file4"},{"photo_id":"1332152712","filename":"file1"},{"photo_id":"1332152709","filename":"file0"},{"photo_id":"1332152741","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332152727":["hashtag1","hashtag2"]},{"1332152712":["hashtag1","hashtag2"]},{"1332152783":["hashtag1","hashtag2"]},{"1332152709":["hashtag1","hashtag2"]},{"1332152768":["hashtag1","hashtag2"]},{"1332152741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332152727, 1332152712, 1332152783, 1332152709, 1332152768, 1332152741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.41843056678772 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:20:33.036037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/06/image_28012025_02_07_05_10339.jpg', '/home/pi/Desktop/images/28012025/02/07/image_28012025_02_07_16_10421.jpg', '/home/pi/Desktop/images/28012025/02/07/image_28012025_02_07_25_9346.jpg', '/home/pi/Desktop/images/28012025/02/07/image_28012025_02_07_35_10466.jpg', '/home/pi/Desktop/images/28012025/02/07/image_28012025_02_07_45_9342.jpg', '/home/pi/Desktop/images/28012025/02/07/image_28012025_02_07_55_10393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/06/image_28012025_02_07_05_10339.jpg
/home/pi/Desktop/images/28012025/02/07/image_28012025_02_07_16_10421.jpg
/home/pi/Desktop/images/28012025/02/07/image_28012025_02_07_25_9346.jpg
/home/pi/Desktop/images/28012025/02/07/image_28012025_02_07_35_10466.jpg
/home/pi/Desktop/images/28012025/02/07/image_28012025_02_07_45_9342.jpg
/home/pi/Desktop/images/28012025/02/07/image_28012025_02_07_55_10393.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5391750335693359 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 02:20:42.975525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/06/image_28012025_02_07_05_10339.jpg', '/home/pi/Desktop/images/28012025/02/07/image_28012025_02_07_16_10421.jpg', '/home/pi/Desktop/images/28012025/02/07/image_28012025_02_07_25_9346.jpg', '/home/pi/Desktop/images/28012025/02/07/image_28012025_02_07_35_10466.jpg', '/home/pi/Desktop/images/28012025/02/07/image_28012025_02_07_45_9342.jpg', '/home/pi/Desktop/images/28012025/02/07/image_28012025_02_07_55_10393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/06/image_28012025_02_07_05_10339.jpg
/home/pi/Desktop/images/28012025/02/07/image_28012025_02_07_16_10421.jpg
/home/pi/Desktop/images/28012025/02/07/image_28012025_02_07_25_9346.jpg
/home/pi/Desktop/images/28012025/02/07/image_28012025_02_07_35_10466.jpg
/home/pi/Desktop/images/28012025/02/07/image_28012025_02_07_45_9342.jpg
/home/pi/Desktop/images/28012025/02/07/image_28012025_02_07_55_10393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332153036","1332153023","1332153026","1332153040","1332153019","1332153030"],"photo_ids_order":["1332153019","1332153023","1332153026","1332153030","1332153036","1332153040"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e1b2d31f135857367951db4ad0e7f55b.jpg","text":"TemporaryFile(/tmp/multipartBody3672692762805197785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027303916,"filename":"image_28012025_02_07_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/1/28/73bee9cf38b5e40cd6a18e56cd0413f9.jpg","text":"TemporaryFile(/tmp/multipartBody8026647432029942690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027303916,"filename":"image_28012025_02_07_16_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4bc567bb379260ed3b92293e621f6ded.jpg","text":"TemporaryFile(/tmp/multipartBody1673891086898925720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027303916,"filename":"image_28012025_02_07_25_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0ae95c29764b966fe159ab0fc8da232c.jpg","text":"TemporaryFile(/tmp/multipartBody7071325385190893801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027303916,"filename":"image_28012025_02_07_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/1/28/dfe601e22dbbe7868b72d997b7df4b33.jpg","text":"TemporaryFile(/tmp/multipartBody6070989046496653916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027303916,"filename":"image_28012025_02_07_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/1/28/57bd5d5e5ca761b3ac609b8bb2e3db12.jpg","text":"TemporaryFile(/tmp/multipartBody7065511707207670648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027303916,"filename":"image_28012025_02_07_35_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332153026","file1":"1332153023","file0":"1332153019","file4":"1332153036","file5":"1332153040","file3":"1332153030"},"map_files_photo_id_array":[{"photo_id":"1332153040","filename":"file5"},{"photo_id":"1332153026","filename":"file2"},{"photo_id":"1332153036","filename":"file4"},{"photo_id":"1332153023","filename":"file1"},{"photo_id":"1332153019","filename":"file0"},{"photo_id":"1332153030","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332153036":["hashtag1","hashtag2"]},{"1332153023":["hashtag1","hashtag2"]},{"1332153026":["hashtag1","hashtag2"]},{"1332153040":["hashtag1","hashtag2"]},{"1332153019":["hashtag1","hashtag2"]},{"1332153030":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332153036, 1332153023, 1332153026, 1332153040, 1332153019, 1332153030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.79459834098816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:21:32.242239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/07/image_28012025_02_08_06_10422.jpg', '/home/pi/Desktop/images/28012025/02/08/image_28012025_02_08_15_9331.jpg', '/home/pi/Desktop/images/28012025/02/08/image_28012025_02_08_25_10438.jpg', '/home/pi/Desktop/images/28012025/02/08/image_28012025_02_08_35_9383.jpg', '/home/pi/Desktop/images/28012025/02/08/image_28012025_02_08_45_10706.jpg', '/home/pi/Desktop/images/28012025/02/08/image_28012025_02_08_55_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/07/image_28012025_02_08_06_10422.jpg
/home/pi/Desktop/images/28012025/02/08/image_28012025_02_08_15_9331.jpg
/home/pi/Desktop/images/28012025/02/08/image_28012025_02_08_25_10438.jpg
/home/pi/Desktop/images/28012025/02/08/image_28012025_02_08_35_9383.jpg
/home/pi/Desktop/images/28012025/02/08/image_28012025_02_08_45_10706.jpg
/home/pi/Desktop/images/28012025/02/08/image_28012025_02_08_55_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":["1332153102","1332153077","1332153085","1332153070","1332153130","1332153304"],"photo_ids_order":["1332153070","1332153077","1332153085","1332153102","1332153130","1332153304"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/94f21f36ff9307bad41e63cde071ece2.jpg","text":"TemporaryFile(/tmp/multipartBody1812895190887722352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027353147,"filename":"image_28012025_02_08_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/1/28/60181460e50425714e3cb026aacfaf86.jpg","text":"TemporaryFile(/tmp/multipartBody4510451993878620618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027353147,"filename":"image_28012025_02_08_15_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cd82d5d962afec782e1ac04343d687e3.jpg","text":"TemporaryFile(/tmp/multipartBody6078222732766699261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027353147,"filename":"image_28012025_02_08_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/1/28/d05ed4fb8b6401fc6305a6ee92ea38e4.jpg","text":"TemporaryFile(/tmp/multipartBody2453654023963377610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027353147,"filename":"image_28012025_02_08_06_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2ff852f4d2167e359edc4c82b564120a.jpg","text":"TemporaryFile(/tmp/multipartBody316976931274224855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027353147,"filename":"image_28012025_02_08_45_10706.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4d5df0abb613ac4b41e5526dc9981544.jpg","text":"TemporaryFile(/tmp/multipartBody5815116622461889915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027353147,"filename":"image_28012025_02_08_55_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332153085","file1":"1332153077","file0":"1332153070","file4":"1332153130","file5":"1332153304","file3":"1332153102"},"map_files_photo_id_array":[{"photo_id":"1332153304","filename":"file5"},{"photo_id":"1332153085","filename":"file2"},{"photo_id":"1332153130","filename":"file4"},{"photo_id":"1332153077","filename":"file1"},{"photo_id":"1332153070","filename":"file0"},{"photo_id":"1332153102","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332153102":["hashtag1","hashtag2"]},{"1332153077":["hashtag1","hashtag2"]},{"1332153085":["hashtag1","hashtag2"]},{"1332153070":["hashtag1","hashtag2"]},{"1332153130":["hashtag1","hashtag2"]},{"1332153304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332153102, 1332153077, 1332153085, 1332153070, 1332153130, 1332153304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.32713580131531 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:22:32.439263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/08/image_28012025_02_09_05_10326.jpg', '/home/pi/Desktop/images/28012025/02/09/image_28012025_02_09_16_10427.jpg', '/home/pi/Desktop/images/28012025/02/09/image_28012025_02_09_25_9342.jpg', '/home/pi/Desktop/images/28012025/02/09/image_28012025_02_09_35_10341.jpg', '/home/pi/Desktop/images/28012025/02/09/image_28012025_02_09_46_10432.jpg', '/home/pi/Desktop/images/28012025/02/09/image_28012025_02_09_55_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/08/image_28012025_02_09_05_10326.jpg
/home/pi/Desktop/images/28012025/02/09/image_28012025_02_09_16_10427.jpg
/home/pi/Desktop/images/28012025/02/09/image_28012025_02_09_25_9342.jpg
/home/pi/Desktop/images/28012025/02/09/image_28012025_02_09_35_10341.jpg
/home/pi/Desktop/images/28012025/02/09/image_28012025_02_09_46_10432.jpg
/home/pi/Desktop/images/28012025/02/09/image_28012025_02_09_55_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":["1332154064","1332154073","1332154067","1332154096","1332154071","1332154062"],"photo_ids_order":["1332154062","1332154064","1332154067","1332154071","1332154073","1332154096"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/aa14871d100c644986f9c04f8536d67b.jpg","text":"TemporaryFile(/tmp/multipartBody3426429940955862424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027413362,"filename":"image_28012025_02_09_16_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d2de019bd857281e8e223ef7665fa9b9.jpg","text":"TemporaryFile(/tmp/multipartBody4945206252253293923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027413362,"filename":"image_28012025_02_09_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/1/28/cea7c191654b9caab384601c31bca2e6.jpg","text":"TemporaryFile(/tmp/multipartBody1142006211138581154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027413362,"filename":"image_28012025_02_09_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/1/28/0410e5ed287d7b5a58c0d527aa70c425.jpg","text":"TemporaryFile(/tmp/multipartBody827768998670035788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027413362,"filename":"image_28012025_02_09_55_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9bae4e2c8ffccdb247ff3bf73f7522c4.jpg","text":"TemporaryFile(/tmp/multipartBody8510301341078214287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027413362,"filename":"image_28012025_02_09_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/1/28/b282c72743dae65b94616f87866100b0.jpg","text":"TemporaryFile(/tmp/multipartBody1506288707645931020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027413362,"filename":"image_28012025_02_09_05_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332154067","file1":"1332154064","file0":"1332154062","file4":"1332154073","file5":"1332154096","file3":"1332154071"},"map_files_photo_id_array":[{"photo_id":"1332154096","filename":"file5"},{"photo_id":"1332154067","filename":"file2"},{"photo_id":"1332154073","filename":"file4"},{"photo_id":"1332154064","filename":"file1"},{"photo_id":"1332154062","filename":"file0"},{"photo_id":"1332154071","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332154064":["hashtag1","hashtag2"]},{"1332154073":["hashtag1","hashtag2"]},{"1332154067":["hashtag1","hashtag2"]},{"1332154096":["hashtag1","hashtag2"]},{"1332154071":["hashtag1","hashtag2"]},{"1332154062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332154064, 1332154073, 1332154067, 1332154096, 1332154071, 1332154062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.78383278846741 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:23:32.688150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/09/image_28012025_02_10_05_10405.jpg', '/home/pi/Desktop/images/28012025/02/10/image_28012025_02_10_15_9342.jpg', '/home/pi/Desktop/images/28012025/02/10/image_28012025_02_10_25_10436.jpg', '/home/pi/Desktop/images/28012025/02/10/image_28012025_02_10_36_10410.jpg', '/home/pi/Desktop/images/28012025/02/10/image_28012025_02_10_45_9346.jpg', '/home/pi/Desktop/images/28012025/02/10/image_28012025_02_10_55_10406.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/09/image_28012025_02_10_05_10405.jpg
/home/pi/Desktop/images/28012025/02/10/image_28012025_02_10_15_9342.jpg
/home/pi/Desktop/images/28012025/02/10/image_28012025_02_10_25_10436.jpg
/home/pi/Desktop/images/28012025/02/10/image_28012025_02_10_36_10410.jpg
/home/pi/Desktop/images/28012025/02/10/image_28012025_02_10_45_9346.jpg
/home/pi/Desktop/images/28012025/02/10/image_28012025_02_10_55_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":["1332154127","1332154121","1332154192","1332154150","1332154147","1332154143"],"photo_ids_order":["1332154121","1332154127","1332154143","1332154147","1332154150","1332154192"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fec1c2ea8860f6fd162e49b9f327a356.jpg","text":"TemporaryFile(/tmp/multipartBody1202944230063846224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027473589,"filename":"image_28012025_02_10_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/1/28/15e5fb9f457e8341deb646921c6ad660.jpg","text":"TemporaryFile(/tmp/multipartBody1143489625442943172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027473589,"filename":"image_28012025_02_10_05_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3f029389a19324baf1b00d6e5e856828.jpg","text":"TemporaryFile(/tmp/multipartBody8834166904227966784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027473589,"filename":"image_28012025_02_10_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/1/28/ac70a667decee5d7115b5aa4ba598e2f.jpg","text":"TemporaryFile(/tmp/multipartBody2818349895457706443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027473589,"filename":"image_28012025_02_10_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/1/28/97b0b3cfa88ed3a2e59c2927a39d027d.jpg","text":"TemporaryFile(/tmp/multipartBody3220261111118035151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027473589,"filename":"image_28012025_02_10_36_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/156e82d28e5f56d9f7e375b044648ca7.jpg","text":"TemporaryFile(/tmp/multipartBody4127379394806917278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027473589,"filename":"image_28012025_02_10_25_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332154143","file1":"1332154127","file0":"1332154121","file4":"1332154150","file5":"1332154192","file3":"1332154147"},"map_files_photo_id_array":[{"photo_id":"1332154192","filename":"file5"},{"photo_id":"1332154143","filename":"file2"},{"photo_id":"1332154150","filename":"file4"},{"photo_id":"1332154127","filename":"file1"},{"photo_id":"1332154121","filename":"file0"},{"photo_id":"1332154147","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332154127":["hashtag1","hashtag2"]},{"1332154121":["hashtag1","hashtag2"]},{"1332154192":["hashtag1","hashtag2"]},{"1332154150":["hashtag1","hashtag2"]},{"1332154147":["hashtag1","hashtag2"]},{"1332154143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332154127, 1332154121, 1332154192, 1332154150, 1332154147, 1332154143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.10293006896973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:24:32.815143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/10/image_28012025_02_11_06_10355.jpg', '/home/pi/Desktop/images/28012025/02/11/image_28012025_02_11_15_9341.jpg', '/home/pi/Desktop/images/28012025/02/11/image_28012025_02_11_25_10383.jpg', '/home/pi/Desktop/images/28012025/02/11/image_28012025_02_11_35_9357.jpg', '/home/pi/Desktop/images/28012025/02/11/image_28012025_02_11_45_10360.jpg', '/home/pi/Desktop/images/28012025/02/11/image_28012025_02_11_56_10438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/10/image_28012025_02_11_06_10355.jpg
/home/pi/Desktop/images/28012025/02/11/image_28012025_02_11_15_9341.jpg
/home/pi/Desktop/images/28012025/02/11/image_28012025_02_11_25_10383.jpg
/home/pi/Desktop/images/28012025/02/11/image_28012025_02_11_35_9357.jpg
/home/pi/Desktop/images/28012025/02/11/image_28012025_02_11_45_10360.jpg
/home/pi/Desktop/images/28012025/02/11/image_28012025_02_11_56_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":["1332154694","1332154643","1332154603","1332154743","1332154679","1332154592"],"photo_ids_order":["1332154592","1332154603","1332154643","1332154679","1332154694","1332154743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/664df2843f70b6341ddc29be9c8bc7b0.jpg","text":"TemporaryFile(/tmp/multipartBody7990782027430720386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027533736,"filename":"image_28012025_02_11_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/1/28/aee14884d549f71103dc7ec33613c1fa.jpg","text":"TemporaryFile(/tmp/multipartBody7598070710768139546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027533736,"filename":"image_28012025_02_11_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/1/28/e32b2ffd8939f3827915b6a1d63e3129.jpg","text":"TemporaryFile(/tmp/multipartBody8509664918303778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027533736,"filename":"image_28012025_02_11_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/1/28/fd4575e2c1ac651b33a0bd3725ed9524.jpg","text":"TemporaryFile(/tmp/multipartBody7371719754212274225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027533736,"filename":"image_28012025_02_11_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/1/28/e258f3f07e789e041ce3d4c07eea8d5f.jpg","text":"TemporaryFile(/tmp/multipartBody8107123104675768316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027533736,"filename":"image_28012025_02_11_35_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/37fc956b4b9c72b02b57ce197e70df02.jpg","text":"TemporaryFile(/tmp/multipartBody4729029534126235486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027533736,"filename":"image_28012025_02_11_06_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332154643","file1":"1332154603","file0":"1332154592","file4":"1332154694","file5":"1332154743","file3":"1332154679"},"map_files_photo_id_array":[{"photo_id":"1332154743","filename":"file5"},{"photo_id":"1332154643","filename":"file2"},{"photo_id":"1332154694","filename":"file4"},{"photo_id":"1332154603","filename":"file1"},{"photo_id":"1332154592","filename":"file0"},{"photo_id":"1332154679","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332154694":["hashtag1","hashtag2"]},{"1332154643":["hashtag1","hashtag2"]},{"1332154603":["hashtag1","hashtag2"]},{"1332154743":["hashtag1","hashtag2"]},{"1332154679":["hashtag1","hashtag2"]},{"1332154592":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332154694, 1332154643, 1332154603, 1332154743, 1332154679, 1332154592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.13669514656067 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:25:33.148900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/11/image_28012025_02_12_05_9431.jpg', '/home/pi/Desktop/images/28012025/02/12/image_28012025_02_12_15_10348.jpg', '/home/pi/Desktop/images/28012025/02/12/image_28012025_02_12_26_10347.jpg', '/home/pi/Desktop/images/28012025/02/12/image_28012025_02_12_35_9349.jpg', '/home/pi/Desktop/images/28012025/02/12/image_28012025_02_12_46_10474.jpg', '/home/pi/Desktop/images/28012025/02/12/image_28012025_02_12_55_9400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/11/image_28012025_02_12_05_9431.jpg
/home/pi/Desktop/images/28012025/02/12/image_28012025_02_12_15_10348.jpg
/home/pi/Desktop/images/28012025/02/12/image_28012025_02_12_26_10347.jpg
/home/pi/Desktop/images/28012025/02/12/image_28012025_02_12_35_9349.jpg
/home/pi/Desktop/images/28012025/02/12/image_28012025_02_12_46_10474.jpg
/home/pi/Desktop/images/28012025/02/12/image_28012025_02_12_55_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":["1332154907","1332154910","1332154873","1332154899","1332154881","1332154911"],"photo_ids_order":["1332154873","1332154881","1332154899","1332154907","1332154910","1332154911"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/200c161b790402e91b837f86e3fb9a76.jpg","text":"TemporaryFile(/tmp/multipartBody4410098191074997109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027594060,"filename":"image_28012025_02_12_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/1/28/fe1cc294d9b01c061d77bb63cb549fb3.jpg","text":"TemporaryFile(/tmp/multipartBody3845121803826172940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027594060,"filename":"image_28012025_02_12_46_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/abb67e370f0d36353fb6dfde4e394ea8.jpg","text":"TemporaryFile(/tmp/multipartBody736983173243557228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027594060,"filename":"image_28012025_02_12_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/1/28/39239999d458365eda3c9f56dd957575.jpg","text":"TemporaryFile(/tmp/multipartBody2843088108051295640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027594060,"filename":"image_28012025_02_12_26_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/32823cd2155fc6b479fabbb4c273e39d.jpg","text":"TemporaryFile(/tmp/multipartBody2029466841583932354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027594060,"filename":"image_28012025_02_12_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/1/28/362e2fd13c3f5e9c0164f2ffbe917a90.jpg","text":"TemporaryFile(/tmp/multipartBody7576713941518603498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027594060,"filename":"image_28012025_02_12_55_9400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332154899","file1":"1332154881","file0":"1332154873","file4":"1332154910","file5":"1332154911","file3":"1332154907"},"map_files_photo_id_array":[{"photo_id":"1332154911","filename":"file5"},{"photo_id":"1332154899","filename":"file2"},{"photo_id":"1332154910","filename":"file4"},{"photo_id":"1332154881","filename":"file1"},{"photo_id":"1332154873","filename":"file0"},{"photo_id":"1332154907","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332154907":["hashtag1","hashtag2"]},{"1332154910":["hashtag1","hashtag2"]},{"1332154873":["hashtag1","hashtag2"]},{"1332154899":["hashtag1","hashtag2"]},{"1332154881":["hashtag1","hashtag2"]},{"1332154911":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332154907, 1332154910, 1332154873, 1332154899, 1332154881, 1332154911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.24608778953552 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:26:32.334516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/12/image_28012025_02_13_05_10406.jpg', '/home/pi/Desktop/images/28012025/02/13/image_28012025_02_13_16_10344.jpg', '/home/pi/Desktop/images/28012025/02/13/image_28012025_02_13_25_9358.jpg', '/home/pi/Desktop/images/28012025/02/13/image_28012025_02_13_35_10416.jpg', '/home/pi/Desktop/images/28012025/02/13/image_28012025_02_13_45_9362.jpg', '/home/pi/Desktop/images/28012025/02/13/image_28012025_02_13_55_10406.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/12/image_28012025_02_13_05_10406.jpg
/home/pi/Desktop/images/28012025/02/13/image_28012025_02_13_16_10344.jpg
/home/pi/Desktop/images/28012025/02/13/image_28012025_02_13_25_9358.jpg
/home/pi/Desktop/images/28012025/02/13/image_28012025_02_13_35_10416.jpg
/home/pi/Desktop/images/28012025/02/13/image_28012025_02_13_45_9362.jpg
/home/pi/Desktop/images/28012025/02/13/image_28012025_02_13_55_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":["1332154970","1332154967","1332154937","1332154924","1332154933","1332154971"],"photo_ids_order":["1332154924","1332154933","1332154937","1332154967","1332154970","1332154971"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/967f252bfbe15cc4b029b412c231fbff.jpg","text":"TemporaryFile(/tmp/multipartBody1043935178866144266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027653231,"filename":"image_28012025_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/1/28/c9c0cf33171403117c01530a6927ec9a.jpg","text":"TemporaryFile(/tmp/multipartBody3228734535885821343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027653231,"filename":"image_28012025_02_13_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/1/28/c30deb697e8b98863eb087ce491850b4.jpg","text":"TemporaryFile(/tmp/multipartBody5267125645284735004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027653231,"filename":"image_28012025_02_13_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/1/28/9cf5aa9fed5d63b91897338a5821ad19.jpg","text":"TemporaryFile(/tmp/multipartBody5521409594278638816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027653231,"filename":"image_28012025_02_13_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/1/28/c504c28d7838cba6b18d442d19c5f032.jpg","text":"TemporaryFile(/tmp/multipartBody6494991055950146163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027653231,"filename":"image_28012025_02_13_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/1/28/ce2e210d2da8f9ba8f7665f8cec62eb7.jpg","text":"TemporaryFile(/tmp/multipartBody32788893688043913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027653231,"filename":"image_28012025_02_13_55_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332154937","file1":"1332154933","file0":"1332154924","file4":"1332154970","file5":"1332154971","file3":"1332154967"},"map_files_photo_id_array":[{"photo_id":"1332154971","filename":"file5"},{"photo_id":"1332154937","filename":"file2"},{"photo_id":"1332154970","filename":"file4"},{"photo_id":"1332154933","filename":"file1"},{"photo_id":"1332154924","filename":"file0"},{"photo_id":"1332154967","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332154970":["hashtag1","hashtag2"]},{"1332154967":["hashtag1","hashtag2"]},{"1332154937":["hashtag1","hashtag2"]},{"1332154924":["hashtag1","hashtag2"]},{"1332154933":["hashtag1","hashtag2"]},{"1332154971":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332154970, 1332154967, 1332154937, 1332154924, 1332154933, 1332154971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.18464016914368 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:27:32.528865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/13/image_28012025_02_14_06_10423.jpg', '/home/pi/Desktop/images/28012025/02/14/image_28012025_02_14_15_9388.jpg', '/home/pi/Desktop/images/28012025/02/14/image_28012025_02_14_25_10420.jpg', '/home/pi/Desktop/images/28012025/02/14/image_28012025_02_14_35_9353.jpg', '/home/pi/Desktop/images/28012025/02/14/image_28012025_02_14_45_10372.jpg', '/home/pi/Desktop/images/28012025/02/14/image_28012025_02_14_56_10426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/13/image_28012025_02_14_06_10423.jpg
/home/pi/Desktop/images/28012025/02/14/image_28012025_02_14_15_9388.jpg
/home/pi/Desktop/images/28012025/02/14/image_28012025_02_14_25_10420.jpg
/home/pi/Desktop/images/28012025/02/14/image_28012025_02_14_35_9353.jpg
/home/pi/Desktop/images/28012025/02/14/image_28012025_02_14_45_10372.jpg
/home/pi/Desktop/images/28012025/02/14/image_28012025_02_14_56_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":["1332155023","1332155008","1332155022","1332155016","1332155019","1332155013"],"photo_ids_order":["1332155008","1332155013","1332155016","1332155019","1332155022","1332155023"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2945efb0289f17c452a628df01e29b3b.jpg","text":"TemporaryFile(/tmp/multipartBody3770800847591869987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027713432,"filename":"image_28012025_02_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/1/28/5759d7dd783f7adc87a968200a2cfae8.jpg","text":"TemporaryFile(/tmp/multipartBody2539160622452148097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027713432,"filename":"image_28012025_02_14_06_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/66277ebe45d6d9486bcc8883de134d4d.jpg","text":"TemporaryFile(/tmp/multipartBody6067294591518317421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027713432,"filename":"image_28012025_02_14_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/1/28/ab2cb3c93f80d722961134ed758abd9b.jpg","text":"TemporaryFile(/tmp/multipartBody5920413237650396659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027713432,"filename":"image_28012025_02_14_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/1/28/c59fde87aa6cddac72b05e7e7fe27c66.jpg","text":"TemporaryFile(/tmp/multipartBody7495810694175278339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027713432,"filename":"image_28012025_02_14_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/1/28/4a5638d9f78923eb90e13f0f185b0890.jpg","text":"TemporaryFile(/tmp/multipartBody2758510103584127621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027713432,"filename":"image_28012025_02_14_15_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332155016","file1":"1332155013","file0":"1332155008","file4":"1332155022","file5":"1332155023","file3":"1332155019"},"map_files_photo_id_array":[{"photo_id":"1332155023","filename":"file5"},{"photo_id":"1332155016","filename":"file2"},{"photo_id":"1332155022","filename":"file4"},{"photo_id":"1332155013","filename":"file1"},{"photo_id":"1332155008","filename":"file0"},{"photo_id":"1332155019","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332155023":["hashtag1","hashtag2"]},{"1332155008":["hashtag1","hashtag2"]},{"1332155022":["hashtag1","hashtag2"]},{"1332155016":["hashtag1","hashtag2"]},{"1332155019":["hashtag1","hashtag2"]},{"1332155013":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332155023, 1332155008, 1332155022, 1332155016, 1332155019, 1332155013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.43905520439148 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:28:32.781976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/14/image_28012025_02_15_05_9341.jpg', '/home/pi/Desktop/images/28012025/02/15/image_28012025_02_15_15_10379.jpg', '/home/pi/Desktop/images/28012025/02/15/image_28012025_02_15_26_10352.jpg', '/home/pi/Desktop/images/28012025/02/15/image_28012025_02_15_35_9340.jpg', '/home/pi/Desktop/images/28012025/02/15/image_28012025_02_15_45_10372.jpg', '/home/pi/Desktop/images/28012025/02/15/image_28012025_02_15_55_9385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/14/image_28012025_02_15_05_9341.jpg
/home/pi/Desktop/images/28012025/02/15/image_28012025_02_15_15_10379.jpg
/home/pi/Desktop/images/28012025/02/15/image_28012025_02_15_26_10352.jpg
/home/pi/Desktop/images/28012025/02/15/image_28012025_02_15_35_9340.jpg
/home/pi/Desktop/images/28012025/02/15/image_28012025_02_15_45_10372.jpg
/home/pi/Desktop/images/28012025/02/15/image_28012025_02_15_55_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":["1332155033","1332155026","1332155043","1332155042","1332155045","1332155030"],"photo_ids_order":["1332155026","1332155030","1332155033","1332155042","1332155043","1332155045"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6259a3bef40f60df03dc2a65a063085b.jpg","text":"TemporaryFile(/tmp/multipartBody2070541453041947428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027773702,"filename":"image_28012025_02_15_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/1/28/d79ccc76e220fb4e641ba3a65ccdef58.jpg","text":"TemporaryFile(/tmp/multipartBody1944403844341138979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027773702,"filename":"image_28012025_02_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/1/28/2961ff9e2bfb0600bf817e6748a06b5d.jpg","text":"TemporaryFile(/tmp/multipartBody3369744840583962366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027773702,"filename":"image_28012025_02_15_45_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c034de9b4c331f5479f7dc98caa842a8.jpg","text":"TemporaryFile(/tmp/multipartBody3857216737334304497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027773702,"filename":"image_28012025_02_15_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/1/28/c86ff2964c42764a5ab5294da755b4f9.jpg","text":"TemporaryFile(/tmp/multipartBody6063124789764708967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027773702,"filename":"image_28012025_02_15_55_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1abaeb38ea9aeee21e33ae936a1a3401.jpg","text":"TemporaryFile(/tmp/multipartBody1694267288530586899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027773702,"filename":"image_28012025_02_15_15_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332155033","file1":"1332155030","file0":"1332155026","file4":"1332155043","file5":"1332155045","file3":"1332155042"},"map_files_photo_id_array":[{"photo_id":"1332155045","filename":"file5"},{"photo_id":"1332155033","filename":"file2"},{"photo_id":"1332155043","filename":"file4"},{"photo_id":"1332155030","filename":"file1"},{"photo_id":"1332155026","filename":"file0"},{"photo_id":"1332155042","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332155033":["hashtag1","hashtag2"]},{"1332155026":["hashtag1","hashtag2"]},{"1332155043":["hashtag1","hashtag2"]},{"1332155042":["hashtag1","hashtag2"]},{"1332155045":["hashtag1","hashtag2"]},{"1332155030":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332155033, 1332155026, 1332155043, 1332155042, 1332155045, 1332155030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.780311584472656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:29:33.169844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/15/image_28012025_02_16_05_10351.jpg', '/home/pi/Desktop/images/28012025/02/16/image_28012025_02_16_16_10409.jpg', '/home/pi/Desktop/images/28012025/02/16/image_28012025_02_16_25_9340.jpg', '/home/pi/Desktop/images/28012025/02/16/image_28012025_02_16_35_10456.jpg', '/home/pi/Desktop/images/28012025/02/16/image_28012025_02_16_46_10361.jpg', '/home/pi/Desktop/images/28012025/02/16/image_28012025_02_16_55_9419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/15/image_28012025_02_16_05_10351.jpg
/home/pi/Desktop/images/28012025/02/16/image_28012025_02_16_16_10409.jpg
/home/pi/Desktop/images/28012025/02/16/image_28012025_02_16_25_9340.jpg
/home/pi/Desktop/images/28012025/02/16/image_28012025_02_16_35_10456.jpg
/home/pi/Desktop/images/28012025/02/16/image_28012025_02_16_46_10361.jpg
/home/pi/Desktop/images/28012025/02/16/image_28012025_02_16_55_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":["1332155080","1332155056","1332155067","1332155081","1332155075","1332155078"],"photo_ids_order":["1332155056","1332155067","1332155075","1332155078","1332155080","1332155081"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dbf795a93844d327d392245b79c15fe6.jpg","text":"TemporaryFile(/tmp/multipartBody7081118972484127486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027834091,"filename":"image_28012025_02_16_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/1/28/b3fc43547b1d5770e28332a544a3ebaa.jpg","text":"TemporaryFile(/tmp/multipartBody7129510810410029997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027834091,"filename":"image_28012025_02_16_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/1/28/762527d9544ec4d73c731cb40c18977c.jpg","text":"TemporaryFile(/tmp/multipartBody881200205146382846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027834091,"filename":"image_28012025_02_16_16_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c826964f93f2a88d2664654ad5b343ed.jpg","text":"TemporaryFile(/tmp/multipartBody8649933130279299880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027834091,"filename":"image_28012025_02_16_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/1/28/622eabfc5ecc6bdebb760bd8e0c5e23e.jpg","text":"TemporaryFile(/tmp/multipartBody1864613240079156560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027834091,"filename":"image_28012025_02_16_25_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bd97c39c258fbb955446d4774130e172.jpg","text":"TemporaryFile(/tmp/multipartBody6668816219682553393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027834091,"filename":"image_28012025_02_16_35_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332155075","file1":"1332155067","file0":"1332155056","file4":"1332155080","file5":"1332155081","file3":"1332155078"},"map_files_photo_id_array":[{"photo_id":"1332155081","filename":"file5"},{"photo_id":"1332155075","filename":"file2"},{"photo_id":"1332155080","filename":"file4"},{"photo_id":"1332155067","filename":"file1"},{"photo_id":"1332155056","filename":"file0"},{"photo_id":"1332155078","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332155080":["hashtag1","hashtag2"]},{"1332155056":["hashtag1","hashtag2"]},{"1332155067":["hashtag1","hashtag2"]},{"1332155081":["hashtag1","hashtag2"]},{"1332155075":["hashtag1","hashtag2"]},{"1332155078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332155080, 1332155056, 1332155067, 1332155081, 1332155075, 1332155078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64797925949097 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:30:32.332442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/16/image_28012025_02_17_06_10409.jpg', '/home/pi/Desktop/images/28012025/02/17/image_28012025_02_17_15_9334.jpg', '/home/pi/Desktop/images/28012025/02/17/image_28012025_02_17_25_10354.jpg', '/home/pi/Desktop/images/28012025/02/17/image_28012025_02_17_36_10360.jpg', '/home/pi/Desktop/images/28012025/02/17/image_28012025_02_17_45_9347.jpg', '/home/pi/Desktop/images/28012025/02/17/image_28012025_02_17_55_10458.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/16/image_28012025_02_17_06_10409.jpg
/home/pi/Desktop/images/28012025/02/17/image_28012025_02_17_15_9334.jpg
/home/pi/Desktop/images/28012025/02/17/image_28012025_02_17_25_10354.jpg
/home/pi/Desktop/images/28012025/02/17/image_28012025_02_17_36_10360.jpg
/home/pi/Desktop/images/28012025/02/17/image_28012025_02_17_45_9347.jpg
/home/pi/Desktop/images/28012025/02/17/image_28012025_02_17_55_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":["1332155140","1332155164","1332155143","1332155166","1332155145","1332155156"],"photo_ids_order":["1332155140","1332155143","1332155145","1332155156","1332155164","1332155166"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2bb748a9f6d6ce4b86188a2102906caf.jpg","text":"TemporaryFile(/tmp/multipartBody501005961595884835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027893258,"filename":"image_28012025_02_17_06_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/481fadf06c209302014829db8442c29f.jpg","text":"TemporaryFile(/tmp/multipartBody5139599756747703442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027893258,"filename":"image_28012025_02_17_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/1/28/3fe17608b097b30d7a09bf78f9598bb8.jpg","text":"TemporaryFile(/tmp/multipartBody5471590411890736539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027893258,"filename":"image_28012025_02_17_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/1/28/bbf64fd82535e28029034a8089a173eb.jpg","text":"TemporaryFile(/tmp/multipartBody7223589416168317814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027893258,"filename":"image_28012025_02_17_55_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9d861d813dc012e33e4e3c578ed7a48d.jpg","text":"TemporaryFile(/tmp/multipartBody8188413931893731925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027893258,"filename":"image_28012025_02_17_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/1/28/721822a1f8c9d7127034251e3a467642.jpg","text":"TemporaryFile(/tmp/multipartBody3917842874762240362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027893258,"filename":"image_28012025_02_17_36_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332155145","file1":"1332155143","file0":"1332155140","file4":"1332155164","file5":"1332155166","file3":"1332155156"},"map_files_photo_id_array":[{"photo_id":"1332155166","filename":"file5"},{"photo_id":"1332155145","filename":"file2"},{"photo_id":"1332155164","filename":"file4"},{"photo_id":"1332155143","filename":"file1"},{"photo_id":"1332155140","filename":"file0"},{"photo_id":"1332155156","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332155140":["hashtag1","hashtag2"]},{"1332155164":["hashtag1","hashtag2"]},{"1332155143":["hashtag1","hashtag2"]},{"1332155166":["hashtag1","hashtag2"]},{"1332155145":["hashtag1","hashtag2"]},{"1332155156":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332155140, 1332155164, 1332155143, 1332155166, 1332155145, 1332155156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.41999840736389 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:31:32.586507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/17/image_28012025_02_18_05_9352.jpg', '/home/pi/Desktop/images/28012025/02/18/image_28012025_02_18_15_10434.jpg', '/home/pi/Desktop/images/28012025/02/18/image_28012025_02_18_26_10370.jpg', '/home/pi/Desktop/images/28012025/02/18/image_28012025_02_18_35_9445.jpg', '/home/pi/Desktop/images/28012025/02/18/image_28012025_02_18_45_10387.jpg', '/home/pi/Desktop/images/28012025/02/18/image_28012025_02_18_55_9399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/17/image_28012025_02_18_05_9352.jpg
/home/pi/Desktop/images/28012025/02/18/image_28012025_02_18_15_10434.jpg
/home/pi/Desktop/images/28012025/02/18/image_28012025_02_18_26_10370.jpg
/home/pi/Desktop/images/28012025/02/18/image_28012025_02_18_35_9445.jpg
/home/pi/Desktop/images/28012025/02/18/image_28012025_02_18_45_10387.jpg
/home/pi/Desktop/images/28012025/02/18/image_28012025_02_18_55_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":["1332155231","1332155228","1332155182","1332155230","1332155189","1332155180"],"photo_ids_order":["1332155180","1332155182","1332155189","1332155228","1332155230","1332155231"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/296f5b9bc967e0c9fda01557dc652e96.jpg","text":"TemporaryFile(/tmp/multipartBody3797384848669482991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027953507,"filename":"image_28012025_02_18_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/1/28/45676f349739c73873cc6e63fae5b1dd.jpg","text":"TemporaryFile(/tmp/multipartBody6782588988888570248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027953507,"filename":"image_28012025_02_18_35_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6fdd2b5de5ef21dded2f96369460ebba.jpg","text":"TemporaryFile(/tmp/multipartBody4130400451693517730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027953507,"filename":"image_28012025_02_18_15_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/77a8a507f90898d2440efb795b82e671.jpg","text":"TemporaryFile(/tmp/multipartBody2696477967952101932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027953507,"filename":"image_28012025_02_18_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/1/28/915276f6b0f29677f37908e7827e531c.jpg","text":"TemporaryFile(/tmp/multipartBody8763550598262369696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027953507,"filename":"image_28012025_02_18_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/1/28/20ba7c1ea97c1b192baaa6f85061babd.jpg","text":"TemporaryFile(/tmp/multipartBody360574661505810890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738027953507,"filename":"image_28012025_02_18_05_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332155189","file1":"1332155182","file0":"1332155180","file4":"1332155230","file5":"1332155231","file3":"1332155228"},"map_files_photo_id_array":[{"photo_id":"1332155231","filename":"file5"},{"photo_id":"1332155189","filename":"file2"},{"photo_id":"1332155230","filename":"file4"},{"photo_id":"1332155182","filename":"file1"},{"photo_id":"1332155180","filename":"file0"},{"photo_id":"1332155228","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332155231":["hashtag1","hashtag2"]},{"1332155228":["hashtag1","hashtag2"]},{"1332155182":["hashtag1","hashtag2"]},{"1332155230":["hashtag1","hashtag2"]},{"1332155189":["hashtag1","hashtag2"]},{"1332155180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332155231, 1332155228, 1332155182, 1332155230, 1332155189, 1332155180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.97410821914673 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:32:32.934749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/18/image_28012025_02_19_05_10354.jpg', '/home/pi/Desktop/images/28012025/02/19/image_28012025_02_19_16_10407.jpg', '/home/pi/Desktop/images/28012025/02/19/image_28012025_02_19_25_9351.jpg', '/home/pi/Desktop/images/28012025/02/19/image_28012025_02_19_35_10452.jpg', '/home/pi/Desktop/images/28012025/02/19/image_28012025_02_19_46_10363.jpg', '/home/pi/Desktop/images/28012025/02/19/image_28012025_02_19_55_9427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/18/image_28012025_02_19_05_10354.jpg
/home/pi/Desktop/images/28012025/02/19/image_28012025_02_19_16_10407.jpg
/home/pi/Desktop/images/28012025/02/19/image_28012025_02_19_25_9351.jpg
/home/pi/Desktop/images/28012025/02/19/image_28012025_02_19_35_10452.jpg
/home/pi/Desktop/images/28012025/02/19/image_28012025_02_19_46_10363.jpg
/home/pi/Desktop/images/28012025/02/19/image_28012025_02_19_55_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":["1332155438","1332155332","1332155442","1332155337","1332155331","1332155406"],"photo_ids_order":["1332155331","1332155332","1332155337","1332155406","1332155438","1332155442"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6a2c3ee761da9573dd5abc8f41b1e869.jpg","text":"TemporaryFile(/tmp/multipartBody6621251636704721688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028013862,"filename":"image_28012025_02_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/1/28/b3dc579548dc66d4504fae112e1bc34a.jpg","text":"TemporaryFile(/tmp/multipartBody6931777149964348320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028013862,"filename":"image_28012025_02_19_16_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0960362b0bdf183fb97f702b0de79007.jpg","text":"TemporaryFile(/tmp/multipartBody800603616032022482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028013862,"filename":"image_28012025_02_19_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/1/28/1377a1505f9ec942989e3c52230d6e03.jpg","text":"TemporaryFile(/tmp/multipartBody6916468467613920436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028013862,"filename":"image_28012025_02_19_25_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/338bbb151936d77bcff47a013105761c.jpg","text":"TemporaryFile(/tmp/multipartBody3341420099411587809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028013862,"filename":"image_28012025_02_19_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/1/28/73f44f27c53bbef9b677b69af0e450a3.jpg","text":"TemporaryFile(/tmp/multipartBody1209599022852376381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028013862,"filename":"image_28012025_02_19_35_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332155337","file1":"1332155332","file0":"1332155331","file4":"1332155438","file5":"1332155442","file3":"1332155406"},"map_files_photo_id_array":[{"photo_id":"1332155442","filename":"file5"},{"photo_id":"1332155337","filename":"file2"},{"photo_id":"1332155438","filename":"file4"},{"photo_id":"1332155332","filename":"file1"},{"photo_id":"1332155331","filename":"file0"},{"photo_id":"1332155406","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332155438":["hashtag1","hashtag2"]},{"1332155332":["hashtag1","hashtag2"]},{"1332155442":["hashtag1","hashtag2"]},{"1332155337":["hashtag1","hashtag2"]},{"1332155331":["hashtag1","hashtag2"]},{"1332155406":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332155438, 1332155332, 1332155442, 1332155337, 1332155331, 1332155406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24138379096985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:33:33.105419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/19/image_28012025_02_20_05_10344.jpg', '/home/pi/Desktop/images/28012025/02/20/image_28012025_02_20_15_9323.jpg', '/home/pi/Desktop/images/28012025/02/20/image_28012025_02_20_25_10353.jpg', '/home/pi/Desktop/images/28012025/02/20/image_28012025_02_20_36_10385.jpg', '/home/pi/Desktop/images/28012025/02/20/image_28012025_02_20_45_9327.jpg', '/home/pi/Desktop/images/28012025/02/20/image_28012025_02_20_55_10477.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/19/image_28012025_02_20_05_10344.jpg
/home/pi/Desktop/images/28012025/02/20/image_28012025_02_20_15_9323.jpg
/home/pi/Desktop/images/28012025/02/20/image_28012025_02_20_25_10353.jpg
/home/pi/Desktop/images/28012025/02/20/image_28012025_02_20_36_10385.jpg
/home/pi/Desktop/images/28012025/02/20/image_28012025_02_20_45_9327.jpg
/home/pi/Desktop/images/28012025/02/20/image_28012025_02_20_55_10477.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332155516","1332155506","1332155515","1332155505","1332155540","1332155513"],"photo_ids_order":["1332155505","1332155506","1332155513","1332155515","1332155516","1332155540"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6f7f7fe2de67185f480048b48ad99568.jpg","text":"TemporaryFile(/tmp/multipartBody7630902825940157102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028074043,"filename":"image_28012025_02_20_45_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/90795b2209dabc8479bce561dfffa93e.jpg","text":"TemporaryFile(/tmp/multipartBody5226632726979713967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028074043,"filename":"image_28012025_02_20_15_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/727f719e280242c8b690f3a45ff1d097.jpg","text":"TemporaryFile(/tmp/multipartBody2370655561279441149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028074043,"filename":"image_28012025_02_20_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/1/28/256c440aaccab05bfd18a5968d138951.jpg","text":"TemporaryFile(/tmp/multipartBody331807149182205956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028074043,"filename":"image_28012025_02_20_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/1/28/76b27adb7cc0804679a034aafdcc85ca.jpg","text":"TemporaryFile(/tmp/multipartBody8766833657074028892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028074043,"filename":"image_28012025_02_20_55_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fd8b0602b6c8dd95df61ca9d8da5229f.jpg","text":"TemporaryFile(/tmp/multipartBody5435447552938342736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028074043,"filename":"image_28012025_02_20_25_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332155513","file1":"1332155506","file0":"1332155505","file4":"1332155516","file5":"1332155540","file3":"1332155515"},"map_files_photo_id_array":[{"photo_id":"1332155540","filename":"file5"},{"photo_id":"1332155513","filename":"file2"},{"photo_id":"1332155516","filename":"file4"},{"photo_id":"1332155506","filename":"file1"},{"photo_id":"1332155505","filename":"file0"},{"photo_id":"1332155515","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332155516":["hashtag1","hashtag2"]},{"1332155506":["hashtag1","hashtag2"]},{"1332155515":["hashtag1","hashtag2"]},{"1332155505":["hashtag1","hashtag2"]},{"1332155540":["hashtag1","hashtag2"]},{"1332155513":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332155516, 1332155506, 1332155515, 1332155505, 1332155540, 1332155513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.08107542991638 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:34:32.332023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/20/image_28012025_02_21_06_10363.jpg', '/home/pi/Desktop/images/28012025/02/21/image_28012025_02_21_15_9357.jpg', '/home/pi/Desktop/images/28012025/02/21/image_28012025_02_21_26_10445.jpg', '/home/pi/Desktop/images/28012025/02/21/image_28012025_02_21_35_9412.jpg', '/home/pi/Desktop/images/28012025/02/21/image_28012025_02_21_45_10466.jpg', '/home/pi/Desktop/images/28012025/02/21/image_28012025_02_21_55_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/20/image_28012025_02_21_06_10363.jpg
/home/pi/Desktop/images/28012025/02/21/image_28012025_02_21_15_9357.jpg
/home/pi/Desktop/images/28012025/02/21/image_28012025_02_21_26_10445.jpg
/home/pi/Desktop/images/28012025/02/21/image_28012025_02_21_35_9412.jpg
/home/pi/Desktop/images/28012025/02/21/image_28012025_02_21_45_10466.jpg
/home/pi/Desktop/images/28012025/02/21/image_28012025_02_21_55_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":["1332155575","1332155569","1332155789","1332155573","1332155567","1332155945"],"photo_ids_order":["1332155567","1332155569","1332155573","1332155575","1332155789","1332155945"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b7b90d44aad30740194a3d5cbe3d96bc.jpg","text":"TemporaryFile(/tmp/multipartBody2430893903227727121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028133239,"filename":"image_28012025_02_21_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/1/28/8f0b1c2ad1f33ea28b3687d4f5a0b0a3.jpg","text":"TemporaryFile(/tmp/multipartBody2838989495037186965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028133239,"filename":"image_28012025_02_21_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/1/28/e5a13d6321a13545db361c7a2cfd9ba6.jpg","text":"TemporaryFile(/tmp/multipartBody8623498950517202834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028133239,"filename":"image_28012025_02_21_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/1/28/12fca7361a2b289ec77759d2f2ea96ee.jpg","text":"TemporaryFile(/tmp/multipartBody1265191136769186935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028133239,"filename":"image_28012025_02_21_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/1/28/31b455336b92c69b22ba06ea9a7625bf.jpg","text":"TemporaryFile(/tmp/multipartBody5013245602592621626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028133239,"filename":"image_28012025_02_21_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/1/28/eb737f086bf451d2611a46086e0936e6.jpg","text":"TemporaryFile(/tmp/multipartBody4308776301053816062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028133239,"filename":"image_28012025_02_21_55_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332155573","file1":"1332155569","file0":"1332155567","file4":"1332155789","file5":"1332155945","file3":"1332155575"},"map_files_photo_id_array":[{"photo_id":"1332155945","filename":"file5"},{"photo_id":"1332155573","filename":"file2"},{"photo_id":"1332155789","filename":"file4"},{"photo_id":"1332155569","filename":"file1"},{"photo_id":"1332155567","filename":"file0"},{"photo_id":"1332155575","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332155575":["hashtag1","hashtag2"]},{"1332155569":["hashtag1","hashtag2"]},{"1332155789":["hashtag1","hashtag2"]},{"1332155573":["hashtag1","hashtag2"]},{"1332155567":["hashtag1","hashtag2"]},{"1332155945":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332155575, 1332155569, 1332155789, 1332155573, 1332155567, 1332155945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.80142045021057 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:35:32.640762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/21/image_28012025_02_22_05_10425.jpg', '/home/pi/Desktop/images/28012025/02/22/image_28012025_02_22_16_10378.jpg', '/home/pi/Desktop/images/28012025/02/22/image_28012025_02_22_25_9344.jpg', '/home/pi/Desktop/images/28012025/02/22/image_28012025_02_22_35_10450.jpg', '/home/pi/Desktop/images/28012025/02/22/image_28012025_02_22_46_10347.jpg', '/home/pi/Desktop/images/28012025/02/22/image_28012025_02_22_55_9412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/21/image_28012025_02_22_05_10425.jpg
/home/pi/Desktop/images/28012025/02/22/image_28012025_02_22_16_10378.jpg
/home/pi/Desktop/images/28012025/02/22/image_28012025_02_22_25_9344.jpg
/home/pi/Desktop/images/28012025/02/22/image_28012025_02_22_35_10450.jpg
/home/pi/Desktop/images/28012025/02/22/image_28012025_02_22_46_10347.jpg
/home/pi/Desktop/images/28012025/02/22/image_28012025_02_22_55_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":["1332156508","1332156471","1332156453","1332156683","1332156484","1332156493"],"photo_ids_order":["1332156453","1332156471","1332156484","1332156493","1332156508","1332156683"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/73f50e43b45889979fc9cc2a326bd181.jpg","text":"TemporaryFile(/tmp/multipartBody2344240795745091373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028193546,"filename":"image_28012025_02_22_46_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4ca37820d6e8b23c730f4d8629c6cd0b.jpg","text":"TemporaryFile(/tmp/multipartBody5092769134523147179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028193546,"filename":"image_28012025_02_22_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/1/28/9f6fe0a20f62578c2d88c775c585b6e9.jpg","text":"TemporaryFile(/tmp/multipartBody7408715642927791244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028193546,"filename":"image_28012025_02_22_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/1/28/89a6e124c2ec48544fe6373de3226b61.jpg","text":"TemporaryFile(/tmp/multipartBody3684912518841403137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028193546,"filename":"image_28012025_02_22_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/1/28/7264090ea156ff2c5e1e66229c3eeba2.jpg","text":"TemporaryFile(/tmp/multipartBody7868180694594511438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028193546,"filename":"image_28012025_02_22_25_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bd3c19a5743a4f14e691b4ecefd887fe.jpg","text":"TemporaryFile(/tmp/multipartBody5625974950106349385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028193546,"filename":"image_28012025_02_22_35_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332156484","file1":"1332156471","file0":"1332156453","file4":"1332156508","file5":"1332156683","file3":"1332156493"},"map_files_photo_id_array":[{"photo_id":"1332156683","filename":"file5"},{"photo_id":"1332156484","filename":"file2"},{"photo_id":"1332156508","filename":"file4"},{"photo_id":"1332156471","filename":"file1"},{"photo_id":"1332156453","filename":"file0"},{"photo_id":"1332156493","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332156508":["hashtag1","hashtag2"]},{"1332156471":["hashtag1","hashtag2"]},{"1332156453":["hashtag1","hashtag2"]},{"1332156683":["hashtag1","hashtag2"]},{"1332156484":["hashtag1","hashtag2"]},{"1332156493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332156508, 1332156471, 1332156453, 1332156683, 1332156484, 1332156493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.856847047805786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:36:32.815664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/22/image_28012025_02_23_05_10353.jpg', '/home/pi/Desktop/images/28012025/02/23/image_28012025_02_23_15_9339.jpg', '/home/pi/Desktop/images/28012025/02/23/image_28012025_02_23_25_10378.jpg', '/home/pi/Desktop/images/28012025/02/23/image_28012025_02_23_36_10360.jpg', '/home/pi/Desktop/images/28012025/02/23/image_28012025_02_23_45_9348.jpg', '/home/pi/Desktop/images/28012025/02/23/image_28012025_02_23_55_10443.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/22/image_28012025_02_23_05_10353.jpg
/home/pi/Desktop/images/28012025/02/23/image_28012025_02_23_15_9339.jpg
/home/pi/Desktop/images/28012025/02/23/image_28012025_02_23_25_10378.jpg
/home/pi/Desktop/images/28012025/02/23/image_28012025_02_23_36_10360.jpg
/home/pi/Desktop/images/28012025/02/23/image_28012025_02_23_45_9348.jpg
/home/pi/Desktop/images/28012025/02/23/image_28012025_02_23_55_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":["1332156826","1332156864","1332156837","1332156840","1332156797","1332156799"],"photo_ids_order":["1332156797","1332156799","1332156826","1332156837","1332156840","1332156864"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ccab60b10b1256c0b6dd276be443894e.jpg","text":"TemporaryFile(/tmp/multipartBody7345616523351645022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028253722,"filename":"image_28012025_02_23_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/1/28/9879d55d348d3f963b33644eb40131ad.jpg","text":"TemporaryFile(/tmp/multipartBody1743745330902785753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028253722,"filename":"image_28012025_02_23_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/1/28/6b6218402622171aab5160365f792d73.jpg","text":"TemporaryFile(/tmp/multipartBody8796946636596224442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028253722,"filename":"image_28012025_02_23_36_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6b60ec9d65ed4c2f70323f97040e420d.jpg","text":"TemporaryFile(/tmp/multipartBody3619659604782148780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028253722,"filename":"image_28012025_02_23_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/1/28/a55ff5e0de7205dc229870e7a37028b0.jpg","text":"TemporaryFile(/tmp/multipartBody553516780052305194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028253722,"filename":"image_28012025_02_23_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/1/28/61ed6fe9c7ef9c0e2e3d672e784f9340.jpg","text":"TemporaryFile(/tmp/multipartBody4981412320946785551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028253722,"filename":"image_28012025_02_23_15_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332156826","file1":"1332156799","file0":"1332156797","file4":"1332156840","file5":"1332156864","file3":"1332156837"},"map_files_photo_id_array":[{"photo_id":"1332156864","filename":"file5"},{"photo_id":"1332156826","filename":"file2"},{"photo_id":"1332156840","filename":"file4"},{"photo_id":"1332156799","filename":"file1"},{"photo_id":"1332156797","filename":"file0"},{"photo_id":"1332156837","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332156826":["hashtag1","hashtag2"]},{"1332156864":["hashtag1","hashtag2"]},{"1332156837":["hashtag1","hashtag2"]},{"1332156840":["hashtag1","hashtag2"]},{"1332156797":["hashtag1","hashtag2"]},{"1332156799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332156826, 1332156864, 1332156837, 1332156840, 1332156797, 1332156799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.44447350502014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:37:32.946364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/23/image_28012025_02_24_06_10383.jpg', '/home/pi/Desktop/images/28012025/02/24/image_28012025_02_24_15_9330.jpg', '/home/pi/Desktop/images/28012025/02/24/image_28012025_02_24_25_10366.jpg', '/home/pi/Desktop/images/28012025/02/24/image_28012025_02_24_35_9368.jpg', '/home/pi/Desktop/images/28012025/02/24/image_28012025_02_24_45_10405.jpg', '/home/pi/Desktop/images/28012025/02/24/image_28012025_02_24_56_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/23/image_28012025_02_24_06_10383.jpg
/home/pi/Desktop/images/28012025/02/24/image_28012025_02_24_15_9330.jpg
/home/pi/Desktop/images/28012025/02/24/image_28012025_02_24_25_10366.jpg
/home/pi/Desktop/images/28012025/02/24/image_28012025_02_24_35_9368.jpg
/home/pi/Desktop/images/28012025/02/24/image_28012025_02_24_45_10405.jpg
/home/pi/Desktop/images/28012025/02/24/image_28012025_02_24_56_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":["1332156955","1332156934","1332156894","1332156954","1332156897","1332156920"],"photo_ids_order":["1332156894","1332156897","1332156920","1332156934","1332156954","1332156955"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a19d828ee42f41dd214841b5a8ce7250.jpg","text":"TemporaryFile(/tmp/multipartBody6617338238145778724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028313878,"filename":"image_28012025_02_24_56_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4165ac10d670f77cb61d1fdaf5a0c0d7.jpg","text":"TemporaryFile(/tmp/multipartBody7538727283528606097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028313878,"filename":"image_28012025_02_24_35_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2fc4256d17261965abc76d23347d632a.jpg","text":"TemporaryFile(/tmp/multipartBody8316223220858356700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028313878,"filename":"image_28012025_02_24_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/1/28/c430d620134a302f27dedd6427c0008a.jpg","text":"TemporaryFile(/tmp/multipartBody2034396372835567026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028313878,"filename":"image_28012025_02_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/1/28/2f2b839782b834a193d129a50cd8f2fd.jpg","text":"TemporaryFile(/tmp/multipartBody5896468697872437649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028313878,"filename":"image_28012025_02_24_15_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/225c951e226ffa619ae228ae445a5c1f.jpg","text":"TemporaryFile(/tmp/multipartBody5128725549732019719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028313878,"filename":"image_28012025_02_24_25_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332156920","file1":"1332156897","file0":"1332156894","file4":"1332156954","file5":"1332156955","file3":"1332156934"},"map_files_photo_id_array":[{"photo_id":"1332156955","filename":"file5"},{"photo_id":"1332156920","filename":"file2"},{"photo_id":"1332156954","filename":"file4"},{"photo_id":"1332156897","filename":"file1"},{"photo_id":"1332156894","filename":"file0"},{"photo_id":"1332156934","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332156955":["hashtag1","hashtag2"]},{"1332156934":["hashtag1","hashtag2"]},{"1332156894":["hashtag1","hashtag2"]},{"1332156954":["hashtag1","hashtag2"]},{"1332156897":["hashtag1","hashtag2"]},{"1332156920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332156955, 1332156934, 1332156894, 1332156954, 1332156897, 1332156920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43140387535095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:38:32.253136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/24/image_28012025_02_25_05_9339.jpg', '/home/pi/Desktop/images/28012025/02/25/image_28012025_02_25_15_10358.jpg', '/home/pi/Desktop/images/28012025/02/25/image_28012025_02_25_26_10402.jpg', '/home/pi/Desktop/images/28012025/02/25/image_28012025_02_25_35_9348.jpg', '/home/pi/Desktop/images/28012025/02/25/image_28012025_02_25_45_10444.jpg', '/home/pi/Desktop/images/28012025/02/25/image_28012025_02_25_55_9370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/24/image_28012025_02_25_05_9339.jpg
/home/pi/Desktop/images/28012025/02/25/image_28012025_02_25_15_10358.jpg
/home/pi/Desktop/images/28012025/02/25/image_28012025_02_25_26_10402.jpg
/home/pi/Desktop/images/28012025/02/25/image_28012025_02_25_35_9348.jpg
/home/pi/Desktop/images/28012025/02/25/image_28012025_02_25_45_10444.jpg
/home/pi/Desktop/images/28012025/02/25/image_28012025_02_25_55_9370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332156991","1332157021","1332156987","1332157008","1332157022","1332156989"],"photo_ids_order":["1332156987","1332156989","1332156991","1332157008","1332157021","1332157022"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9842e2455e40c47ef6a369ceab59c09d.jpg","text":"TemporaryFile(/tmp/multipartBody4586886465525649891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028373161,"filename":"image_28012025_02_25_26_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4d31d202b7cdc3e2543f7480ed595b55.jpg","text":"TemporaryFile(/tmp/multipartBody3185489612725161213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028373161,"filename":"image_28012025_02_25_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/1/28/1b15b6b938cfef13ca70e166e82a1e17.jpg","text":"TemporaryFile(/tmp/multipartBody7316395821420703848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028373161,"filename":"image_28012025_02_25_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/1/28/f9c8a73da357e9587826f7b894e45c10.jpg","text":"TemporaryFile(/tmp/multipartBody3211685651720479393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028373161,"filename":"image_28012025_02_25_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/1/28/94d54b62eb362e905180f3475a5d598e.jpg","text":"TemporaryFile(/tmp/multipartBody7319700703565901908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028373161,"filename":"image_28012025_02_25_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/1/28/2d04d4845ef07965942ef44e76072f67.jpg","text":"TemporaryFile(/tmp/multipartBody1904182111349230473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028373161,"filename":"image_28012025_02_25_15_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332156991","file1":"1332156989","file0":"1332156987","file4":"1332157021","file5":"1332157022","file3":"1332157008"},"map_files_photo_id_array":[{"photo_id":"1332157022","filename":"file5"},{"photo_id":"1332156991","filename":"file2"},{"photo_id":"1332157021","filename":"file4"},{"photo_id":"1332156989","filename":"file1"},{"photo_id":"1332156987","filename":"file0"},{"photo_id":"1332157008","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332156991":["hashtag1","hashtag2"]},{"1332157021":["hashtag1","hashtag2"]},{"1332156987":["hashtag1","hashtag2"]},{"1332157008":["hashtag1","hashtag2"]},{"1332157022":["hashtag1","hashtag2"]},{"1332156989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332156991, 1332157021, 1332156987, 1332157008, 1332157022, 1332156989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.88311505317688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:39:32.507735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/25/image_28012025_02_26_05_10327.jpg', '/home/pi/Desktop/images/28012025/02/26/image_28012025_02_26_15_10333.jpg', '/home/pi/Desktop/images/28012025/02/26/image_28012025_02_26_25_9422.jpg', '/home/pi/Desktop/images/28012025/02/26/image_28012025_02_26_35_10350.jpg', '/home/pi/Desktop/images/28012025/02/26/image_28012025_02_26_46_10401.jpg', '/home/pi/Desktop/images/28012025/02/26/image_28012025_02_26_55_9336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/25/image_28012025_02_26_05_10327.jpg
/home/pi/Desktop/images/28012025/02/26/image_28012025_02_26_15_10333.jpg
/home/pi/Desktop/images/28012025/02/26/image_28012025_02_26_25_9422.jpg
/home/pi/Desktop/images/28012025/02/26/image_28012025_02_26_35_10350.jpg
/home/pi/Desktop/images/28012025/02/26/image_28012025_02_26_46_10401.jpg
/home/pi/Desktop/images/28012025/02/26/image_28012025_02_26_55_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":["1332157111","1332157120","1332157114","1332157122","1332157063","1332157123"],"photo_ids_order":["1332157063","1332157111","1332157114","1332157120","1332157122","1332157123"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/553166bd82260885f082ebf41b9a6492.jpg","text":"TemporaryFile(/tmp/multipartBody7699309852074503200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028433419,"filename":"image_28012025_02_26_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/1/28/111bb2214a7634750b95111bc9776f19.jpg","text":"TemporaryFile(/tmp/multipartBody1241586270271939327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028433419,"filename":"image_28012025_02_26_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/1/28/9be1af5513e082cea6dcd9ceb9ec5deb.jpg","text":"TemporaryFile(/tmp/multipartBody3399172077721038301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028433419,"filename":"image_28012025_02_26_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/1/28/7f8d982eab4adf5edc5c91d667c61dd0.jpg","text":"TemporaryFile(/tmp/multipartBody7890282121114636887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028433419,"filename":"image_28012025_02_26_46_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3c91a1d12d01fb1c8a9601da47f838ac.jpg","text":"TemporaryFile(/tmp/multipartBody5178335462731297073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028433419,"filename":"image_28012025_02_26_05_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/86ffd23117c9f2dc11e9527917544917.jpg","text":"TemporaryFile(/tmp/multipartBody5717018057163521921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028433419,"filename":"image_28012025_02_26_55_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332157114","file1":"1332157111","file0":"1332157063","file4":"1332157122","file5":"1332157123","file3":"1332157120"},"map_files_photo_id_array":[{"photo_id":"1332157123","filename":"file5"},{"photo_id":"1332157114","filename":"file2"},{"photo_id":"1332157122","filename":"file4"},{"photo_id":"1332157111","filename":"file1"},{"photo_id":"1332157063","filename":"file0"},{"photo_id":"1332157120","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332157111":["hashtag1","hashtag2"]},{"1332157120":["hashtag1","hashtag2"]},{"1332157114":["hashtag1","hashtag2"]},{"1332157122":["hashtag1","hashtag2"]},{"1332157063":["hashtag1","hashtag2"]},{"1332157123":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332157111, 1332157120, 1332157114, 1332157122, 1332157063, 1332157123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2502760887146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:40:32.689198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/26/image_28012025_02_27_05_10440.jpg', '/home/pi/Desktop/images/28012025/02/27/image_28012025_02_27_15_9386.jpg', '/home/pi/Desktop/images/28012025/02/27/image_28012025_02_27_25_10388.jpg', '/home/pi/Desktop/images/28012025/02/27/image_28012025_02_27_45_9333.jpg', '/home/pi/Desktop/images/28012025/02/27/image_28012025_02_27_55_10416.jpg', '/home/pi/Desktop/images/28012025/02/27/image_28012025_02_28_06_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/26/image_28012025_02_27_05_10440.jpg
/home/pi/Desktop/images/28012025/02/27/image_28012025_02_27_15_9386.jpg
/home/pi/Desktop/images/28012025/02/27/image_28012025_02_27_25_10388.jpg
/home/pi/Desktop/images/28012025/02/27/image_28012025_02_27_45_9333.jpg
/home/pi/Desktop/images/28012025/02/27/image_28012025_02_27_55_10416.jpg
/home/pi/Desktop/images/28012025/02/27/image_28012025_02_28_06_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332157296","1332157299","1332157311","1332157295","1332157313","1332157294"],"photo_ids_order":["1332157294","1332157295","1332157296","1332157299","1332157311","1332157313"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b63a241bda72a0059e1cca089acdb7dc.jpg","text":"TemporaryFile(/tmp/multipartBody6196036908555276415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028493596,"filename":"image_28012025_02_27_25_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2047014e21eecd6b65c660a6936105b2.jpg","text":"TemporaryFile(/tmp/multipartBody7809072173273758055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028493596,"filename":"image_28012025_02_27_45_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b287021ca08355366e9d913b06e1e6d2.jpg","text":"TemporaryFile(/tmp/multipartBody5143385423603169432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028493596,"filename":"image_28012025_02_27_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/1/28/b006f31bdd0af172a1f2a93f7f3c1558.jpg","text":"TemporaryFile(/tmp/multipartBody5487738268364284638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028493596,"filename":"image_28012025_02_27_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/1/28/8bae24c97639b087948e12578db75fb1.jpg","text":"TemporaryFile(/tmp/multipartBody1771218633198018843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028493596,"filename":"image_28012025_02_28_06_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3da3a1f4e15922c756a0adec70449c98.jpg","text":"TemporaryFile(/tmp/multipartBody1711864937136085321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028493596,"filename":"image_28012025_02_27_05_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332157296","file1":"1332157295","file0":"1332157294","file4":"1332157311","file5":"1332157313","file3":"1332157299"},"map_files_photo_id_array":[{"photo_id":"1332157313","filename":"file5"},{"photo_id":"1332157296","filename":"file2"},{"photo_id":"1332157311","filename":"file4"},{"photo_id":"1332157295","filename":"file1"},{"photo_id":"1332157294","filename":"file0"},{"photo_id":"1332157299","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332157296":["hashtag1","hashtag2"]},{"1332157299":["hashtag1","hashtag2"]},{"1332157311":["hashtag1","hashtag2"]},{"1332157295":["hashtag1","hashtag2"]},{"1332157313":["hashtag1","hashtag2"]},{"1332157294":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332157296, 1332157299, 1332157311, 1332157295, 1332157313, 1332157294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.92003679275513 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:41:33.020437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/28/image_28012025_02_28_15_9348.jpg', '/home/pi/Desktop/images/28012025/02/28/image_28012025_02_28_25_10438.jpg', '/home/pi/Desktop/images/28012025/02/28/image_28012025_02_28_35_9365.jpg', '/home/pi/Desktop/images/28012025/02/28/image_28012025_02_28_45_10467.jpg', '/home/pi/Desktop/images/28012025/02/28/image_28012025_02_28_56_10358.jpg', '/home/pi/Desktop/images/28012025/02/28/image_28012025_02_29_05_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/28/image_28012025_02_28_15_9348.jpg
/home/pi/Desktop/images/28012025/02/28/image_28012025_02_28_25_10438.jpg
/home/pi/Desktop/images/28012025/02/28/image_28012025_02_28_35_9365.jpg
/home/pi/Desktop/images/28012025/02/28/image_28012025_02_28_45_10467.jpg
/home/pi/Desktop/images/28012025/02/28/image_28012025_02_28_56_10358.jpg
/home/pi/Desktop/images/28012025/02/28/image_28012025_02_29_05_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332157345","1332157347","1332157349","1332157352","1332157354","1332157363"],"photo_ids_order":["1332157345","1332157347","1332157349","1332157352","1332157354","1332157363"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/07590c76c507ccd6034d013229720570.jpg","text":"TemporaryFile(/tmp/multipartBody3787815012360914873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028553920,"filename":"image_28012025_02_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/1/28/ddf960f0fdc619a33d73339295ead414.jpg","text":"TemporaryFile(/tmp/multipartBody8060033767622630842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028553920,"filename":"image_28012025_02_28_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/1/28/d08eaa0bb0816427fa348f3da1efc92d.jpg","text":"TemporaryFile(/tmp/multipartBody6647979844241359882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028553920,"filename":"image_28012025_02_28_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/1/28/47aa6f7476bbc12e56b396ff35765343.jpg","text":"TemporaryFile(/tmp/multipartBody9060742648098313041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028553920,"filename":"image_28012025_02_28_45_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0149716f82c11b8c000c4bc3ba26f6e6.jpg","text":"TemporaryFile(/tmp/multipartBody5257474015102007910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028553920,"filename":"image_28012025_02_28_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/1/28/5db4b53fbca05405d908369f3cfd86d3.jpg","text":"TemporaryFile(/tmp/multipartBody6031198217679758479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028553920,"filename":"image_28012025_02_29_05_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332157349","file1":"1332157347","file0":"1332157345","file4":"1332157354","file5":"1332157363","file3":"1332157352"},"map_files_photo_id_array":[{"photo_id":"1332157363","filename":"file5"},{"photo_id":"1332157349","filename":"file2"},{"photo_id":"1332157354","filename":"file4"},{"photo_id":"1332157347","filename":"file1"},{"photo_id":"1332157345","filename":"file0"},{"photo_id":"1332157352","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332157345":["hashtag1","hashtag2"]},{"1332157347":["hashtag1","hashtag2"]},{"1332157349":["hashtag1","hashtag2"]},{"1332157352":["hashtag1","hashtag2"]},{"1332157354":["hashtag1","hashtag2"]},{"1332157363":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332157345, 1332157347, 1332157349, 1332157352, 1332157354, 1332157363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.07532525062561 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:42:32.300561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/29/image_28012025_02_29_15_10413.jpg', '/home/pi/Desktop/images/28012025/02/29/image_28012025_02_29_25_9350.jpg', '/home/pi/Desktop/images/28012025/02/29/image_28012025_02_29_35_10372.jpg', '/home/pi/Desktop/images/28012025/02/29/image_28012025_02_29_45_10351.jpg', '/home/pi/Desktop/images/28012025/02/29/image_28012025_02_29_55_9333.jpg', '/home/pi/Desktop/images/28012025/02/29/image_28012025_02_30_05_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/29/image_28012025_02_29_15_10413.jpg
/home/pi/Desktop/images/28012025/02/29/image_28012025_02_29_25_9350.jpg
/home/pi/Desktop/images/28012025/02/29/image_28012025_02_29_35_10372.jpg
/home/pi/Desktop/images/28012025/02/29/image_28012025_02_29_45_10351.jpg
/home/pi/Desktop/images/28012025/02/29/image_28012025_02_29_55_9333.jpg
/home/pi/Desktop/images/28012025/02/29/image_28012025_02_30_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":["1332157417","1332157426","1332157411","1332157407","1332157410","1332157556"],"photo_ids_order":["1332157407","1332157410","1332157411","1332157417","1332157426","1332157556"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cfa3977b0bf88ac82102ca0001665d82.jpg","text":"TemporaryFile(/tmp/multipartBody2669262354469325271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028613206,"filename":"image_28012025_02_29_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/1/28/3542b6000ad1a63e4ae768b229551165.jpg","text":"TemporaryFile(/tmp/multipartBody269619168646597820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028613206,"filename":"image_28012025_02_29_55_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0de1940531aa2d71c26b3a680dd94ec3.jpg","text":"TemporaryFile(/tmp/multipartBody9172988224380362423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028613206,"filename":"image_28012025_02_29_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/1/28/efc68f345393201ed2ea82bddd0bcc64.jpg","text":"TemporaryFile(/tmp/multipartBody2795257075658028850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028613206,"filename":"image_28012025_02_29_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/1/28/c14e3adbaa3386b4ec04d0257657ca54.jpg","text":"TemporaryFile(/tmp/multipartBody4687901702884012345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028613206,"filename":"image_28012025_02_29_25_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/362d18d672c216c06fed03aff4240b73.jpg","text":"TemporaryFile(/tmp/multipartBody1544780015219562993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028613206,"filename":"image_28012025_02_30_05_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332157411","file1":"1332157410","file0":"1332157407","file4":"1332157426","file5":"1332157556","file3":"1332157417"},"map_files_photo_id_array":[{"photo_id":"1332157556","filename":"file5"},{"photo_id":"1332157411","filename":"file2"},{"photo_id":"1332157426","filename":"file4"},{"photo_id":"1332157410","filename":"file1"},{"photo_id":"1332157407","filename":"file0"},{"photo_id":"1332157417","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332157417":["hashtag1","hashtag2"]},{"1332157426":["hashtag1","hashtag2"]},{"1332157411":["hashtag1","hashtag2"]},{"1332157407":["hashtag1","hashtag2"]},{"1332157410":["hashtag1","hashtag2"]},{"1332157556":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332157417, 1332157426, 1332157411, 1332157407, 1332157410, 1332157556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.538329124450684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:43:32.524490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/30/image_28012025_02_30_16_10331.jpg', '/home/pi/Desktop/images/28012025/02/30/image_28012025_02_30_25_9329.jpg', '/home/pi/Desktop/images/28012025/02/30/image_28012025_02_30_35_10350.jpg', '/home/pi/Desktop/images/28012025/02/30/image_28012025_02_30_46_10339.jpg', '/home/pi/Desktop/images/28012025/02/30/image_28012025_02_30_55_9367.jpg', '/home/pi/Desktop/images/28012025/02/30/image_28012025_02_31_05_10490.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/30/image_28012025_02_30_16_10331.jpg
/home/pi/Desktop/images/28012025/02/30/image_28012025_02_30_25_9329.jpg
/home/pi/Desktop/images/28012025/02/30/image_28012025_02_30_35_10350.jpg
/home/pi/Desktop/images/28012025/02/30/image_28012025_02_30_46_10339.jpg
/home/pi/Desktop/images/28012025/02/30/image_28012025_02_30_55_9367.jpg
/home/pi/Desktop/images/28012025/02/30/image_28012025_02_31_05_10490.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332157735","1332157749","1332157734","1332157745","1332157742","1332157672"],"photo_ids_order":["1332157672","1332157734","1332157735","1332157742","1332157745","1332157749"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/17507bd839eb48be2bfb34e055c60124.jpg","text":"TemporaryFile(/tmp/multipartBody8100014781442967736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028673493,"filename":"image_28012025_02_30_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/1/28/d8355da1091aaea1870404c0ff1221e6.jpg","text":"TemporaryFile(/tmp/multipartBody4468350620618262003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028673493,"filename":"image_28012025_02_31_05_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/12f2036e00498fe4cbd1ffd1fc3b758a.jpg","text":"TemporaryFile(/tmp/multipartBody658180068610611664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028673493,"filename":"image_28012025_02_30_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/1/28/bda06af0b4b73f99ffa9876a7f422462.jpg","text":"TemporaryFile(/tmp/multipartBody1912908101400445289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028673493,"filename":"image_28012025_02_30_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/1/28/1be7a0989cb504adc3469d67a8042765.jpg","text":"TemporaryFile(/tmp/multipartBody5306448760664578049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028673493,"filename":"image_28012025_02_30_46_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/496e963d5a2c881f76fcfbc65c783318.jpg","text":"TemporaryFile(/tmp/multipartBody3984871397926054506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028673493,"filename":"image_28012025_02_30_16_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332157735","file1":"1332157734","file0":"1332157672","file4":"1332157745","file5":"1332157749","file3":"1332157742"},"map_files_photo_id_array":[{"photo_id":"1332157749","filename":"file5"},{"photo_id":"1332157735","filename":"file2"},{"photo_id":"1332157745","filename":"file4"},{"photo_id":"1332157734","filename":"file1"},{"photo_id":"1332157672","filename":"file0"},{"photo_id":"1332157742","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332157735":["hashtag1","hashtag2"]},{"1332157749":["hashtag1","hashtag2"]},{"1332157734":["hashtag1","hashtag2"]},{"1332157745":["hashtag1","hashtag2"]},{"1332157742":["hashtag1","hashtag2"]},{"1332157672":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332157735, 1332157749, 1332157734, 1332157745, 1332157742, 1332157672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.249699115753174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:44:32.745624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/31/image_28012025_02_31_15_9322.jpg', '/home/pi/Desktop/images/28012025/02/31/image_28012025_02_31_25_10342.jpg', '/home/pi/Desktop/images/28012025/02/31/image_28012025_02_31_35_10415.jpg', '/home/pi/Desktop/images/28012025/02/31/image_28012025_02_31_45_9366.jpg', '/home/pi/Desktop/images/28012025/02/31/image_28012025_02_31_55_10492.jpg', '/home/pi/Desktop/images/28012025/02/31/image_28012025_02_32_06_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/31/image_28012025_02_31_15_9322.jpg
/home/pi/Desktop/images/28012025/02/31/image_28012025_02_31_25_10342.jpg
/home/pi/Desktop/images/28012025/02/31/image_28012025_02_31_35_10415.jpg
/home/pi/Desktop/images/28012025/02/31/image_28012025_02_31_45_9366.jpg
/home/pi/Desktop/images/28012025/02/31/image_28012025_02_31_55_10492.jpg
/home/pi/Desktop/images/28012025/02/31/image_28012025_02_32_06_10348.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.51338791847229 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 02:44:42.770472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/31/image_28012025_02_31_15_9322.jpg', '/home/pi/Desktop/images/28012025/02/31/image_28012025_02_31_25_10342.jpg', '/home/pi/Desktop/images/28012025/02/31/image_28012025_02_31_35_10415.jpg', '/home/pi/Desktop/images/28012025/02/31/image_28012025_02_31_45_9366.jpg', '/home/pi/Desktop/images/28012025/02/31/image_28012025_02_31_55_10492.jpg', '/home/pi/Desktop/images/28012025/02/31/image_28012025_02_32_06_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/31/image_28012025_02_31_15_9322.jpg
/home/pi/Desktop/images/28012025/02/31/image_28012025_02_31_25_10342.jpg
/home/pi/Desktop/images/28012025/02/31/image_28012025_02_31_35_10415.jpg
/home/pi/Desktop/images/28012025/02/31/image_28012025_02_31_45_9366.jpg
/home/pi/Desktop/images/28012025/02/31/image_28012025_02_31_55_10492.jpg
/home/pi/Desktop/images/28012025/02/31/image_28012025_02_32_06_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332157911","1332157908","1332157919","1332157901","1332157910","1332157897"],"photo_ids_order":["1332157897","1332157901","1332157908","1332157910","1332157911","1332157919"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a2058a8cda8712bf0a75b17be761bb8c.jpg","text":"TemporaryFile(/tmp/multipartBody6977931690558704293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028743686,"filename":"image_28012025_02_31_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/1/28/c07470c6ba860a80383ff5e51f2fc989.jpg","text":"TemporaryFile(/tmp/multipartBody5615717873173151025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028743686,"filename":"image_28012025_02_31_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/1/28/22d290dab664741f540f30d490d9c745.jpg","text":"TemporaryFile(/tmp/multipartBody4397171379954476447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028743686,"filename":"image_28012025_02_32_06_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/942f32e8c42613e707d4a932d49c354d.jpg","text":"TemporaryFile(/tmp/multipartBody9115105155814537301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028743686,"filename":"image_28012025_02_31_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/1/28/3a4aee3401908db42bdedef8b5cce091.jpg","text":"TemporaryFile(/tmp/multipartBody4028669306418374312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028743686,"filename":"image_28012025_02_31_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/1/28/eae18e727d121789c0d9f3b29c098117.jpg","text":"TemporaryFile(/tmp/multipartBody7932438716704621807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028743686,"filename":"image_28012025_02_31_15_9322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332157908","file1":"1332157901","file0":"1332157897","file4":"1332157911","file5":"1332157919","file3":"1332157910"},"map_files_photo_id_array":[{"photo_id":"1332157919","filename":"file5"},{"photo_id":"1332157908","filename":"file2"},{"photo_id":"1332157911","filename":"file4"},{"photo_id":"1332157901","filename":"file1"},{"photo_id":"1332157897","filename":"file0"},{"photo_id":"1332157910","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332157911":["hashtag1","hashtag2"]},{"1332157908":["hashtag1","hashtag2"]},{"1332157919":["hashtag1","hashtag2"]},{"1332157901":["hashtag1","hashtag2"]},{"1332157910":["hashtag1","hashtag2"]},{"1332157897":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332157911, 1332157908, 1332157919, 1332157901, 1332157910, 1332157897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.061142444610596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:45:32.979720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/32/image_28012025_02_32_15_9307.jpg', '/home/pi/Desktop/images/28012025/02/32/image_28012025_02_32_25_10439.jpg', '/home/pi/Desktop/images/28012025/02/32/image_28012025_02_32_35_9334.jpg', '/home/pi/Desktop/images/28012025/02/32/image_28012025_02_32_45_10401.jpg', '/home/pi/Desktop/images/28012025/02/32/image_28012025_02_32_56_10406.jpg', '/home/pi/Desktop/images/28012025/02/32/image_28012025_02_33_05_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/32/image_28012025_02_32_15_9307.jpg
/home/pi/Desktop/images/28012025/02/32/image_28012025_02_32_25_10439.jpg
/home/pi/Desktop/images/28012025/02/32/image_28012025_02_32_35_9334.jpg
/home/pi/Desktop/images/28012025/02/32/image_28012025_02_32_45_10401.jpg
/home/pi/Desktop/images/28012025/02/32/image_28012025_02_32_56_10406.jpg
/home/pi/Desktop/images/28012025/02/32/image_28012025_02_33_05_9337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332157933","1332157925","1332157940","1332157928","1332157936","1332157939"],"photo_ids_order":["1332157925","1332157928","1332157933","1332157936","1332157939","1332157940"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a34a951992101045d0b101220a4cc919.jpg","text":"TemporaryFile(/tmp/multipartBody4196728063872765965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028793898,"filename":"image_28012025_02_32_35_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/10654e18278e860997d12e3de7c87056.jpg","text":"TemporaryFile(/tmp/multipartBody3346727467378684137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028793898,"filename":"image_28012025_02_32_15_9307.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d2b3f08cc8c167bb9c624d22944edec7.jpg","text":"TemporaryFile(/tmp/multipartBody6080713904053479868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028793898,"filename":"image_28012025_02_33_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/1/28/af865ea82237d36406af34bdca4b17c6.jpg","text":"TemporaryFile(/tmp/multipartBody3966268411223001010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028793898,"filename":"image_28012025_02_32_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/1/28/1a86cbded826905815be55d0cc316494.jpg","text":"TemporaryFile(/tmp/multipartBody5397205724336836869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028793898,"filename":"image_28012025_02_32_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/1/28/bf8b13d5449d2f876c82b78cf26a8090.jpg","text":"TemporaryFile(/tmp/multipartBody567871188799890220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028793898,"filename":"image_28012025_02_32_56_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332157933","file1":"1332157928","file0":"1332157925","file4":"1332157939","file5":"1332157940","file3":"1332157936"},"map_files_photo_id_array":[{"photo_id":"1332157940","filename":"file5"},{"photo_id":"1332157933","filename":"file2"},{"photo_id":"1332157939","filename":"file4"},{"photo_id":"1332157928","filename":"file1"},{"photo_id":"1332157925","filename":"file0"},{"photo_id":"1332157936","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332157933":["hashtag1","hashtag2"]},{"1332157925":["hashtag1","hashtag2"]},{"1332157940":["hashtag1","hashtag2"]},{"1332157928":["hashtag1","hashtag2"]},{"1332157936":["hashtag1","hashtag2"]},{"1332157939":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332157933, 1332157925, 1332157940, 1332157928, 1332157936, 1332157939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.80092668533325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:46:32.205475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/33/image_28012025_02_33_15_10426.jpg', '/home/pi/Desktop/images/28012025/02/33/image_28012025_02_33_25_9425.jpg', '/home/pi/Desktop/images/28012025/02/33/image_28012025_02_33_35_10335.jpg', '/home/pi/Desktop/images/28012025/02/33/image_28012025_02_33_46_10413.jpg', '/home/pi/Desktop/images/28012025/02/33/image_28012025_02_33_55_9331.jpg', '/home/pi/Desktop/images/28012025/02/33/image_28012025_02_34_05_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/33/image_28012025_02_33_15_10426.jpg
/home/pi/Desktop/images/28012025/02/33/image_28012025_02_33_25_9425.jpg
/home/pi/Desktop/images/28012025/02/33/image_28012025_02_33_35_10335.jpg
/home/pi/Desktop/images/28012025/02/33/image_28012025_02_33_46_10413.jpg
/home/pi/Desktop/images/28012025/02/33/image_28012025_02_33_55_9331.jpg
/home/pi/Desktop/images/28012025/02/33/image_28012025_02_34_05_10343.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5404164791107178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 02:46:42.168698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/33/image_28012025_02_33_15_10426.jpg', '/home/pi/Desktop/images/28012025/02/33/image_28012025_02_33_25_9425.jpg', '/home/pi/Desktop/images/28012025/02/33/image_28012025_02_33_35_10335.jpg', '/home/pi/Desktop/images/28012025/02/33/image_28012025_02_33_46_10413.jpg', '/home/pi/Desktop/images/28012025/02/33/image_28012025_02_33_55_9331.jpg', '/home/pi/Desktop/images/28012025/02/33/image_28012025_02_34_05_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/33/image_28012025_02_33_15_10426.jpg
/home/pi/Desktop/images/28012025/02/33/image_28012025_02_33_25_9425.jpg
/home/pi/Desktop/images/28012025/02/33/image_28012025_02_33_35_10335.jpg
/home/pi/Desktop/images/28012025/02/33/image_28012025_02_33_46_10413.jpg
/home/pi/Desktop/images/28012025/02/33/image_28012025_02_33_55_9331.jpg
/home/pi/Desktop/images/28012025/02/33/image_28012025_02_34_05_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332157950","1332157962","1332157956","1332158020","1332157987","1332157960"],"photo_ids_order":["1332157950","1332157956","1332157960","1332157962","1332157987","1332158020"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/57acbe0bb4d4035b3a9305cea74ffa2f.jpg","text":"TemporaryFile(/tmp/multipartBody6798379125185567304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028863101,"filename":"image_28012025_02_33_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/1/28/c5c26cb03eccc8ac78896c5c8dc376a2.jpg","text":"TemporaryFile(/tmp/multipartBody2841774760567504525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028863101,"filename":"image_28012025_02_33_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/1/28/8de6c352e7a6b6fe298ec15837afb472.jpg","text":"TemporaryFile(/tmp/multipartBody328939252232828493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028863101,"filename":"image_28012025_02_33_25_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4bb71b5ac953dbe9fc73a9e22e7ca61b.jpg","text":"TemporaryFile(/tmp/multipartBody2532391790285253079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028863101,"filename":"image_28012025_02_34_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/1/28/7b3850a8fd553245a37700307a940918.jpg","text":"TemporaryFile(/tmp/multipartBody523187656564400399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028863101,"filename":"image_28012025_02_33_55_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d3d1932c119853c254d4c3cfe86ee517.jpg","text":"TemporaryFile(/tmp/multipartBody6354224589757851470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028863101,"filename":"image_28012025_02_33_35_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332157960","file1":"1332157956","file0":"1332157950","file4":"1332157987","file5":"1332158020","file3":"1332157962"},"map_files_photo_id_array":[{"photo_id":"1332158020","filename":"file5"},{"photo_id":"1332157960","filename":"file2"},{"photo_id":"1332157987","filename":"file4"},{"photo_id":"1332157956","filename":"file1"},{"photo_id":"1332157950","filename":"file0"},{"photo_id":"1332157962","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332157950":["hashtag1","hashtag2"]},{"1332157962":["hashtag1","hashtag2"]},{"1332157956":["hashtag1","hashtag2"]},{"1332158020":["hashtag1","hashtag2"]},{"1332157987":["hashtag1","hashtag2"]},{"1332157960":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332157950, 1332157962, 1332157956, 1332158020, 1332157987, 1332157960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.813040256500244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:47:32.401121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/34/image_28012025_02_34_16_10412.jpg', '/home/pi/Desktop/images/28012025/02/34/image_28012025_02_34_25_9437.jpg', '/home/pi/Desktop/images/28012025/02/34/image_28012025_02_34_35_10354.jpg', '/home/pi/Desktop/images/28012025/02/34/image_28012025_02_34_45_9364.jpg', '/home/pi/Desktop/images/28012025/02/34/image_28012025_02_34_55_10359.jpg', '/home/pi/Desktop/images/28012025/02/34/image_28012025_02_35_06_10443.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/34/image_28012025_02_34_16_10412.jpg
/home/pi/Desktop/images/28012025/02/34/image_28012025_02_34_25_9437.jpg
/home/pi/Desktop/images/28012025/02/34/image_28012025_02_34_35_10354.jpg
/home/pi/Desktop/images/28012025/02/34/image_28012025_02_34_45_9364.jpg
/home/pi/Desktop/images/28012025/02/34/image_28012025_02_34_55_10359.jpg
/home/pi/Desktop/images/28012025/02/34/image_28012025_02_35_06_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":["1332158049","1332158099","1332158498","1332158234","1332158444","1332158026"],"photo_ids_order":["1332158026","1332158049","1332158099","1332158234","1332158444","1332158498"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/45706fa92874d787b1a9e1d0b015ef2e.jpg","text":"TemporaryFile(/tmp/multipartBody4606648530487894353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028913310,"filename":"image_28012025_02_34_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/1/28/51f756e92ec9d90011fbee766caf3839.jpg","text":"TemporaryFile(/tmp/multipartBody6401517906376041830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028913310,"filename":"image_28012025_02_34_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/1/28/38f8495a4e7c0abcd519be60088d11a4.jpg","text":"TemporaryFile(/tmp/multipartBody7313898057653362355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028913310,"filename":"image_28012025_02_35_06_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9451aabad684e8ca6aa6a89f697b7b50.jpg","text":"TemporaryFile(/tmp/multipartBody863995352379048340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028913310,"filename":"image_28012025_02_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/1/28/ed4ce8612c82b4766f42bbaf8d5afcb9.jpg","text":"TemporaryFile(/tmp/multipartBody6464112935333346302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028913310,"filename":"image_28012025_02_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/1/28/ffa78c652152faf27680a3979f1c6243.jpg","text":"TemporaryFile(/tmp/multipartBody3245573246734713378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028913310,"filename":"image_28012025_02_34_16_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332158099","file1":"1332158049","file0":"1332158026","file4":"1332158444","file5":"1332158498","file3":"1332158234"},"map_files_photo_id_array":[{"photo_id":"1332158498","filename":"file5"},{"photo_id":"1332158099","filename":"file2"},{"photo_id":"1332158444","filename":"file4"},{"photo_id":"1332158049","filename":"file1"},{"photo_id":"1332158026","filename":"file0"},{"photo_id":"1332158234","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332158049":["hashtag1","hashtag2"]},{"1332158099":["hashtag1","hashtag2"]},{"1332158498":["hashtag1","hashtag2"]},{"1332158234":["hashtag1","hashtag2"]},{"1332158444":["hashtag1","hashtag2"]},{"1332158026":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332158049, 1332158099, 1332158498, 1332158234, 1332158444, 1332158026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.99912405014038 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:48:32.639406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/35/image_28012025_02_35_15_9329.jpg', '/home/pi/Desktop/images/28012025/02/35/image_28012025_02_35_25_10441.jpg', '/home/pi/Desktop/images/28012025/02/35/image_28012025_02_35_36_10343.jpg', '/home/pi/Desktop/images/28012025/02/35/image_28012025_02_35_45_9362.jpg', '/home/pi/Desktop/images/28012025/02/35/image_28012025_02_35_55_10363.jpg', '/home/pi/Desktop/images/28012025/02/36/image_28012025_02_36_15_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/35/image_28012025_02_35_15_9329.jpg
/home/pi/Desktop/images/28012025/02/35/image_28012025_02_35_25_10441.jpg
/home/pi/Desktop/images/28012025/02/35/image_28012025_02_35_36_10343.jpg
/home/pi/Desktop/images/28012025/02/35/image_28012025_02_35_45_9362.jpg
/home/pi/Desktop/images/28012025/02/35/image_28012025_02_35_55_10363.jpg
/home/pi/Desktop/images/28012025/02/36/image_28012025_02_36_15_10358.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5113487243652344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 02:48:42.623069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/35/image_28012025_02_35_15_9329.jpg', '/home/pi/Desktop/images/28012025/02/35/image_28012025_02_35_25_10441.jpg', '/home/pi/Desktop/images/28012025/02/35/image_28012025_02_35_36_10343.jpg', '/home/pi/Desktop/images/28012025/02/35/image_28012025_02_35_45_9362.jpg', '/home/pi/Desktop/images/28012025/02/35/image_28012025_02_35_55_10363.jpg', '/home/pi/Desktop/images/28012025/02/36/image_28012025_02_36_15_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/35/image_28012025_02_35_15_9329.jpg
/home/pi/Desktop/images/28012025/02/35/image_28012025_02_35_25_10441.jpg
/home/pi/Desktop/images/28012025/02/35/image_28012025_02_35_36_10343.jpg
/home/pi/Desktop/images/28012025/02/35/image_28012025_02_35_45_9362.jpg
/home/pi/Desktop/images/28012025/02/35/image_28012025_02_35_55_10363.jpg
/home/pi/Desktop/images/28012025/02/36/image_28012025_02_36_15_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332158808","1332158805","1332158795","1332158783","1332158779","1332158788"],"photo_ids_order":["1332158779","1332158783","1332158788","1332158795","1332158805","1332158808"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5291f00824647fc42b58f6096a9f77d8.jpg","text":"TemporaryFile(/tmp/multipartBody7905191874599674981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028983555,"filename":"image_28012025_02_36_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/1/28/ba990059af8d7c130d66aab93548fe41.jpg","text":"TemporaryFile(/tmp/multipartBody8932879911244033125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028983555,"filename":"image_28012025_02_35_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/1/28/a2cc7b67eb2abf43812307deda8c3182.jpg","text":"TemporaryFile(/tmp/multipartBody2955400542029035315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028983555,"filename":"image_28012025_02_35_45_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/92550c4b9f84ddc7a04e17fc086436ad.jpg","text":"TemporaryFile(/tmp/multipartBody7517306241030191114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028983555,"filename":"image_28012025_02_35_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/1/28/5f942ffca2a82e85a3aad2eb1adf89ce.jpg","text":"TemporaryFile(/tmp/multipartBody2643290607403255259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028983555,"filename":"image_28012025_02_35_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/1/28/09915a09200dac5ed7dd56209ff80fda.jpg","text":"TemporaryFile(/tmp/multipartBody3352756339350754128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738028983555,"filename":"image_28012025_02_35_36_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332158788","file1":"1332158783","file0":"1332158779","file4":"1332158805","file5":"1332158808","file3":"1332158795"},"map_files_photo_id_array":[{"photo_id":"1332158808","filename":"file5"},{"photo_id":"1332158788","filename":"file2"},{"photo_id":"1332158805","filename":"file4"},{"photo_id":"1332158783","filename":"file1"},{"photo_id":"1332158779","filename":"file0"},{"photo_id":"1332158795","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332158808":["hashtag1","hashtag2"]},{"1332158805":["hashtag1","hashtag2"]},{"1332158795":["hashtag1","hashtag2"]},{"1332158783":["hashtag1","hashtag2"]},{"1332158779":["hashtag1","hashtag2"]},{"1332158788":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332158808, 1332158805, 1332158795, 1332158783, 1332158779, 1332158788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.526365756988525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:49:32.894194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/36/image_28012025_02_36_26_10436.jpg', '/home/pi/Desktop/images/28012025/02/36/image_28012025_02_36_35_9347.jpg', '/home/pi/Desktop/images/28012025/02/36/image_28012025_02_36_45_10412.jpg', '/home/pi/Desktop/images/28012025/02/36/image_28012025_02_36_56_10338.jpg', '/home/pi/Desktop/images/28012025/02/36/image_28012025_02_37_05_9332.jpg', '/home/pi/Desktop/images/28012025/02/37/image_28012025_02_37_25_9322.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/36/image_28012025_02_36_26_10436.jpg
/home/pi/Desktop/images/28012025/02/36/image_28012025_02_36_35_9347.jpg
/home/pi/Desktop/images/28012025/02/36/image_28012025_02_36_45_10412.jpg
/home/pi/Desktop/images/28012025/02/36/image_28012025_02_36_56_10338.jpg
/home/pi/Desktop/images/28012025/02/36/image_28012025_02_37_05_9332.jpg
/home/pi/Desktop/images/28012025/02/37/image_28012025_02_37_25_9322.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332158886","1332158835","1332158888","1332158840","1332158843","1332158889"],"photo_ids_order":["1332158835","1332158840","1332158843","1332158886","1332158888","1332158889"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8fe5c3cf8440b68f89e99356535336fd.jpg","text":"TemporaryFile(/tmp/multipartBody4701757189360606379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029033922,"filename":"image_28012025_02_36_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/1/28/585d5c314d96361265613960d7211c3f.jpg","text":"TemporaryFile(/tmp/multipartBody5980484423281093339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029033922,"filename":"image_28012025_02_36_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/1/28/669930b50e23b6665066c964d2971913.jpg","text":"TemporaryFile(/tmp/multipartBody5508739546737324771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029033922,"filename":"image_28012025_02_37_05_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0b5883ee7116e70454542df359706c9e.jpg","text":"TemporaryFile(/tmp/multipartBody8305237073051447417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029033922,"filename":"image_28012025_02_36_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/1/28/d502496c68dc676641c65d1a1c53a8b0.jpg","text":"TemporaryFile(/tmp/multipartBody915759812349067978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029033922,"filename":"image_28012025_02_36_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/1/28/77b46f84e8719afbc52db0af49db9f12.jpg","text":"TemporaryFile(/tmp/multipartBody5624355535467107368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029033922,"filename":"image_28012025_02_37_25_9322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332158843","file1":"1332158840","file0":"1332158835","file4":"1332158888","file5":"1332158889","file3":"1332158886"},"map_files_photo_id_array":[{"photo_id":"1332158889","filename":"file5"},{"photo_id":"1332158843","filename":"file2"},{"photo_id":"1332158888","filename":"file4"},{"photo_id":"1332158840","filename":"file1"},{"photo_id":"1332158835","filename":"file0"},{"photo_id":"1332158886","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332158886":["hashtag1","hashtag2"]},{"1332158835":["hashtag1","hashtag2"]},{"1332158888":["hashtag1","hashtag2"]},{"1332158840":["hashtag1","hashtag2"]},{"1332158843":["hashtag1","hashtag2"]},{"1332158889":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332158886, 1332158835, 1332158888, 1332158840, 1332158843, 1332158889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.095215797424316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:50:32.982360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/37/image_28012025_02_37_35_10327.jpg', '/home/pi/Desktop/images/28012025/02/37/image_28012025_02_37_46_10461.jpg', '/home/pi/Desktop/images/28012025/02/37/image_28012025_02_37_55_9394.jpg', '/home/pi/Desktop/images/28012025/02/37/image_28012025_02_38_05_10451.jpg', '/home/pi/Desktop/images/28012025/02/38/image_28012025_02_38_25_9357.jpg', '/home/pi/Desktop/images/28012025/02/38/image_28012025_02_38_45_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/37/image_28012025_02_37_35_10327.jpg
/home/pi/Desktop/images/28012025/02/37/image_28012025_02_37_46_10461.jpg
/home/pi/Desktop/images/28012025/02/37/image_28012025_02_37_55_9394.jpg
/home/pi/Desktop/images/28012025/02/37/image_28012025_02_38_05_10451.jpg
/home/pi/Desktop/images/28012025/02/38/image_28012025_02_38_25_9357.jpg
/home/pi/Desktop/images/28012025/02/38/image_28012025_02_38_45_9346.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5085577964782715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 02:50:43.120793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/37/image_28012025_02_37_35_10327.jpg', '/home/pi/Desktop/images/28012025/02/37/image_28012025_02_37_46_10461.jpg', '/home/pi/Desktop/images/28012025/02/37/image_28012025_02_37_55_9394.jpg', '/home/pi/Desktop/images/28012025/02/37/image_28012025_02_38_05_10451.jpg', '/home/pi/Desktop/images/28012025/02/38/image_28012025_02_38_25_9357.jpg', '/home/pi/Desktop/images/28012025/02/38/image_28012025_02_38_45_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/37/image_28012025_02_37_35_10327.jpg
/home/pi/Desktop/images/28012025/02/37/image_28012025_02_37_46_10461.jpg
/home/pi/Desktop/images/28012025/02/37/image_28012025_02_37_55_9394.jpg
/home/pi/Desktop/images/28012025/02/37/image_28012025_02_38_05_10451.jpg
/home/pi/Desktop/images/28012025/02/38/image_28012025_02_38_25_9357.jpg
/home/pi/Desktop/images/28012025/02/38/image_28012025_02_38_45_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332158921","1332158939","1332158918","1332159061","1332158914","1332158923"],"photo_ids_order":["1332158914","1332158918","1332158921","1332158923","1332158939","1332159061"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9d29376d933819313ecb9890e2ec6fbb.jpg","text":"TemporaryFile(/tmp/multipartBody2869085123812526303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029104026,"filename":"image_28012025_02_37_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/1/28/38348d4f0a087219e326aa1a10916c2b.jpg","text":"TemporaryFile(/tmp/multipartBody533237089559795451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029104026,"filename":"image_28012025_02_38_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/1/28/2a3bb748ddffe55195dce82a4af2ca6c.jpg","text":"TemporaryFile(/tmp/multipartBody2863876386067553072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029104026,"filename":"image_28012025_02_37_46_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/aee3f6653767a7a6c6843f25350e8fea.jpg","text":"TemporaryFile(/tmp/multipartBody2613210476143207378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029104026,"filename":"image_28012025_02_38_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/1/28/137d24d26e9f2ac3493a65432bc34442.jpg","text":"TemporaryFile(/tmp/multipartBody3368390087097586406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029104026,"filename":"image_28012025_02_37_35_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1ee5144ec727da255a21e6daccef5423.jpg","text":"TemporaryFile(/tmp/multipartBody5685548275156105175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029104026,"filename":"image_28012025_02_38_05_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332158921","file1":"1332158918","file0":"1332158914","file4":"1332158939","file5":"1332159061","file3":"1332158923"},"map_files_photo_id_array":[{"photo_id":"1332159061","filename":"file5"},{"photo_id":"1332158921","filename":"file2"},{"photo_id":"1332158939","filename":"file4"},{"photo_id":"1332158918","filename":"file1"},{"photo_id":"1332158914","filename":"file0"},{"photo_id":"1332158923","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332158921":["hashtag1","hashtag2"]},{"1332158939":["hashtag1","hashtag2"]},{"1332158918":["hashtag1","hashtag2"]},{"1332159061":["hashtag1","hashtag2"]},{"1332158914":["hashtag1","hashtag2"]},{"1332158923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332158921, 1332158939, 1332158918, 1332159061, 1332158914, 1332158923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84887099266052 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:51:32.280355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/38/image_28012025_02_38_55_10347.jpg', '/home/pi/Desktop/images/28012025/02/38/image_28012025_02_39_05_10333.jpg', '/home/pi/Desktop/images/28012025/02/39/image_28012025_02_39_15_9336.jpg', '/home/pi/Desktop/images/28012025/02/39/image_28012025_02_39_25_10326.jpg', '/home/pi/Desktop/images/28012025/02/39/image_28012025_02_39_35_10346.jpg', '/home/pi/Desktop/images/28012025/02/39/image_28012025_02_39_45_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/38/image_28012025_02_38_55_10347.jpg
/home/pi/Desktop/images/28012025/02/38/image_28012025_02_39_05_10333.jpg
/home/pi/Desktop/images/28012025/02/39/image_28012025_02_39_15_9336.jpg
/home/pi/Desktop/images/28012025/02/39/image_28012025_02_39_25_10326.jpg
/home/pi/Desktop/images/28012025/02/39/image_28012025_02_39_35_10346.jpg
/home/pi/Desktop/images/28012025/02/39/image_28012025_02_39_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":["1332159149","1332159116","1332159125","1332159104","1332159151","1332159093"],"photo_ids_order":["1332159093","1332159104","1332159116","1332159125","1332159149","1332159151"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/53956ffa78596b283477b6144248e980.jpg","text":"TemporaryFile(/tmp/multipartBody328376537720877916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029153175,"filename":"image_28012025_02_39_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/1/28/b014167c0a42d52f8cd6544a64e4f7a8.jpg","text":"TemporaryFile(/tmp/multipartBody7949954906246453534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029153175,"filename":"image_28012025_02_39_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/1/28/134973a51ebb7ce198b733f782929a10.jpg","text":"TemporaryFile(/tmp/multipartBody8142957017824971919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029153175,"filename":"image_28012025_02_39_25_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/19f7106aadd3574af422bca692ca75cb.jpg","text":"TemporaryFile(/tmp/multipartBody4888518535521581780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029153175,"filename":"image_28012025_02_39_05_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3a7e4c47e578586d666f53407ab80664.jpg","text":"TemporaryFile(/tmp/multipartBody2132454690912360407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029153175,"filename":"image_28012025_02_39_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/1/28/1e7b3a8e89837120a95d0aaf1b476d01.jpg","text":"TemporaryFile(/tmp/multipartBody6197141172448652158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029153175,"filename":"image_28012025_02_38_55_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332159116","file1":"1332159104","file0":"1332159093","file4":"1332159149","file5":"1332159151","file3":"1332159125"},"map_files_photo_id_array":[{"photo_id":"1332159151","filename":"file5"},{"photo_id":"1332159116","filename":"file2"},{"photo_id":"1332159149","filename":"file4"},{"photo_id":"1332159104","filename":"file1"},{"photo_id":"1332159093","filename":"file0"},{"photo_id":"1332159125","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332159149":["hashtag1","hashtag2"]},{"1332159116":["hashtag1","hashtag2"]},{"1332159125":["hashtag1","hashtag2"]},{"1332159104":["hashtag1","hashtag2"]},{"1332159151":["hashtag1","hashtag2"]},{"1332159093":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332159149, 1332159116, 1332159125, 1332159104, 1332159151, 1332159093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47759199142456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:52:32.645629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/39/image_28012025_02_39_55_10330.jpg', '/home/pi/Desktop/images/28012025/02/39/image_28012025_02_40_05_10371.jpg', '/home/pi/Desktop/images/28012025/02/40/image_28012025_02_40_15_9328.jpg', '/home/pi/Desktop/images/28012025/02/40/image_28012025_02_40_25_10346.jpg', '/home/pi/Desktop/images/28012025/02/40/image_28012025_02_40_36_10361.jpg', '/home/pi/Desktop/images/28012025/02/40/image_28012025_02_40_45_9407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/39/image_28012025_02_39_55_10330.jpg
/home/pi/Desktop/images/28012025/02/39/image_28012025_02_40_05_10371.jpg
/home/pi/Desktop/images/28012025/02/40/image_28012025_02_40_15_9328.jpg
/home/pi/Desktop/images/28012025/02/40/image_28012025_02_40_25_10346.jpg
/home/pi/Desktop/images/28012025/02/40/image_28012025_02_40_36_10361.jpg
/home/pi/Desktop/images/28012025/02/40/image_28012025_02_40_45_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":["1332159231","1332159257","1332159256","1332159250","1332159253","1332159234"],"photo_ids_order":["1332159231","1332159234","1332159250","1332159253","1332159256","1332159257"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/19dc29a5dcc2b32f3dd1619420c562de.jpg","text":"TemporaryFile(/tmp/multipartBody4930352324632581611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029213567,"filename":"image_28012025_02_39_55_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a2d01c750adacff84eebce66ea3be5d3.jpg","text":"TemporaryFile(/tmp/multipartBody4626753041296620809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029213567,"filename":"image_28012025_02_40_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/1/28/22ff9ccc394b70bf59b78e24f187b0d2.jpg","text":"TemporaryFile(/tmp/multipartBody7767513029080560450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029213567,"filename":"image_28012025_02_40_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/1/28/f84c1b15beb4c346efa5d35bde863b12.jpg","text":"TemporaryFile(/tmp/multipartBody5730764965911692527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029213567,"filename":"image_28012025_02_40_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/1/28/20791c00e93b375f103004abb8195ebd.jpg","text":"TemporaryFile(/tmp/multipartBody9158497986926932903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029213567,"filename":"image_28012025_02_40_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/1/28/7ac285810b4f944a99f6e893d46af5f8.jpg","text":"TemporaryFile(/tmp/multipartBody4254393371173297855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029213567,"filename":"image_28012025_02_40_05_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332159250","file1":"1332159234","file0":"1332159231","file4":"1332159256","file5":"1332159257","file3":"1332159253"},"map_files_photo_id_array":[{"photo_id":"1332159257","filename":"file5"},{"photo_id":"1332159250","filename":"file2"},{"photo_id":"1332159256","filename":"file4"},{"photo_id":"1332159234","filename":"file1"},{"photo_id":"1332159231","filename":"file0"},{"photo_id":"1332159253","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332159231":["hashtag1","hashtag2"]},{"1332159257":["hashtag1","hashtag2"]},{"1332159256":["hashtag1","hashtag2"]},{"1332159250":["hashtag1","hashtag2"]},{"1332159253":["hashtag1","hashtag2"]},{"1332159234":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332159231, 1332159257, 1332159256, 1332159250, 1332159253, 1332159234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.21339297294617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:53:32.924463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/40/image_28012025_02_40_55_10500.jpg', '/home/pi/Desktop/images/28012025/02/40/image_28012025_02_41_05_9355.jpg', '/home/pi/Desktop/images/28012025/02/41/image_28012025_02_41_15_10325.jpg', '/home/pi/Desktop/images/28012025/02/41/image_28012025_02_41_35_9332.jpg', '/home/pi/Desktop/images/28012025/02/41/image_28012025_02_41_45_10365.jpg', '/home/pi/Desktop/images/28012025/02/41/image_28012025_02_41_55_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/40/image_28012025_02_40_55_10500.jpg
/home/pi/Desktop/images/28012025/02/40/image_28012025_02_41_05_9355.jpg
/home/pi/Desktop/images/28012025/02/41/image_28012025_02_41_15_10325.jpg
/home/pi/Desktop/images/28012025/02/41/image_28012025_02_41_35_9332.jpg
/home/pi/Desktop/images/28012025/02/41/image_28012025_02_41_45_10365.jpg
/home/pi/Desktop/images/28012025/02/41/image_28012025_02_41_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":["1332159324","1332159347","1332159326","1332159317","1332159319","1332159321"],"photo_ids_order":["1332159317","1332159319","1332159321","1332159324","1332159326","1332159347"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/19285690b648b82ef8f9c95a76f62096.jpg","text":"TemporaryFile(/tmp/multipartBody1913098070632546481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029273824,"filename":"image_28012025_02_41_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/1/28/c4cf05d8ff1c29f2f928f90dd859bb49.jpg","text":"TemporaryFile(/tmp/multipartBody3855020032465095844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029273824,"filename":"image_28012025_02_41_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/1/28/3116fa66971fe62802be4040c06b2929.jpg","text":"TemporaryFile(/tmp/multipartBody8118938573184366975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029273824,"filename":"image_28012025_02_41_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/1/28/316d49bb37858438a481f53be5319f2a.jpg","text":"TemporaryFile(/tmp/multipartBody4349856004288354125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029273824,"filename":"image_28012025_02_40_55_10500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a8fb19cad2742be1e3a6527aceafe08a.jpg","text":"TemporaryFile(/tmp/multipartBody8262431165137162361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029273824,"filename":"image_28012025_02_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/1/28/ddb0b54cda0da53ada36b17a1a31fead.jpg","text":"TemporaryFile(/tmp/multipartBody3347389185276215456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029273824,"filename":"image_28012025_02_41_15_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332159321","file1":"1332159319","file0":"1332159317","file4":"1332159326","file5":"1332159347","file3":"1332159324"},"map_files_photo_id_array":[{"photo_id":"1332159347","filename":"file5"},{"photo_id":"1332159321","filename":"file2"},{"photo_id":"1332159326","filename":"file4"},{"photo_id":"1332159319","filename":"file1"},{"photo_id":"1332159317","filename":"file0"},{"photo_id":"1332159324","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332159324":["hashtag1","hashtag2"]},{"1332159347":["hashtag1","hashtag2"]},{"1332159326":["hashtag1","hashtag2"]},{"1332159317":["hashtag1","hashtag2"]},{"1332159319":["hashtag1","hashtag2"]},{"1332159321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332159324, 1332159347, 1332159326, 1332159317, 1332159319, 1332159321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.034698724746704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:54:33.062902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/41/image_28012025_02_42_05_9351.jpg', '/home/pi/Desktop/images/28012025/02/42/image_28012025_02_42_15_10420.jpg', '/home/pi/Desktop/images/28012025/02/42/image_28012025_02_42_26_10348.jpg', '/home/pi/Desktop/images/28012025/02/42/image_28012025_02_42_35_9352.jpg', '/home/pi/Desktop/images/28012025/02/42/image_28012025_02_42_45_10466.jpg', '/home/pi/Desktop/images/28012025/02/42/image_28012025_02_42_55_9385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/41/image_28012025_02_42_05_9351.jpg
/home/pi/Desktop/images/28012025/02/42/image_28012025_02_42_15_10420.jpg
/home/pi/Desktop/images/28012025/02/42/image_28012025_02_42_26_10348.jpg
/home/pi/Desktop/images/28012025/02/42/image_28012025_02_42_35_9352.jpg
/home/pi/Desktop/images/28012025/02/42/image_28012025_02_42_45_10466.jpg
/home/pi/Desktop/images/28012025/02/42/image_28012025_02_42_55_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":["1332159407","1332159416","1332159424","1332159418","1332159403","1332159414"],"photo_ids_order":["1332159403","1332159407","1332159414","1332159416","1332159418","1332159424"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f88c7210ccccbb58d4266391d2aae4f5.jpg","text":"TemporaryFile(/tmp/multipartBody3706987370676752040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029333962,"filename":"image_28012025_02_42_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/1/28/8a256e52e7cf293d999bfe6cd5e58969.jpg","text":"TemporaryFile(/tmp/multipartBody3831877507082712561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029333962,"filename":"image_28012025_02_42_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/1/28/b24f4e214d4b8924cbbf1bf0695e4249.jpg","text":"TemporaryFile(/tmp/multipartBody3211614897415917666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029333962,"filename":"image_28012025_02_42_55_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6bcbb881350de7dd6fde5fb6661fa7af.jpg","text":"TemporaryFile(/tmp/multipartBody5301734939964422449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029333962,"filename":"image_28012025_02_42_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/1/28/34544105db4fd97244782d0b44152aef.jpg","text":"TemporaryFile(/tmp/multipartBody2344377029403519382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029333962,"filename":"image_28012025_02_42_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/1/28/4a73a8f11e79cd63411c00e1fb107b51.jpg","text":"TemporaryFile(/tmp/multipartBody2350506260163548833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029333962,"filename":"image_28012025_02_42_26_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332159414","file1":"1332159407","file0":"1332159403","file4":"1332159418","file5":"1332159424","file3":"1332159416"},"map_files_photo_id_array":[{"photo_id":"1332159424","filename":"file5"},{"photo_id":"1332159414","filename":"file2"},{"photo_id":"1332159418","filename":"file4"},{"photo_id":"1332159407","filename":"file1"},{"photo_id":"1332159403","filename":"file0"},{"photo_id":"1332159416","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332159407":["hashtag1","hashtag2"]},{"1332159416":["hashtag1","hashtag2"]},{"1332159424":["hashtag1","hashtag2"]},{"1332159418":["hashtag1","hashtag2"]},{"1332159403":["hashtag1","hashtag2"]},{"1332159414":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332159407, 1332159416, 1332159424, 1332159418, 1332159403, 1332159414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.14190745353699 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:55:32.205356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/42/image_28012025_02_43_05_10351.jpg', '/home/pi/Desktop/images/28012025/02/43/image_28012025_02_43_16_10349.jpg', '/home/pi/Desktop/images/28012025/02/43/image_28012025_02_43_25_9339.jpg', '/home/pi/Desktop/images/28012025/02/43/image_28012025_02_43_35_10428.jpg', '/home/pi/Desktop/images/28012025/02/43/image_28012025_02_43_46_10390.jpg', '/home/pi/Desktop/images/28012025/02/43/image_28012025_02_43_55_9359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/42/image_28012025_02_43_05_10351.jpg
/home/pi/Desktop/images/28012025/02/43/image_28012025_02_43_16_10349.jpg
/home/pi/Desktop/images/28012025/02/43/image_28012025_02_43_25_9339.jpg
/home/pi/Desktop/images/28012025/02/43/image_28012025_02_43_35_10428.jpg
/home/pi/Desktop/images/28012025/02/43/image_28012025_02_43_46_10390.jpg
/home/pi/Desktop/images/28012025/02/43/image_28012025_02_43_55_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":["1332159501","1332159504","1332159484","1332159493","1332159508","1332159507"],"photo_ids_order":["1332159484","1332159493","1332159501","1332159504","1332159507","1332159508"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5fe7bb7c055cd1a2178f1c2824f54780.jpg","text":"TemporaryFile(/tmp/multipartBody8793432285219707003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029393108,"filename":"image_28012025_02_43_25_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/24ccf4400e64f602019475e0cee63f7f.jpg","text":"TemporaryFile(/tmp/multipartBody4502828732785608867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029393108,"filename":"image_28012025_02_43_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/1/28/b071c3ca5407ae919d9ea1d10ef5e300.jpg","text":"TemporaryFile(/tmp/multipartBody8446491415445967880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029393108,"filename":"image_28012025_02_43_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/1/28/eb448308da08ee7ab25c917bcfb30c84.jpg","text":"TemporaryFile(/tmp/multipartBody6909453518535543432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029393108,"filename":"image_28012025_02_43_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/1/28/bd8ec265e445011851afb92ebf6accf8.jpg","text":"TemporaryFile(/tmp/multipartBody5320666115268859451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029393108,"filename":"image_28012025_02_43_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/1/28/13d57b431e4dae362793292baacf6e8e.jpg","text":"TemporaryFile(/tmp/multipartBody678499277047318317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029393108,"filename":"image_28012025_02_43_46_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332159501","file1":"1332159493","file0":"1332159484","file4":"1332159507","file5":"1332159508","file3":"1332159504"},"map_files_photo_id_array":[{"photo_id":"1332159508","filename":"file5"},{"photo_id":"1332159501","filename":"file2"},{"photo_id":"1332159507","filename":"file4"},{"photo_id":"1332159493","filename":"file1"},{"photo_id":"1332159484","filename":"file0"},{"photo_id":"1332159504","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332159501":["hashtag1","hashtag2"]},{"1332159504":["hashtag1","hashtag2"]},{"1332159484":["hashtag1","hashtag2"]},{"1332159493":["hashtag1","hashtag2"]},{"1332159508":["hashtag1","hashtag2"]},{"1332159507":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332159501, 1332159504, 1332159484, 1332159493, 1332159508, 1332159507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.42020630836487 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:56:32.379487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/43/image_28012025_02_44_05_10419.jpg', '/home/pi/Desktop/images/28012025/02/44/image_28012025_02_44_15_9328.jpg', '/home/pi/Desktop/images/28012025/02/44/image_28012025_02_44_25_10350.jpg', '/home/pi/Desktop/images/28012025/02/44/image_28012025_02_44_36_10366.jpg', '/home/pi/Desktop/images/28012025/02/44/image_28012025_02_44_45_9345.jpg', '/home/pi/Desktop/images/28012025/02/44/image_28012025_02_44_55_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/43/image_28012025_02_44_05_10419.jpg
/home/pi/Desktop/images/28012025/02/44/image_28012025_02_44_15_9328.jpg
/home/pi/Desktop/images/28012025/02/44/image_28012025_02_44_25_10350.jpg
/home/pi/Desktop/images/28012025/02/44/image_28012025_02_44_36_10366.jpg
/home/pi/Desktop/images/28012025/02/44/image_28012025_02_44_45_9345.jpg
/home/pi/Desktop/images/28012025/02/44/image_28012025_02_44_55_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":["1332159668","1332159659","1332159673","1332159661","1332159663","1332159666"],"photo_ids_order":["1332159659","1332159661","1332159663","1332159666","1332159668","1332159673"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/da7a216972dbf3ae452e1d7a746533e3.jpg","text":"TemporaryFile(/tmp/multipartBody1346031222942316553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029453284,"filename":"image_28012025_02_44_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/1/28/6d1dc102ee30681dc2c58ca84e5081e7.jpg","text":"TemporaryFile(/tmp/multipartBody3675830380154567975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029453284,"filename":"image_28012025_02_44_05_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b67766dffdb91a2081744cc82880ec6f.jpg","text":"TemporaryFile(/tmp/multipartBody4233444110450585758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029453284,"filename":"image_28012025_02_44_55_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/778da89aa48350d5cbf1e3c981e3eeb0.jpg","text":"TemporaryFile(/tmp/multipartBody4409027525686821537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029453284,"filename":"image_28012025_02_44_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/1/28/207e9a3fdcfbeb08cf284374aa268c68.jpg","text":"TemporaryFile(/tmp/multipartBody7240042771388364799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029453284,"filename":"image_28012025_02_44_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/1/28/f593cb294a7270c0f6dfe9ab0093ab6e.jpg","text":"TemporaryFile(/tmp/multipartBody8270393217341181990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029453284,"filename":"image_28012025_02_44_36_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332159663","file1":"1332159661","file0":"1332159659","file4":"1332159668","file5":"1332159673","file3":"1332159666"},"map_files_photo_id_array":[{"photo_id":"1332159673","filename":"file5"},{"photo_id":"1332159663","filename":"file2"},{"photo_id":"1332159668","filename":"file4"},{"photo_id":"1332159661","filename":"file1"},{"photo_id":"1332159659","filename":"file0"},{"photo_id":"1332159666","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332159668":["hashtag1","hashtag2"]},{"1332159659":["hashtag1","hashtag2"]},{"1332159673":["hashtag1","hashtag2"]},{"1332159661":["hashtag1","hashtag2"]},{"1332159663":["hashtag1","hashtag2"]},{"1332159666":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332159668, 1332159659, 1332159673, 1332159661, 1332159663, 1332159666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.91794729232788 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 02:57:32.544085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/44/image_28012025_02_45_06_10348.jpg', '/home/pi/Desktop/images/28012025/02/45/image_28012025_02_45_15_9353.jpg', '/home/pi/Desktop/images/28012025/02/45/image_28012025_02_45_25_10403.jpg', '/home/pi/Desktop/images/28012025/02/45/image_28012025_02_45_36_10373.jpg', '/home/pi/Desktop/images/28012025/02/45/image_28012025_02_45_45_9395.jpg', '/home/pi/Desktop/images/28012025/02/45/image_28012025_02_45_55_10392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/44/image_28012025_02_45_06_10348.jpg
/home/pi/Desktop/images/28012025/02/45/image_28012025_02_45_15_9353.jpg
/home/pi/Desktop/images/28012025/02/45/image_28012025_02_45_25_10403.jpg
/home/pi/Desktop/images/28012025/02/45/image_28012025_02_45_36_10373.jpg
/home/pi/Desktop/images/28012025/02/45/image_28012025_02_45_45_9395.jpg
/home/pi/Desktop/images/28012025/02/45/image_28012025_02_45_55_10392.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 www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 02:59:03.403366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/44/image_28012025_02_45_06_10348.jpg', '/home/pi/Desktop/images/28012025/02/45/image_28012025_02_45_15_9353.jpg', '/home/pi/Desktop/images/28012025/02/45/image_28012025_02_45_25_10403.jpg', '/home/pi/Desktop/images/28012025/02/45/image_28012025_02_45_36_10373.jpg', '/home/pi/Desktop/images/28012025/02/45/image_28012025_02_45_45_9395.jpg', '/home/pi/Desktop/images/28012025/02/45/image_28012025_02_45_55_10392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/44/image_28012025_02_45_06_10348.jpg
/home/pi/Desktop/images/28012025/02/45/image_28012025_02_45_15_9353.jpg
/home/pi/Desktop/images/28012025/02/45/image_28012025_02_45_25_10403.jpg
/home/pi/Desktop/images/28012025/02/45/image_28012025_02_45_36_10373.jpg
/home/pi/Desktop/images/28012025/02/45/image_28012025_02_45_45_9395.jpg
/home/pi/Desktop/images/28012025/02/45/image_28012025_02_45_55_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":["1332159797","1332159779","1332159809","1332159784","1332159795","1332159789"],"photo_ids_order":["1332159779","1332159784","1332159789","1332159795","1332159797","1332159809"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/afa063c566fc4d8583dc4dce51943c93.jpg","text":"TemporaryFile(/tmp/multipartBody2852001867093455119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029604424,"filename":"image_28012025_02_45_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/1/28/e179a6618dbc896589e211ee0a19b696.jpg","text":"TemporaryFile(/tmp/multipartBody2530248777659521604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029604424,"filename":"image_28012025_02_45_06_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/88ace95941c1b830163e80819d65e513.jpg","text":"TemporaryFile(/tmp/multipartBody2241990941288329729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029604424,"filename":"image_28012025_02_45_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/1/28/efe3d7d4089daf5268dc63a8c80d7d3b.jpg","text":"TemporaryFile(/tmp/multipartBody4635798561702126036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029604424,"filename":"image_28012025_02_45_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/1/28/f54e3a31a911a28ce47bd13528de4a00.jpg","text":"TemporaryFile(/tmp/multipartBody1767431444717398930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029604424,"filename":"image_28012025_02_45_36_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/74dbe706e7e13df42e945d5972d77852.jpg","text":"TemporaryFile(/tmp/multipartBody7683982770130569477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029604424,"filename":"image_28012025_02_45_25_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332159789","file1":"1332159784","file0":"1332159779","file4":"1332159797","file5":"1332159809","file3":"1332159795"},"map_files_photo_id_array":[{"photo_id":"1332159809","filename":"file5"},{"photo_id":"1332159789","filename":"file2"},{"photo_id":"1332159797","filename":"file4"},{"photo_id":"1332159784","filename":"file1"},{"photo_id":"1332159779","filename":"file0"},{"photo_id":"1332159795","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332159797":["hashtag1","hashtag2"]},{"1332159779":["hashtag1","hashtag2"]},{"1332159809":["hashtag1","hashtag2"]},{"1332159784":["hashtag1","hashtag2"]},{"1332159795":["hashtag1","hashtag2"]},{"1332159789":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332159797, 1332159779, 1332159809, 1332159784, 1332159795, 1332159789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.14599561691284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 02:59:52.331861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/16/image_23012025_23_16_26_9403.jpg', '/home/pi/Desktop/images/23012025/23/16/image_23012025_23_16_36_10337.jpg', '/home/pi/Desktop/images/23012025/23/16/image_23012025_23_16_47_10332.jpg', '/home/pi/Desktop/images/23012025/23/16/image_23012025_23_16_56_9464.jpg', '/home/pi/Desktop/images/23012025/23/16/image_23012025_23_17_06_10319.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_17_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/16/image_23012025_23_16_26_9403.jpg
/home/pi/Desktop/images/23012025/23/16/image_23012025_23_16_36_10337.jpg
/home/pi/Desktop/images/23012025/23/16/image_23012025_23_16_47_10332.jpg
/home/pi/Desktop/images/23012025/23/16/image_23012025_23_16_56_9464.jpg
/home/pi/Desktop/images/23012025/23/16/image_23012025_23_17_06_10319.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_17_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332159827","1332159830","1332159838","1332159832","1332159823","1332159822"],"photo_ids_order":["1332159822","1332159823","1332159827","1332159830","1332159832","1332159838"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9dabdf919c5bf5e1da8f68d328070135.jpg","text":"TemporaryFile(/tmp/multipartBody4970005577646057192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029654477,"filename":"image_23012025_23_16_47_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/40dad07345fef4fd69d3a2eb16c3e4c0.jpg","text":"TemporaryFile(/tmp/multipartBody6224626419768921677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029654477,"filename":"image_23012025_23_16_56_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f9742a17f6b73f24f62086c87f2251c7.jpg","text":"TemporaryFile(/tmp/multipartBody7370110916146489011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029654477,"filename":"image_23012025_23_17_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/1/28/d65ae07e326f4939dc082ba00381b1a2.jpg","text":"TemporaryFile(/tmp/multipartBody5036834829286248843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029654477,"filename":"image_23012025_23_17_06_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/efc28310e12d93c2ac2804f6d8830e43.jpg","text":"TemporaryFile(/tmp/multipartBody3183643242143236186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029654477,"filename":"image_23012025_23_16_36_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/272a7d233f3fe409d9064d98188d290b.jpg","text":"TemporaryFile(/tmp/multipartBody3481092366595051170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029654477,"filename":"image_23012025_23_16_26_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332159827","file1":"1332159823","file0":"1332159822","file4":"1332159832","file5":"1332159838","file3":"1332159830"},"map_files_photo_id_array":[{"photo_id":"1332159838","filename":"file5"},{"photo_id":"1332159827","filename":"file2"},{"photo_id":"1332159832","filename":"file4"},{"photo_id":"1332159823","filename":"file1"},{"photo_id":"1332159822","filename":"file0"},{"photo_id":"1332159830","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332159827":["hashtag1","hashtag2"]},{"1332159830":["hashtag1","hashtag2"]},{"1332159838":["hashtag1","hashtag2"]},{"1332159832":["hashtag1","hashtag2"]},{"1332159823":["hashtag1","hashtag2"]},{"1332159822":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332159827, 1332159830, 1332159838, 1332159832, 1332159823, 1332159822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.47841167449951 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 03:00:42.608838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/45/image_28012025_02_46_05_9341.jpg', '/home/pi/Desktop/images/28012025/02/46/image_28012025_02_46_15_10361.jpg', '/home/pi/Desktop/images/28012025/02/46/image_28012025_02_46_26_10372.jpg', '/home/pi/Desktop/images/28012025/02/46/image_28012025_02_46_35_9345.jpg', '/home/pi/Desktop/images/28012025/02/46/image_28012025_02_46_45_10477.jpg', '/home/pi/Desktop/images/28012025/02/46/image_28012025_02_46_55_9972.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/45/image_28012025_02_46_05_9341.jpg
/home/pi/Desktop/images/28012025/02/46/image_28012025_02_46_15_10361.jpg
/home/pi/Desktop/images/28012025/02/46/image_28012025_02_46_26_10372.jpg
/home/pi/Desktop/images/28012025/02/46/image_28012025_02_46_35_9345.jpg
/home/pi/Desktop/images/28012025/02/46/image_28012025_02_46_45_10477.jpg
/home/pi/Desktop/images/28012025/02/46/image_28012025_02_46_55_9972.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332159866","1332159956","1332159935","1332159922","1332159885","1332159954"],"photo_ids_order":["1332159866","1332159885","1332159922","1332159935","1332159954","1332159956"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/81d32931cfd71e32b9ed91603c1bcbf8.jpg","text":"TemporaryFile(/tmp/multipartBody6291338303139091007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029703515,"filename":"image_28012025_02_46_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/1/28/a57337a3e582cb588e45ff87fc9b3299.jpg","text":"TemporaryFile(/tmp/multipartBody5969522825312453327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029703515,"filename":"image_28012025_02_46_55_9972.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/805ee84412a1b87fc3e3028017eaad81.jpg","text":"TemporaryFile(/tmp/multipartBody114616093831189304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029703515,"filename":"image_28012025_02_46_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/1/28/0fc049ffa5b048ba3337e4527e24baa6.jpg","text":"TemporaryFile(/tmp/multipartBody9146357322967401662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029703515,"filename":"image_28012025_02_46_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/1/28/47d6819ac5c617367895d223ecb9dda5.jpg","text":"TemporaryFile(/tmp/multipartBody7129925150062396723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029703515,"filename":"image_28012025_02_46_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/1/28/adfbe6482780f9ce35542390debe5c70.jpg","text":"TemporaryFile(/tmp/multipartBody1305135050266867276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029703515,"filename":"image_28012025_02_46_45_10477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332159922","file1":"1332159885","file0":"1332159866","file4":"1332159954","file5":"1332159956","file3":"1332159935"},"map_files_photo_id_array":[{"photo_id":"1332159956","filename":"file5"},{"photo_id":"1332159922","filename":"file2"},{"photo_id":"1332159954","filename":"file4"},{"photo_id":"1332159885","filename":"file1"},{"photo_id":"1332159866","filename":"file0"},{"photo_id":"1332159935","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332159866":["hashtag1","hashtag2"]},{"1332159956":["hashtag1","hashtag2"]},{"1332159935":["hashtag1","hashtag2"]},{"1332159922":["hashtag1","hashtag2"]},{"1332159885":["hashtag1","hashtag2"]},{"1332159954":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332159866, 1332159956, 1332159935, 1332159922, 1332159885, 1332159954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.0930016040802 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 03:01:32.890497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/46/image_28012025_02_47_06_10331.jpg', '/home/pi/Desktop/images/28012025/02/47/image_28012025_02_47_15_9380.jpg', '/home/pi/Desktop/images/28012025/02/47/image_28012025_02_47_25_10345.jpg', '/home/pi/Desktop/images/28012025/02/47/image_28012025_02_47_35_9347.jpg', '/home/pi/Desktop/images/28012025/02/47/image_28012025_02_47_45_10338.jpg', '/home/pi/Desktop/images/28012025/02/47/image_28012025_02_47_55_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/46/image_28012025_02_47_06_10331.jpg
/home/pi/Desktop/images/28012025/02/47/image_28012025_02_47_15_9380.jpg
/home/pi/Desktop/images/28012025/02/47/image_28012025_02_47_25_10345.jpg
/home/pi/Desktop/images/28012025/02/47/image_28012025_02_47_35_9347.jpg
/home/pi/Desktop/images/28012025/02/47/image_28012025_02_47_45_10338.jpg
/home/pi/Desktop/images/28012025/02/47/image_28012025_02_47_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":["1332159968","1332160014","1332160008","1332160010","1332160012","1332160015"],"photo_ids_order":["1332159968","1332160008","1332160010","1332160012","1332160014","1332160015"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/14925e8001b1e98a2867ba05bf0c0425.jpg","text":"TemporaryFile(/tmp/multipartBody1421420284227556039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029753823,"filename":"image_28012025_02_47_06_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7b86ae31113a0d57bcf56e03b22c0b14.jpg","text":"TemporaryFile(/tmp/multipartBody2807743834066650829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029753823,"filename":"image_28012025_02_47_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/1/28/12419d5397e31114294409cd0ce77e7d.jpg","text":"TemporaryFile(/tmp/multipartBody8864296827737405154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029753823,"filename":"image_28012025_02_47_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/1/28/58a58241cba27c3c10d757fe44780424.jpg","text":"TemporaryFile(/tmp/multipartBody7231367673784858274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029753823,"filename":"image_28012025_02_47_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/1/28/67b9f582b7be09d822ab53a691ac2cca.jpg","text":"TemporaryFile(/tmp/multipartBody6197697052636956957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029753823,"filename":"image_28012025_02_47_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/1/28/c4817f48b3fdb41296afd2b1046fd54d.jpg","text":"TemporaryFile(/tmp/multipartBody110992510470248175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029753823,"filename":"image_28012025_02_47_55_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332160010","file1":"1332160008","file0":"1332159968","file4":"1332160014","file5":"1332160015","file3":"1332160012"},"map_files_photo_id_array":[{"photo_id":"1332160015","filename":"file5"},{"photo_id":"1332160010","filename":"file2"},{"photo_id":"1332160014","filename":"file4"},{"photo_id":"1332160008","filename":"file1"},{"photo_id":"1332159968","filename":"file0"},{"photo_id":"1332160012","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332159968":["hashtag1","hashtag2"]},{"1332160014":["hashtag1","hashtag2"]},{"1332160008":["hashtag1","hashtag2"]},{"1332160010":["hashtag1","hashtag2"]},{"1332160012":["hashtag1","hashtag2"]},{"1332160015":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332159968, 1332160014, 1332160008, 1332160010, 1332160012, 1332160015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.87083339691162 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 03:02:33.029731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/47/image_28012025_02_48_05_9324.jpg', '/home/pi/Desktop/images/28012025/02/48/image_28012025_02_48_15_10346.jpg', '/home/pi/Desktop/images/28012025/02/48/image_28012025_02_48_26_10459.jpg', '/home/pi/Desktop/images/28012025/02/48/image_28012025_02_48_35_9383.jpg', '/home/pi/Desktop/images/28012025/02/48/image_28012025_02_48_45_10412.jpg', '/home/pi/Desktop/images/28012025/02/48/image_28012025_02_48_55_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/47/image_28012025_02_48_05_9324.jpg
/home/pi/Desktop/images/28012025/02/48/image_28012025_02_48_15_10346.jpg
/home/pi/Desktop/images/28012025/02/48/image_28012025_02_48_26_10459.jpg
/home/pi/Desktop/images/28012025/02/48/image_28012025_02_48_35_9383.jpg
/home/pi/Desktop/images/28012025/02/48/image_28012025_02_48_45_10412.jpg
/home/pi/Desktop/images/28012025/02/48/image_28012025_02_48_55_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5144698619842529 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 03:02:43.005506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/47/image_28012025_02_48_05_9324.jpg', '/home/pi/Desktop/images/28012025/02/48/image_28012025_02_48_15_10346.jpg', '/home/pi/Desktop/images/28012025/02/48/image_28012025_02_48_26_10459.jpg', '/home/pi/Desktop/images/28012025/02/48/image_28012025_02_48_35_9383.jpg', '/home/pi/Desktop/images/28012025/02/48/image_28012025_02_48_45_10412.jpg', '/home/pi/Desktop/images/28012025/02/48/image_28012025_02_48_55_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/47/image_28012025_02_48_05_9324.jpg
/home/pi/Desktop/images/28012025/02/48/image_28012025_02_48_15_10346.jpg
/home/pi/Desktop/images/28012025/02/48/image_28012025_02_48_26_10459.jpg
/home/pi/Desktop/images/28012025/02/48/image_28012025_02_48_35_9383.jpg
/home/pi/Desktop/images/28012025/02/48/image_28012025_02_48_45_10412.jpg
/home/pi/Desktop/images/28012025/02/48/image_28012025_02_48_55_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":["1332160188","1332160161","1332160193","1332160241","1332160186","1332160164"],"photo_ids_order":["1332160161","1332160164","1332160186","1332160188","1332160193","1332160241"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1be7a63d6a466a0c3c21455bf57a0044.jpg","text":"TemporaryFile(/tmp/multipartBody6194919521660334338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029823910,"filename":"image_28012025_02_48_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/1/28/1818ed79beae8738533a3a15b1ee2a62.jpg","text":"TemporaryFile(/tmp/multipartBody8546381303999200457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029823910,"filename":"image_28012025_02_48_05_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e2f57f1f4d9650506a2e1714090b5c49.jpg","text":"TemporaryFile(/tmp/multipartBody4811684586922645520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029823910,"filename":"image_28012025_02_48_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/1/28/cf1a797c03f8a86f095843a7a456580a.jpg","text":"TemporaryFile(/tmp/multipartBody459357373756688196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029823910,"filename":"image_28012025_02_48_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/1/28/b123b400242a71ced2607f3c260f9836.jpg","text":"TemporaryFile(/tmp/multipartBody6263791743582177825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029823910,"filename":"image_28012025_02_48_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/1/28/bb332bcc803c98ecb81e08d8479bddb6.jpg","text":"TemporaryFile(/tmp/multipartBody3208943987919181930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029823910,"filename":"image_28012025_02_48_15_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332160186","file1":"1332160164","file0":"1332160161","file4":"1332160193","file5":"1332160241","file3":"1332160188"},"map_files_photo_id_array":[{"photo_id":"1332160241","filename":"file5"},{"photo_id":"1332160186","filename":"file2"},{"photo_id":"1332160193","filename":"file4"},{"photo_id":"1332160164","filename":"file1"},{"photo_id":"1332160161","filename":"file0"},{"photo_id":"1332160188","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332160188":["hashtag1","hashtag2"]},{"1332160161":["hashtag1","hashtag2"]},{"1332160193":["hashtag1","hashtag2"]},{"1332160241":["hashtag1","hashtag2"]},{"1332160186":["hashtag1","hashtag2"]},{"1332160164":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332160188, 1332160161, 1332160193, 1332160241, 1332160186, 1332160164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.23185992240906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 03:03:32.235495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/48/image_28012025_02_49_05_10368.jpg', '/home/pi/Desktop/images/28012025/02/49/image_28012025_02_49_16_10428.jpg', '/home/pi/Desktop/images/28012025/02/49/image_28012025_02_49_25_9366.jpg', '/home/pi/Desktop/images/28012025/02/49/image_28012025_02_49_35_10437.jpg', '/home/pi/Desktop/images/28012025/02/49/image_28012025_02_49_55_10433.jpg', '/home/pi/Desktop/images/28012025/02/49/image_28012025_02_50_06_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/48/image_28012025_02_49_05_10368.jpg
/home/pi/Desktop/images/28012025/02/49/image_28012025_02_49_16_10428.jpg
/home/pi/Desktop/images/28012025/02/49/image_28012025_02_49_25_9366.jpg
/home/pi/Desktop/images/28012025/02/49/image_28012025_02_49_35_10437.jpg
/home/pi/Desktop/images/28012025/02/49/image_28012025_02_49_55_10433.jpg
/home/pi/Desktop/images/28012025/02/49/image_28012025_02_50_06_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332160401","1332160379","1332160396","1332160400","1332160399","1332160402"],"photo_ids_order":["1332160379","1332160396","1332160399","1332160400","1332160401","1332160402"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a7428c4f843fc80a72c15bf6b0dd2a4e.jpg","text":"TemporaryFile(/tmp/multipartBody901975681637818404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029873158,"filename":"image_28012025_02_49_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/1/28/ca13a40f880028f7d1b3003df70e3d76.jpg","text":"TemporaryFile(/tmp/multipartBody3671051105610884976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029873158,"filename":"image_28012025_02_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/1/28/6df316ac09f35ec044350eb962054156.jpg","text":"TemporaryFile(/tmp/multipartBody7686770310249736377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029873158,"filename":"image_28012025_02_49_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/1/28/00fbd1ec8c07bd32a1924490147abe3b.jpg","text":"TemporaryFile(/tmp/multipartBody6918069224386273649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029873158,"filename":"image_28012025_02_49_35_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/59a7ad53b417ee6a9d5f894fc9adeb0d.jpg","text":"TemporaryFile(/tmp/multipartBody792680439114327491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029873158,"filename":"image_28012025_02_49_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/1/28/356a370cd51d9e23d062634b50d2cc5b.jpg","text":"TemporaryFile(/tmp/multipartBody3188801290265854292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029873158,"filename":"image_28012025_02_50_06_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332160399","file1":"1332160396","file0":"1332160379","file4":"1332160401","file5":"1332160402","file3":"1332160400"},"map_files_photo_id_array":[{"photo_id":"1332160402","filename":"file5"},{"photo_id":"1332160399","filename":"file2"},{"photo_id":"1332160401","filename":"file4"},{"photo_id":"1332160396","filename":"file1"},{"photo_id":"1332160379","filename":"file0"},{"photo_id":"1332160400","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332160401":["hashtag1","hashtag2"]},{"1332160379":["hashtag1","hashtag2"]},{"1332160396":["hashtag1","hashtag2"]},{"1332160400":["hashtag1","hashtag2"]},{"1332160399":["hashtag1","hashtag2"]},{"1332160402":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332160401, 1332160379, 1332160396, 1332160400, 1332160399, 1332160402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04040169715881 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 03:04:32.483547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/50/image_28012025_02_50_15_9325.jpg', '/home/pi/Desktop/images/28012025/02/50/image_28012025_02_50_25_10367.jpg', '/home/pi/Desktop/images/28012025/02/50/image_28012025_02_50_36_10425.jpg', '/home/pi/Desktop/images/28012025/02/50/image_28012025_02_50_45_9373.jpg', '/home/pi/Desktop/images/28012025/02/50/image_28012025_02_50_55_10402.jpg', '/home/pi/Desktop/images/28012025/02/50/image_28012025_02_51_05_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/50/image_28012025_02_50_15_9325.jpg
/home/pi/Desktop/images/28012025/02/50/image_28012025_02_50_25_10367.jpg
/home/pi/Desktop/images/28012025/02/50/image_28012025_02_50_36_10425.jpg
/home/pi/Desktop/images/28012025/02/50/image_28012025_02_50_45_9373.jpg
/home/pi/Desktop/images/28012025/02/50/image_28012025_02_50_55_10402.jpg
/home/pi/Desktop/images/28012025/02/50/image_28012025_02_51_05_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":["1332161115","1332161124","1332161106","1332161042","1332161086","1332161101"],"photo_ids_order":["1332161042","1332161086","1332161101","1332161106","1332161115","1332161124"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2b44738c078052495d645863b3bb8d3e.jpg","text":"TemporaryFile(/tmp/multipartBody2745248230018552051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029933388,"filename":"image_28012025_02_50_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/1/28/368fd8ddff4364a68e1770dc1bc49f31.jpg","text":"TemporaryFile(/tmp/multipartBody1237959556411097042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029933388,"filename":"image_28012025_02_51_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/1/28/10acf09dfcd632fa11e311d9d68671e7.jpg","text":"TemporaryFile(/tmp/multipartBody4825325499804292171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029933388,"filename":"image_28012025_02_50_45_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/46997cba1ccc74da39069366dac52e9c.jpg","text":"TemporaryFile(/tmp/multipartBody4902272241879572566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029933388,"filename":"image_28012025_02_50_15_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/985b7f9deb957d4eab26047ec43704d0.jpg","text":"TemporaryFile(/tmp/multipartBody8485348275477874109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029933388,"filename":"image_28012025_02_50_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/1/28/08a3f2067ef71ca4c9ff3ccec6a52958.jpg","text":"TemporaryFile(/tmp/multipartBody2556130705248069615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029933388,"filename":"image_28012025_02_50_36_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332161101","file1":"1332161086","file0":"1332161042","file4":"1332161115","file5":"1332161124","file3":"1332161106"},"map_files_photo_id_array":[{"photo_id":"1332161124","filename":"file5"},{"photo_id":"1332161101","filename":"file2"},{"photo_id":"1332161115","filename":"file4"},{"photo_id":"1332161086","filename":"file1"},{"photo_id":"1332161042","filename":"file0"},{"photo_id":"1332161106","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332161115":["hashtag1","hashtag2"]},{"1332161124":["hashtag1","hashtag2"]},{"1332161106":["hashtag1","hashtag2"]},{"1332161042":["hashtag1","hashtag2"]},{"1332161086":["hashtag1","hashtag2"]},{"1332161101":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332161115, 1332161124, 1332161106, 1332161042, 1332161086, 1332161101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.011940240859985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 03:05:32.738179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/51/image_28012025_02_51_15_10410.jpg', '/home/pi/Desktop/images/28012025/02/51/image_28012025_02_51_26_10463.jpg', '/home/pi/Desktop/images/28012025/02/51/image_28012025_02_51_35_9409.jpg', '/home/pi/Desktop/images/28012025/02/51/image_28012025_02_51_45_10400.jpg', '/home/pi/Desktop/images/28012025/02/51/image_28012025_02_51_55_9363.jpg', '/home/pi/Desktop/images/28012025/02/51/image_28012025_02_52_05_10325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/51/image_28012025_02_51_15_10410.jpg
/home/pi/Desktop/images/28012025/02/51/image_28012025_02_51_26_10463.jpg
/home/pi/Desktop/images/28012025/02/51/image_28012025_02_51_35_9409.jpg
/home/pi/Desktop/images/28012025/02/51/image_28012025_02_51_45_10400.jpg
/home/pi/Desktop/images/28012025/02/51/image_28012025_02_51_55_9363.jpg
/home/pi/Desktop/images/28012025/02/51/image_28012025_02_52_05_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":["1332161406","1332161375","1332161408","1332161391","1332161397","1332161376"],"photo_ids_order":["1332161375","1332161376","1332161391","1332161397","1332161406","1332161408"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b64a7383ac8ceb23d000d9dddea9af40.jpg","text":"TemporaryFile(/tmp/multipartBody3119731842847696505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029993648,"filename":"image_28012025_02_51_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/1/28/d8355f01c85839d3b1dc84cecdb977f5.jpg","text":"TemporaryFile(/tmp/multipartBody8393919450220070382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029993648,"filename":"image_28012025_02_51_15_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2f00c74065dbd02985f9a3d88717cfd6.jpg","text":"TemporaryFile(/tmp/multipartBody4843593216379880145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029993648,"filename":"image_28012025_02_52_05_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fd1ed39ce96483717bfd43236b1ab90c.jpg","text":"TemporaryFile(/tmp/multipartBody2657617767627746064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029993648,"filename":"image_28012025_02_51_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/1/28/46ff99704d23075fc30bb9265e9b487f.jpg","text":"TemporaryFile(/tmp/multipartBody8030949470726260885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029993648,"filename":"image_28012025_02_51_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/1/28/c03341a6c770d4e50c87764e507b07e1.jpg","text":"TemporaryFile(/tmp/multipartBody173970733317304272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738029993648,"filename":"image_28012025_02_51_26_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332161391","file1":"1332161376","file0":"1332161375","file4":"1332161406","file5":"1332161408","file3":"1332161397"},"map_files_photo_id_array":[{"photo_id":"1332161408","filename":"file5"},{"photo_id":"1332161391","filename":"file2"},{"photo_id":"1332161406","filename":"file4"},{"photo_id":"1332161376","filename":"file1"},{"photo_id":"1332161375","filename":"file0"},{"photo_id":"1332161397","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332161406":["hashtag1","hashtag2"]},{"1332161375":["hashtag1","hashtag2"]},{"1332161408":["hashtag1","hashtag2"]},{"1332161391":["hashtag1","hashtag2"]},{"1332161397":["hashtag1","hashtag2"]},{"1332161376":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332161406, 1332161375, 1332161408, 1332161391, 1332161397, 1332161376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.80122637748718 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 03:06:32.987789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/52/image_28012025_02_52_16_10400.jpg', '/home/pi/Desktop/images/28012025/02/52/image_28012025_02_52_25_9354.jpg', '/home/pi/Desktop/images/28012025/02/52/image_28012025_02_52_35_10349.jpg', '/home/pi/Desktop/images/28012025/02/52/image_28012025_02_52_46_10358.jpg', '/home/pi/Desktop/images/28012025/02/52/image_28012025_02_52_55_9369.jpg', '/home/pi/Desktop/images/28012025/02/52/image_28012025_02_53_05_10483.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/52/image_28012025_02_52_16_10400.jpg
/home/pi/Desktop/images/28012025/02/52/image_28012025_02_52_25_9354.jpg
/home/pi/Desktop/images/28012025/02/52/image_28012025_02_52_35_10349.jpg
/home/pi/Desktop/images/28012025/02/52/image_28012025_02_52_46_10358.jpg
/home/pi/Desktop/images/28012025/02/52/image_28012025_02_52_55_9369.jpg
/home/pi/Desktop/images/28012025/02/52/image_28012025_02_53_05_10483.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332161508","1332161477","1332161488","1332161507","1332161557","1332161583"],"photo_ids_order":["1332161477","1332161488","1332161507","1332161508","1332161557","1332161583"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/821cf118b88f6c5b4cde6b08acc035a7.jpg","text":"TemporaryFile(/tmp/multipartBody1152801149005516832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030053901,"filename":"image_28012025_02_52_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/1/28/03a40e2fa8f7662c8944339141286084.jpg","text":"TemporaryFile(/tmp/multipartBody2230652315513800687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030053901,"filename":"image_28012025_02_52_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/1/28/4a6e233a45efa17321413b291fa99f3e.jpg","text":"TemporaryFile(/tmp/multipartBody5500665263902659793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030053901,"filename":"image_28012025_02_52_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/1/28/741e56073ccd2aff336d24f5db6f4909.jpg","text":"TemporaryFile(/tmp/multipartBody3002318752721467751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030053901,"filename":"image_28012025_02_52_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/1/28/f3c5710039b3dc9e09d67cd7cb0b7acf.jpg","text":"TemporaryFile(/tmp/multipartBody9008740154620682085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030053901,"filename":"image_28012025_02_52_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/1/28/eff6547092fa68aa4f6af5bcbc33a247.jpg","text":"TemporaryFile(/tmp/multipartBody4442935249498570741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030053901,"filename":"image_28012025_02_53_05_10483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332161507","file1":"1332161488","file0":"1332161477","file4":"1332161557","file5":"1332161583","file3":"1332161508"},"map_files_photo_id_array":[{"photo_id":"1332161583","filename":"file5"},{"photo_id":"1332161507","filename":"file2"},{"photo_id":"1332161557","filename":"file4"},{"photo_id":"1332161488","filename":"file1"},{"photo_id":"1332161477","filename":"file0"},{"photo_id":"1332161508","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332161508":["hashtag1","hashtag2"]},{"1332161477":["hashtag1","hashtag2"]},{"1332161488":["hashtag1","hashtag2"]},{"1332161507":["hashtag1","hashtag2"]},{"1332161557":["hashtag1","hashtag2"]},{"1332161583":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332161508, 1332161477, 1332161488, 1332161507, 1332161557, 1332161583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.076287031173706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 03:07:32.249474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/53/image_28012025_02_53_15_9326.jpg', '/home/pi/Desktop/images/28012025/02/53/image_28012025_02_53_25_10362.jpg', '/home/pi/Desktop/images/28012025/02/53/image_28012025_02_53_35_10339.jpg', '/home/pi/Desktop/images/28012025/02/53/image_28012025_02_53_45_9365.jpg', '/home/pi/Desktop/images/28012025/02/53/image_28012025_02_54_06_10391.jpg', '/home/pi/Desktop/images/28012025/02/54/image_28012025_02_54_15_9316.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/53/image_28012025_02_53_15_9326.jpg
/home/pi/Desktop/images/28012025/02/53/image_28012025_02_53_25_10362.jpg
/home/pi/Desktop/images/28012025/02/53/image_28012025_02_53_35_10339.jpg
/home/pi/Desktop/images/28012025/02/53/image_28012025_02_53_45_9365.jpg
/home/pi/Desktop/images/28012025/02/53/image_28012025_02_54_06_10391.jpg
/home/pi/Desktop/images/28012025/02/54/image_28012025_02_54_15_9316.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332161610","1332161618","1332161593","1332161617","1332161598","1332161595"],"photo_ids_order":["1332161593","1332161595","1332161598","1332161610","1332161617","1332161618"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/89f4e1d9ba26f4c4f25e3cc0ec8a3de7.jpg","text":"TemporaryFile(/tmp/multipartBody3800375528385110524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030113167,"filename":"image_28012025_02_53_45_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e203160fa1ce8e917bf71b40d9859bfb.jpg","text":"TemporaryFile(/tmp/multipartBody205877011569119357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030113167,"filename":"image_28012025_02_54_15_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bf6e304c063cef593c1c070fa937034a.jpg","text":"TemporaryFile(/tmp/multipartBody3369983623838539445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030113167,"filename":"image_28012025_02_53_15_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4af0fcdcd39100c00b3fe8ee51695544.jpg","text":"TemporaryFile(/tmp/multipartBody1202173325878019586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030113167,"filename":"image_28012025_02_54_06_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f0c6d23160367ab044d05ef54ac6feb4.jpg","text":"TemporaryFile(/tmp/multipartBody2966780000646681613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030113167,"filename":"image_28012025_02_53_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/1/28/af02e4bb69d0124d2552eefc54feb245.jpg","text":"TemporaryFile(/tmp/multipartBody4381885616498215430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030113167,"filename":"image_28012025_02_53_25_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332161598","file1":"1332161595","file0":"1332161593","file4":"1332161617","file5":"1332161618","file3":"1332161610"},"map_files_photo_id_array":[{"photo_id":"1332161618","filename":"file5"},{"photo_id":"1332161598","filename":"file2"},{"photo_id":"1332161617","filename":"file4"},{"photo_id":"1332161595","filename":"file1"},{"photo_id":"1332161593","filename":"file0"},{"photo_id":"1332161610","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332161610":["hashtag1","hashtag2"]},{"1332161618":["hashtag1","hashtag2"]},{"1332161593":["hashtag1","hashtag2"]},{"1332161617":["hashtag1","hashtag2"]},{"1332161598":["hashtag1","hashtag2"]},{"1332161595":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332161610, 1332161618, 1332161593, 1332161617, 1332161598, 1332161595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.54212713241577 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 03:08:32.522777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/54/image_28012025_02_54_25_10401.jpg', '/home/pi/Desktop/images/28012025/02/54/image_28012025_02_54_36_10400.jpg', '/home/pi/Desktop/images/28012025/02/54/image_28012025_02_54_45_9341.jpg', '/home/pi/Desktop/images/28012025/02/54/image_28012025_02_54_55_10344.jpg', '/home/pi/Desktop/images/28012025/02/54/image_28012025_02_55_05_9360.jpg', '/home/pi/Desktop/images/28012025/02/55/image_28012025_02_55_15_10375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/54/image_28012025_02_54_25_10401.jpg
/home/pi/Desktop/images/28012025/02/54/image_28012025_02_54_36_10400.jpg
/home/pi/Desktop/images/28012025/02/54/image_28012025_02_54_45_9341.jpg
/home/pi/Desktop/images/28012025/02/54/image_28012025_02_54_55_10344.jpg
/home/pi/Desktop/images/28012025/02/54/image_28012025_02_55_05_9360.jpg
/home/pi/Desktop/images/28012025/02/55/image_28012025_02_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":["1332161732","1332161633","1332161635","1332161638","1332161725","1332161640"],"photo_ids_order":["1332161633","1332161635","1332161638","1332161640","1332161725","1332161732"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a9756cc511bb022284867a591f975d60.jpg","text":"TemporaryFile(/tmp/multipartBody5171708038493122713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030173440,"filename":"image_28012025_02_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/1/28/a5f235c6cc86dde6b908f2700acda954.jpg","text":"TemporaryFile(/tmp/multipartBody1062929249807740524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030173440,"filename":"image_28012025_02_54_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/1/28/afff3801d7b2ca85cde6af8053d71372.jpg","text":"TemporaryFile(/tmp/multipartBody9112043292521903828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030173440,"filename":"image_28012025_02_54_36_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ae7abbb3d691e1311b845bcafb39ce00.jpg","text":"TemporaryFile(/tmp/multipartBody9028524071009665535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030173440,"filename":"image_28012025_02_54_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/1/28/90d07e0679c9bb38594abab4526c0638.jpg","text":"TemporaryFile(/tmp/multipartBody3101161223926856571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030173440,"filename":"image_28012025_02_55_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/1/28/9886322ddf319759d1086cbe3a73a464.jpg","text":"TemporaryFile(/tmp/multipartBody9008110515193832453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030173440,"filename":"image_28012025_02_54_55_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332161638","file1":"1332161635","file0":"1332161633","file4":"1332161725","file5":"1332161732","file3":"1332161640"},"map_files_photo_id_array":[{"photo_id":"1332161732","filename":"file5"},{"photo_id":"1332161638","filename":"file2"},{"photo_id":"1332161725","filename":"file4"},{"photo_id":"1332161635","filename":"file1"},{"photo_id":"1332161633","filename":"file0"},{"photo_id":"1332161640","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332161732":["hashtag1","hashtag2"]},{"1332161633":["hashtag1","hashtag2"]},{"1332161635":["hashtag1","hashtag2"]},{"1332161638":["hashtag1","hashtag2"]},{"1332161725":["hashtag1","hashtag2"]},{"1332161640":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332161732, 1332161633, 1332161635, 1332161638, 1332161725, 1332161640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.630189180374146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 03:09:32.813521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/55/image_28012025_02_55_26_10434.jpg', '/home/pi/Desktop/images/28012025/02/55/image_28012025_02_55_35_9341.jpg', '/home/pi/Desktop/images/28012025/02/55/image_28012025_02_55_45_10426.jpg', '/home/pi/Desktop/images/28012025/02/55/image_28012025_02_55_56_10346.jpg', '/home/pi/Desktop/images/28012025/02/55/image_28012025_02_56_05_9344.jpg', '/home/pi/Desktop/images/28012025/02/56/image_28012025_02_56_15_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/55/image_28012025_02_55_26_10434.jpg
/home/pi/Desktop/images/28012025/02/55/image_28012025_02_55_35_9341.jpg
/home/pi/Desktop/images/28012025/02/55/image_28012025_02_55_45_10426.jpg
/home/pi/Desktop/images/28012025/02/55/image_28012025_02_55_56_10346.jpg
/home/pi/Desktop/images/28012025/02/55/image_28012025_02_56_05_9344.jpg
/home/pi/Desktop/images/28012025/02/56/image_28012025_02_56_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":["1332161867","1332161858","1332161860","1332161862","1332161865","1332161868"],"photo_ids_order":["1332161858","1332161860","1332161862","1332161865","1332161867","1332161868"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f96794bcc583ffb499148ab4ef5e0ce9.jpg","text":"TemporaryFile(/tmp/multipartBody6379622869145073533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030233738,"filename":"image_28012025_02_56_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/1/28/659e618816aed1a986c0f3c77920c341.jpg","text":"TemporaryFile(/tmp/multipartBody5285773124279504590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030233738,"filename":"image_28012025_02_55_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/1/28/2b48423948e6ff9e95eb2eceae4af433.jpg","text":"TemporaryFile(/tmp/multipartBody5445810187383199218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030233738,"filename":"image_28012025_02_55_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/1/28/f1ae988c53aafb869e07da420dfc9a5c.jpg","text":"TemporaryFile(/tmp/multipartBody5745629691600688555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030233738,"filename":"image_28012025_02_55_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/1/28/3c70ca3113d1e562618134411812d65d.jpg","text":"TemporaryFile(/tmp/multipartBody3293007848938243220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030233738,"filename":"image_28012025_02_55_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/1/28/84e31c31ac749d8ce4ef48025235d1ef.jpg","text":"TemporaryFile(/tmp/multipartBody8997141589118496061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030233738,"filename":"image_28012025_02_56_15_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332161862","file1":"1332161860","file0":"1332161858","file4":"1332161867","file5":"1332161868","file3":"1332161865"},"map_files_photo_id_array":[{"photo_id":"1332161868","filename":"file5"},{"photo_id":"1332161862","filename":"file2"},{"photo_id":"1332161867","filename":"file4"},{"photo_id":"1332161860","filename":"file1"},{"photo_id":"1332161858","filename":"file0"},{"photo_id":"1332161865","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332161867":["hashtag1","hashtag2"]},{"1332161858":["hashtag1","hashtag2"]},{"1332161860":["hashtag1","hashtag2"]},{"1332161862":["hashtag1","hashtag2"]},{"1332161865":["hashtag1","hashtag2"]},{"1332161868":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332161867, 1332161858, 1332161860, 1332161862, 1332161865, 1332161868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.49610114097595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 03:10:33.086548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/56/image_28012025_02_56_26_10354.jpg', '/home/pi/Desktop/images/28012025/02/56/image_28012025_02_56_35_9437.jpg', '/home/pi/Desktop/images/28012025/02/56/image_28012025_02_56_46_10395.jpg', '/home/pi/Desktop/images/28012025/02/56/image_28012025_02_56_55_9348.jpg', '/home/pi/Desktop/images/28012025/02/56/image_28012025_02_57_05_10414.jpg', '/home/pi/Desktop/images/28012025/02/57/image_28012025_02_57_16_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/56/image_28012025_02_56_26_10354.jpg
/home/pi/Desktop/images/28012025/02/56/image_28012025_02_56_35_9437.jpg
/home/pi/Desktop/images/28012025/02/56/image_28012025_02_56_46_10395.jpg
/home/pi/Desktop/images/28012025/02/56/image_28012025_02_56_55_9348.jpg
/home/pi/Desktop/images/28012025/02/56/image_28012025_02_57_05_10414.jpg
/home/pi/Desktop/images/28012025/02/57/image_28012025_02_57_16_10328.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5150001049041748 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 03:10:43.047115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/56/image_28012025_02_56_26_10354.jpg', '/home/pi/Desktop/images/28012025/02/56/image_28012025_02_56_35_9437.jpg', '/home/pi/Desktop/images/28012025/02/56/image_28012025_02_56_46_10395.jpg', '/home/pi/Desktop/images/28012025/02/56/image_28012025_02_56_55_9348.jpg', '/home/pi/Desktop/images/28012025/02/56/image_28012025_02_57_05_10414.jpg', '/home/pi/Desktop/images/28012025/02/57/image_28012025_02_57_16_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/56/image_28012025_02_56_26_10354.jpg
/home/pi/Desktop/images/28012025/02/56/image_28012025_02_56_35_9437.jpg
/home/pi/Desktop/images/28012025/02/56/image_28012025_02_56_46_10395.jpg
/home/pi/Desktop/images/28012025/02/56/image_28012025_02_56_55_9348.jpg
/home/pi/Desktop/images/28012025/02/56/image_28012025_02_57_05_10414.jpg
/home/pi/Desktop/images/28012025/02/57/image_28012025_02_57_16_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332161910","1332161978","1332161921","1332161906","1332161917","1332161925"],"photo_ids_order":["1332161906","1332161910","1332161917","1332161921","1332161925","1332161978"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ec838b01d6ab87e1b55645864606f999.jpg","text":"TemporaryFile(/tmp/multipartBody2065944391589708777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030303974,"filename":"image_28012025_02_56_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/1/28/f5571ad6a5546970440191b57e21521f.jpg","text":"TemporaryFile(/tmp/multipartBody2033638228046736967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030303974,"filename":"image_28012025_02_57_16_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3b8dbbaddf97f50e056b118579bc0595.jpg","text":"TemporaryFile(/tmp/multipartBody6186794067278891216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030303974,"filename":"image_28012025_02_56_55_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e36607389e00fb1e060705ee94c9449b.jpg","text":"TemporaryFile(/tmp/multipartBody234365004191175794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030303974,"filename":"image_28012025_02_56_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/1/28/da26202b8419a43fe33cbee849678fc1.jpg","text":"TemporaryFile(/tmp/multipartBody7324011373250609559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030303974,"filename":"image_28012025_02_56_46_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b30516a58c33305e0067a4f444cce1f2.jpg","text":"TemporaryFile(/tmp/multipartBody6861466818138156964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030303974,"filename":"image_28012025_02_57_05_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332161917","file1":"1332161910","file0":"1332161906","file4":"1332161925","file5":"1332161978","file3":"1332161921"},"map_files_photo_id_array":[{"photo_id":"1332161978","filename":"file5"},{"photo_id":"1332161917","filename":"file2"},{"photo_id":"1332161925","filename":"file4"},{"photo_id":"1332161910","filename":"file1"},{"photo_id":"1332161906","filename":"file0"},{"photo_id":"1332161921","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332161910":["hashtag1","hashtag2"]},{"1332161978":["hashtag1","hashtag2"]},{"1332161921":["hashtag1","hashtag2"]},{"1332161906":["hashtag1","hashtag2"]},{"1332161917":["hashtag1","hashtag2"]},{"1332161925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332161910, 1332161978, 1332161921, 1332161906, 1332161917, 1332161925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.352858543395996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 03:11:32.356864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/57/image_28012025_02_57_25_9423.jpg', '/home/pi/Desktop/images/28012025/02/57/image_28012025_02_57_35_10352.jpg', '/home/pi/Desktop/images/28012025/02/57/image_28012025_02_57_45_9346.jpg', '/home/pi/Desktop/images/28012025/02/57/image_28012025_02_57_55_10352.jpg', '/home/pi/Desktop/images/28012025/02/57/image_28012025_02_58_05_10347.jpg', '/home/pi/Desktop/images/28012025/02/58/image_28012025_02_58_15_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/57/image_28012025_02_57_25_9423.jpg
/home/pi/Desktop/images/28012025/02/57/image_28012025_02_57_35_10352.jpg
/home/pi/Desktop/images/28012025/02/57/image_28012025_02_57_45_9346.jpg
/home/pi/Desktop/images/28012025/02/57/image_28012025_02_57_55_10352.jpg
/home/pi/Desktop/images/28012025/02/57/image_28012025_02_58_05_10347.jpg
/home/pi/Desktop/images/28012025/02/58/image_28012025_02_58_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":["1332161990","1332162029","1332162032","1332162034","1332161991","1332162033"],"photo_ids_order":["1332161990","1332161991","1332162029","1332162032","1332162033","1332162034"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/51dbf563ebb1c5d640710d4769f0cfc3.jpg","text":"TemporaryFile(/tmp/multipartBody9060849791026014510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030353298,"filename":"image_28012025_02_57_25_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4eba4044ffb9ba8d2b271d859e354f78.jpg","text":"TemporaryFile(/tmp/multipartBody6073247445840175205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030353298,"filename":"image_28012025_02_57_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/1/28/026a0b845712d7f4161ea306f50e73cf.jpg","text":"TemporaryFile(/tmp/multipartBody8385499975551315986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030353298,"filename":"image_28012025_02_57_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/1/28/5429d393924e19e0dd9c0103cc331ab5.jpg","text":"TemporaryFile(/tmp/multipartBody1103980653897712987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030353298,"filename":"image_28012025_02_58_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/1/28/0928e77fc408f590d18f069e476abd5f.jpg","text":"TemporaryFile(/tmp/multipartBody8864272939033837887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030353298,"filename":"image_28012025_02_57_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/1/28/f0ce1de80faab26bb48ab16baae18e69.jpg","text":"TemporaryFile(/tmp/multipartBody8571522137794758980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030353298,"filename":"image_28012025_02_58_05_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332162029","file1":"1332161991","file0":"1332161990","file4":"1332162033","file5":"1332162034","file3":"1332162032"},"map_files_photo_id_array":[{"photo_id":"1332162034","filename":"file5"},{"photo_id":"1332162029","filename":"file2"},{"photo_id":"1332162033","filename":"file4"},{"photo_id":"1332161991","filename":"file1"},{"photo_id":"1332161990","filename":"file0"},{"photo_id":"1332162032","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332161990":["hashtag1","hashtag2"]},{"1332162029":["hashtag1","hashtag2"]},{"1332162032":["hashtag1","hashtag2"]},{"1332162034":["hashtag1","hashtag2"]},{"1332161991":["hashtag1","hashtag2"]},{"1332162033":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332161990, 1332162029, 1332162032, 1332162034, 1332161991, 1332162033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.98468208312988 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 03:12:32.417960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/58/image_28012025_02_58_25_10374.jpg', '/home/pi/Desktop/images/28012025/02/58/image_28012025_02_58_36_10368.jpg', '/home/pi/Desktop/images/28012025/02/58/image_28012025_02_58_45_9346.jpg', '/home/pi/Desktop/images/28012025/02/58/image_28012025_02_58_55_10426.jpg', '/home/pi/Desktop/images/28012025/02/58/image_28012025_02_59_06_10343.jpg', '/home/pi/Desktop/images/28012025/02/59/image_28012025_02_59_15_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/58/image_28012025_02_58_25_10374.jpg
/home/pi/Desktop/images/28012025/02/58/image_28012025_02_58_36_10368.jpg
/home/pi/Desktop/images/28012025/02/58/image_28012025_02_58_45_9346.jpg
/home/pi/Desktop/images/28012025/02/58/image_28012025_02_58_55_10426.jpg
/home/pi/Desktop/images/28012025/02/58/image_28012025_02_59_06_10343.jpg
/home/pi/Desktop/images/28012025/02/59/image_28012025_02_59_15_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":["1332162053","1332162056","1332162052","1332162055","1332162049","1332162054"],"photo_ids_order":["1332162049","1332162052","1332162053","1332162054","1332162055","1332162056"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a61fd39e03ffdfb123f4f81a6d2c327c.jpg","text":"TemporaryFile(/tmp/multipartBody8381476032805129896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030413322,"filename":"image_28012025_02_58_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/1/28/e3a921f2fd6579248705b4111707ead3.jpg","text":"TemporaryFile(/tmp/multipartBody3984520102846283548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030413322,"filename":"image_28012025_02_59_15_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/848a387f8ec4c6828e8097dd0eaefe55.jpg","text":"TemporaryFile(/tmp/multipartBody5095813730258327630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030413322,"filename":"image_28012025_02_58_36_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4125a1400c0a5ad801fc4f3dd93e6698.jpg","text":"TemporaryFile(/tmp/multipartBody3743605123465624830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030413322,"filename":"image_28012025_02_59_06_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b2bfe64ce05d53efb92dfc4ce62cc2cd.jpg","text":"TemporaryFile(/tmp/multipartBody7378588305608994484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030413322,"filename":"image_28012025_02_58_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/1/28/839a3ce00dff1d9fe01a27f00ef9dfc2.jpg","text":"TemporaryFile(/tmp/multipartBody5275225949739126603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030413322,"filename":"image_28012025_02_58_55_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332162053","file1":"1332162052","file0":"1332162049","file4":"1332162055","file5":"1332162056","file3":"1332162054"},"map_files_photo_id_array":[{"photo_id":"1332162056","filename":"file5"},{"photo_id":"1332162053","filename":"file2"},{"photo_id":"1332162055","filename":"file4"},{"photo_id":"1332162052","filename":"file1"},{"photo_id":"1332162049","filename":"file0"},{"photo_id":"1332162054","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332162053":["hashtag1","hashtag2"]},{"1332162056":["hashtag1","hashtag2"]},{"1332162052":["hashtag1","hashtag2"]},{"1332162055":["hashtag1","hashtag2"]},{"1332162049":["hashtag1","hashtag2"]},{"1332162054":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332162053, 1332162056, 1332162052, 1332162055, 1332162049, 1332162054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.684239625930786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 03:13:32.705380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/02/59/image_28012025_02_59_25_10389.jpg', '/home/pi/Desktop/images/28012025/02/59/image_28012025_02_59_35_9428.jpg', '/home/pi/Desktop/images/28012025/02/59/image_28012025_02_59_45_10357.jpg', '/home/pi/Desktop/images/28012025/02/59/image_28012025_02_59_56_10339.jpg', '/home/pi/Desktop/images/28012025/03/01/image_28012025_03_01_14_10076.jpg', '/home/pi/Desktop/images/28012025/03/01/image_28012025_03_01_25_10440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/02/59/image_28012025_02_59_25_10389.jpg
/home/pi/Desktop/images/28012025/02/59/image_28012025_02_59_35_9428.jpg
/home/pi/Desktop/images/28012025/02/59/image_28012025_02_59_45_10357.jpg
/home/pi/Desktop/images/28012025/02/59/image_28012025_02_59_56_10339.jpg
/home/pi/Desktop/images/28012025/03/01/image_28012025_03_01_14_10076.jpg
/home/pi/Desktop/images/28012025/03/01/image_28012025_03_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":["1332162074","1332162079","1332162073","1332162072","1332162083","1332162071"],"photo_ids_order":["1332162071","1332162072","1332162073","1332162074","1332162079","1332162083"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d513daeaf2b01c70a6ebc3d54eee383d.jpg","text":"TemporaryFile(/tmp/multipartBody7833051005356882341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030473656,"filename":"image_28012025_02_59_56_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b163989570fe1c4d0b4f24e93a11e980.jpg","text":"TemporaryFile(/tmp/multipartBody2103102376277412260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030473656,"filename":"image_28012025_03_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/1/28/032414794f0a2601ad0d904b1f4756bd.jpg","text":"TemporaryFile(/tmp/multipartBody6547062209720039314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030473656,"filename":"image_28012025_02_59_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/1/28/634c3cc7ba46bb3984cae10558815d4b.jpg","text":"TemporaryFile(/tmp/multipartBody6624046490073373061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030473656,"filename":"image_28012025_02_59_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/1/28/41288cc824fd69dfbfa9749d59d970cd.jpg","text":"TemporaryFile(/tmp/multipartBody1823501078238606726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030473656,"filename":"image_28012025_03_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/1/28/9d43981fe1707a7e8342267eee1b3aa7.jpg","text":"TemporaryFile(/tmp/multipartBody6590431613263547954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030473656,"filename":"image_28012025_02_59_25_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332162073","file1":"1332162072","file0":"1332162071","file4":"1332162079","file5":"1332162083","file3":"1332162074"},"map_files_photo_id_array":[{"photo_id":"1332162083","filename":"file5"},{"photo_id":"1332162073","filename":"file2"},{"photo_id":"1332162079","filename":"file4"},{"photo_id":"1332162072","filename":"file1"},{"photo_id":"1332162071","filename":"file0"},{"photo_id":"1332162074","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332162074":["hashtag1","hashtag2"]},{"1332162079":["hashtag1","hashtag2"]},{"1332162073":["hashtag1","hashtag2"]},{"1332162072":["hashtag1","hashtag2"]},{"1332162083":["hashtag1","hashtag2"]},{"1332162071":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332162074, 1332162079, 1332162073, 1332162072, 1332162083, 1332162071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.95499897003174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 03:14:32.960844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/01/image_28012025_03_01_35_10331.jpg', '/home/pi/Desktop/images/28012025/03/01/image_28012025_03_01_44_9349.jpg', '/home/pi/Desktop/images/28012025/03/01/image_28012025_03_01_55_10339.jpg', '/home/pi/Desktop/images/28012025/03/01/image_28012025_03_02_05_10387.jpg', '/home/pi/Desktop/images/28012025/03/02/image_28012025_03_02_15_9362.jpg', '/home/pi/Desktop/images/28012025/03/02/image_28012025_03_02_25_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/01/image_28012025_03_01_35_10331.jpg
/home/pi/Desktop/images/28012025/03/01/image_28012025_03_01_44_9349.jpg
/home/pi/Desktop/images/28012025/03/01/image_28012025_03_01_55_10339.jpg
/home/pi/Desktop/images/28012025/03/01/image_28012025_03_02_05_10387.jpg
/home/pi/Desktop/images/28012025/03/02/image_28012025_03_02_15_9362.jpg
/home/pi/Desktop/images/28012025/03/02/image_28012025_03_02_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":["1332162122","1332162130","1332162112","1332162121","1332162124","1332162123"],"photo_ids_order":["1332162112","1332162121","1332162122","1332162123","1332162124","1332162130"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/00cd1f33420b776bcd9c4c59eca58922.jpg","text":"TemporaryFile(/tmp/multipartBody1878571102474388438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030533865,"filename":"image_28012025_03_01_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/1/28/b9a297e1e1638a71a10856e6dc8e61ce.jpg","text":"TemporaryFile(/tmp/multipartBody5486766683457772900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030533865,"filename":"image_28012025_03_02_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/1/28/fa0e5e05fb35f0a04f0a20a5650a80b0.jpg","text":"TemporaryFile(/tmp/multipartBody4319704573374324614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030533865,"filename":"image_28012025_03_01_35_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1b747c8c36a9e40eb04b4db5b2068513.jpg","text":"TemporaryFile(/tmp/multipartBody519206412490500370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030533865,"filename":"image_28012025_03_01_44_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/09c4d57b64e834ab7821dae76740a41b.jpg","text":"TemporaryFile(/tmp/multipartBody3820092202463700371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030533865,"filename":"image_28012025_03_02_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/1/28/d836d2ca4d9facd726f5c446989584bf.jpg","text":"TemporaryFile(/tmp/multipartBody6763032716482941939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030533865,"filename":"image_28012025_03_02_05_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332162122","file1":"1332162121","file0":"1332162112","file4":"1332162124","file5":"1332162130","file3":"1332162123"},"map_files_photo_id_array":[{"photo_id":"1332162130","filename":"file5"},{"photo_id":"1332162122","filename":"file2"},{"photo_id":"1332162124","filename":"file4"},{"photo_id":"1332162121","filename":"file1"},{"photo_id":"1332162112","filename":"file0"},{"photo_id":"1332162123","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332162122":["hashtag1","hashtag2"]},{"1332162130":["hashtag1","hashtag2"]},{"1332162112":["hashtag1","hashtag2"]},{"1332162121":["hashtag1","hashtag2"]},{"1332162124":["hashtag1","hashtag2"]},{"1332162123":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332162122, 1332162130, 1332162112, 1332162121, 1332162124, 1332162123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.20400953292847 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 03:15:32.239370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/02/image_28012025_03_02_34_9487.jpg', '/home/pi/Desktop/images/28012025/03/02/image_28012025_03_02_45_10345.jpg', '/home/pi/Desktop/images/28012025/03/02/image_28012025_03_02_55_10366.jpg', '/home/pi/Desktop/images/28012025/03/02/image_28012025_03_03_05_9387.jpg', '/home/pi/Desktop/images/28012025/03/03/image_28012025_03_03_15_10397.jpg', '/home/pi/Desktop/images/28012025/03/03/image_28012025_03_03_24_9436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/02/image_28012025_03_02_34_9487.jpg
/home/pi/Desktop/images/28012025/03/02/image_28012025_03_02_45_10345.jpg
/home/pi/Desktop/images/28012025/03/02/image_28012025_03_02_55_10366.jpg
/home/pi/Desktop/images/28012025/03/02/image_28012025_03_03_05_9387.jpg
/home/pi/Desktop/images/28012025/03/03/image_28012025_03_03_15_10397.jpg
/home/pi/Desktop/images/28012025/03/03/image_28012025_03_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":["1332162353","1332162320","1332162337","1332162400","1332162399","1332162377"],"photo_ids_order":["1332162320","1332162337","1332162353","1332162377","1332162399","1332162400"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d145064646929ea1f9f34aac850f4d96.jpg","text":"TemporaryFile(/tmp/multipartBody2463948664343396006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030593164,"filename":"image_28012025_03_02_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/1/28/9e2299aaec010f683781064332937386.jpg","text":"TemporaryFile(/tmp/multipartBody4014564005951708013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030593164,"filename":"image_28012025_03_02_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/1/28/f11867e1f4a906869e4297ad57abde48.jpg","text":"TemporaryFile(/tmp/multipartBody6799226221851714987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030593164,"filename":"image_28012025_03_02_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/1/28/c0e0c68794c37d1471c2cdaf4ecface0.jpg","text":"TemporaryFile(/tmp/multipartBody2481271236368507767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030593164,"filename":"image_28012025_03_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/1/28/e4a9964ec6a975feff47c8204af4ee92.jpg","text":"TemporaryFile(/tmp/multipartBody3938991640006275983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030593164,"filename":"image_28012025_03_03_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/1/28/62b82f0388a41691e03f19754b0db86f.jpg","text":"TemporaryFile(/tmp/multipartBody6121219598080663309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030593164,"filename":"image_28012025_03_03_05_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332162353","file1":"1332162337","file0":"1332162320","file4":"1332162399","file5":"1332162400","file3":"1332162377"},"map_files_photo_id_array":[{"photo_id":"1332162400","filename":"file5"},{"photo_id":"1332162353","filename":"file2"},{"photo_id":"1332162399","filename":"file4"},{"photo_id":"1332162337","filename":"file1"},{"photo_id":"1332162320","filename":"file0"},{"photo_id":"1332162377","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332162353":["hashtag1","hashtag2"]},{"1332162320":["hashtag1","hashtag2"]},{"1332162337":["hashtag1","hashtag2"]},{"1332162400":["hashtag1","hashtag2"]},{"1332162399":["hashtag1","hashtag2"]},{"1332162377":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332162353, 1332162320, 1332162337, 1332162400, 1332162399, 1332162377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.94099712371826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 03:16:32.346924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/03/image_28012025_03_03_35_10326.jpg', '/home/pi/Desktop/images/28012025/03/03/image_28012025_03_03_45_10386.jpg', '/home/pi/Desktop/images/28012025/03/03/image_28012025_03_03_54_9349.jpg', '/home/pi/Desktop/images/28012025/03/03/image_28012025_03_04_05_10445.jpg', '/home/pi/Desktop/images/28012025/03/04/image_28012025_03_04_15_10341.jpg', '/home/pi/Desktop/images/28012025/03/04/image_28012025_03_04_25_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/03/image_28012025_03_03_35_10326.jpg
/home/pi/Desktop/images/28012025/03/03/image_28012025_03_03_45_10386.jpg
/home/pi/Desktop/images/28012025/03/03/image_28012025_03_03_54_9349.jpg
/home/pi/Desktop/images/28012025/03/03/image_28012025_03_04_05_10445.jpg
/home/pi/Desktop/images/28012025/03/04/image_28012025_03_04_15_10341.jpg
/home/pi/Desktop/images/28012025/03/04/image_28012025_03_04_25_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":["1332162650","1332162644","1332162620","1332162675","1332162639","1332162606"],"photo_ids_order":["1332162606","1332162620","1332162639","1332162644","1332162650","1332162675"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/14f146ffdb201470834a732cecbc5736.jpg","text":"TemporaryFile(/tmp/multipartBody4122836487053437712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030653258,"filename":"image_28012025_03_04_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/1/28/15bf502c875c5106638ef8487cfd1f35.jpg","text":"TemporaryFile(/tmp/multipartBody113185443898446897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030653258,"filename":"image_28012025_03_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/1/28/ef6d872344bbf7ea830be1c4184efc72.jpg","text":"TemporaryFile(/tmp/multipartBody8776946315306063953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030653258,"filename":"image_28012025_03_03_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/1/28/299fa2333d041e293e5f16e2a0d3a441.jpg","text":"TemporaryFile(/tmp/multipartBody374320147409604043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030653258,"filename":"image_28012025_03_04_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/1/28/153f6f8edfb9baf32c0c46ad5ab8e708.jpg","text":"TemporaryFile(/tmp/multipartBody901543786681920001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030653258,"filename":"image_28012025_03_03_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/1/28/5f900585a4ccf123465b2ff28d246f89.jpg","text":"TemporaryFile(/tmp/multipartBody6375792404449982531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030653258,"filename":"image_28012025_03_03_35_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332162639","file1":"1332162620","file0":"1332162606","file4":"1332162650","file5":"1332162675","file3":"1332162644"},"map_files_photo_id_array":[{"photo_id":"1332162675","filename":"file5"},{"photo_id":"1332162639","filename":"file2"},{"photo_id":"1332162650","filename":"file4"},{"photo_id":"1332162620","filename":"file1"},{"photo_id":"1332162606","filename":"file0"},{"photo_id":"1332162644","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332162650":["hashtag1","hashtag2"]},{"1332162644":["hashtag1","hashtag2"]},{"1332162620":["hashtag1","hashtag2"]},{"1332162675":["hashtag1","hashtag2"]},{"1332162639":["hashtag1","hashtag2"]},{"1332162606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332162650, 1332162644, 1332162620, 1332162675, 1332162639, 1332162606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.80101799964905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 03:17:32.561047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/04/image_28012025_03_04_35_10413.jpg', '/home/pi/Desktop/images/28012025/03/04/image_28012025_03_04_44_9461.jpg', '/home/pi/Desktop/images/28012025/03/04/image_28012025_03_04_55_10444.jpg', '/home/pi/Desktop/images/28012025/03/04/image_28012025_03_05_04_9495.jpg', '/home/pi/Desktop/images/28012025/03/05/image_28012025_03_05_15_10348.jpg', '/home/pi/Desktop/images/28012025/03/05/image_28012025_03_05_25_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/04/image_28012025_03_04_35_10413.jpg
/home/pi/Desktop/images/28012025/03/04/image_28012025_03_04_44_9461.jpg
/home/pi/Desktop/images/28012025/03/04/image_28012025_03_04_55_10444.jpg
/home/pi/Desktop/images/28012025/03/04/image_28012025_03_05_04_9495.jpg
/home/pi/Desktop/images/28012025/03/05/image_28012025_03_05_15_10348.jpg
/home/pi/Desktop/images/28012025/03/05/image_28012025_03_05_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":["1332162749","1332162751","1332162756","1332162744","1332162753","1332162747"],"photo_ids_order":["1332162744","1332162747","1332162749","1332162751","1332162753","1332162756"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fa0b79b2662b5f1850f2af643e097e27.jpg","text":"TemporaryFile(/tmp/multipartBody9171233790583931432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030713489,"filename":"image_28012025_03_04_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/1/28/7ffd1a7963ea9e6afba197553f46431a.jpg","text":"TemporaryFile(/tmp/multipartBody4054193860924246405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030713489,"filename":"image_28012025_03_05_04_9495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8cce8ccd93d0a12c6d18a09fdbd76273.jpg","text":"TemporaryFile(/tmp/multipartBody310425183375725808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030713489,"filename":"image_28012025_03_05_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/1/28/6413b153225490d324f26c12f987c081.jpg","text":"TemporaryFile(/tmp/multipartBody1981380787746116464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030713489,"filename":"image_28012025_03_04_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/1/28/92db4a70790b18feb94e1578466e06e2.jpg","text":"TemporaryFile(/tmp/multipartBody8326012670005786682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030713489,"filename":"image_28012025_03_05_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/1/28/18a44863f766ee2e7f14d500912d4134.jpg","text":"TemporaryFile(/tmp/multipartBody8698888873572240894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030713489,"filename":"image_28012025_03_04_44_9461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332162749","file1":"1332162747","file0":"1332162744","file4":"1332162753","file5":"1332162756","file3":"1332162751"},"map_files_photo_id_array":[{"photo_id":"1332162756","filename":"file5"},{"photo_id":"1332162749","filename":"file2"},{"photo_id":"1332162753","filename":"file4"},{"photo_id":"1332162747","filename":"file1"},{"photo_id":"1332162744","filename":"file0"},{"photo_id":"1332162751","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332162749":["hashtag1","hashtag2"]},{"1332162751":["hashtag1","hashtag2"]},{"1332162756":["hashtag1","hashtag2"]},{"1332162744":["hashtag1","hashtag2"]},{"1332162753":["hashtag1","hashtag2"]},{"1332162747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332162749, 1332162751, 1332162756, 1332162744, 1332162753, 1332162747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.67006587982178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 03:18:32.878519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/05/image_28012025_03_05_35_9433.jpg', '/home/pi/Desktop/images/28012025/03/05/image_28012025_03_05_45_10340.jpg', '/home/pi/Desktop/images/28012025/03/05/image_28012025_03_05_54_9478.jpg', '/home/pi/Desktop/images/28012025/03/05/image_28012025_03_06_05_10423.jpg', '/home/pi/Desktop/images/28012025/03/06/image_28012025_03_06_15_10386.jpg', '/home/pi/Desktop/images/28012025/03/06/image_28012025_03_06_25_9397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/05/image_28012025_03_05_35_9433.jpg
/home/pi/Desktop/images/28012025/03/05/image_28012025_03_05_45_10340.jpg
/home/pi/Desktop/images/28012025/03/05/image_28012025_03_05_54_9478.jpg
/home/pi/Desktop/images/28012025/03/05/image_28012025_03_06_05_10423.jpg
/home/pi/Desktop/images/28012025/03/06/image_28012025_03_06_15_10386.jpg
/home/pi/Desktop/images/28012025/03/06/image_28012025_03_06_25_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":["1332162764","1332162774","1332162765","1332162785","1332162788","1332162773"],"photo_ids_order":["1332162764","1332162765","1332162773","1332162774","1332162785","1332162788"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/317e09ee1f5414cce89b429895fdec60.jpg","text":"TemporaryFile(/tmp/multipartBody7936126956018913328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030773810,"filename":"image_28012025_03_05_35_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f153de25717ab267aabf6a70bee87ba0.jpg","text":"TemporaryFile(/tmp/multipartBody7850646799523423965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030773810,"filename":"image_28012025_03_06_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/1/28/d08ff3ca117f17498654b7346602554f.jpg","text":"TemporaryFile(/tmp/multipartBody8213567644166406253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030773810,"filename":"image_28012025_03_05_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/1/28/220ac7e8712ddfd0d69042bbda5ee46a.jpg","text":"TemporaryFile(/tmp/multipartBody1776264059460199076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030773810,"filename":"image_28012025_03_06_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/1/28/09c9fd40006907cf2ba6d1faffdb9a09.jpg","text":"TemporaryFile(/tmp/multipartBody6267643807454443162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030773810,"filename":"image_28012025_03_06_25_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ec5541c33b3e83311d228ac2ba094c2c.jpg","text":"TemporaryFile(/tmp/multipartBody2062587385007385282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030773810,"filename":"image_28012025_03_05_54_9478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332162773","file1":"1332162765","file0":"1332162764","file4":"1332162785","file5":"1332162788","file3":"1332162774"},"map_files_photo_id_array":[{"photo_id":"1332162788","filename":"file5"},{"photo_id":"1332162773","filename":"file2"},{"photo_id":"1332162785","filename":"file4"},{"photo_id":"1332162765","filename":"file1"},{"photo_id":"1332162764","filename":"file0"},{"photo_id":"1332162774","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332162764":["hashtag1","hashtag2"]},{"1332162774":["hashtag1","hashtag2"]},{"1332162765":["hashtag1","hashtag2"]},{"1332162785":["hashtag1","hashtag2"]},{"1332162788":["hashtag1","hashtag2"]},{"1332162773":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332162764, 1332162774, 1332162765, 1332162785, 1332162788, 1332162773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.65509080886841 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 03:19:33.015118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/06/image_28012025_03_06_35_10345.jpg', '/home/pi/Desktop/images/28012025/03/06/image_28012025_03_06_44_9448.jpg', '/home/pi/Desktop/images/28012025/03/06/image_28012025_03_06_55_10414.jpg', '/home/pi/Desktop/images/28012025/03/06/image_28012025_03_07_05_10385.jpg', '/home/pi/Desktop/images/28012025/03/07/image_28012025_03_07_15_9384.jpg', '/home/pi/Desktop/images/28012025/03/07/image_28012025_03_07_25_10427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/06/image_28012025_03_06_35_10345.jpg
/home/pi/Desktop/images/28012025/03/06/image_28012025_03_06_44_9448.jpg
/home/pi/Desktop/images/28012025/03/06/image_28012025_03_06_55_10414.jpg
/home/pi/Desktop/images/28012025/03/06/image_28012025_03_07_05_10385.jpg
/home/pi/Desktop/images/28012025/03/07/image_28012025_03_07_15_9384.jpg
/home/pi/Desktop/images/28012025/03/07/image_28012025_03_07_25_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":["1332162860","1332163010","1332162892","1332162859","1332162861","1332162858"],"photo_ids_order":["1332162858","1332162859","1332162860","1332162861","1332162892","1332163010"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/074397cca42aecfdd13064e52c173bed.jpg","text":"TemporaryFile(/tmp/multipartBody6463277846940091543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030833919,"filename":"image_28012025_03_06_55_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c24e85307f088c50ceac3633b8ca7b82.jpg","text":"TemporaryFile(/tmp/multipartBody3097814407376942043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030833919,"filename":"image_28012025_03_07_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/1/28/e55a805f8f4f3ec36047655b920d37d0.jpg","text":"TemporaryFile(/tmp/multipartBody9118661230923240108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030833919,"filename":"image_28012025_03_07_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/1/28/e554f6e617d8fc743ced6f7d88405051.jpg","text":"TemporaryFile(/tmp/multipartBody2771029101222562393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030833919,"filename":"image_28012025_03_06_44_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/695cb4f42a1644a6454f745f8c1f669a.jpg","text":"TemporaryFile(/tmp/multipartBody4978979709424148298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030833919,"filename":"image_28012025_03_07_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/1/28/354aacac26f2dcf193c6b188058cb416.jpg","text":"TemporaryFile(/tmp/multipartBody8223112762001647748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030833919,"filename":"image_28012025_03_06_35_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332162860","file1":"1332162859","file0":"1332162858","file4":"1332162892","file5":"1332163010","file3":"1332162861"},"map_files_photo_id_array":[{"photo_id":"1332163010","filename":"file5"},{"photo_id":"1332162860","filename":"file2"},{"photo_id":"1332162892","filename":"file4"},{"photo_id":"1332162859","filename":"file1"},{"photo_id":"1332162858","filename":"file0"},{"photo_id":"1332162861","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332162860":["hashtag1","hashtag2"]},{"1332163010":["hashtag1","hashtag2"]},{"1332162892":["hashtag1","hashtag2"]},{"1332162859":["hashtag1","hashtag2"]},{"1332162861":["hashtag1","hashtag2"]},{"1332162858":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332162860, 1332163010, 1332162892, 1332162859, 1332162861, 1332162858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.24566602706909 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 03:20:32.292970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/07/image_28012025_03_07_34_9482.jpg', '/home/pi/Desktop/images/28012025/03/07/image_28012025_03_07_45_10347.jpg', '/home/pi/Desktop/images/28012025/03/07/image_28012025_03_07_55_10353.jpg', '/home/pi/Desktop/images/28012025/03/07/image_28012025_03_08_04_9334.jpg', '/home/pi/Desktop/images/28012025/03/08/image_28012025_03_08_15_10353.jpg', '/home/pi/Desktop/images/28012025/03/08/image_28012025_03_08_25_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/07/image_28012025_03_07_34_9482.jpg
/home/pi/Desktop/images/28012025/03/07/image_28012025_03_07_45_10347.jpg
/home/pi/Desktop/images/28012025/03/07/image_28012025_03_07_55_10353.jpg
/home/pi/Desktop/images/28012025/03/07/image_28012025_03_08_04_9334.jpg
/home/pi/Desktop/images/28012025/03/08/image_28012025_03_08_15_10353.jpg
/home/pi/Desktop/images/28012025/03/08/image_28012025_03_08_25_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332163615","1332163731","1332163614","1332163730","1332163727","1332163613"],"photo_ids_order":["1332163613","1332163614","1332163615","1332163727","1332163730","1332163731"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/856a49f5092038bc152f042203cd35d7.jpg","text":"TemporaryFile(/tmp/multipartBody3481335952504861021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030893236,"filename":"image_28012025_03_07_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/1/28/ce5c5c2e5911014d340cb5c1419af9e9.jpg","text":"TemporaryFile(/tmp/multipartBody2901437644699285753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030893236,"filename":"image_28012025_03_08_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/1/28/d4a63ad0802771d0dc445c18433937e5.jpg","text":"TemporaryFile(/tmp/multipartBody95340063009118505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030893236,"filename":"image_28012025_03_07_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/1/28/c13880a22b00dd4528ac692fb06dad27.jpg","text":"TemporaryFile(/tmp/multipartBody7208817566263022589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030893236,"filename":"image_28012025_03_08_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/1/28/f6c31dc290f64b1d1d6a29af1ec6b4aa.jpg","text":"TemporaryFile(/tmp/multipartBody2159700567609702504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030893236,"filename":"image_28012025_03_08_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/1/28/c854afdc548078f8529897d24d1b61c8.jpg","text":"TemporaryFile(/tmp/multipartBody8317888082955450590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030893236,"filename":"image_28012025_03_07_34_9482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332163615","file1":"1332163614","file0":"1332163613","file4":"1332163730","file5":"1332163731","file3":"1332163727"},"map_files_photo_id_array":[{"photo_id":"1332163731","filename":"file5"},{"photo_id":"1332163615","filename":"file2"},{"photo_id":"1332163730","filename":"file4"},{"photo_id":"1332163614","filename":"file1"},{"photo_id":"1332163613","filename":"file0"},{"photo_id":"1332163727","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332163615":["hashtag1","hashtag2"]},{"1332163731":["hashtag1","hashtag2"]},{"1332163614":["hashtag1","hashtag2"]},{"1332163730":["hashtag1","hashtag2"]},{"1332163727":["hashtag1","hashtag2"]},{"1332163613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332163615, 1332163731, 1332163614, 1332163730, 1332163727, 1332163613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.83323788642883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 03:21:32.512113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/08/image_28012025_03_08_35_9419.jpg', '/home/pi/Desktop/images/28012025/03/08/image_28012025_03_08_45_10368.jpg', '/home/pi/Desktop/images/28012025/03/08/image_28012025_03_08_54_9393.jpg', '/home/pi/Desktop/images/28012025/03/08/image_28012025_03_09_05_10340.jpg', '/home/pi/Desktop/images/28012025/03/09/image_28012025_03_09_15_10340.jpg', '/home/pi/Desktop/images/28012025/03/09/image_28012025_03_09_24_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/08/image_28012025_03_08_35_9419.jpg
/home/pi/Desktop/images/28012025/03/08/image_28012025_03_08_45_10368.jpg
/home/pi/Desktop/images/28012025/03/08/image_28012025_03_08_54_9393.jpg
/home/pi/Desktop/images/28012025/03/08/image_28012025_03_09_05_10340.jpg
/home/pi/Desktop/images/28012025/03/09/image_28012025_03_09_15_10340.jpg
/home/pi/Desktop/images/28012025/03/09/image_28012025_03_09_24_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332163908","1332163836","1332163905","1332163880","1332163883","1332163838"],"photo_ids_order":["1332163836","1332163838","1332163880","1332163883","1332163905","1332163908"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4d4efc6fa69f2848ea0b36341cabe103.jpg","text":"TemporaryFile(/tmp/multipartBody2399901253980838885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030953425,"filename":"image_28012025_03_09_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/1/28/40d2cb45b551e863b4ab460e937fd518.jpg","text":"TemporaryFile(/tmp/multipartBody1926950975105531169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030953425,"filename":"image_28012025_03_08_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/1/28/34afcdf9b38d05d54f28f6ffec09d77c.jpg","text":"TemporaryFile(/tmp/multipartBody1659333031913293272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030953425,"filename":"image_28012025_03_09_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/1/28/4cb701ffc699e0fd6d60f08c8f1db91a.jpg","text":"TemporaryFile(/tmp/multipartBody7201394485804837450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030953425,"filename":"image_28012025_03_08_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/1/28/6e371ccd1c3c5d945ed1e89c532a7bd2.jpg","text":"TemporaryFile(/tmp/multipartBody5219387704949567369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030953425,"filename":"image_28012025_03_09_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/1/28/3479b4dfa42dd171c150c94873502e23.jpg","text":"TemporaryFile(/tmp/multipartBody6816476265503660075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738030953425,"filename":"image_28012025_03_08_45_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332163880","file1":"1332163838","file0":"1332163836","file4":"1332163905","file5":"1332163908","file3":"1332163883"},"map_files_photo_id_array":[{"photo_id":"1332163908","filename":"file5"},{"photo_id":"1332163880","filename":"file2"},{"photo_id":"1332163905","filename":"file4"},{"photo_id":"1332163838","filename":"file1"},{"photo_id":"1332163836","filename":"file0"},{"photo_id":"1332163883","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332163908":["hashtag1","hashtag2"]},{"1332163836":["hashtag1","hashtag2"]},{"1332163905":["hashtag1","hashtag2"]},{"1332163880":["hashtag1","hashtag2"]},{"1332163883":["hashtag1","hashtag2"]},{"1332163838":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332163908, 1332163836, 1332163905, 1332163880, 1332163883, 1332163838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.05833315849304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 03:22:32.826615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/09/image_28012025_03_09_35_10426.jpg', '/home/pi/Desktop/images/28012025/03/09/image_28012025_03_09_45_10384.jpg', '/home/pi/Desktop/images/28012025/03/09/image_28012025_03_09_55_9400.jpg', '/home/pi/Desktop/images/28012025/03/09/image_28012025_03_10_05_10358.jpg', '/home/pi/Desktop/images/28012025/03/10/image_28012025_03_10_14_9420.jpg', '/home/pi/Desktop/images/28012025/03/10/image_28012025_03_10_25_10397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/09/image_28012025_03_09_35_10426.jpg
/home/pi/Desktop/images/28012025/03/09/image_28012025_03_09_45_10384.jpg
/home/pi/Desktop/images/28012025/03/09/image_28012025_03_09_55_9400.jpg
/home/pi/Desktop/images/28012025/03/09/image_28012025_03_10_05_10358.jpg
/home/pi/Desktop/images/28012025/03/10/image_28012025_03_10_14_9420.jpg
/home/pi/Desktop/images/28012025/03/10/image_28012025_03_10_25_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":["1332163936","1332163927","1332163938","1332163943","1332163937","1332163996"],"photo_ids_order":["1332163927","1332163936","1332163937","1332163938","1332163943","1332163996"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f53f4bb0273d11d89cc2057a982e9a5a.jpg","text":"TemporaryFile(/tmp/multipartBody4715478988614754124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031013863,"filename":"image_28012025_03_09_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/1/28/1098da81d0824374b55378c993954c79.jpg","text":"TemporaryFile(/tmp/multipartBody1139349152253357955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031013863,"filename":"image_28012025_03_09_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/1/28/6c5de6f1300099721cc86c675a4b3c90.jpg","text":"TemporaryFile(/tmp/multipartBody5577712483605580947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031013863,"filename":"image_28012025_03_10_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/1/28/8146bd72e4b96ba0781d81bd836f4766.jpg","text":"TemporaryFile(/tmp/multipartBody5672960406801015052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031013863,"filename":"image_28012025_03_10_14_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0b968c21aea18a922f8dc86076f733b4.jpg","text":"TemporaryFile(/tmp/multipartBody2141554386781949492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031013863,"filename":"image_28012025_03_09_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/1/28/fafc87bed3d08057dc71f24d74c0d479.jpg","text":"TemporaryFile(/tmp/multipartBody2532889565289492503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031013863,"filename":"image_28012025_03_10_25_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332163937","file1":"1332163936","file0":"1332163927","file4":"1332163943","file5":"1332163996","file3":"1332163938"},"map_files_photo_id_array":[{"photo_id":"1332163996","filename":"file5"},{"photo_id":"1332163937","filename":"file2"},{"photo_id":"1332163943","filename":"file4"},{"photo_id":"1332163936","filename":"file1"},{"photo_id":"1332163927","filename":"file0"},{"photo_id":"1332163938","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332163936":["hashtag1","hashtag2"]},{"1332163927":["hashtag1","hashtag2"]},{"1332163938":["hashtag1","hashtag2"]},{"1332163943":["hashtag1","hashtag2"]},{"1332163937":["hashtag1","hashtag2"]},{"1332163996":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332163936, 1332163927, 1332163938, 1332163943, 1332163937, 1332163996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.697402000427246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 03:23:32.910279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/10/image_28012025_03_10_35_10339.jpg', '/home/pi/Desktop/images/28012025/03/10/image_28012025_03_10_45_9444.jpg', '/home/pi/Desktop/images/28012025/03/10/image_28012025_03_10_55_10362.jpg', '/home/pi/Desktop/images/28012025/03/10/image_28012025_03_11_04_9442.jpg', '/home/pi/Desktop/images/28012025/03/11/image_28012025_03_11_15_10392.jpg', '/home/pi/Desktop/images/28012025/03/11/image_28012025_03_11_25_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/10/image_28012025_03_10_35_10339.jpg
/home/pi/Desktop/images/28012025/03/10/image_28012025_03_10_45_9444.jpg
/home/pi/Desktop/images/28012025/03/10/image_28012025_03_10_55_10362.jpg
/home/pi/Desktop/images/28012025/03/10/image_28012025_03_11_04_9442.jpg
/home/pi/Desktop/images/28012025/03/11/image_28012025_03_11_15_10392.jpg
/home/pi/Desktop/images/28012025/03/11/image_28012025_03_11_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":["1332164053","1332164056","1332164052","1332164055","1332164054","1332164051"],"photo_ids_order":["1332164051","1332164052","1332164053","1332164054","1332164055","1332164056"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fd3790fc3e8147d0ed246f03f7a06300.jpg","text":"TemporaryFile(/tmp/multipartBody7217764841061569511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031073821,"filename":"image_28012025_03_10_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/1/28/4278c6c6eac8802cae3621aaa44cd915.jpg","text":"TemporaryFile(/tmp/multipartBody3340328184695500611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031073821,"filename":"image_28012025_03_11_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/1/28/8a865025e15c5b7049c8feab3f5e7f28.jpg","text":"TemporaryFile(/tmp/multipartBody2317091344799630577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031073821,"filename":"image_28012025_03_10_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/1/28/d6ed8265dd2676c93fe170b08d00a9af.jpg","text":"TemporaryFile(/tmp/multipartBody3799299768679715094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031073821,"filename":"image_28012025_03_11_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/1/28/ebf2083256af211717ab7fd8f56bb879.jpg","text":"TemporaryFile(/tmp/multipartBody147656682778193292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031073821,"filename":"image_28012025_03_11_04_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d9f74af458d3ad9b78ceb06da201a162.jpg","text":"TemporaryFile(/tmp/multipartBody901021579305728996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031073821,"filename":"image_28012025_03_10_35_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332164053","file1":"1332164052","file0":"1332164051","file4":"1332164055","file5":"1332164056","file3":"1332164054"},"map_files_photo_id_array":[{"photo_id":"1332164056","filename":"file5"},{"photo_id":"1332164053","filename":"file2"},{"photo_id":"1332164055","filename":"file4"},{"photo_id":"1332164052","filename":"file1"},{"photo_id":"1332164051","filename":"file0"},{"photo_id":"1332164054","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332164053":["hashtag1","hashtag2"]},{"1332164056":["hashtag1","hashtag2"]},{"1332164052":["hashtag1","hashtag2"]},{"1332164055":["hashtag1","hashtag2"]},{"1332164054":["hashtag1","hashtag2"]},{"1332164051":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332164053, 1332164056, 1332164052, 1332164055, 1332164054, 1332164051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37038016319275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 03:24:32.732011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/11/image_28012025_03_11_35_9435.jpg', '/home/pi/Desktop/images/28012025/03/11/image_28012025_03_11_45_10345.jpg', '/home/pi/Desktop/images/28012025/03/11/image_28012025_03_11_54_9455.jpg', '/home/pi/Desktop/images/28012025/03/11/image_28012025_03_12_05_10360.jpg', '/home/pi/Desktop/images/28012025/03/12/image_28012025_03_12_15_10352.jpg', '/home/pi/Desktop/images/28012025/03/12/image_28012025_03_12_24_9336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/11/image_28012025_03_11_35_9435.jpg
/home/pi/Desktop/images/28012025/03/11/image_28012025_03_11_45_10345.jpg
/home/pi/Desktop/images/28012025/03/11/image_28012025_03_11_54_9455.jpg
/home/pi/Desktop/images/28012025/03/11/image_28012025_03_12_05_10360.jpg
/home/pi/Desktop/images/28012025/03/12/image_28012025_03_12_15_10352.jpg
/home/pi/Desktop/images/28012025/03/12/image_28012025_03_12_24_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":["1332164074","1332164076","1332164070","1332164073","1332164072","1332164071"],"photo_ids_order":["1332164070","1332164071","1332164072","1332164073","1332164074","1332164076"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/250d2a1b3e6433d39b65cc1cdb59b5b5.jpg","text":"TemporaryFile(/tmp/multipartBody8926841763426090407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031133641,"filename":"image_28012025_03_12_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6a366eaa0e37ed48bbf23fbeea68e3aa.jpg","text":"TemporaryFile(/tmp/multipartBody4289393895061691129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031133641,"filename":"image_28012025_03_12_24_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/55b8f800a5cfa4cffd40efc9ce1faeb3.jpg","text":"TemporaryFile(/tmp/multipartBody5131691326346420253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031133641,"filename":"image_28012025_03_11_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/1/28/66c04f374ec67af97383e0ff3dcd333b.jpg","text":"TemporaryFile(/tmp/multipartBody3597033051861418157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031133641,"filename":"image_28012025_03_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/1/28/9c9e4ff4cbfd5724d4c7b5166e235a78.jpg","text":"TemporaryFile(/tmp/multipartBody3797338501245455939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031133641,"filename":"image_28012025_03_11_54_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bea0fd946d634ed59979f5c2cde2b0ab.jpg","text":"TemporaryFile(/tmp/multipartBody6334444047226138293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031133641,"filename":"image_28012025_03_11_45_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332164072","file1":"1332164071","file0":"1332164070","file4":"1332164074","file5":"1332164076","file3":"1332164073"},"map_files_photo_id_array":[{"photo_id":"1332164076","filename":"file5"},{"photo_id":"1332164072","filename":"file2"},{"photo_id":"1332164074","filename":"file4"},{"photo_id":"1332164071","filename":"file1"},{"photo_id":"1332164070","filename":"file0"},{"photo_id":"1332164073","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332164074":["hashtag1","hashtag2"]},{"1332164076":["hashtag1","hashtag2"]},{"1332164070":["hashtag1","hashtag2"]},{"1332164073":["hashtag1","hashtag2"]},{"1332164072":["hashtag1","hashtag2"]},{"1332164071":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332164074, 1332164076, 1332164070, 1332164073, 1332164072, 1332164071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.719621896743774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 03:25:33.020559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/12/image_28012025_03_12_35_10339.jpg', '/home/pi/Desktop/images/28012025/03/12/image_28012025_03_12_45_10422.jpg', '/home/pi/Desktop/images/28012025/03/12/image_28012025_03_12_55_9359.jpg', '/home/pi/Desktop/images/28012025/03/12/image_28012025_03_13_05_10341.jpg', '/home/pi/Desktop/images/28012025/03/13/image_28012025_03_13_14_9454.jpg', '/home/pi/Desktop/images/28012025/03/13/image_28012025_03_13_25_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/12/image_28012025_03_12_35_10339.jpg
/home/pi/Desktop/images/28012025/03/12/image_28012025_03_12_45_10422.jpg
/home/pi/Desktop/images/28012025/03/12/image_28012025_03_12_55_9359.jpg
/home/pi/Desktop/images/28012025/03/12/image_28012025_03_13_05_10341.jpg
/home/pi/Desktop/images/28012025/03/13/image_28012025_03_13_14_9454.jpg
/home/pi/Desktop/images/28012025/03/13/image_28012025_03_13_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":["1332164104","1332164107","1332164106","1332164109","1332164105","1332164108"],"photo_ids_order":["1332164104","1332164105","1332164106","1332164107","1332164108","1332164109"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2b995b5629784331250acea3a80730c6.jpg","text":"TemporaryFile(/tmp/multipartBody5699601119009759468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031193930,"filename":"image_28012025_03_12_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/1/28/77b0ba947e22139342559c681120cb0d.jpg","text":"TemporaryFile(/tmp/multipartBody8151383157015211961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031193930,"filename":"image_28012025_03_13_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/1/28/509a0c385c987dd725ed37cfd96e2f90.jpg","text":"TemporaryFile(/tmp/multipartBody8312391622368112319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031193930,"filename":"image_28012025_03_12_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/1/28/d75bec34f99bba9680047f837f138364.jpg","text":"TemporaryFile(/tmp/multipartBody6969615026308871446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031193930,"filename":"image_28012025_03_13_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/1/28/e6df274be2169ca224be09860fd0393e.jpg","text":"TemporaryFile(/tmp/multipartBody5894055377394593470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031193930,"filename":"image_28012025_03_12_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/1/28/88e99d7ffdf1fe5133e72a76fbb56b56.jpg","text":"TemporaryFile(/tmp/multipartBody3096723552291672611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031193930,"filename":"image_28012025_03_13_14_9454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332164106","file1":"1332164105","file0":"1332164104","file4":"1332164108","file5":"1332164109","file3":"1332164107"},"map_files_photo_id_array":[{"photo_id":"1332164109","filename":"file5"},{"photo_id":"1332164106","filename":"file2"},{"photo_id":"1332164108","filename":"file4"},{"photo_id":"1332164105","filename":"file1"},{"photo_id":"1332164104","filename":"file0"},{"photo_id":"1332164107","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332164104":["hashtag1","hashtag2"]},{"1332164107":["hashtag1","hashtag2"]},{"1332164106":["hashtag1","hashtag2"]},{"1332164109":["hashtag1","hashtag2"]},{"1332164105":["hashtag1","hashtag2"]},{"1332164108":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332164104, 1332164107, 1332164106, 1332164109, 1332164105, 1332164108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.37433314323425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 03:26:33.141455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/13/image_28012025_03_13_44_9342.jpg', '/home/pi/Desktop/images/28012025/03/13/image_28012025_03_13_55_10352.jpg', '/home/pi/Desktop/images/28012025/03/13/image_28012025_03_14_05_10361.jpg', '/home/pi/Desktop/images/28012025/03/14/image_28012025_03_14_14_9408.jpg', '/home/pi/Desktop/images/28012025/03/14/image_28012025_03_14_25_10394.jpg', '/home/pi/Desktop/images/28012025/03/14/image_28012025_03_14_55_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/13/image_28012025_03_13_44_9342.jpg
/home/pi/Desktop/images/28012025/03/13/image_28012025_03_13_55_10352.jpg
/home/pi/Desktop/images/28012025/03/13/image_28012025_03_14_05_10361.jpg
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_14_14_9408.jpg
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_14_25_10394.jpg
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_14_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":["1332164125","1332164127","1332164121","1332164118","1332164123","1332164129"],"photo_ids_order":["1332164118","1332164121","1332164123","1332164125","1332164127","1332164129"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bab8f81f57762ab4c46a1eedce981e01.jpg","text":"TemporaryFile(/tmp/multipartBody519025339033652064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031254059,"filename":"image_28012025_03_14_14_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b8e995b73af5440133d0bf3abc6131e5.jpg","text":"TemporaryFile(/tmp/multipartBody8175212858355084036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031254059,"filename":"image_28012025_03_14_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/1/28/f4cfc1b528eb7387af70e70b9a22a1da.jpg","text":"TemporaryFile(/tmp/multipartBody4805448346953749696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031254059,"filename":"image_28012025_03_13_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/1/28/c302f0ee5a4a0080d2fc39378d2a1a34.jpg","text":"TemporaryFile(/tmp/multipartBody3207285827886010303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031254059,"filename":"image_28012025_03_13_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/1/28/0f24ac2f67ce616772914548b977f873.jpg","text":"TemporaryFile(/tmp/multipartBody6536875705093172705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031254059,"filename":"image_28012025_03_14_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/1/28/8d0044f693dfd884895c0ff23c91b351.jpg","text":"TemporaryFile(/tmp/multipartBody5843366906299434459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738031254059,"filename":"image_28012025_03_14_55_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332164123","file1":"1332164121","file0":"1332164118","file4":"1332164127","file5":"1332164129","file3":"1332164125"},"map_files_photo_id_array":[{"photo_id":"1332164129","filename":"file5"},{"photo_id":"1332164123","filename":"file2"},{"photo_id":"1332164127","filename":"file4"},{"photo_id":"1332164121","filename":"file1"},{"photo_id":"1332164118","filename":"file0"},{"photo_id":"1332164125","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332164125":["hashtag1","hashtag2"]},{"1332164127":["hashtag1","hashtag2"]},{"1332164121":["hashtag1","hashtag2"]},{"1332164118":["hashtag1","hashtag2"]},{"1332164123":["hashtag1","hashtag2"]},{"1332164129":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332164125, 1332164127, 1332164121, 1332164118, 1332164123, 1332164129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.57112979888916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 03:27:32.394464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 03:59:03.489310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75564d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.22373580932617188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 03:59:32.689526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bcbf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1753687858581543 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 03:59:42.621123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c0cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17504525184631348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 03:59:52.557055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f81d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3961999416351318 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:00:03.472631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bed90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19623088836669922 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:00:32.877815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a7cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17439723014831543 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:00:42.763260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75562c30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1741015911102295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:00:52.876798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75583090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.315335750579834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:01:04.339359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7556ac70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.27053356170654297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:01:33.038703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754afb70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17426276206970215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:01:42.995070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d7d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17511940002441406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:01:53.130833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75553190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3158690929412842 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:02:02.870041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754facf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19321036338806152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:02:32.321336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75536b30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17514967918395996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:02:42.324492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75498d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17632627487182617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:02:52.297473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754dd190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.304366111755371 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:03:03.829466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754edcd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2870054244995117 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:03:32.516047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754cfb30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17421174049377441 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:03:42.631184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75512c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17460942268371582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:03:52.517507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d5070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3160502910614014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:04:03.349207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75514b10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19542574882507324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:04:32.743892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754abcd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17437195777893066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:04:42.707137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75524d70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17528986930847168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:04:52.761534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bd030>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.310058832168579 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:05:04.467880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7548dcd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.23917913436889648 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:05:33.153986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554dcb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17450642585754395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:05:43.152608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75542cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1747598648071289 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:05:52.972915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75503130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3100852966308594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:06:02.837996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f1c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.718442678451538 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:06:32.169254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c1cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1771230697631836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:06:42.174056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c0cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17565703392028809 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:06:52.206261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a6070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3171489238739014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:07:03.910239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bcbb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.26451587677001953 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:07:32.500060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e8cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1748800277709961 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:07:42.450555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e1c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1741197109222412 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:07:52.393459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75595070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3248000144958496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:08:03.194608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a3cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19469261169433594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:08:32.619994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552dcf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17462682723999023 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:08:42.626724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754aecd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1742391586303711 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:08:52.639952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7556a1b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3127543926239014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:09:03.976652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:09:32.884322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f0c10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1743299961090088 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:09:42.905685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555bbd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17527198791503906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:09:52.835861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d4190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3090133666992188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:10:03.649810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b6cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19864368438720703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:10:33.038114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75571bb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17418980598449707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:10:44.091096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551bd10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1755542755126953 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:10:53.021334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557d050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3253974914550781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:11:03.447115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e7c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 2.3784472942352295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:11:32.235541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75535c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.175140380859375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:11:42.325964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a9c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17464518547058105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:11:52.209679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75559090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3053076267242432 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:12:03.100583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754aad50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19580793380737305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:12:32.436935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554bd90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1750941276550293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:12:42.477733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754edb50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17360520362854004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:12:52.429843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755600f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3191485404968262 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:13:04.059507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754dcad0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2370738983154297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:13:32.683526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d3470>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1750965118408203 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:13:42.637945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75543cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17413020133972168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:13:52.627174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d9170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.314485788345337 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:14:03.524043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754aad50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.199798583984375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:14:32.917853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754eed10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1744093894958496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:14:42.933625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75565d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17508268356323242 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:14:53.129648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554b170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3074378967285156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:15:03.627138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75578cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.866001844406128 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:15:32.439954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75498cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17489290237426758 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:15:42.382436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75495cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17451977729797363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:15:52.372500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755130b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3205540180206299 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:16:03.227748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75497bb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.20219731330871582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:16:32.630901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b0d70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17466306686401367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:16:42.627897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75497c30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17494893074035645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:16:52.621804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75571130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3076677322387695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:17:04.419772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75584d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2709224224090576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:17:32.889266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e8cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1747121810913086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:17:42.840744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b9b10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17422127723693848 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:17:52.945316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75510130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3127670288085938 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:18:02.835570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552cdb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19872021675109863 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:18:32.238408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c9c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1793215274810791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:18:42.173521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552fcd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17542147636413574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:18:52.156734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75b3e810>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3181655406951904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:19:06.793945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b6cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.9719164371490479 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:19:32.407906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f3d90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17600560188293457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:19:42.390577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f0bb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17513251304626465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:19:52.372640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d2110>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.325718641281128 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:20:03.193722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d6cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19964838027954102 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:20:32.576492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75558cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1761460304260254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:20:42.682030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552dcb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1751542091369629 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:20:52.626045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75545130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3066723346710205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:21:04.113401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75578cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.24669194221496582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:21:32.834667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75527cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1740860939025879 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:21:42.828099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75498c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.28803563117980957 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:21:52.856060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75575050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3266499042510986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:22:03.667241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75495cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2008800506591797 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:22:33.137222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75507d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17554140090942383 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:22:43.118813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75503390>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17460179328918457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:22:53.017247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75501130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3060688972473145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:23:03.446740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75558b70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2830626964569092 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:23:32.239456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7549bcd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17736220359802246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:23:42.253476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75581cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1757183074951172 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:23:52.247488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557c090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3191380500793457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:24:03.220168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557ccf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19533014297485352 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:24:32.497962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75522470>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17594122886657715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:24:42.528268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c4b90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17535018920898438 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:24:52.497543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75545130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.313047170639038 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:25:04.130942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75558d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.25027942657470703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:25:32.721404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555bcf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17417335510253906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:25:42.802207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555cb50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17487001419067383 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:25:52.755390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552c130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3097000122070312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:26:03.743900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b5b90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1981651782989502 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:26:32.982570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75550cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1784989833831787 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:26:42.975271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551ac50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17462563514709473 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:26:52.990781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c40b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.315690040588379 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:27:03.232072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c4c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.23804402351379395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:27:32.355929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75573cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1743311882019043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:27:42.313876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75538d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17615723609924316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:27:52.237875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75f31630>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.31955885887146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:28:03.070456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bfc90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19955897331237793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:28:32.457527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7549ed90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17419672012329102 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:28:42.452766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7548fb90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17391467094421387 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:28:52.442861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75514130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.31193208694458 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:29:04.047272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75525d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2532379627227783 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:29:32.763825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75564c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17417621612548828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:29:42.681039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554ecd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17406606674194336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:29:52.663793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755661b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3078722953796387 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:30:03.553274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75562c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19748306274414062 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:30:32.925920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7556bc90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17373418807983398 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:30:42.888043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554bcb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17432832717895508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:30:52.875429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552b190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3140811920166016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:31:04.408317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7653fef0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.22548985481262207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:31:33.195034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75579d70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17461681365966797 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:31:43.208469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552bc90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17446041107177734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:31:53.064677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755830f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3090929985046387 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:32:03.083541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75562bd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19703030586242676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:32:32.293514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75555cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17375683784484863 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:32:42.256950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75549ad0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1750810146331787 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:32:52.265685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554b190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3250536918640137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:33:03.872633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d4c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2762417793273926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:33:32.550611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550ad50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17564010620117188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:33:42.506264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551bbb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17519116401672363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:33:52.506868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75572110>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3292136192321777 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:34:03.362461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c0c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19861793518066406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:34:32.729693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75e68990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17430496215820312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:34:42.714365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75509bb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17446541786193848 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:34:52.751597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557f190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.319866418838501 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:35:04.490818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75501cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2776668071746826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:35:32.990817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75517cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1741018295288086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:35:43.054624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553bd10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1743459701538086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:35:52.934625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75521150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3083462715148926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:36:02.810415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75507cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19399046897888184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:36:32.221579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75535bd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1763625144958496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:36:42.258039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75523d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17567682266235352 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:36:52.159105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754de170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3175525665283203 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:37:03.683223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f0d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 3.6668717861175537 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:37:32.451207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550dcd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1740269660949707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:37:42.412966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75554cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17720746994018555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:37:52.443693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75530130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3114643096923828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:38:03.440122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75f4e650>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19527888298034668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:38:32.689669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75558d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17496490478515625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:38:42.649135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553cc90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17529773712158203 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:38:52.783679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b2070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3160364627838135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:39:03.957791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ecd30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.33176159858703613 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:39:33.048346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553ccd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1764683723449707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:39:43.051174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555ccb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17391300201416016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:39:52.984834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550c090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3122246265411377 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:40:02.967155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e7af0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1951298713684082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:40:32.238105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e8d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1755199432373047 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:40:42.223695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75493cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17576026916503906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:40:52.256080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d21b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3184547424316406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:41:03.758751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75580c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.25017619132995605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:41:32.644458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bcc10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17452192306518555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:41:42.583732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554fcb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1743614673614502 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:41:52.660130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d8130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3136701583862305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:42:03.586612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754dccf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19930410385131836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:42:32.865588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7548ad50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17461442947387695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:42:42.946704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75532cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17399215698242188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:42:52.920104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75501070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3201351165771484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:43:04.515955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7548cbd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2739138603210449 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:43:33.084270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75554d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17531561851501465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:43:43.076912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75577c30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1765000820159912 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:43:53.090792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ff1b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3277969360351562 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:44:03.027436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a3c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19561171531677246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:44:32.396469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75524c10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17568707466125488 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:44:42.261358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550ecd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17484807968139648 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:44:52.343781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f0090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3147249221801758 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:45:03.923684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75549d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.271115779876709 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:45:32.690040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554dcf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17407655715942383 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:45:42.492077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75533cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17348551750183105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:45:52.556766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d60b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3065497875213623 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:46:03.390967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75541b50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19430255889892578 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:46:32.832132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75545c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1742105484008789 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:46:42.770365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754acc50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.315457820892334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:46:52.759794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550d130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3084120750427246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:47:04.127809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c5cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 2.0631492137908936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:47:33.052758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554ab90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17448019981384277 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:47:43.137551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75581d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1745772361755371 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:47:53.138252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a3050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3211407661437988 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:48:02.797810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754fcd50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19672393798828125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:48:32.328855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75530d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17488503456115723 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:48:42.316136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c1c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17489027976989746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:48:52.307581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755130d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.312910795211792 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:49:03.615947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75511c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.24342679977416992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:49:32.526354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75515cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1738739013671875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:49:42.553964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557ed10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17406892776489258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:49:52.578402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75527090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3107104301452637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:50:03.367963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754eac90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 4.162825345993042 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:50:32.876347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754becd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1753239631652832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:50:42.875483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75572d90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17404413223266602 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:50:52.816308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754de170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3272786140441895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:51:04.476029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c3c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2505359649658203 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:51:33.181399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75503d90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17641925811767578 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:51:43.243081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75517d90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1752161979675293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:51:53.061071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75530130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3108654022216797 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:52:02.866857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754aab50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19350671768188477 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:52:32.380745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75515b70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17588424682617188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:52:42.233559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557abd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17708826065063477 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:52:52.414875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f3850>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3272769451141357 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:53:03.912402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557dc70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2583937644958496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:53:32.639332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b9b70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17421460151672363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:53:42.626465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555ccf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17535829544067383 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:53:52.578945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550f1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.316887617111206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:54:03.459633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x76603530>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19857549667358398 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:54:32.868685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75a9bed0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17378735542297363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:54:42.907607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754facb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1741652488708496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:54:52.835282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c8130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.309471607208252 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:55:04.484992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c2bd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.274169921875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:55:33.150732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75498b70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17520952224731445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:55:43.110851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75561cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17431092262268066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:55:53.003725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e2090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3112897872924805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:56:03.028629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c6cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1953423023223877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:56:32.215187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75545db0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17494654655456543 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:56:42.187604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75539d70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17554187774658203 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:56:52.246941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e8090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3190720081329346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:57:03.258525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7548ccd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2224135398864746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:57:32.463367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754dab90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17403459548950195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:57:42.480826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75575d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17539453506469727 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:57:52.464774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ec130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3120639324188232 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:59:03.870122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b0c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.24209904670715332 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 04:59:32.248219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754cccb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17563152313232422 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 04:59:42.429298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a7d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17984485626220703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 04:59:52.212064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75514150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3137061595916748 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:00:03.102935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c8d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.20138144493103027 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:00:32.601744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d7c10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1742234230041504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:00:42.542533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75542d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17966270446777344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:00:52.449281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a8150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.319932460784912 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:01:03.996081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754edb70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.24485540390014648 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:01:32.725955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ebc30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1757192611694336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:01:42.705993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d4b50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.175933837890625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:01:52.812008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550f090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3168513774871826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:02:03.688537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552fcd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.873502492904663 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:02:33.045266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c3c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17507600784301758 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:02:43.042162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c3cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17789459228515625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:02:53.020205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7556c070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3064134120941162 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:03:03.664115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75575c30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.26763081550598145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:03:32.281952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e8cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17576909065246582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:03:42.306646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a0cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17486333847045898 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:03:52.325763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d30f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3194992542266846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:04:03.162195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75549b90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19450092315673828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:04:32.619041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c0cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17522358894348145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:04:42.518679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552bb30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17416882514953613 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:04:52.620878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555d130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.319317102432251 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:05:04.193791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754cac70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.24446964263916016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:05:32.872690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553b3f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17455601692199707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:05:42.883738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550ab30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1763622760772705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:05:52.941691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ee050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3191649913787842 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:06:02.803653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75513c30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19790005683898926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:06:32.192491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75528d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1828160285949707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:06:42.137578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b3d90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1753826141357422 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:06:52.192628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7556e070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.323211669921875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:07:03.578866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75582b70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.23151898384094238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:07:32.497887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75548cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1755213737487793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:07:42.416569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75552c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17459440231323242 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:07:52.560386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ce090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3125276565551758 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:08:03.553129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75541cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19654464721679688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:08:32.780372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a2c30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17647004127502441 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:08:42.759036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754decf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1761617660522461 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:08:52.797752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554c110>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3175570964813232 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:09:04.477833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d1db0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.24869799613952637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:09:33.029269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75512bb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17448663711547852 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:09:43.134673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754becf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1746072769165039 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:09:52.997607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75505150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.319401502609253 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:10:02.894180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c5b90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1942434310913086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:10:32.177796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755814b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1786668300628662 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:10:42.254731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552bbb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17426180839538574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:10:52.152701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754db150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3121006488800049 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:11:03.683742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b2d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.8408091068267822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:11:32.575331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75509b70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17492341995239258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:11:42.536218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75523c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1741943359375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:11:52.361574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ef1b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3186120986938477 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:12:03.194205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754adcd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1955399513244629 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:12:32.544510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754adcd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1746199131011963 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:12:42.574403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550db50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1750798225402832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:12:52.552187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557a130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.320319652557373 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:13:04.218233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557ed10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.23301076889038086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:13:32.810175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75572d90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1765303611755371 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:13:42.909021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75a11c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17400193214416504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:13:52.822585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75579090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3123829364776611 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:14:03.702787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75523cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19675850868225098 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:14:33.044974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75501d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17508602142333984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:14:43.159753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754cdc90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1801903247833252 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:14:53.096181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ca070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.309253215789795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:15:03.478784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:15:32.400701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a0d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17650723457336426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:15:42.399818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75520b70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17557764053344727 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:15:52.315388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755881b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3210020065307617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:16:03.244167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75493dd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.20566678047180176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:16:32.593551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75554d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1756119728088379 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:16:42.543368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7548dcf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1822669506072998 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:16:52.671546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c8150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3189573287963867 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:17:04.154083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75577cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.26476550102233887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:17:32.916047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a9d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17441630363464355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:17:42.939499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a4cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17549633979797363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:17:52.863547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554a190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.309753179550171 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:18:03.718389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a7cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19550490379333496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:18:33.190440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75550b10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1750030517578125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:18:43.150596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c9c30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17406702041625977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:18:53.162170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550a170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.316727876663208 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:19:03.834970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x762476f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2959635257720947 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:19:32.395418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d2c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17541003227233887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:19:42.384936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554f3b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1811511516571045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:19:52.403392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b51d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.322390079498291 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:20:03.097953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75494d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19448399543762207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:20:32.604319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f14b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1744530200958252 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:20:42.564658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557bc50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17427873611450195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:20:52.551866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553a1f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3190929889678955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:21:04.252887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552fd10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2635815143585205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:21:32.812751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551fcb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17422890663146973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:21:42.882463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7549fc90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17425322532653809 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:21:52.807884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75595130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3170909881591797 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:22:03.793270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550cc30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19887304306030273 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:22:33.011397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a5b50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1744375228881836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:22:43.046645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b2d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17452645301818848 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:22:53.035725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c9070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3216052055358887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:23:03.454764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b4c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2860081195831299 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:23:32.260368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75aa3bf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17440104484558105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:23:42.270682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75502c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17580342292785645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:23:52.204374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754fa0d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3287291526794434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:24:03.165642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75496cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19615840911865234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:24:32.443060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d3d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17609477043151855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:24:42.419839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7556ed70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17407679557800293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:24:52.387558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75577070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3152804374694824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:25:03.865816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551acf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.23521995544433594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:25:32.648984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552ad10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17592835426330566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:25:42.733380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553fc70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1740107536315918 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:25:52.664517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d80b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3230469226837158 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:26:04.480570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b3c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.8219413757324219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:26:33.808696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75534cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1749117374420166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:26:43.827714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f4cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1747603416442871 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:26:53.875891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75566870>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.4435176849365234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:27:04.328321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75569d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 3.47641658782959 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:27:33.125353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754eed50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17536449432373047 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:27:43.130654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75516b90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17548727989196777 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:27:53.131557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d60d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3161463737487793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:28:03.046612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75505bb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1940910816192627 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:28:32.315606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550d390>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1749250888824463 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:28:42.411642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a3d90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17538690567016602 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:28:52.292577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555d130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3138222694396973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:29:03.786091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554cc70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2286849021911621 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:29:32.502518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75493c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17432236671447754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:29:42.556941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75504cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1763777732849121 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:29:52.529768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75526150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.461827039718628 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:30:03.363399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75558d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 3.665163278579712 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:30:32.811903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b3cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17500925064086914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:30:42.751700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a4cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17656612396240234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:30:52.797824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75560050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3089358806610107 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:31:04.350593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7549dd30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.25751447677612305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:31:33.034208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75578cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17514729499816895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:31:43.150914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75574b50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17590117454528809 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:31:53.027336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75531070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3283565044403076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:32:03.048459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75582bb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.20012354850769043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:32:32.258307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b6b70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17533302307128906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:32:42.281006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ecd30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17601919174194336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:32:52.209617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555a130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.309861183166504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:33:03.700937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7548cb70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.24025917053222656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:33:32.505507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555ac50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17465496063232422 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:33:42.457097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550fd30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17421245574951172 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:33:52.420907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75547070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3234343528747559 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:34:03.302180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75510d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19736385345458984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:34:32.690835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e1c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17455005645751953 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:34:42.692550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75577d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17463326454162598 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:34:52.649363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75590090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3123340606689453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:35:04.134295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d7bb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2500295639038086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:35:32.953845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75578c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17996954917907715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:35:42.899775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555cc70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17372608184814453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:35:52.899474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754aa170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.328334093093872 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:36:03.921246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7549bcf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19813084602355957 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:36:33.110864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75564c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17373394966125488 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:36:43.172440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7623a6f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17403674125671387 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:36:53.153604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c40b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3128862380981445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:37:03.570258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d4c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2475266456604004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:37:32.409269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75507bd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17381072044372559 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:37:42.377127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754adc50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17620563507080078 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:37:52.362995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557f050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3314533233642578 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:38:03.256182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75549cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19568109512329102 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:38:32.662362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75576bb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1746842861175537 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:38:42.587072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75492cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1740891933441162 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:38:52.575281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75501070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.327498197555542 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:39:04.130289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75498cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.22731614112854004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:39:32.811104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75576cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17498087882995605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:39:42.822556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754dccb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1810142993927002 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:39:52.833878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b9050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3278570175170898 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:40:03.727548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b9bd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19443511962890625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:40:33.072436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754afd10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17426705360412598 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:40:43.223152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75aabbb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17470383644104004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:40:53.195716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554c050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3121905326843262 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:41:03.570783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551dc90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2605319023132324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:41:32.450947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75581d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17592167854309082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:41:42.568615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75485d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17429041862487793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:41:52.535036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a7050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.321983814239502 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:42:03.516701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f3cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19768309593200684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:42:32.783370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75515cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17468619346618652 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:42:44.713703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553fd30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.5722389221191406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:42:52.719095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755720b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3156814575195312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:43:04.050323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550cd90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2672126293182373 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:43:32.942299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75487d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1743917465209961 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:43:42.886509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553dcd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17899107933044434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:43:52.993539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550e0b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3292851448059082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:44:02.776020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75563c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2056889533996582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:44:32.223762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d9cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17648100852966309 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:44:42.263428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f3bd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17425203323364258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:44:52.215294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e5150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3103814125061035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:45:03.824181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f4c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.22832250595092773 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:45:32.422144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754fbc90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17495083808898926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:45:42.519394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75583d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1742088794708252 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:45:52.441337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e0090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3167510032653809 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:46:03.320459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755723b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19510602951049805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:46:32.652051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553aaf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17391061782836914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:46:42.669773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550eb50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1740586757659912 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:46:52.633449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755791d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3144078254699707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:47:04.057201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75490c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2540740966796875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:47:33.066916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754fbd10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17382311820983887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:47:42.868385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75515c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17524504661560059 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:47:52.884965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75583050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3173778057098389 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:48:03.860463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c1cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1991739273071289 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:48:33.153423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554cd70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.175459623336792 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:48:43.111809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554bc90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17426657676696777 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:48:53.056687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75577150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3128447532653809 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:49:03.643171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bcd10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.22651147842407227 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:49:32.246361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c1b50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1766223907470703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:49:42.287247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75553cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17589592933654785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:49:52.317291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75591070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3138315677642822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:50:03.364839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755013f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19318890571594238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:50:32.586272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550ccf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1762993335723877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:50:42.552279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754adb10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1747283935546875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:50:52.560371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75581090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3145151138305664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:51:04.107141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e3cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.22980117797851562 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:51:32.975721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ebbb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1740128993988037 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:51:42.775385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75541d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17426753044128418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:51:52.763652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75502150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3225960731506348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:52:03.618747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75552af0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1959092617034912 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:52:32.980709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ffd50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1745467185974121 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:52:43.106621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a2d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.174591064453125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:52:52.943833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554c130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3162107467651367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:53:03.363121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ccb90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.23050928115844727 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:53:32.149432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ceb90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18012762069702148 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:53:42.152387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75567450>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17391443252563477 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:53:52.138471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75556170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3329427242279053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:54:03.042739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d4cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19772839546203613 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:54:32.435896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e9d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1741025447845459 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:54:42.429995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a6d70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1742844581604004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:54:52.302156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551f130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.338134527206421 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:55:04.048569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7549fcb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.26723575592041016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:55:32.566569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553eb90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17459321022033691 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:55:42.638645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75547cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17398619651794434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:55:52.509584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7556b0f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3524868488311768 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:56:03.273180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a4d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19834280014038086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:56:32.735109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75566c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1742992401123047 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:56:42.739235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75561c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17505526542663574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:56:52.748785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553c030>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3135385513305664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:57:04.200493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7548cb30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.6943535804748535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:57:32.986366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b0d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17500710487365723 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:57:42.941012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554cd10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.175065279006958 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:57:52.976050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75598050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3297147750854492 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:59:04.002294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75562cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2771940231323242 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 05:59:32.633238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b6cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17583799362182617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 05:59:42.776723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75f20410>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1798844337463379 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 05:59:52.673784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b00b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3192219734191895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:00:03.681317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d6cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19781136512756348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:00:32.938331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555fc90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17522430419921875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:00:42.927807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75502d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17455601692199707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:00:52.885858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555b1b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3210563659667969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:01:04.640876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554ec90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.385099172592163 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:01:33.644247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75566c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17617559432983398 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:01:43.641240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d1c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1759343147277832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:01:53.646943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557f070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.314317226409912 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:02:03.591678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f8ad0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19741225242614746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:02:32.895525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75547d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17685914039611816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:02:42.908441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f4cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1752457618713379 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:02:52.808335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75563190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3209247589111328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:03:04.400561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75516b30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.26010966300964355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:03:33.166595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550ad50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1742546558380127 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:03:43.045623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a0c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1752486228942871 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:03:53.126174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755110b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.331000566482544 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:04:03.160433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754cbd30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19646358489990234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:04:32.399636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7556dc30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17610979080200195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:04:42.343645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75548c10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.21833515167236328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:04:52.357490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75502050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3316256999969482 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:05:03.878959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75b0e830>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2543525695800781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:05:32.627537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75516d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17502713203430176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:05:42.591375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754cbd30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17396783828735352 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:05:52.571346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755191b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3140373229980469 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:06:03.538145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551cc50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19751644134521484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:06:32.808216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b0cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1753065586090088 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:06:42.770217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f7d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17392230033874512 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:06:52.877149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d5090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3178491592407227 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:07:04.262749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754eeb30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.679901123046875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:07:33.064640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7556dcd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17425155639648438 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:07:43.092096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75539cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17412114143371582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:07:53.072496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7556e170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3197660446166992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:08:02.941387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75489c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19800567626953125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:08:32.271192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f6d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17498564720153809 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:08:42.361915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75517cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1752932071685791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:08:52.292591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75560150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.321554183959961 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:09:03.919077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75520bb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2770650386810303 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:09:32.497417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ebc50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1749436855316162 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:09:42.493103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75569d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17491531372070312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:09:52.597412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554c1b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3223772048950195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:10:03.477540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555bcf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.20020651817321777 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:10:32.774977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75571cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1786954402923584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:10:42.768618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e4cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18190455436706543 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:10:52.782362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552d1b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.32423734664917 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:11:04.345188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557ec30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2593393325805664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:11:33.164688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754aed10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1746683120727539 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:11:43.045028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75556cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17526698112487793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:11:53.022044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75547150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3184809684753418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:12:03.005501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557bcf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19612717628479004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:12:32.211508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75543cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18039751052856445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:12:42.367301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554bc90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17972564697265625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:12:52.238541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ac150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3154411315917969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:13:03.865489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75529cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.27654528617858887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:13:32.517383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7548ed30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17509102821350098 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:13:43.495531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7556dcb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17514491081237793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:13:52.423043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ce150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 2.6276350021362305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:14:03.289338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553dcd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.4336910247802734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:14:32.693589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551cdd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1752009391784668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:14:42.646723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75501c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17571711540222168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:14:52.622145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7558a190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3218636512756348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:15:04.230816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a5c30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.22829866409301758 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:15:32.831577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75578c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17482781410217285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:15:42.832017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7556ed10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17468881607055664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:15:52.824154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b9210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3121225833892822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:16:03.693735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a3c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1976165771484375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:16:33.072635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e6c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17413902282714844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:16:43.079590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75555d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17456984519958496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:16:53.065529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75555170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3201725482940674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:17:03.745619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75573c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.296222448348999 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:17:32.413530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75570cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17547106742858887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:17:42.253808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75558c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18114590644836426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:17:52.426922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f0090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3154218196868896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:18:03.508653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e7c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19582581520080566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:18:32.631476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75560d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17577314376831055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:18:42.621160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7556dcf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17443251609802246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:18:52.645777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a3150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3259556293487549 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:19:04.297572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553bcf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.24313116073608398 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:19:32.867558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e6c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17453527450561523 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:19:42.836492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553ec90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18544507026672363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:19:52.825350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a2090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.311093807220459 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:20:03.682757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557ecf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19303131103515625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:20:33.033951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554acd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17453742027282715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:20:43.014564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552ecb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17568278312683105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:20:53.183706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d8050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3149964809417725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:21:03.662631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754aecb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.27802276611328125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:21:32.451387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552bbb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17431879043579102 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:21:42.479660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754cfcf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18493318557739258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:21:52.504489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551e1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3182306289672852 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:22:03.303399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555bcb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19718194007873535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:22:32.758354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75567c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17392683029174805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:22:42.696518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75522b90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17488956451416016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:22:52.678792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557a130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3132376670837402 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:23:03.882513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d5d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.594836711883545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:23:32.588780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d7c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17464399337768555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:23:42.615840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75526cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17543435096740723 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:23:52.547322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75584170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.319653034210205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:24:03.684416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75503cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2155284881591797 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:24:32.779974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75528d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17673707008361816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:24:42.762478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75499bd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17447328567504883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:24:52.744409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551b070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.317664384841919 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:25:04.166879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75551d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2523832321166992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:25:32.950256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75571d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.174699068069458 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:25:43.093411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75558c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17481446266174316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:25:52.938460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f4190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3154079914093018 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:26:02.871379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75551cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19515681266784668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:26:32.129807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75570cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18162131309509277 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:26:42.124542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552ccd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17627882957458496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:26:52.133178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a0150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3270952701568604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:27:03.794359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75509d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.24494051933288574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:27:32.407427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e2cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17631912231445312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:27:42.383852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d4c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1767892837524414 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:27:52.418740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75521050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3314945697784424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:28:03.336914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75487d70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19705963134765625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:28:32.663204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754eec70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17451858520507812 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:28:42.685917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75517cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1776261329650879 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:28:52.678052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755120f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.321631669998169 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:29:04.200966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75496d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.26141953468322754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:29:33.006075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754cabd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17469191551208496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:29:42.879385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75542b50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18004679679870605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:29:52.907680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7558b090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3234212398529053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:30:03.818294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a6c10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1972956657409668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:30:33.155588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553ed10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17495489120483398 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:30:43.152005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c4c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1748509407043457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:30:53.148681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550d090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.331305742263794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:31:03.606527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75581d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.24195241928100586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:31:32.366827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75531d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17656898498535156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:31:42.431561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ddc70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17477893829345703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:31:52.371484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550d050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3228545188903809 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:32:03.256060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552ac70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19483733177185059 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:32:32.622570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75510dd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17585444450378418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:32:42.641541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75578b90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18577122688293457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:32:52.579077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75572070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3156161308288574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:33:04.035551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f3bb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2309856414794922 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:33:32.817962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d0d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17977166175842285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:33:42.758927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75500cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18053483963012695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:33:52.862308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75531190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3129053115844727 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:34:03.664138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75490c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19938421249389648 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:34:35.473167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75579c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17584776878356934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:34:43.144877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b1d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17420530319213867 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:34:53.004964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554a190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3269457817077637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:35:03.618460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553cd90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2600123882293701 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:35:32.275733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a0c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19123363494873047 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:35:42.209984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75508ad0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17524433135986328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:35:52.212006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553c0d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3168635368347168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:36:03.124848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75501790>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19495654106140137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:36:32.442416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552fcf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1753993034362793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:36:42.412738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75561c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17547917366027832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:36:52.439677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75fb2710>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3124563694000244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:37:04.118697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75522c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.29476475715637207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:37:32.780617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75522cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17520713806152344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:37:42.650884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75550d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17706799507141113 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:37:52.638224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75576090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3157188892364502 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:38:03.561221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75576d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19737672805786133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:38:32.869023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75557cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17445111274719238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:38:42.859993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a8c30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2308497428894043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:38:52.914439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754fb250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3285226821899414 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:39:04.396099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c4cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2605459690093994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:39:33.141664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75506d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17422819137573242 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:39:43.150489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bdc90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1752328872680664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:39:53.170423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x76208750>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.324526309967041 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:40:03.130885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551dbd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19521284103393555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:40:32.398142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555fcb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17468786239624023 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:40:42.360226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75579cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17437100410461426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:40:52.352408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754cc150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3168296813964844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:41:04.020977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754abd10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2504286766052246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:41:32.642501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552eb50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17481088638305664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:41:42.519655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554fbd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17975306510925293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:41:52.633550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bd0f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3171555995941162 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:42:03.466066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75576d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19809556007385254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:42:32.932013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75485cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1748027801513672 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:42:42.820505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ccd10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.26767754554748535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:42:52.835568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551c130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3260366916656494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:43:04.316840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754eccd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.25377750396728516 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:43:33.044441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75523d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17458462715148926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:43:43.152099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557ec90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17595362663269043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:43:53.050792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75504170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.316791296005249 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:44:03.076675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75564c30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1988663673400879 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:44:32.264223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75524d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18471837043762207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:44:42.253342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bccb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1813526153564453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:44:52.271976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ed110>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.322709560394287 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:45:04.047534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b7c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.24367523193359375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:45:32.561548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754fbc50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17482376098632812 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:45:42.550611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75549d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17505431175231934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:45:52.530022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550c050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3138136863708496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:46:03.420851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75501d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19509124755859375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:46:32.737775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75516c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1743330955505371 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:46:42.729168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f3bf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17476177215576172 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:46:52.740249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75503090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3224287033081055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:47:04.366496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552cd50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.23552703857421875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:47:32.979064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75491c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17449593544006348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:47:43.078775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75497c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17679882049560547 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:47:53.033824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550e050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3187804222106934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:48:02.861512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553fc70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19350457191467285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:48:32.228370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554daf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1867358684539795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:48:42.234241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b3d70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1746234893798828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:48:52.225068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7558c1f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3169031143188477 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:49:03.830078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75491c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2337512969970703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:49:32.444243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555dcd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17471933364868164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:49:42.558543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555ccd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1828758716583252 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:49:52.469997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f7130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3173527717590332 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:50:03.550912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75544c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19472646713256836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:50:32.761299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75509d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17914557456970215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:50:42.658686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75504cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1808934211730957 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:50:52.666791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a5170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.31290864944458 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:51:04.315973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553ab10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.24210858345031738 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:51:32.922172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552ccb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17500638961791992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:51:42.870765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bdcd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18014168739318848 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:51:52.993420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b2130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3213491439819336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:52:02.783572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b8cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19925880432128906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:52:32.275306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f2c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18253374099731445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:52:42.282620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554ed70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17953848838806152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:52:52.152591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c5050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3174018859863281 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:53:03.864091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75503d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.23543643951416016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:53:32.483437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555ccf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.5345149040222168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:53:42.381873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75525cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17598295211791992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:53:52.392151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7549b150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.4907276630401611 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:54:03.315189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75505cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.725353479385376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:54:32.591045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ced30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17476320266723633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:54:42.605447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75489c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18377947807312012 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:54:52.562805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754fa1b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3184258937835693 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:55:04.215443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754dcbb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2554666996002197 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:55:32.778535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ddc90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17515206336975098 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:55:42.834931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d9cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17865729331970215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:55:52.799641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754df890>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3246824741363525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:56:03.614980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c1d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19609284400939941 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:56:33.097010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75578390>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1746823787689209 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:56:42.958841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75540d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17543339729309082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:56:52.949818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75545090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3151721954345703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:57:03.428041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75562b30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.28078770637512207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:57:32.178059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754dbd10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17633914947509766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:57:42.162189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ffd30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1755056381225586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:57:52.465683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d50b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3146061897277832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:59:04.523769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7548fc90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2441115379333496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 06:59:33.016271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f5d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1745285987854004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 06:59:43.042741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557ab30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1750032901763916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 06:59:53.064089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754fb130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3302366733551025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:00:03.160520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f1cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19331669807434082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:00:32.301886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e0cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18246054649353027 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:00:42.358984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554fc30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1758122444152832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:00:52.352215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75579090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.313094139099121 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:01:03.750882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550dcb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 2.0426483154296875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:01:32.589135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754aa4b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17717671394348145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:01:42.562199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7549db30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1759021282196045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:01:52.527408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552e070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.328587532043457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:02:03.316876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552ac10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 2.3423948287963867 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:02:32.773089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c0c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17904090881347656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:02:42.749292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f4c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18158745765686035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:02:52.745709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c5150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.320234775543213 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:03:04.442590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551abb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.22803997993469238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:03:32.992869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75507cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17624878883361816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:03:43.064720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a5bb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17627930641174316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:03:52.988378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d40d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3190500736236572 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:04:02.859775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555cc10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19780421257019043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:04:32.172142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550ec90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17642760276794434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:04:42.268045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75561d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1748044490814209 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:04:52.174091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754be150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3337979316711426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:05:03.871211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754fac70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.23943161964416504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:05:32.356960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75506d90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1761927604675293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:05:42.532540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75491c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17578864097595215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:05:52.425915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555c170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3182694911956787 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:06:03.423237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75509cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19472432136535645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:06:32.672393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754aeb50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1748039722442627 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:06:42.654504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557ecf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1750032901763916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:06:52.649641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552c0d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3191511631011963 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:07:04.367085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f7d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2243950366973877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:07:32.923768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553abb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17446208000183105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:07:42.881007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75575cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17586326599121094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:07:52.888756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ad090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3268134593963623 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:08:03.891276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557ccf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19598674774169922 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:08:33.106772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75562db0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17515969276428223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:08:43.078290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c9410>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17469215393066406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:08:53.083432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755591b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3203933238983154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:09:03.770245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7549ad10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2863490581512451 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:09:32.389159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c8d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17642951011657715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:09:42.401111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75501cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17513012886047363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:09:52.287860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755770b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3252956867218018 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:10:03.216866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c6b50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19440150260925293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:10:32.525963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553ed30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17464900016784668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:10:42.559760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bcc70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1741945743560791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:10:52.548104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e8130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3184442520141602 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:11:04.074377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75fa76b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.5495197772979736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:11:32.812777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75490d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17595148086547852 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:11:42.874005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75486c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1810169219970703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:11:52.778283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75588150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3186511993408203 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:12:03.810044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d8c30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19562578201293945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:12:33.068075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75499d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1754932403564453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:12:43.047084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e2c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18076491355895996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:12:52.997987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a7050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3182895183563232 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:13:03.642022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75491cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.22721385955810547 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:13:32.305985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551bd10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17806410789489746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:13:42.240195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e8b30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17500782012939453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:13:52.209450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75589090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3323535919189453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:14:03.058201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550ccd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.20010757446289062 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:14:32.425257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75497c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1744070053100586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:14:42.462231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557ecf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17639660835266113 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:14:52.477491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ef070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.33072829246521 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:15:04.165900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7548dcf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2578623294830322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:15:32.885704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75489c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17429327964782715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:15:42.745138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754dbd30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17792034149169922 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:15:52.731674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75573890>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3339800834655762 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:16:03.672057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e1b10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19579505920410156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:16:32.983335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553ccb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17630696296691895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:16:43.004095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551fcb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1759190559387207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:16:52.981001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755580d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3176252841949463 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:17:03.606741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550ec70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.28182244300842285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:17:32.302361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e5c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18173599243164062 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:17:42.190464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554bd70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17586827278137207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:17:52.271252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bd170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3178441524505615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:18:03.307044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75494d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19786500930786133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:18:32.539504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553abb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.31411218643188477 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:18:42.487925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75491c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17535901069641113 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:18:52.456688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554f090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3231315612792969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:19:04.050057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75554d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2510542869567871 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:19:32.649044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75493bb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17518138885498047 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:19:42.743076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552fc90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.22136926651000977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:19:52.755079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551f150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.318246603012085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:20:03.580129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754fbd30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19853949546813965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:20:32.997355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75533b50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17808151245117188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:20:42.945278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557cc30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18131518363952637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:20:52.926817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a7070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.316838026046753 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:21:04.651682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557ec50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2370619773864746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:21:33.157027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554dd30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17622137069702148 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:21:43.149187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754aec90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17428922653198242 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:21:53.176583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75510110>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3195302486419678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:22:03.186815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75500d90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19661378860473633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:22:32.421929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d7d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17622733116149902 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:22:42.357821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75515cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18059134483337402 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:22:52.495201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f3150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.333625078201294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:23:03.886981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552cd10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2506535053253174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:23:32.804598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75553cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17474007606506348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:23:42.898786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75487d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1739790439605713 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:23:52.697143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c4190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3193385601043701 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:24:03.659920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754dbcd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1990044116973877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:24:32.906433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557db30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17456483840942383 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:24:42.924922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75489b30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.3061795234680176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:24:52.903078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75541170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3178634643554688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:25:05.758959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75573ad0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.8534374237060547 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:25:34.656625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b6cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17469573020935059 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:25:44.554540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d9cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17489910125732422 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:25:54.522584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75544150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3199400901794434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:26:03.388179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b2b90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19581055641174316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:26:32.744944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7549bc70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17461371421813965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:26:42.899573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754abd30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17602205276489258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:26:52.740111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754af090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.331803321838379 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:27:04.286688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75523c10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2543666362762451 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:27:33.026159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551ec90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17432856559753418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:27:43.004265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75522b50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1750783920288086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:27:52.917355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7558b090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3215422630310059 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:28:03.849883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75567af0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19535589218139648 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:28:33.137405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754afb10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1782374382019043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:28:43.171512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c8cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1755211353302002 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:28:53.121522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557d070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.325016975402832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:29:03.762155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f5db0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.277982234954834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:29:32.347495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75500cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.178480863571167 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:29:42.370579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75580c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.3111143112182617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:29:52.405369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75564170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3211967945098877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:30:03.273244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75542af0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 2.032993793487549 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:30:32.645394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754edd50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18232154846191406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:30:42.641820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754afc70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17453289031982422 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:30:52.586784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c3170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3261170387268066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:31:03.972159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a7c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.25139594078063965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:31:32.871807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75509cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17562007904052734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:31:42.819130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75518cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18143630027770996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:31:52.821122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ac150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3311872482299805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:32:03.604250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75514c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19492888450622559 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:32:33.055934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b4cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1752784252166748 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:32:43.067417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75569bb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18081355094909668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:32:53.110392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755670f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3208322525024414 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:33:03.581908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75517d90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.26882171630859375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:33:32.374251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7548fd50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.176069974899292 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:33:42.320614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553ed10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17439508438110352 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:33:52.445094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551c1b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3268122673034668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:34:03.385600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754dfc70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.20203328132629395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:34:32.860183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754eacd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17606639862060547 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:34:42.765274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550fcb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1810305118560791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:34:52.805810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7549f050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3221399784088135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:35:04.277333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754dbcd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.23381686210632324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:35:33.178511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d1bd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1742382049560547 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:35:43.039484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a8c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17529702186584473 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:35:53.112096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554c190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3204283714294434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:36:03.027992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75573c30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19558238983154297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:36:32.314873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75581d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17957282066345215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:36:42.328681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754cfcd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17563581466674805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:36:52.253360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553d0d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3208630084991455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:37:03.777358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554cc90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.5219826698303223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:37:32.596488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c2c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17662763595581055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:37:42.496546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c1d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18051528930664062 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:37:52.486650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555b070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3305063247680664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:38:03.267081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75518b50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.20077848434448242 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:38:32.791328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75511c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17441034317016602 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:38:42.695302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75516cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18057894706726074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:38:52.693251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c7090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3248474597930908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:39:04.154391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754becf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.24576616287231445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:39:32.979624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553acf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17398595809936523 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:39:42.912780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75557bb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17452263832092285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:39:52.884736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554a170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3247332572937012 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:40:03.924162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7549bc90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1955280303955078 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:40:33.143607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ffcf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17431998252868652 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:40:43.143749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754aed10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17792773246765137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:40:53.126616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754af850>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3317830562591553 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:41:03.744068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e3cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2516622543334961 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:41:32.410544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7548dd10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17575931549072266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:41:42.363399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7548fcb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1816568374633789 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:41:52.399740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b6070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3286395072937012 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:42:03.255352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557ed10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1986527442932129 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:42:32.628129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b3cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17404508590698242 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:42:42.597004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75a77bd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17494964599609375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:42:52.653112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75592130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.335221290588379 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:43:03.997232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75489b50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2625393867492676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:43:32.892672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75506b70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.174652099609375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:43:42.888580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754cecd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17892789840698242 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:43:52.878845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ed070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3262760639190674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:44:03.655254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c5bb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19514060020446777 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:44:33.199597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7556ebd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17458605766296387 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:44:43.108349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754dac90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17447757720947266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:44:53.121216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75570130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.318721055984497 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:45:03.660258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7548ed30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.23139619827270508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:45:32.372572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75497d70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17502570152282715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:45:42.377458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551fc70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18146944046020508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:45:52.354881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755551b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3346607685089111 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:46:03.213175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553fd70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.20216965675354004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:46:32.620883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c1d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17664146423339844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:46:42.516731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75544d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18091440200805664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:46:52.517204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75589070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3360202312469482 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:47:03.919932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551db10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.26079750061035156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:47:32.780696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555ad50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17498564720153809 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:47:42.746842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bfcb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17458009719848633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:47:52.755990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a1170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.323108196258545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:48:03.514371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75534d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19887042045593262 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:48:32.991403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557dd50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17461848258972168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:48:42.963281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a5d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1753087043762207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:48:52.942333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755151d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.322070598602295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:49:03.664567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754cad10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.25473904609680176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:49:32.219118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75570d90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17589306831359863 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:49:42.242297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555cd50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.3082845211029053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:49:52.309760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75503050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3158066272735596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:50:03.229736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754cacf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.8201239109039307 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:50:32.545310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75fa9250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17421412467956543 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:50:42.558147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75583cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17472600936889648 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:50:52.522763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bf050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3211581707000732 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:51:03.787850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7556fc70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.24246001243591309 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:51:32.784996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75577c10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17496752738952637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:51:42.746284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75558c30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17937421798706055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:51:52.760342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755721b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3164823055267334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:52:03.666061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f3b70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19983506202697754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:52:32.961233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75557cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17399978637695312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:52:42.967396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553dcd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.174652099609375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:52:52.957504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755160f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3350586891174316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:53:03.402839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75564b70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.25835442543029785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:53:32.177921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555acb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1786820888519287 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:53:42.241270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75572c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17429709434509277 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:53:52.150523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75505070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3370931148529053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:54:03.080086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552fb50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 2.4549553394317627 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:54:32.369989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e5d70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17803168296813965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:54:42.425325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754aad70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17447209358215332 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:54:52.347987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7558f090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3322668075561523 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:55:03.912398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555ccb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.22664856910705566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:55:32.562870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75583b70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17550110816955566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:55:42.533127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7548cc50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17977690696716309 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:55:52.635427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ee070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.321134328842163 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:56:03.458432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7548cd10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19586682319641113 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:56:32.920513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75579b10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17432379722595215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:56:42.882102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75523c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18152785301208496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:56:52.895468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75591090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3262548446655273 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:57:04.529381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f7cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2221083641052246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:57:33.159181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754abc50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17471003532409668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:57:43.093550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754afd10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17444133758544922 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:57:53.111054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b00b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3215599060058594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:59:04.197326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f6c30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2983384132385254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 07:59:32.735589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75487d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17418622970581055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 07:59:42.599390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551a410>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1770036220550537 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 07:59:52.809614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75596130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.327329158782959 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:00:03.621351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75558c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19959545135498047 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:00:33.039823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75493df0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17455816268920898 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:00:43.006328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75549cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17479348182678223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:00:53.019858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c40b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3208575248718262 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:01:03.614694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551cc70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.22742938995361328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:01:32.167235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75553cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17832374572753906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:01:42.194558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75503d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17493152618408203 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:01:52.352282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75596070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3245975971221924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:02:03.140310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550ec50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19905900955200195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:02:32.664398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d9cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17459964752197266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:02:42.565875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7549bc10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18034577369689941 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:02:52.536137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557c090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3200132846832275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:03:04.088797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550fc90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.25144267082214355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:03:32.900802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e2cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17562246322631836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:03:42.899422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75574bf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17935538291931152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:03:52.805957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75553150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3282194137573242 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:04:03.759446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553bb10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19529223442077637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:04:33.042543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553bc10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17610836029052734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:04:43.146246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ddc10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17636728286743164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:04:53.020766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550f090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3257148265838623 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:05:03.335267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bcbb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.8662605285644531 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:05:32.222010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754dfbb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17508435249328613 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:05:42.306819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75528d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17656517028808594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:05:52.257552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552d170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3273122310638428 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:06:03.185399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754aeb70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19513249397277832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:06:32.502730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75538bf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17573094367980957 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:06:42.507514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553fcb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17563581466674805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:06:52.456265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c11b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3225643634796143 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:07:03.975966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c3d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2674388885498047 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:07:32.768623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75540b50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17524123191833496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:07:42.697811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75487cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17571377754211426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:07:52.772688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75569210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3176870346069336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:08:03.632732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75524cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19951248168945312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:08:32.971162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e0bb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1759335994720459 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:08:42.978006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555dcb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1740100383758545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:08:53.003331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555b090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3273518085479736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:09:03.556434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75565cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.23485517501831055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:09:32.211717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553acd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17658185958862305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:09:42.285986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75571cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17413759231567383 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:09:52.210253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755210f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3375606536865234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:10:03.149471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75511cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19416165351867676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:10:32.407121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75547d70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17484307289123535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:10:42.595686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ced50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17553424835205078 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:10:52.409587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75595130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3258986473083496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:11:03.942598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f3d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 4.136964559555054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:11:32.688318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b4d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17514824867248535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:11:42.701797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a2cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18158411979675293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:11:52.689080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75526110>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3369026184082031 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:12:03.574121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75567cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19547557830810547 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:12:32.940954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ddd70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17447185516357422 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:12:42.927128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75511d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17466259002685547 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:12:52.959387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bc070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3205230236053467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:13:03.579411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552ec70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2519264221191406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:13:32.158034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754cecf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17529296875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:13:42.271723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75510b50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17672443389892578 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:13:52.307840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ea050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3207645416259766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:14:03.331024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75533c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19628381729125977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:14:32.547799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7549fd50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17418432235717773 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:14:42.534925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554fd30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17446088790893555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:14:52.592550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553f170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3295273780822754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:15:04.044286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c4c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.25885939598083496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:15:32.926431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d6cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17482352256774902 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:15:42.901616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555abf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17485499382019043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:15:52.831671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e9150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3183140754699707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:16:03.815893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555cc50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19597601890563965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:16:33.084563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a9c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17485976219177246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:16:43.072190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b3d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17565393447875977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:16:53.881010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557e0b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3225901126861572 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:17:03.900511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d7c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.4258744716644287 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:17:33.050191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75558cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17514395713806152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:17:43.008424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754adcb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1741013526916504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:17:53.078974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f9170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3243603706359863 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:18:02.848328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754cecb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19439029693603516 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:18:32.281800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7549ebf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18504023551940918 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:18:42.260027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75527c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1754746437072754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:18:52.237828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555e090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3202910423278809 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:19:03.813410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c2b70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.226318359375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:19:32.487203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75538b70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1760413646697998 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:19:42.465810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554ecd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1810157299041748 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:19:52.571034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ca150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3176796436309814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:20:03.481420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75527c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.8200078010559082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:20:32.942239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554dcf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17464423179626465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:20:42.933361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75530b70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17539143562316895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:20:52.942863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75571050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3299684524536133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:21:03.569624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d9db0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2284853458404541 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:21:32.285714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754aeb50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18094110488891602 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:21:42.162780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75571d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17431640625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:21:52.171573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75517130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3196945190429688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:22:03.180308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75497c10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19787812232971191 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:22:32.406213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75552cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17710089683532715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:22:42.518859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75519cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17586350440979004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:22:52.416544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a4130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.32057785987854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:23:03.786430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:23:32.669849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f0cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17478227615356445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:23:42.655764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b5d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17466402053833008 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:23:52.709626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c2090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.323561191558838 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:24:03.744783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75574cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19623327255249023 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:24:32.923452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754fab90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17425107955932617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:24:42.935689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75562cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17424941062927246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:24:52.906129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552b0d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.321937084197998 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:25:04.252714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550dd10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.22741985321044922 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:25:33.251859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75524c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17383694648742676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:25:43.129238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7556db30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17403697967529297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:25:53.313581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bd0d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3236732482910156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:26:03.204387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555dcb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19945120811462402 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:26:32.565564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75544d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17466974258422852 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:26:42.607006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f6d70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17518305778503418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:26:52.463677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ff130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3354389667510986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:27:04.033515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b5c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.29262590408325195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:27:32.769364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b6d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17476439476013184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:27:42.780377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bcc30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.21870899200439453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:27:52.673183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f9090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3176908493041992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:28:03.724815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555bcb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1959691047668457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:28:33.071776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75544d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1744215488433838 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:28:43.068868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75520cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17458057403564453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:28:53.045356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f2070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3281779289245605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:29:03.738356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75551c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2528722286224365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:29:32.446820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75562b70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17554736137390137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:29:42.251378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7549fd50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17538666725158691 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:29:52.373225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755450b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3234376907348633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:30:03.371008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754fccb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.20128321647644043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:30:32.581377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550cb70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17515206336975098 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:30:42.572213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75574c30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1751554012298584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:30:52.579406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755510d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.324592113494873 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:31:04.150739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7556fc90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.23395395278930664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:31:32.838053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e2d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17496633529663086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:31:42.910287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75535cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17566800117492676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:31:52.802086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754cf170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3207659721374512 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:32:03.635767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d2cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19324088096618652 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:32:33.081463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75485cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17461562156677246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:32:43.010104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c9cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.3217923641204834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:32:53.066567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b5170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3252789974212646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:33:03.639949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f4d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.23094964027404785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:33:32.266690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553fcf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17756390571594238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:33:42.319870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e8cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.174774169921875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:33:52.278958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754df170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3438115119934082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:34:03.200017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75577d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19674921035766602 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:34:32.531585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553cd10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1751863956451416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:34:42.576341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554bc90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1802690029144287 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:34:52.550841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e00b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3388152122497559 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:35:04.201314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bcd30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2486710548400879 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:35:32.890538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75494cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17476725578308105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:35:42.796440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75489cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17448878288269043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:35:52.801958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754be190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3263442516326904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:36:03.633103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ddcb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19387412071228027 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:36:32.985788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c3cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17419052124023438 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:36:42.997444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75503c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17437386512756348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:36:53.084144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bc050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3269450664520264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:37:03.560093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a7c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.29071044921875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:37:32.341167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551bcf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17894911766052246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:37:42.329041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75566c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1751701831817627 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:37:52.320242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b50b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3283121585845947 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:38:03.267504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75535c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19452357292175293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:38:32.583673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75561bb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17438936233520508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:38:42.539934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a7c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17434906959533691 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:38:52.542762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ce030>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3321459293365479 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:39:04.137709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f4cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 2.530761241912842 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:39:32.940339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75510d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17529988288879395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:39:42.940718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a7cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17526888847351074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:39:52.939902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553b050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3327221870422363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:40:03.807305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a2c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19584894180297852 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:40:33.184672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7549ecb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1753990650177002 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:40:43.153293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7548cb70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17563581466674805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:40:53.169145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75526070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3213727474212646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:41:03.688450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75547c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2523834705352783 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:41:32.339636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75574d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18096065521240234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:41:42.465072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754abcb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18035554885864258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:41:52.374367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75514050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3189961910247803 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:42:03.242794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7556acf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1964278221130371 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:42:32.645828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d7b90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17411398887634277 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:42:42.543318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75549c10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18016552925109863 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:42:52.633908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755120f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3279132843017578 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:43:04.144951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75486cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.25261902809143066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:43:32.906304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75555cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1740858554840088 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:43:42.809967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c4b30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17497587203979492 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:43:52.944237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c2090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3286550045013428 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:44:03.014050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75558d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1951286792755127 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:44:32.152630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bed50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17467260360717773 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:44:42.158215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bcd90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17946791648864746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:44:52.148938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7558d0b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3413317203521729 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:45:03.683686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d6cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.24055814743041992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:45:32.378699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754becb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1779484748840332 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:45:42.378656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75fa7370>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17897748947143555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:45:52.399996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555f1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.3288826942443848 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:46:03.479036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:46:34.061293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:46:42.634141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:46:52.665915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:47:19.259835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:47:33.023506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75556cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18526625633239746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:47:42.918765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e8c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16973066329956055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:47:52.874970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7558d0d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2379438877105713 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:48:03.744292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b8bb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18823552131652832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:48:33.182313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75574d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16880130767822266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:48:43.076626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754aad10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16758131980895996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:48:53.133135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754fd150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2436623573303223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:49:03.746797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550bc30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.23404765129089355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:49:32.397069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b8d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17199468612670898 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:49:42.393754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d8cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16804289817810059 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:49:52.401957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553f070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2418296337127686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:50:03.279349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552ad30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19099760055541992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:50:32.935604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d6c30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16788125038146973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:50:42.605440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7548fc50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16773152351379395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:50:52.549592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554c110>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.251936674118042 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:51:03.955557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d6d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.25952744483947754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:51:32.803718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75549cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16838455200195312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:51:42.828854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754fdb30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16924262046813965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:51:52.923237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75547050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2424323558807373 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:52:03.838077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e9cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19444680213928223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:52:33.304610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754fccb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16945433616638184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:52:43.123161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75549cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16837143898010254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:52:53.125411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75584090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2480683326721191 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:53:03.587755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d5c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.23188447952270508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:53:32.379709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75544cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1809840202331543 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:53:42.329257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f3d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16919684410095215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:53:52.319831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75552170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2469885349273682 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:54:03.193264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b0bb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1950066089630127 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:54:32.569614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75f35950>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16893458366394043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:54:42.687316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75511d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16870737075805664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:54:52.678636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754fc0b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2478742599487305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:55:04.411722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7549bcf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.21907854080200195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:55:32.908098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755104b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16899776458740234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:55:42.907041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b5c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16933941841125488 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:55:52.980295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75fbc290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2482819557189941 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:56:02.897823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75570b70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18929696083068848 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:56:32.202892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550fd50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1677415370941162 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:56:42.171554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754dfb70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1718297004699707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:56:52.136791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7558b170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.248197317123413 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:57:04.042507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a5d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.23848319053649902 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:57:32.876650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755257d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16768574714660645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:57:42.796299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75531d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17388677597045898 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:57:52.803160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a8190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2513723373413086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:59:03.477993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7556ac70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.21972179412841797 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 08:59:32.308916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75536c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17284727096557617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 08:59:42.221007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75571d90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1672825813293457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 08:59:52.218435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d8130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2503607273101807 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:00:02.988124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b4d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18695521354675293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:00:32.418380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552eb50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17235541343688965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:00:42.448955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75514cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1681041717529297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:00:52.554859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ab130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2670059204101562 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:01:04.188766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7549fd10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.282299280166626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:01:32.869493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554bcd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1686713695526123 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:01:42.898414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75525c30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16896772384643555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:01:52.796434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b4090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2452566623687744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:02:03.713104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e8d70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1899576187133789 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:02:33.082168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x764b8f30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16728615760803223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:02:43.018507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7548dc90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16754579544067383 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:02:52.998797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75520090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.24269437789917 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:03:03.642086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754aed10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2232503890991211 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:03:32.258329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d0c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16738247871398926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:03:42.241890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75494cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.877389669418335 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:03:52.223789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75557090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.248687744140625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:04:02.954023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754dfd50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 3.4522597789764404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:04:32.452727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75516cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1688082218170166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:04:42.454625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75515c10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1677083969116211 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:04:52.444117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75531150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.254227638244629 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:05:04.124171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b1d70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.23494720458984375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:05:32.663807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75534d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16858410835266113 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:05:42.803173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754dad10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1672813892364502 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:05:52.662028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75584150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2496309280395508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:06:03.603683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75577cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18981194496154785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:06:32.926755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75574cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16806840896606445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:06:42.895450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bbc70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1676042079925537 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:06:52.905655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75528130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2410898208618164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:07:04.635849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75b507d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.21483969688415527 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:07:33.272750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75524cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16917681694030762 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:07:43.330735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75535c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1676950454711914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:07:53.281737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755620d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2490439414978027 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:08:03.250512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f4cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19230222702026367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:08:32.500840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754afd70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16807103157043457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:08:42.514196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554ed50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1685023307800293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:08:52.525237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7549f0d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2435219287872314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:09:04.171226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75526d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.23699641227722168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:09:32.750336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e4b30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16998004913330078 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:09:42.883153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75573cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16721391677856445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:09:52.861272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554a0b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2480676174163818 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:10:03.744838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ffc30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.189683198928833 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:10:33.076870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c5cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1674518585205078 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:10:43.108388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7549fcf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16836047172546387 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:10:53.076819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553b070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2433156967163086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:11:03.655095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b5c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.22523164749145508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:11:32.253517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a5cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1671888828277588 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:11:42.297031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e8d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1706078052520752 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:11:52.310897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a5150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2491867542266846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:12:03.046680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550bdb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18669724464416504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:12:32.511851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75562c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16878247261047363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:12:42.559110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bdcb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.167372465133667 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:12:52.526841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75542190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2581462860107422 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:13:03.844042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75545d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.0724844932556152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:13:34.361689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754cec70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2775733470916748 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:13:42.738858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551abd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16847634315490723 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:13:52.682221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7558c050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2520074844360352 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:14:03.619081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550cd10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.19002079963684082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:14:32.940500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b6cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16883373260498047 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:14:42.953394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552cc10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1687788963317871 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:14:52.906937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550f130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2416439056396484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:15:04.356870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75488bd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.23218226432800293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:15:33.131199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75518cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16891694068908691 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:15:43.278396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c0b70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16838979721069336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:15:53.209506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c5070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2410521507263184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:16:03.108657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75542d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18723249435424805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:16:32.560677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75533b90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16879749298095703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:16:42.432403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e4d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1696014404296875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:16:52.397833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555b1b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2550888061523438 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:17:04.043665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75538cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2440805435180664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:17:32.673828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75526c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16773605346679688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:17:42.670299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553bcf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16714763641357422 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:17:52.615645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754fd050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2481482028961182 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:18:03.432579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75584cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18973398208618164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:18:32.826130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754fdcd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1671886444091797 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:18:42.924244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75540c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16806697845458984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:18:52.905152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7558b150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.248119592666626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:19:04.498312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75579cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.20736360549926758 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:19:33.133353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553bd70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1675252914428711 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:19:43.306411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75500c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16860055923461914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:19:53.184429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75f14410>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2528254985809326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:20:02.925166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75500cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1928260326385498 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:20:32.386769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75504cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17905426025390625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:20:42.389073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557ed70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16758441925048828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:20:52.416695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75507090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2425549030303955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:21:03.782161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7556acf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.9784793853759766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:21:33.055295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75508d10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16831445693969727 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:21:42.628993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75572cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16939544677734375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:21:52.629123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75550090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2439122200012207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:22:03.567928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f9c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.6474180221557617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:22:32.888614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e0cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16809415817260742 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:22:42.871882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754dbc50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1676044464111328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:22:52.832901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e4070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2465033531188965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:23:04.611086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554ad30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.21697044372558594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:23:33.049355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75565cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1676180362701416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:23:43.110725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bfd10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16719532012939453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:23:53.295918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a5070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.248835802078247 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:24:03.239930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b1c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18861627578735352 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:24:32.670822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557dd90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16789770126342773 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:24:42.645565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754fec10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16833710670471191 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:24:52.626749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552e1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2417056560516357 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:25:03.772415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a7c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2674720287322998 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:25:32.798085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75545bd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16721034049987793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:25:42.820179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d2bb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1690537929534912 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:25:52.964835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7558b070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2513165473937988 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:26:02.938614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c5cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.8143458366394043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:26:32.383209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c8d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18500661849975586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:26:42.292189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75553c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16840910911560059 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:26:52.385208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754fe130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2495324611663818 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:27:03.872632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bdcd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2515144348144531 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:27:32.625531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75507cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16833281517028809 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:27:42.609284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75542c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1673426628112793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:27:52.579085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551f050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2516956329345703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:28:03.514463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75570b50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18841123580932617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:28:32.813489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550ecd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1676924228668213 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:28:42.760365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75500c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16909146308898926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:28:52.803983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bc130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.243438720703125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:29:04.526865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75542cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.22883868217468262 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:29:33.126746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7548fc70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16747212409973145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:29:43.155862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ffcf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16773462295532227 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:29:53.038459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ee050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2383499145507812 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:30:02.871288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e9af0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1865987777709961 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:30:32.276133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754add10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16780829429626465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:30:42.282573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c8c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16824078559875488 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:30:52.224085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c60b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2505953311920166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:31:03.768249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557fb50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.23910856246948242 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:31:32.479881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550dcb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16850996017456055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:31:42.466330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75507cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1678178310394287 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:31:52.435918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75566170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2641448974609375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:32:03.335080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557bc90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1881721019744873 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:32:32.689174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x764a7f10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1685800552368164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:32:42.669683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f9c50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17228341102600098 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:32:52.651859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7558a0f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2394905090332031 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:33:04.235970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75565d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.22478055953979492 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:33:32.892537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553dd70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16797757148742676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:33:42.898275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7549abd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16911530494689941 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:33:52.937884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75544070>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2401330471038818 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:34:02.962762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e6d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 2.151973247528076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:34:32.285869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e0cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16838598251342773 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:34:42.247542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ebd70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1674361228942871 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:34:52.277888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754fa150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2502467632293701 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:35:03.800029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552fb90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2525451183319092 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:35:32.536500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754aab70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16820907592773438 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:35:42.517192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75573b50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1687932014465332 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:35:52.528800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754fe150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2503058910369873 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:36:03.403068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75557c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1901264190673828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:36:32.752270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75566cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1673290729522705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:36:42.745778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75557c30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16753578186035156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:36:52.843813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c7170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2442610263824463 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:37:04.331725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75549cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 3.1745975017547607 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:37:33.088990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75559cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16771626472473145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:37:43.267108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75571cb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1671912670135498 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:37:53.236653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557e090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2490568161010742 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:38:03.109258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551ecd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1920948028564453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:38:32.506762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557dbf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16869640350341797 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:38:42.441782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75503cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1678605079650879 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:38:52.436858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d2050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2462050914764404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:39:04.084306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550ecb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.2271428108215332 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:39:32.727979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75547d70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16881704330444336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:39:42.708881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7548fd10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16764473915100098 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:39:52.706852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ff090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2437851428985596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:40:03.703099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75583c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18881773948669434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:40:32.924202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75498b90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1679067611694336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:40:42.973059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552cd30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16801238059997559 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:40:52.944397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75517130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2500686645507812 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:41:03.446739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bfc90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.23408126831054688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:41:32.152333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f3c30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16764330863952637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:41:42.236522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754dacb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16863656044006348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:41:52.145836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7549a170>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2489290237426758 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:42:03.106087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b0c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.18961715698242188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:42:32.379801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75556cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.17322754859924316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:42:42.410327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75559d90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16855192184448242 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:42:52.400148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75544090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2400686740875244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:43:03.726934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c2c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.23233294486999512 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 09:43:32.596749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754abcf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16748356819152832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:43:42.606749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7549ac90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.16785025596618652 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:43:52.726180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755440b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.2491331100463867 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:44:03.737258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 09:59:03.757247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg', '/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/14/image_28012025_03_15_04_9436.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_15_10328.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_25_10364.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_35_9394.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_45_10359.jpg
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_15_54_9433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332245245","1332245215","1332245238","1332245261","1332245279","1332245231"],"photo_ids_order":["1332245215","1332245231","1332245238","1332245245","1332245261","1332245279"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/675b5bd10ac0cad914b6fa93c30c20b7.jpg","text":"TemporaryFile(/tmp/multipartBody8766087147035753552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738054806387,"filename":"image_28012025_03_15_35_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3368cf45ee44031c9a9d242bca0516df.jpg","text":"TemporaryFile(/tmp/multipartBody6374351167817511668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738054806387,"filename":"image_28012025_03_15_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/1/28/7e3b295703d4414aae1fd8cf7cdac1de.jpg","text":"TemporaryFile(/tmp/multipartBody4231968416048910513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738054806387,"filename":"image_28012025_03_15_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/1/28/d018c498a150059a81440096c8b069e9.jpg","text":"TemporaryFile(/tmp/multipartBody8795255544485831772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738054806387,"filename":"image_28012025_03_15_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/1/28/d44ced76b4276b561ebf32bad7c3c57a.jpg","text":"TemporaryFile(/tmp/multipartBody817286535303693756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738054806387,"filename":"image_28012025_03_15_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/1/28/a5fd4304805b47c08e8f947eafc62134.jpg","text":"TemporaryFile(/tmp/multipartBody5870225626055859132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738054806387,"filename":"image_28012025_03_15_15_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332245238","file1":"1332245231","file0":"1332245215","file4":"1332245261","file5":"1332245279","file3":"1332245245"},"map_files_photo_id_array":[{"photo_id":"1332245279","filename":"file5"},{"photo_id":"1332245238","filename":"file2"},{"photo_id":"1332245261","filename":"file4"},{"photo_id":"1332245231","filename":"file1"},{"photo_id":"1332245215","filename":"file0"},{"photo_id":"1332245245","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332245245":["hashtag1","hashtag2"]},{"1332245215":["hashtag1","hashtag2"]},{"1332245238":["hashtag1","hashtag2"]},{"1332245261":["hashtag1","hashtag2"]},{"1332245279":["hashtag1","hashtag2"]},{"1332245231":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332245245, 1332245215, 1332245238, 1332245261, 1332245279, 1332245231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.66330003738403 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 09:59:52.749808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg', '/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_26_9359.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_36_10333.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_46_9341.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_17_56_10407.jpg
/home/pi/Desktop/images/23012025/23/17/image_23012025_23_18_07_10343.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_16_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332245303","1332245331","1332245301","1332245310","1332245396","1332245306"],"photo_ids_order":["1332245301","1332245303","1332245306","1332245310","1332245331","1332245396"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fd381ae382332de3ef2d4d2597d45227.jpg","text":"TemporaryFile(/tmp/multipartBody7661523386710323786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738054854731,"filename":"image_23012025_23_17_36_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7cd1d10f4b03cf70b33a1da94166fe26.jpg","text":"TemporaryFile(/tmp/multipartBody6319762181042878794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738054854731,"filename":"image_23012025_23_18_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/1/28/50f7be2224ab56ca9cb3e07973c14c17.jpg","text":"TemporaryFile(/tmp/multipartBody8462963956838419630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738054854731,"filename":"image_23012025_23_17_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/1/28/b9df98aff66f51b0f5c6162223945f96.jpg","text":"TemporaryFile(/tmp/multipartBody8212329254752238395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738054854731,"filename":"image_23012025_23_17_56_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5413b760ef8503fb3c3a722d92ed481e.jpg","text":"TemporaryFile(/tmp/multipartBody2139319015636907293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738054854731,"filename":"image_23012025_23_18_16_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0ea7225c6d49763ed8b3e164828aeb4a.jpg","text":"TemporaryFile(/tmp/multipartBody1656449285993347967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738054854731,"filename":"image_23012025_23_17_46_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332245306","file1":"1332245303","file0":"1332245301","file4":"1332245331","file5":"1332245396","file3":"1332245310"},"map_files_photo_id_array":[{"photo_id":"1332245396","filename":"file5"},{"photo_id":"1332245306","filename":"file2"},{"photo_id":"1332245331","filename":"file4"},{"photo_id":"1332245303","filename":"file1"},{"photo_id":"1332245301","filename":"file0"},{"photo_id":"1332245310","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332245303":["hashtag1","hashtag2"]},{"1332245331":["hashtag1","hashtag2"]},{"1332245301":["hashtag1","hashtag2"]},{"1332245310":["hashtag1","hashtag2"]},{"1332245396":["hashtag1","hashtag2"]},{"1332245306":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332245303, 1332245331, 1332245301, 1332245310, 1332245396, 1332245306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.942936182022095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 10:00:42.977883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/15/image_28012025_03_16_05_10370.jpg', '/home/pi/Desktop/images/28012025/03/16/image_28012025_03_16_15_10337.jpg', '/home/pi/Desktop/images/28012025/03/16/image_28012025_03_16_24_9413.jpg', '/home/pi/Desktop/images/28012025/03/16/image_28012025_03_16_35_10355.jpg', '/home/pi/Desktop/images/28012025/03/16/image_28012025_03_16_45_10342.jpg', '/home/pi/Desktop/images/28012025/03/16/image_28012025_03_16_55_9412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/15/image_28012025_03_16_05_10370.jpg
/home/pi/Desktop/images/28012025/03/16/image_28012025_03_16_15_10337.jpg
/home/pi/Desktop/images/28012025/03/16/image_28012025_03_16_24_9413.jpg
/home/pi/Desktop/images/28012025/03/16/image_28012025_03_16_35_10355.jpg
/home/pi/Desktop/images/28012025/03/16/image_28012025_03_16_45_10342.jpg
/home/pi/Desktop/images/28012025/03/16/image_28012025_03_16_55_9412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332245773","1332246208","1332245485","1332245488","1332246072","1332245480"],"photo_ids_order":["1332245480","1332245485","1332245488","1332245773","1332246072","1332246208"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dca95c1b08db6b7ad2fc822ad4b0b530.jpg","text":"TemporaryFile(/tmp/multipartBody4420074656834827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738054903960,"filename":"image_28012025_03_16_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/1/28/62bbcf8f40b254f367a1f7d77b1129ce.jpg","text":"TemporaryFile(/tmp/multipartBody2203149031407817457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738054903960,"filename":"image_28012025_03_16_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/1/28/a9581cf57bfeafc38fd06aa7dcd30f37.jpg","text":"TemporaryFile(/tmp/multipartBody5611913959842228574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738054903960,"filename":"image_28012025_03_16_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/1/28/5f2ff3fac61242ebea474813bdfe72a3.jpg","text":"TemporaryFile(/tmp/multipartBody5711061045896283503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738054903960,"filename":"image_28012025_03_16_24_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/52bb3444e0e77ded3dc967329c974f0c.jpg","text":"TemporaryFile(/tmp/multipartBody8612553359841596476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738054903960,"filename":"image_28012025_03_16_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/1/28/7f0436e87629b06866ae7279462dd11e.jpg","text":"TemporaryFile(/tmp/multipartBody4597988600816810972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738054903960,"filename":"image_28012025_03_16_05_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332245488","file1":"1332245485","file0":"1332245480","file4":"1332246072","file5":"1332246208","file3":"1332245773"},"map_files_photo_id_array":[{"photo_id":"1332246208","filename":"file5"},{"photo_id":"1332245488","filename":"file2"},{"photo_id":"1332246072","filename":"file4"},{"photo_id":"1332245485","filename":"file1"},{"photo_id":"1332245480","filename":"file0"},{"photo_id":"1332245773","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332245773":["hashtag1","hashtag2"]},{"1332246208":["hashtag1","hashtag2"]},{"1332245485":["hashtag1","hashtag2"]},{"1332245488":["hashtag1","hashtag2"]},{"1332246072":["hashtag1","hashtag2"]},{"1332245480":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332245773, 1332246208, 1332245485, 1332245488, 1332246072, 1332245480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23909521102905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:01:32.219853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/16/image_28012025_03_17_05_10336.jpg', '/home/pi/Desktop/images/28012025/03/17/image_28012025_03_17_14_9431.jpg', '/home/pi/Desktop/images/28012025/03/17/image_28012025_03_17_25_10359.jpg', '/home/pi/Desktop/images/28012025/03/17/image_28012025_03_17_35_10347.jpg', '/home/pi/Desktop/images/28012025/03/17/image_28012025_03_17_44_9335.jpg', '/home/pi/Desktop/images/28012025/03/17/image_28012025_03_17_55_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/16/image_28012025_03_17_05_10336.jpg
/home/pi/Desktop/images/28012025/03/17/image_28012025_03_17_14_9431.jpg
/home/pi/Desktop/images/28012025/03/17/image_28012025_03_17_25_10359.jpg
/home/pi/Desktop/images/28012025/03/17/image_28012025_03_17_35_10347.jpg
/home/pi/Desktop/images/28012025/03/17/image_28012025_03_17_44_9335.jpg
/home/pi/Desktop/images/28012025/03/17/image_28012025_03_17_55_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332246247","1332246228","1332246356","1332246242","1332246224","1332246250"],"photo_ids_order":["1332246224","1332246228","1332246242","1332246247","1332246250","1332246356"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5fe2414468a8ff3ad75359b109ec79c4.jpg","text":"TemporaryFile(/tmp/multipartBody1751985052274149872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738054953215,"filename":"image_28012025_03_17_35_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ca6c049f9d1dbb90b82be49fd3ba24fd.jpg","text":"TemporaryFile(/tmp/multipartBody5016431862876013651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738054953215,"filename":"image_28012025_03_17_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/1/28/899458486f59dc261b809ea0b5af854d.jpg","text":"TemporaryFile(/tmp/multipartBody2607852756489252396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738054953215,"filename":"image_28012025_03_17_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/1/28/214df130103379d6681848806bde5ab6.jpg","text":"TemporaryFile(/tmp/multipartBody3219824173998066558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738054953215,"filename":"image_28012025_03_17_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/1/28/7bc8be33e28afe73d1aba630bddf43f9.jpg","text":"TemporaryFile(/tmp/multipartBody2323573068279011308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738054953215,"filename":"image_28012025_03_17_05_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/85d1a4db4bd63ae014576845e7591ee3.jpg","text":"TemporaryFile(/tmp/multipartBody7673901683063554129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738054953215,"filename":"image_28012025_03_17_44_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332246242","file1":"1332246228","file0":"1332246224","file4":"1332246250","file5":"1332246356","file3":"1332246247"},"map_files_photo_id_array":[{"photo_id":"1332246356","filename":"file5"},{"photo_id":"1332246242","filename":"file2"},{"photo_id":"1332246250","filename":"file4"},{"photo_id":"1332246228","filename":"file1"},{"photo_id":"1332246224","filename":"file0"},{"photo_id":"1332246247","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332246247":["hashtag1","hashtag2"]},{"1332246228":["hashtag1","hashtag2"]},{"1332246356":["hashtag1","hashtag2"]},{"1332246242":["hashtag1","hashtag2"]},{"1332246224":["hashtag1","hashtag2"]},{"1332246250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332246247, 1332246228, 1332246356, 1332246242, 1332246224, 1332246250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.400822162628174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:02:32.534022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/17/image_28012025_03_18_05_10353.jpg', '/home/pi/Desktop/images/28012025/03/18/image_28012025_03_18_14_9402.jpg', '/home/pi/Desktop/images/28012025/03/18/image_28012025_03_18_25_10366.jpg', '/home/pi/Desktop/images/28012025/03/18/image_28012025_03_18_35_10375.jpg', '/home/pi/Desktop/images/28012025/03/18/image_28012025_03_18_45_9423.jpg', '/home/pi/Desktop/images/28012025/03/18/image_28012025_03_18_55_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/17/image_28012025_03_18_05_10353.jpg
/home/pi/Desktop/images/28012025/03/18/image_28012025_03_18_14_9402.jpg
/home/pi/Desktop/images/28012025/03/18/image_28012025_03_18_25_10366.jpg
/home/pi/Desktop/images/28012025/03/18/image_28012025_03_18_35_10375.jpg
/home/pi/Desktop/images/28012025/03/18/image_28012025_03_18_45_9423.jpg
/home/pi/Desktop/images/28012025/03/18/image_28012025_03_18_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":["1332246658","1332246646","1332246651","1332246642","1332246638","1332246655"],"photo_ids_order":["1332246638","1332246642","1332246646","1332246651","1332246655","1332246658"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e9162d1adb4805b65d798e111d850044.jpg","text":"TemporaryFile(/tmp/multipartBody1019298715341699287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055013515,"filename":"image_28012025_03_18_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/1/28/2354c9c5af9e4caf866f6b444396d8fc.jpg","text":"TemporaryFile(/tmp/multipartBody7546060511648338402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055013515,"filename":"image_28012025_03_18_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/1/28/2aec23556fc2648f0ed1e1648335eab5.jpg","text":"TemporaryFile(/tmp/multipartBody3361448615998890822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055013515,"filename":"image_28012025_03_18_35_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1329be149ed6411d99a7701ef6d87cb3.jpg","text":"TemporaryFile(/tmp/multipartBody5701274926941967667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055013515,"filename":"image_28012025_03_18_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/1/28/65c63d7841b8b5b4d837ce478781dd8c.jpg","text":"TemporaryFile(/tmp/multipartBody1555447669033441495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055013515,"filename":"image_28012025_03_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/1/28/dd118bc670cbebc116bc0ad9fa428d8b.jpg","text":"TemporaryFile(/tmp/multipartBody3249316259692786824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055013515,"filename":"image_28012025_03_18_45_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332246646","file1":"1332246642","file0":"1332246638","file4":"1332246655","file5":"1332246658","file3":"1332246651"},"map_files_photo_id_array":[{"photo_id":"1332246658","filename":"file5"},{"photo_id":"1332246646","filename":"file2"},{"photo_id":"1332246655","filename":"file4"},{"photo_id":"1332246642","filename":"file1"},{"photo_id":"1332246638","filename":"file0"},{"photo_id":"1332246651","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332246658":["hashtag1","hashtag2"]},{"1332246646":["hashtag1","hashtag2"]},{"1332246651":["hashtag1","hashtag2"]},{"1332246642":["hashtag1","hashtag2"]},{"1332246638":["hashtag1","hashtag2"]},{"1332246655":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332246658, 1332246646, 1332246651, 1332246642, 1332246638, 1332246655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45108509063721 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:03:32.791893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/18/image_28012025_03_19_04_9351.jpg', '/home/pi/Desktop/images/28012025/03/19/image_28012025_03_19_15_10413.jpg', '/home/pi/Desktop/images/28012025/03/19/image_28012025_03_19_25_10361.jpg', '/home/pi/Desktop/images/28012025/03/19/image_28012025_03_19_34_9331.jpg', '/home/pi/Desktop/images/28012025/03/19/image_28012025_03_19_45_10339.jpg', '/home/pi/Desktop/images/28012025/03/19/image_28012025_03_19_54_9485.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/18/image_28012025_03_19_04_9351.jpg
/home/pi/Desktop/images/28012025/03/19/image_28012025_03_19_15_10413.jpg
/home/pi/Desktop/images/28012025/03/19/image_28012025_03_19_25_10361.jpg
/home/pi/Desktop/images/28012025/03/19/image_28012025_03_19_34_9331.jpg
/home/pi/Desktop/images/28012025/03/19/image_28012025_03_19_45_10339.jpg
/home/pi/Desktop/images/28012025/03/19/image_28012025_03_19_54_9485.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332246831","1332246788","1332246833","1332246827","1332246728","1332246722"],"photo_ids_order":["1332246722","1332246728","1332246788","1332246827","1332246831","1332246833"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6cc5c29a305bf5d09d3d1ec03850da61.jpg","text":"TemporaryFile(/tmp/multipartBody2324639208003993835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055073772,"filename":"image_28012025_03_19_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/1/28/57a57ea43e844253315ad53a8edf8815.jpg","text":"TemporaryFile(/tmp/multipartBody1446002387769349238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055073772,"filename":"image_28012025_03_19_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/1/28/9ae54a008e9a89c7e2bdf6efc86c08c4.jpg","text":"TemporaryFile(/tmp/multipartBody8022687387466461675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055073772,"filename":"image_28012025_03_19_54_9485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7e1fac20f15a84cff9b046e83dff45bc.jpg","text":"TemporaryFile(/tmp/multipartBody9150634022981974766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055073772,"filename":"image_28012025_03_19_34_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/56031dfe06423d7b5fda362ff5348d97.jpg","text":"TemporaryFile(/tmp/multipartBody1708530849848131223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055073772,"filename":"image_28012025_03_19_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/1/28/6ec82409f50aa005a4af32d35445fc44.jpg","text":"TemporaryFile(/tmp/multipartBody8144733011169698089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055073772,"filename":"image_28012025_03_19_04_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332246788","file1":"1332246728","file0":"1332246722","file4":"1332246831","file5":"1332246833","file3":"1332246827"},"map_files_photo_id_array":[{"photo_id":"1332246833","filename":"file5"},{"photo_id":"1332246788","filename":"file2"},{"photo_id":"1332246831","filename":"file4"},{"photo_id":"1332246728","filename":"file1"},{"photo_id":"1332246722","filename":"file0"},{"photo_id":"1332246827","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332246831":["hashtag1","hashtag2"]},{"1332246788":["hashtag1","hashtag2"]},{"1332246833":["hashtag1","hashtag2"]},{"1332246827":["hashtag1","hashtag2"]},{"1332246728":["hashtag1","hashtag2"]},{"1332246722":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332246831, 1332246788, 1332246833, 1332246827, 1332246728, 1332246722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.853667974472046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:04:33.136592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/19/image_28012025_03_20_05_10400.jpg', '/home/pi/Desktop/images/28012025/03/20/image_28012025_03_20_15_10378.jpg', '/home/pi/Desktop/images/28012025/03/20/image_28012025_03_20_24_9423.jpg', '/home/pi/Desktop/images/28012025/03/20/image_28012025_03_20_35_10432.jpg', '/home/pi/Desktop/images/28012025/03/20/image_28012025_03_20_44_9466.jpg', '/home/pi/Desktop/images/28012025/03/20/image_28012025_03_20_55_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/19/image_28012025_03_20_05_10400.jpg
/home/pi/Desktop/images/28012025/03/20/image_28012025_03_20_15_10378.jpg
/home/pi/Desktop/images/28012025/03/20/image_28012025_03_20_24_9423.jpg
/home/pi/Desktop/images/28012025/03/20/image_28012025_03_20_35_10432.jpg
/home/pi/Desktop/images/28012025/03/20/image_28012025_03_20_44_9466.jpg
/home/pi/Desktop/images/28012025/03/20/image_28012025_03_20_55_10346.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6144359111785889 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 10:04:43.168548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/19/image_28012025_03_20_05_10400.jpg', '/home/pi/Desktop/images/28012025/03/20/image_28012025_03_20_15_10378.jpg', '/home/pi/Desktop/images/28012025/03/20/image_28012025_03_20_24_9423.jpg', '/home/pi/Desktop/images/28012025/03/20/image_28012025_03_20_35_10432.jpg', '/home/pi/Desktop/images/28012025/03/20/image_28012025_03_20_44_9466.jpg', '/home/pi/Desktop/images/28012025/03/20/image_28012025_03_20_55_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/19/image_28012025_03_20_05_10400.jpg
/home/pi/Desktop/images/28012025/03/20/image_28012025_03_20_15_10378.jpg
/home/pi/Desktop/images/28012025/03/20/image_28012025_03_20_24_9423.jpg
/home/pi/Desktop/images/28012025/03/20/image_28012025_03_20_35_10432.jpg
/home/pi/Desktop/images/28012025/03/20/image_28012025_03_20_44_9466.jpg
/home/pi/Desktop/images/28012025/03/20/image_28012025_03_20_55_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332247612","1332247170","1332247617","1332247622","1332247628","1332247525"],"photo_ids_order":["1332247170","1332247525","1332247612","1332247617","1332247622","1332247628"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f38be344afaf66c7e64ad09c71e89a18.jpg","text":"TemporaryFile(/tmp/multipartBody8977046217760917605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055144113,"filename":"image_28012025_03_20_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/1/28/0ab2b9868223baf7242a274bbb25eb01.jpg","text":"TemporaryFile(/tmp/multipartBody9009115163343744323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055144113,"filename":"image_28012025_03_20_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/1/28/83634be3ff4374142f562060b6c4db37.jpg","text":"TemporaryFile(/tmp/multipartBody9127995298829754800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055144113,"filename":"image_28012025_03_20_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/1/28/a208538fc853559db626ad5ecb8176fd.jpg","text":"TemporaryFile(/tmp/multipartBody2224660682855874685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055144113,"filename":"image_28012025_03_20_44_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0e6807b113c7649f8512c671fbb1e490.jpg","text":"TemporaryFile(/tmp/multipartBody8235625200430845699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055144113,"filename":"image_28012025_03_20_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/1/28/580754c1a2154ed44a08533d73279a0a.jpg","text":"TemporaryFile(/tmp/multipartBody8305624780219128972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055144113,"filename":"image_28012025_03_20_15_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332247612","file1":"1332247525","file0":"1332247170","file4":"1332247622","file5":"1332247628","file3":"1332247617"},"map_files_photo_id_array":[{"photo_id":"1332247628","filename":"file5"},{"photo_id":"1332247612","filename":"file2"},{"photo_id":"1332247622","filename":"file4"},{"photo_id":"1332247525","filename":"file1"},{"photo_id":"1332247170","filename":"file0"},{"photo_id":"1332247617","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332247612":["hashtag1","hashtag2"]},{"1332247170":["hashtag1","hashtag2"]},{"1332247617":["hashtag1","hashtag2"]},{"1332247622":["hashtag1","hashtag2"]},{"1332247628":["hashtag1","hashtag2"]},{"1332247525":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332247612, 1332247170, 1332247617, 1332247622, 1332247628, 1332247525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.20301628112793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:05:32.401216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/20/image_28012025_03_21_05_10352.jpg', '/home/pi/Desktop/images/28012025/03/21/image_28012025_03_21_14_9377.jpg', '/home/pi/Desktop/images/28012025/03/21/image_28012025_03_21_25_10453.jpg', '/home/pi/Desktop/images/28012025/03/21/image_28012025_03_21_34_9458.jpg', '/home/pi/Desktop/images/28012025/03/21/image_28012025_03_21_45_10342.jpg', '/home/pi/Desktop/images/28012025/03/21/image_28012025_03_21_55_10441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/20/image_28012025_03_21_05_10352.jpg
/home/pi/Desktop/images/28012025/03/21/image_28012025_03_21_14_9377.jpg
/home/pi/Desktop/images/28012025/03/21/image_28012025_03_21_25_10453.jpg
/home/pi/Desktop/images/28012025/03/21/image_28012025_03_21_34_9458.jpg
/home/pi/Desktop/images/28012025/03/21/image_28012025_03_21_45_10342.jpg
/home/pi/Desktop/images/28012025/03/21/image_28012025_03_21_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":["1332248075","1332248033","1332247754","1332248080","1332248134","1332247879"],"photo_ids_order":["1332247754","1332247879","1332248033","1332248075","1332248080","1332248134"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/db4840b3da5ba411308386b7cc8bf8a9.jpg","text":"TemporaryFile(/tmp/multipartBody1788064408353883928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055193424,"filename":"image_28012025_03_21_34_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/16698b0eba90b7e8a2ac5dcf47d0cc37.jpg","text":"TemporaryFile(/tmp/multipartBody9217436938467342823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055193424,"filename":"image_28012025_03_21_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/1/28/a4931929afa42abbcbcc187013076508.jpg","text":"TemporaryFile(/tmp/multipartBody366734702275681034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055193424,"filename":"image_28012025_03_21_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/1/28/86ad06c25f5ef40e59b1038304924b37.jpg","text":"TemporaryFile(/tmp/multipartBody8610160240804258288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055193424,"filename":"image_28012025_03_21_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/1/28/3fcc39946c3a25bdf2ec298d8f464106.jpg","text":"TemporaryFile(/tmp/multipartBody7552946151390171388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055193424,"filename":"image_28012025_03_21_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/1/28/d55f7bdbe10663640ebe4fb20cf88883.jpg","text":"TemporaryFile(/tmp/multipartBody4873089185961163870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055193424,"filename":"image_28012025_03_21_14_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332248033","file1":"1332247879","file0":"1332247754","file4":"1332248080","file5":"1332248134","file3":"1332248075"},"map_files_photo_id_array":[{"photo_id":"1332248134","filename":"file5"},{"photo_id":"1332248033","filename":"file2"},{"photo_id":"1332248080","filename":"file4"},{"photo_id":"1332247879","filename":"file1"},{"photo_id":"1332247754","filename":"file0"},{"photo_id":"1332248075","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332248075":["hashtag1","hashtag2"]},{"1332248033":["hashtag1","hashtag2"]},{"1332247754":["hashtag1","hashtag2"]},{"1332248080":["hashtag1","hashtag2"]},{"1332248134":["hashtag1","hashtag2"]},{"1332247879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332248075, 1332248033, 1332247754, 1332248080, 1332248134, 1332247879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.27635860443115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:06:32.661547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/21/image_28012025_03_22_05_9403.jpg', '/home/pi/Desktop/images/28012025/03/22/image_28012025_03_22_15_10359.jpg', '/home/pi/Desktop/images/28012025/03/22/image_28012025_03_22_24_9444.jpg', '/home/pi/Desktop/images/28012025/03/22/image_28012025_03_22_35_10357.jpg', '/home/pi/Desktop/images/28012025/03/22/image_28012025_03_22_45_10365.jpg', '/home/pi/Desktop/images/28012025/03/22/image_28012025_03_22_54_9385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/21/image_28012025_03_22_05_9403.jpg
/home/pi/Desktop/images/28012025/03/22/image_28012025_03_22_15_10359.jpg
/home/pi/Desktop/images/28012025/03/22/image_28012025_03_22_24_9444.jpg
/home/pi/Desktop/images/28012025/03/22/image_28012025_03_22_35_10357.jpg
/home/pi/Desktop/images/28012025/03/22/image_28012025_03_22_45_10365.jpg
/home/pi/Desktop/images/28012025/03/22/image_28012025_03_22_54_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":["1332248175","1332248169","1332248189","1332248183","1332248163","1332248193"],"photo_ids_order":["1332248163","1332248169","1332248175","1332248183","1332248189","1332248193"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/45f5dc37260ba814ffb51c8a52987900.jpg","text":"TemporaryFile(/tmp/multipartBody1165023129263189586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055253647,"filename":"image_28012025_03_22_24_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d2c7b2bb1800c1b488938cb97675b29b.jpg","text":"TemporaryFile(/tmp/multipartBody8299732215703957620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055253647,"filename":"image_28012025_03_22_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/1/28/6dfc7cf7806a91b9cf94b8a92b05ecf9.jpg","text":"TemporaryFile(/tmp/multipartBody2847842148161092247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055253647,"filename":"image_28012025_03_22_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/1/28/e0e099dbf69600cc58b4faa5cb931974.jpg","text":"TemporaryFile(/tmp/multipartBody2430914900996870228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055253647,"filename":"image_28012025_03_22_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/1/28/b10a82fcb8a9a085d29ed366bd026b94.jpg","text":"TemporaryFile(/tmp/multipartBody5949475855578077892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055253647,"filename":"image_28012025_03_22_05_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b014e0217e0d4f4c92a764426c3ccdd8.jpg","text":"TemporaryFile(/tmp/multipartBody4138546327271664057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055253647,"filename":"image_28012025_03_22_54_9385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332248175","file1":"1332248169","file0":"1332248163","file4":"1332248189","file5":"1332248193","file3":"1332248183"},"map_files_photo_id_array":[{"photo_id":"1332248193","filename":"file5"},{"photo_id":"1332248175","filename":"file2"},{"photo_id":"1332248189","filename":"file4"},{"photo_id":"1332248169","filename":"file1"},{"photo_id":"1332248163","filename":"file0"},{"photo_id":"1332248183","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332248175":["hashtag1","hashtag2"]},{"1332248169":["hashtag1","hashtag2"]},{"1332248189":["hashtag1","hashtag2"]},{"1332248183":["hashtag1","hashtag2"]},{"1332248163":["hashtag1","hashtag2"]},{"1332248193":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332248175, 1332248169, 1332248189, 1332248183, 1332248163, 1332248193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.28843688964844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:07:32.951141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/22/image_28012025_03_23_05_10401.jpg', '/home/pi/Desktop/images/28012025/03/23/image_28012025_03_23_14_9540.jpg', '/home/pi/Desktop/images/28012025/03/23/image_28012025_03_23_25_10349.jpg', '/home/pi/Desktop/images/28012025/03/23/image_28012025_03_23_35_10358.jpg', '/home/pi/Desktop/images/28012025/03/23/image_28012025_03_23_44_9344.jpg', '/home/pi/Desktop/images/28012025/03/23/image_28012025_03_23_55_10401.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/22/image_28012025_03_23_05_10401.jpg
/home/pi/Desktop/images/28012025/03/23/image_28012025_03_23_14_9540.jpg
/home/pi/Desktop/images/28012025/03/23/image_28012025_03_23_25_10349.jpg
/home/pi/Desktop/images/28012025/03/23/image_28012025_03_23_35_10358.jpg
/home/pi/Desktop/images/28012025/03/23/image_28012025_03_23_44_9344.jpg
/home/pi/Desktop/images/28012025/03/23/image_28012025_03_23_55_10401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332248226","1332248235","1332248238","1332248240","1332248242","1332248230"],"photo_ids_order":["1332248226","1332248230","1332248235","1332248238","1332248240","1332248242"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e3ff4bc8ee5182b15addd44d52f3c0f1.jpg","text":"TemporaryFile(/tmp/multipartBody5560406597322040360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055313943,"filename":"image_28012025_03_23_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/1/28/d3bdc56e6564cbd6d44ed11c1d249a47.jpg","text":"TemporaryFile(/tmp/multipartBody2980494900574958804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055313943,"filename":"image_28012025_03_23_25_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4375234767aa454024f7bcfc4e8f6740.jpg","text":"TemporaryFile(/tmp/multipartBody2343634363492153495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055313943,"filename":"image_28012025_03_23_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/1/28/52bf5f55078d6fa09695c046f884668e.jpg","text":"TemporaryFile(/tmp/multipartBody1049378549560432615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055313943,"filename":"image_28012025_03_23_44_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/523b52049d59cfcd7eb20b20c843b1dc.jpg","text":"TemporaryFile(/tmp/multipartBody4196175609286847567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055313943,"filename":"image_28012025_03_23_55_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e89d3528ed2d6c9eda039c7a134781e8.jpg","text":"TemporaryFile(/tmp/multipartBody6982515350083716412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055313943,"filename":"image_28012025_03_23_14_9540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332248235","file1":"1332248230","file0":"1332248226","file4":"1332248240","file5":"1332248242","file3":"1332248238"},"map_files_photo_id_array":[{"photo_id":"1332248242","filename":"file5"},{"photo_id":"1332248235","filename":"file2"},{"photo_id":"1332248240","filename":"file4"},{"photo_id":"1332248230","filename":"file1"},{"photo_id":"1332248226","filename":"file0"},{"photo_id":"1332248238","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332248226":["hashtag1","hashtag2"]},{"1332248235":["hashtag1","hashtag2"]},{"1332248238":["hashtag1","hashtag2"]},{"1332248240":["hashtag1","hashtag2"]},{"1332248242":["hashtag1","hashtag2"]},{"1332248230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332248226, 1332248235, 1332248238, 1332248240, 1332248242, 1332248230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.8691623210907 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:08:32.240972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/23/image_28012025_03_24_05_10348.jpg', '/home/pi/Desktop/images/28012025/03/24/image_28012025_03_24_15_9371.jpg', '/home/pi/Desktop/images/28012025/03/24/image_28012025_03_24_25_10340.jpg', '/home/pi/Desktop/images/28012025/03/24/image_28012025_03_24_34_9445.jpg', '/home/pi/Desktop/images/28012025/03/24/image_28012025_03_24_45_10344.jpg', '/home/pi/Desktop/images/28012025/03/24/image_28012025_03_24_55_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/23/image_28012025_03_24_05_10348.jpg
/home/pi/Desktop/images/28012025/03/24/image_28012025_03_24_15_9371.jpg
/home/pi/Desktop/images/28012025/03/24/image_28012025_03_24_25_10340.jpg
/home/pi/Desktop/images/28012025/03/24/image_28012025_03_24_34_9445.jpg
/home/pi/Desktop/images/28012025/03/24/image_28012025_03_24_45_10344.jpg
/home/pi/Desktop/images/28012025/03/24/image_28012025_03_24_55_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":["1332248355","1332248345","1332248339","1332248347","1332248335","1332248361"],"photo_ids_order":["1332248335","1332248339","1332248345","1332248347","1332248355","1332248361"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d2c788cbe2e74309578e6344800753ea.jpg","text":"TemporaryFile(/tmp/multipartBody6237860248602988280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055373272,"filename":"image_28012025_03_24_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/1/28/d4542580c1cc73451bb55afb1606e5d8.jpg","text":"TemporaryFile(/tmp/multipartBody7823119578645565159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055373272,"filename":"image_28012025_03_24_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/1/28/05b8aac37ea0ec4ab70b181618be6387.jpg","text":"TemporaryFile(/tmp/multipartBody8562556357637948643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055373272,"filename":"image_28012025_03_24_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/1/28/112be0fa6518be493848dd6505399b0e.jpg","text":"TemporaryFile(/tmp/multipartBody8070197791787639988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055373272,"filename":"image_28012025_03_24_34_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1c104d1145d5260fcea1fc3bfec02220.jpg","text":"TemporaryFile(/tmp/multipartBody2946702141713407338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055373272,"filename":"image_28012025_03_24_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/1/28/d938525a29a0a93a699b8e6b16a62ddb.jpg","text":"TemporaryFile(/tmp/multipartBody5021008456057101548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055373272,"filename":"image_28012025_03_24_55_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332248345","file1":"1332248339","file0":"1332248335","file4":"1332248355","file5":"1332248361","file3":"1332248347"},"map_files_photo_id_array":[{"photo_id":"1332248361","filename":"file5"},{"photo_id":"1332248345","filename":"file2"},{"photo_id":"1332248355","filename":"file4"},{"photo_id":"1332248339","filename":"file1"},{"photo_id":"1332248335","filename":"file0"},{"photo_id":"1332248347","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332248355":["hashtag1","hashtag2"]},{"1332248345":["hashtag1","hashtag2"]},{"1332248339":["hashtag1","hashtag2"]},{"1332248347":["hashtag1","hashtag2"]},{"1332248335":["hashtag1","hashtag2"]},{"1332248361":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332248355, 1332248345, 1332248339, 1332248347, 1332248335, 1332248361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.49844288825989 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:09:32.631942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/24/image_28012025_03_25_05_9447.jpg', '/home/pi/Desktop/images/28012025/03/25/image_28012025_03_25_15_10346.jpg', '/home/pi/Desktop/images/28012025/03/25/image_28012025_03_25_24_9430.jpg', '/home/pi/Desktop/images/28012025/03/25/image_28012025_03_25_35_10338.jpg', '/home/pi/Desktop/images/28012025/03/25/image_28012025_03_25_45_10349.jpg', '/home/pi/Desktop/images/28012025/03/25/image_28012025_03_25_54_9382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/24/image_28012025_03_25_05_9447.jpg
/home/pi/Desktop/images/28012025/03/25/image_28012025_03_25_15_10346.jpg
/home/pi/Desktop/images/28012025/03/25/image_28012025_03_25_24_9430.jpg
/home/pi/Desktop/images/28012025/03/25/image_28012025_03_25_35_10338.jpg
/home/pi/Desktop/images/28012025/03/25/image_28012025_03_25_45_10349.jpg
/home/pi/Desktop/images/28012025/03/25/image_28012025_03_25_54_9382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332248409","1332248405","1332248408","1332248401","1332248410","1332248397"],"photo_ids_order":["1332248397","1332248401","1332248405","1332248408","1332248409","1332248410"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/132fe7ca8b920ae347fe62dd22881100.jpg","text":"TemporaryFile(/tmp/multipartBody6386791288135087795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055433614,"filename":"image_28012025_03_25_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/1/28/6c0524cb5dc606b9a048b15840b18c13.jpg","text":"TemporaryFile(/tmp/multipartBody407857543194391839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055433614,"filename":"image_28012025_03_25_24_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b006772e51ab6aa72c80b5f95a06bb29.jpg","text":"TemporaryFile(/tmp/multipartBody5228356779214767269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055433614,"filename":"image_28012025_03_25_35_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/016533f9ecae421bec5023b0fa92e252.jpg","text":"TemporaryFile(/tmp/multipartBody2001328335602391603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055433614,"filename":"image_28012025_03_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/1/28/28271934a9eb33145761c8db155d5043.jpg","text":"TemporaryFile(/tmp/multipartBody7698313623853175609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055433614,"filename":"image_28012025_03_25_54_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/00ff795eedb2101e645abeca5b0b2b0c.jpg","text":"TemporaryFile(/tmp/multipartBody4697691587021548294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055433614,"filename":"image_28012025_03_25_05_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332248405","file1":"1332248401","file0":"1332248397","file4":"1332248409","file5":"1332248410","file3":"1332248408"},"map_files_photo_id_array":[{"photo_id":"1332248410","filename":"file5"},{"photo_id":"1332248405","filename":"file2"},{"photo_id":"1332248409","filename":"file4"},{"photo_id":"1332248401","filename":"file1"},{"photo_id":"1332248397","filename":"file0"},{"photo_id":"1332248408","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332248409":["hashtag1","hashtag2"]},{"1332248405":["hashtag1","hashtag2"]},{"1332248408":["hashtag1","hashtag2"]},{"1332248401":["hashtag1","hashtag2"]},{"1332248410":["hashtag1","hashtag2"]},{"1332248397":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332248409, 1332248405, 1332248408, 1332248401, 1332248410, 1332248397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.31257772445679 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:10:32.632515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/25/image_28012025_03_26_05_10356.jpg', '/home/pi/Desktop/images/28012025/03/26/image_28012025_03_26_15_10391.jpg', '/home/pi/Desktop/images/28012025/03/26/image_28012025_03_26_25_9456.jpg', '/home/pi/Desktop/images/28012025/03/26/image_28012025_03_26_35_10352.jpg', '/home/pi/Desktop/images/28012025/03/26/image_28012025_03_26_44_9419.jpg', '/home/pi/Desktop/images/28012025/03/26/image_28012025_03_26_55_10387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/25/image_28012025_03_26_05_10356.jpg
/home/pi/Desktop/images/28012025/03/26/image_28012025_03_26_15_10391.jpg
/home/pi/Desktop/images/28012025/03/26/image_28012025_03_26_25_9456.jpg
/home/pi/Desktop/images/28012025/03/26/image_28012025_03_26_35_10352.jpg
/home/pi/Desktop/images/28012025/03/26/image_28012025_03_26_44_9419.jpg
/home/pi/Desktop/images/28012025/03/26/image_28012025_03_26_55_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":["1332248588","1332248576","1332248555","1332248599","1332248598","1332248592"],"photo_ids_order":["1332248555","1332248576","1332248588","1332248592","1332248598","1332248599"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/156db87dc81ac3dd5d41cf2b4bdd98d3.jpg","text":"TemporaryFile(/tmp/multipartBody4621208637688403359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055493615,"filename":"image_28012025_03_26_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/1/28/f69c8aab1768692a72987230333d4d34.jpg","text":"TemporaryFile(/tmp/multipartBody6091049727320573112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055493615,"filename":"image_28012025_03_26_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/1/28/af9267f1ab106a1ad427d03bbf7a3013.jpg","text":"TemporaryFile(/tmp/multipartBody1328011349425753442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055493615,"filename":"image_28012025_03_26_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/1/28/38304787604b17ab4bf7330c02036b79.jpg","text":"TemporaryFile(/tmp/multipartBody7815065218418918937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055493615,"filename":"image_28012025_03_26_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/1/28/fa904803029d4754e2807e567eada210.jpg","text":"TemporaryFile(/tmp/multipartBody3489177522667065195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055493615,"filename":"image_28012025_03_26_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/1/28/c609fd90ebace1b08b6b49c2ded0b4bb.jpg","text":"TemporaryFile(/tmp/multipartBody319531690251772579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055493615,"filename":"image_28012025_03_26_35_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332248588","file1":"1332248576","file0":"1332248555","file4":"1332248598","file5":"1332248599","file3":"1332248592"},"map_files_photo_id_array":[{"photo_id":"1332248599","filename":"file5"},{"photo_id":"1332248588","filename":"file2"},{"photo_id":"1332248598","filename":"file4"},{"photo_id":"1332248576","filename":"file1"},{"photo_id":"1332248555","filename":"file0"},{"photo_id":"1332248592","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332248588":["hashtag1","hashtag2"]},{"1332248576":["hashtag1","hashtag2"]},{"1332248555":["hashtag1","hashtag2"]},{"1332248599":["hashtag1","hashtag2"]},{"1332248598":["hashtag1","hashtag2"]},{"1332248592":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332248588, 1332248576, 1332248555, 1332248599, 1332248598, 1332248592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.668999671936035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:11:32.284121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/27/image_28012025_03_27_14_9341.jpg', '/home/pi/Desktop/images/28012025/03/27/image_28012025_03_27_25_10457.jpg', '/home/pi/Desktop/images/28012025/03/27/image_28012025_03_27_34_9402.jpg', '/home/pi/Desktop/images/28012025/03/27/image_28012025_03_27_45_10364.jpg', '/home/pi/Desktop/images/28012025/03/27/image_28012025_03_27_55_10375.jpg', '/home/pi/Desktop/images/28012025/03/27/image_28012025_03_28_04_9414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/27/image_28012025_03_27_14_9341.jpg
/home/pi/Desktop/images/28012025/03/27/image_28012025_03_27_25_10457.jpg
/home/pi/Desktop/images/28012025/03/27/image_28012025_03_27_34_9402.jpg
/home/pi/Desktop/images/28012025/03/27/image_28012025_03_27_45_10364.jpg
/home/pi/Desktop/images/28012025/03/27/image_28012025_03_27_55_10375.jpg
/home/pi/Desktop/images/28012025/03/27/image_28012025_03_28_04_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":["1332248643","1332248669","1332248638","1332248652","1332248661","1332248634"],"photo_ids_order":["1332248634","1332248638","1332248643","1332248652","1332248661","1332248669"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/259df9448e951b7a2a4aab94d9d958e5.jpg","text":"TemporaryFile(/tmp/multipartBody8207625084558084420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055553426,"filename":"image_28012025_03_27_34_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/aec6251816961dc059d9bca0c01667d4.jpg","text":"TemporaryFile(/tmp/multipartBody8815125741795301850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055553426,"filename":"image_28012025_03_28_04_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0d5636fbdffb4bf7c24cda5074219405.jpg","text":"TemporaryFile(/tmp/multipartBody4803685418246832070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055553426,"filename":"image_28012025_03_27_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/1/28/d81f8724228b2c0d2f4775f376cf02c4.jpg","text":"TemporaryFile(/tmp/multipartBody1343567856433778533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055553426,"filename":"image_28012025_03_27_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/1/28/8dc301225d2fce268dbbb10e4e524d56.jpg","text":"TemporaryFile(/tmp/multipartBody288248781289314324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055553426,"filename":"image_28012025_03_27_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/1/28/fed6ba040fb5a2c9447d8499ec9cfd3e.jpg","text":"TemporaryFile(/tmp/multipartBody2959213599761099963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055553426,"filename":"image_28012025_03_27_14_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332248643","file1":"1332248638","file0":"1332248634","file4":"1332248661","file5":"1332248669","file3":"1332248652"},"map_files_photo_id_array":[{"photo_id":"1332248669","filename":"file5"},{"photo_id":"1332248643","filename":"file2"},{"photo_id":"1332248661","filename":"file4"},{"photo_id":"1332248638","filename":"file1"},{"photo_id":"1332248634","filename":"file0"},{"photo_id":"1332248652","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332248643":["hashtag1","hashtag2"]},{"1332248669":["hashtag1","hashtag2"]},{"1332248638":["hashtag1","hashtag2"]},{"1332248652":["hashtag1","hashtag2"]},{"1332248661":["hashtag1","hashtag2"]},{"1332248634":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332248643, 1332248669, 1332248638, 1332248652, 1332248661, 1332248634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.300591468811035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:12:32.510344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/28/image_28012025_03_28_25_10354.jpg', '/home/pi/Desktop/images/28012025/03/28/image_28012025_03_28_35_9378.jpg', '/home/pi/Desktop/images/28012025/03/28/image_28012025_03_28_45_10363.jpg', '/home/pi/Desktop/images/28012025/03/28/image_28012025_03_28_54_9427.jpg', '/home/pi/Desktop/images/28012025/03/29/image_28012025_03_29_15_10391.jpg', '/home/pi/Desktop/images/28012025/03/29/image_28012025_03_29_25_9423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/28/image_28012025_03_28_25_10354.jpg
/home/pi/Desktop/images/28012025/03/28/image_28012025_03_28_35_9378.jpg
/home/pi/Desktop/images/28012025/03/28/image_28012025_03_28_45_10363.jpg
/home/pi/Desktop/images/28012025/03/28/image_28012025_03_28_54_9427.jpg
/home/pi/Desktop/images/28012025/03/29/image_28012025_03_29_15_10391.jpg
/home/pi/Desktop/images/28012025/03/29/image_28012025_03_29_25_9423.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6251776218414307 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 10:12:42.423486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/28/image_28012025_03_28_25_10354.jpg', '/home/pi/Desktop/images/28012025/03/28/image_28012025_03_28_35_9378.jpg', '/home/pi/Desktop/images/28012025/03/28/image_28012025_03_28_45_10363.jpg', '/home/pi/Desktop/images/28012025/03/28/image_28012025_03_28_54_9427.jpg', '/home/pi/Desktop/images/28012025/03/29/image_28012025_03_29_15_10391.jpg', '/home/pi/Desktop/images/28012025/03/29/image_28012025_03_29_25_9423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/28/image_28012025_03_28_25_10354.jpg
/home/pi/Desktop/images/28012025/03/28/image_28012025_03_28_35_9378.jpg
/home/pi/Desktop/images/28012025/03/28/image_28012025_03_28_45_10363.jpg
/home/pi/Desktop/images/28012025/03/28/image_28012025_03_28_54_9427.jpg
/home/pi/Desktop/images/28012025/03/29/image_28012025_03_29_15_10391.jpg
/home/pi/Desktop/images/28012025/03/29/image_28012025_03_29_25_9423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332248742","1332248739","1332248727","1332248735","1332248723","1332248716"],"photo_ids_order":["1332248716","1332248723","1332248727","1332248735","1332248739","1332248742"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3f0c3774bc2e33eb1ae234c62d7ef544.jpg","text":"TemporaryFile(/tmp/multipartBody4083894600441260058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055623336,"filename":"image_28012025_03_29_25_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6fe4fe24664e1641bd5b1dc0d21f2106.jpg","text":"TemporaryFile(/tmp/multipartBody3193734804023488649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055623336,"filename":"image_28012025_03_29_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/1/28/dd501b9d8a1ded32cc27806cb600a974.jpg","text":"TemporaryFile(/tmp/multipartBody8179487365018181485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055623336,"filename":"image_28012025_03_28_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/1/28/af75f730d2725ac5cf213744000feb57.jpg","text":"TemporaryFile(/tmp/multipartBody6439488289558300259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055623336,"filename":"image_28012025_03_28_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/1/28/319704ddc6ad7fd4139a9ad4cda21f91.jpg","text":"TemporaryFile(/tmp/multipartBody3933328353105914176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055623336,"filename":"image_28012025_03_28_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/1/28/d07c60ea037fd3c8d28ae53da15ffe1b.jpg","text":"TemporaryFile(/tmp/multipartBody9089242034802475533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055623336,"filename":"image_28012025_03_28_25_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332248727","file1":"1332248723","file0":"1332248716","file4":"1332248739","file5":"1332248742","file3":"1332248735"},"map_files_photo_id_array":[{"photo_id":"1332248742","filename":"file5"},{"photo_id":"1332248727","filename":"file2"},{"photo_id":"1332248739","filename":"file4"},{"photo_id":"1332248723","filename":"file1"},{"photo_id":"1332248716","filename":"file0"},{"photo_id":"1332248735","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332248742":["hashtag1","hashtag2"]},{"1332248739":["hashtag1","hashtag2"]},{"1332248727":["hashtag1","hashtag2"]},{"1332248735":["hashtag1","hashtag2"]},{"1332248723":["hashtag1","hashtag2"]},{"1332248716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332248742, 1332248739, 1332248727, 1332248735, 1332248723, 1332248716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37429451942444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:13:32.683614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/29/image_28012025_03_29_35_10414.jpg', '/home/pi/Desktop/images/28012025/03/29/image_28012025_03_29_55_10374.jpg', '/home/pi/Desktop/images/28012025/03/29/image_28012025_03_30_05_10337.jpg', '/home/pi/Desktop/images/28012025/03/30/image_28012025_03_30_15_9425.jpg', '/home/pi/Desktop/images/28012025/03/30/image_28012025_03_30_25_10380.jpg', '/home/pi/Desktop/images/28012025/03/30/image_28012025_03_30_34_9457.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/29/image_28012025_03_29_35_10414.jpg
/home/pi/Desktop/images/28012025/03/29/image_28012025_03_29_55_10374.jpg
/home/pi/Desktop/images/28012025/03/29/image_28012025_03_30_05_10337.jpg
/home/pi/Desktop/images/28012025/03/30/image_28012025_03_30_15_9425.jpg
/home/pi/Desktop/images/28012025/03/30/image_28012025_03_30_25_10380.jpg
/home/pi/Desktop/images/28012025/03/30/image_28012025_03_30_34_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":["1332248780","1332248783","1332248765","1332248759","1332248776","1332248770"],"photo_ids_order":["1332248759","1332248765","1332248770","1332248776","1332248780","1332248783"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/421e16e279bc6610349aed1be190480f.jpg","text":"TemporaryFile(/tmp/multipartBody1939512738695766278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055673670,"filename":"image_28012025_03_30_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/1/28/85be0eddf4603c34561bb62fedbff356.jpg","text":"TemporaryFile(/tmp/multipartBody6410693849324933949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055673670,"filename":"image_28012025_03_30_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/1/28/b832bc1085b5bacc066f13c481b7f613.jpg","text":"TemporaryFile(/tmp/multipartBody1906005327865441529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055673670,"filename":"image_28012025_03_29_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/1/28/5fd1186544889199eb443748e66be4a6.jpg","text":"TemporaryFile(/tmp/multipartBody6533180065731634161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055673670,"filename":"image_28012025_03_29_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/1/28/5842d0da63857d0194608217e5ec8617.jpg","text":"TemporaryFile(/tmp/multipartBody7772929780746308724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055673670,"filename":"image_28012025_03_30_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/1/28/7df8bab1ab5796ef32bd67a251df16de.jpg","text":"TemporaryFile(/tmp/multipartBody4432874378398259182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055673670,"filename":"image_28012025_03_30_05_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332248770","file1":"1332248765","file0":"1332248759","file4":"1332248780","file5":"1332248783","file3":"1332248776"},"map_files_photo_id_array":[{"photo_id":"1332248783","filename":"file5"},{"photo_id":"1332248770","filename":"file2"},{"photo_id":"1332248780","filename":"file4"},{"photo_id":"1332248765","filename":"file1"},{"photo_id":"1332248759","filename":"file0"},{"photo_id":"1332248776","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332248780":["hashtag1","hashtag2"]},{"1332248783":["hashtag1","hashtag2"]},{"1332248765":["hashtag1","hashtag2"]},{"1332248759":["hashtag1","hashtag2"]},{"1332248776":["hashtag1","hashtag2"]},{"1332248770":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332248780, 1332248783, 1332248765, 1332248759, 1332248776, 1332248770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94425678253174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:14:32.882856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/30/image_28012025_03_30_45_10333.jpg', '/home/pi/Desktop/images/28012025/03/30/image_28012025_03_30_55_10364.jpg', '/home/pi/Desktop/images/28012025/03/30/image_28012025_03_31_04_9342.jpg', '/home/pi/Desktop/images/28012025/03/31/image_28012025_03_31_15_10412.jpg', '/home/pi/Desktop/images/28012025/03/31/image_28012025_03_31_25_10386.jpg', '/home/pi/Desktop/images/28012025/03/31/image_28012025_03_31_35_9326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/30/image_28012025_03_30_45_10333.jpg
/home/pi/Desktop/images/28012025/03/30/image_28012025_03_30_55_10364.jpg
/home/pi/Desktop/images/28012025/03/30/image_28012025_03_31_04_9342.jpg
/home/pi/Desktop/images/28012025/03/31/image_28012025_03_31_15_10412.jpg
/home/pi/Desktop/images/28012025/03/31/image_28012025_03_31_25_10386.jpg
/home/pi/Desktop/images/28012025/03/31/image_28012025_03_31_35_9326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332249032","1332249028","1332249022","1332248994","1332249030","1332249015"],"photo_ids_order":["1332248994","1332249015","1332249022","1332249028","1332249030","1332249032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b99e049999e66c24bccbb6047789f9c8.jpg","text":"TemporaryFile(/tmp/multipartBody7934003504275322576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055733873,"filename":"image_28012025_03_31_35_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1a07a640f583efb68e105e04a8ca3b9e.jpg","text":"TemporaryFile(/tmp/multipartBody714351627051732128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055733873,"filename":"image_28012025_03_31_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/1/28/8ca00c1997bffe1673b443861f15c8f9.jpg","text":"TemporaryFile(/tmp/multipartBody5992101869464309340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055733873,"filename":"image_28012025_03_31_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/1/28/096d455f72eb12f6467a2b747969d350.jpg","text":"TemporaryFile(/tmp/multipartBody2078317034358570076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055733873,"filename":"image_28012025_03_30_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/1/28/0bfdab8357fafea08d88ca10e2936e2d.jpg","text":"TemporaryFile(/tmp/multipartBody9039090421625970137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055733873,"filename":"image_28012025_03_31_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/1/28/8f3bdbd089cb82348a3bede0e7a666ae.jpg","text":"TemporaryFile(/tmp/multipartBody4561635649386282231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055733873,"filename":"image_28012025_03_30_55_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332249022","file1":"1332249015","file0":"1332248994","file4":"1332249030","file5":"1332249032","file3":"1332249028"},"map_files_photo_id_array":[{"photo_id":"1332249032","filename":"file5"},{"photo_id":"1332249022","filename":"file2"},{"photo_id":"1332249030","filename":"file4"},{"photo_id":"1332249015","filename":"file1"},{"photo_id":"1332248994","filename":"file0"},{"photo_id":"1332249028","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332249032":["hashtag1","hashtag2"]},{"1332249028":["hashtag1","hashtag2"]},{"1332249022":["hashtag1","hashtag2"]},{"1332248994":["hashtag1","hashtag2"]},{"1332249030":["hashtag1","hashtag2"]},{"1332249015":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332249032, 1332249028, 1332249022, 1332248994, 1332249030, 1332249015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.51549744606018 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:15:33.176815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/31/image_28012025_03_31_45_10365.jpg', '/home/pi/Desktop/images/28012025/03/31/image_28012025_03_31_54_9438.jpg', '/home/pi/Desktop/images/28012025/03/31/image_28012025_03_32_05_10332.jpg', '/home/pi/Desktop/images/28012025/03/32/image_28012025_03_32_15_10337.jpg', '/home/pi/Desktop/images/28012025/03/32/image_28012025_03_32_24_9372.jpg', '/home/pi/Desktop/images/28012025/03/32/image_28012025_03_32_35_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/31/image_28012025_03_31_45_10365.jpg
/home/pi/Desktop/images/28012025/03/31/image_28012025_03_31_54_9438.jpg
/home/pi/Desktop/images/28012025/03/31/image_28012025_03_32_05_10332.jpg
/home/pi/Desktop/images/28012025/03/32/image_28012025_03_32_15_10337.jpg
/home/pi/Desktop/images/28012025/03/32/image_28012025_03_32_24_9372.jpg
/home/pi/Desktop/images/28012025/03/32/image_28012025_03_32_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":["1332249170","1332249242","1332249404","1332249212","1332249370","1332249187"],"photo_ids_order":["1332249170","1332249187","1332249212","1332249242","1332249370","1332249404"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a899d04f34774a7a7759b1b1e59e36c5.jpg","text":"TemporaryFile(/tmp/multipartBody1190474849241520190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055794185,"filename":"image_28012025_03_31_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/1/28/333e4dcdb5b2c68b7d41bb7acc036c02.jpg","text":"TemporaryFile(/tmp/multipartBody5545092534568519500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055794185,"filename":"image_28012025_03_32_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/1/28/e87a48893754b6e94eeeb2682822c375.jpg","text":"TemporaryFile(/tmp/multipartBody3753342953451230677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055794185,"filename":"image_28012025_03_32_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/1/28/9e50b5f36ff45e33941b2c1ca6cfb036.jpg","text":"TemporaryFile(/tmp/multipartBody6581026351123361606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055794185,"filename":"image_28012025_03_32_05_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/17ada93a924c91b180a0aed51a8bcc55.jpg","text":"TemporaryFile(/tmp/multipartBody5616026124293454183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055794185,"filename":"image_28012025_03_32_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/1/28/f7ce529be9bb38f32a841981e8c58920.jpg","text":"TemporaryFile(/tmp/multipartBody25356577423273245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055794185,"filename":"image_28012025_03_31_54_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332249212","file1":"1332249187","file0":"1332249170","file4":"1332249370","file5":"1332249404","file3":"1332249242"},"map_files_photo_id_array":[{"photo_id":"1332249404","filename":"file5"},{"photo_id":"1332249212","filename":"file2"},{"photo_id":"1332249370","filename":"file4"},{"photo_id":"1332249187","filename":"file1"},{"photo_id":"1332249170","filename":"file0"},{"photo_id":"1332249242","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332249170":["hashtag1","hashtag2"]},{"1332249242":["hashtag1","hashtag2"]},{"1332249404":["hashtag1","hashtag2"]},{"1332249212":["hashtag1","hashtag2"]},{"1332249370":["hashtag1","hashtag2"]},{"1332249187":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332249170, 1332249242, 1332249404, 1332249212, 1332249370, 1332249187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69412422180176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:16:32.409144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/32/image_28012025_03_32_45_10422.jpg', '/home/pi/Desktop/images/28012025/03/32/image_28012025_03_32_55_9359.jpg', '/home/pi/Desktop/images/28012025/03/32/image_28012025_03_33_05_10333.jpg', '/home/pi/Desktop/images/28012025/03/33/image_28012025_03_33_15_10363.jpg', '/home/pi/Desktop/images/28012025/03/33/image_28012025_03_33_25_9360.jpg', '/home/pi/Desktop/images/28012025/03/33/image_28012025_03_33_35_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/32/image_28012025_03_32_45_10422.jpg
/home/pi/Desktop/images/28012025/03/32/image_28012025_03_32_55_9359.jpg
/home/pi/Desktop/images/28012025/03/32/image_28012025_03_33_05_10333.jpg
/home/pi/Desktop/images/28012025/03/33/image_28012025_03_33_15_10363.jpg
/home/pi/Desktop/images/28012025/03/33/image_28012025_03_33_25_9360.jpg
/home/pi/Desktop/images/28012025/03/33/image_28012025_03_33_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":["1332249524","1332249503","1332249517","1332249532","1332249528","1332249510"],"photo_ids_order":["1332249503","1332249510","1332249517","1332249524","1332249528","1332249532"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7990f893cec3d6b921af30283eb923b8.jpg","text":"TemporaryFile(/tmp/multipartBody300603323560008939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055853402,"filename":"image_28012025_03_33_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/1/28/cdd09cd09a11272d938f6f236f3faa96.jpg","text":"TemporaryFile(/tmp/multipartBody8472380373352747008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055853402,"filename":"image_28012025_03_32_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/1/28/cac57f4e5ced67ff3cfa55a86effd2bd.jpg","text":"TemporaryFile(/tmp/multipartBody1725359257731950901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055853402,"filename":"image_28012025_03_33_05_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/63db3fa4effb2c61b6819c15c51dc665.jpg","text":"TemporaryFile(/tmp/multipartBody1255580442069210200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055853402,"filename":"image_28012025_03_33_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/1/28/07c1eac7c8b4dc4b7c5f439f6856b668.jpg","text":"TemporaryFile(/tmp/multipartBody10365819781514549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055853402,"filename":"image_28012025_03_33_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/1/28/c44c5f48d3ba79b9cead4ab4ef598a0d.jpg","text":"TemporaryFile(/tmp/multipartBody6362354425675005140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055853402,"filename":"image_28012025_03_32_55_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332249517","file1":"1332249510","file0":"1332249503","file4":"1332249528","file5":"1332249532","file3":"1332249524"},"map_files_photo_id_array":[{"photo_id":"1332249532","filename":"file5"},{"photo_id":"1332249517","filename":"file2"},{"photo_id":"1332249528","filename":"file4"},{"photo_id":"1332249510","filename":"file1"},{"photo_id":"1332249503","filename":"file0"},{"photo_id":"1332249524","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332249524":["hashtag1","hashtag2"]},{"1332249503":["hashtag1","hashtag2"]},{"1332249517":["hashtag1","hashtag2"]},{"1332249532":["hashtag1","hashtag2"]},{"1332249528":["hashtag1","hashtag2"]},{"1332249510":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332249524, 1332249503, 1332249517, 1332249532, 1332249528, 1332249510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.934757471084595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:17:32.722960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/33/image_28012025_03_33_44_9408.jpg', '/home/pi/Desktop/images/28012025/03/33/image_28012025_03_33_55_10373.jpg', '/home/pi/Desktop/images/28012025/03/33/image_28012025_03_34_05_10422.jpg', '/home/pi/Desktop/images/28012025/03/34/image_28012025_03_34_14_9381.jpg', '/home/pi/Desktop/images/28012025/03/34/image_28012025_03_34_25_10350.jpg', '/home/pi/Desktop/images/28012025/03/34/image_28012025_03_34_35_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/33/image_28012025_03_33_44_9408.jpg
/home/pi/Desktop/images/28012025/03/33/image_28012025_03_33_55_10373.jpg
/home/pi/Desktop/images/28012025/03/33/image_28012025_03_34_05_10422.jpg
/home/pi/Desktop/images/28012025/03/34/image_28012025_03_34_14_9381.jpg
/home/pi/Desktop/images/28012025/03/34/image_28012025_03_34_25_10350.jpg
/home/pi/Desktop/images/28012025/03/34/image_28012025_03_34_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":["1332249560","1332249611","1332249616","1332249565","1332249619","1332249601"],"photo_ids_order":["1332249560","1332249565","1332249601","1332249611","1332249616","1332249619"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1aec254a3055f0f8814a2d237f585391.jpg","text":"TemporaryFile(/tmp/multipartBody1624199497781219421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055913701,"filename":"image_28012025_03_33_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/1/28/41ba3ace2c720ec796562aafe898cde7.jpg","text":"TemporaryFile(/tmp/multipartBody2295219364313169026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055913701,"filename":"image_28012025_03_34_14_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/48d8d5e142ec12fdb7ec43c40a962f29.jpg","text":"TemporaryFile(/tmp/multipartBody2720233146816578289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055913701,"filename":"image_28012025_03_34_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/1/28/ec2379ea2b26d7264f78345c7077a5d6.jpg","text":"TemporaryFile(/tmp/multipartBody6223450047146678393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055913701,"filename":"image_28012025_03_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/1/28/304a00d17c53119be75da3141b3db4ec.jpg","text":"TemporaryFile(/tmp/multipartBody6883073816215227658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055913701,"filename":"image_28012025_03_34_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/1/28/031e51d181425661529166eccb70a079.jpg","text":"TemporaryFile(/tmp/multipartBody1710696398509036390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055913701,"filename":"image_28012025_03_34_05_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332249601","file1":"1332249565","file0":"1332249560","file4":"1332249616","file5":"1332249619","file3":"1332249611"},"map_files_photo_id_array":[{"photo_id":"1332249619","filename":"file5"},{"photo_id":"1332249601","filename":"file2"},{"photo_id":"1332249616","filename":"file4"},{"photo_id":"1332249565","filename":"file1"},{"photo_id":"1332249560","filename":"file0"},{"photo_id":"1332249611","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332249560":["hashtag1","hashtag2"]},{"1332249611":["hashtag1","hashtag2"]},{"1332249616":["hashtag1","hashtag2"]},{"1332249565":["hashtag1","hashtag2"]},{"1332249619":["hashtag1","hashtag2"]},{"1332249601":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332249560, 1332249611, 1332249616, 1332249565, 1332249619, 1332249601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.57644963264465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:18:33.033866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/34/image_28012025_03_34_45_9383.jpg', '/home/pi/Desktop/images/28012025/03/34/image_28012025_03_34_55_10368.jpg', '/home/pi/Desktop/images/28012025/03/34/image_28012025_03_35_04_9393.jpg', '/home/pi/Desktop/images/28012025/03/35/image_28012025_03_35_15_10339.jpg', '/home/pi/Desktop/images/28012025/03/35/image_28012025_03_35_25_10417.jpg', '/home/pi/Desktop/images/28012025/03/35/image_28012025_03_35_35_9454.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/34/image_28012025_03_34_45_9383.jpg
/home/pi/Desktop/images/28012025/03/34/image_28012025_03_34_55_10368.jpg
/home/pi/Desktop/images/28012025/03/34/image_28012025_03_35_04_9393.jpg
/home/pi/Desktop/images/28012025/03/35/image_28012025_03_35_15_10339.jpg
/home/pi/Desktop/images/28012025/03/35/image_28012025_03_35_25_10417.jpg
/home/pi/Desktop/images/28012025/03/35/image_28012025_03_35_35_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":["1332249705","1332249677","1332249665","1332249728","1332249703","1332249699"],"photo_ids_order":["1332249665","1332249677","1332249699","1332249703","1332249705","1332249728"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6ee85d166580d9cd1754ebb3899c2364.jpg","text":"TemporaryFile(/tmp/multipartBody4621433745676126603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055974021,"filename":"image_28012025_03_35_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/1/28/06cd56ada05281ca9d33e28a49792b44.jpg","text":"TemporaryFile(/tmp/multipartBody7231206140242430751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055974021,"filename":"image_28012025_03_34_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/1/28/77d1cd3a19916d0d5a8a4381b1996f04.jpg","text":"TemporaryFile(/tmp/multipartBody6763661594980187908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055974021,"filename":"image_28012025_03_34_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/1/28/dafaedc8406e0ce6e85b07c664d91102.jpg","text":"TemporaryFile(/tmp/multipartBody1675037848482141553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055974021,"filename":"image_28012025_03_35_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/1/28/e9a30bd72838d5eaf0a37cbd46460a0a.jpg","text":"TemporaryFile(/tmp/multipartBody4731597653295990561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055974021,"filename":"image_28012025_03_35_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/1/28/0e93c8b9a00948eaf4b288c9d3fe4b9f.jpg","text":"TemporaryFile(/tmp/multipartBody4646180976646452790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738055974021,"filename":"image_28012025_03_35_04_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332249699","file1":"1332249677","file0":"1332249665","file4":"1332249705","file5":"1332249728","file3":"1332249703"},"map_files_photo_id_array":[{"photo_id":"1332249728","filename":"file5"},{"photo_id":"1332249699","filename":"file2"},{"photo_id":"1332249705","filename":"file4"},{"photo_id":"1332249677","filename":"file1"},{"photo_id":"1332249665","filename":"file0"},{"photo_id":"1332249703","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332249705":["hashtag1","hashtag2"]},{"1332249677":["hashtag1","hashtag2"]},{"1332249665":["hashtag1","hashtag2"]},{"1332249728":["hashtag1","hashtag2"]},{"1332249703":["hashtag1","hashtag2"]},{"1332249699":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332249705, 1332249677, 1332249665, 1332249728, 1332249703, 1332249699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.617751598358154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:19:32.187000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/35/image_28012025_03_35_45_10340.jpg', '/home/pi/Desktop/images/28012025/03/35/image_28012025_03_35_54_9487.jpg', '/home/pi/Desktop/images/28012025/03/35/image_28012025_03_36_05_10327.jpg', '/home/pi/Desktop/images/28012025/03/36/image_28012025_03_36_15_10347.jpg', '/home/pi/Desktop/images/28012025/03/36/image_28012025_03_36_25_9580.jpg', '/home/pi/Desktop/images/28012025/03/36/image_28012025_03_36_35_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/35/image_28012025_03_35_45_10340.jpg
/home/pi/Desktop/images/28012025/03/35/image_28012025_03_35_54_9487.jpg
/home/pi/Desktop/images/28012025/03/35/image_28012025_03_36_05_10327.jpg
/home/pi/Desktop/images/28012025/03/36/image_28012025_03_36_15_10347.jpg
/home/pi/Desktop/images/28012025/03/36/image_28012025_03_36_25_9580.jpg
/home/pi/Desktop/images/28012025/03/36/image_28012025_03_36_35_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":["1332249767","1332249784","1332249774","1332249756","1332249759","1332249753"],"photo_ids_order":["1332249753","1332249756","1332249759","1332249767","1332249774","1332249784"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e327d7e5eea21c06357a293497c43fcc.jpg","text":"TemporaryFile(/tmp/multipartBody2036485815068000581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056033179,"filename":"image_28012025_03_36_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/1/28/6e291af1616579bb343ff8a7c083c7b4.jpg","text":"TemporaryFile(/tmp/multipartBody2310434898667784180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056033179,"filename":"image_28012025_03_36_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/1/28/81b9703747c6640726afbf68bc2963ef.jpg","text":"TemporaryFile(/tmp/multipartBody8591189758077225588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056033179,"filename":"image_28012025_03_36_25_9580.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cf1b56797b0e8d6a6a08359597320063.jpg","text":"TemporaryFile(/tmp/multipartBody2908282797546786974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056033179,"filename":"image_28012025_03_35_54_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4df0685558b669f3030d23cac76fb4b8.jpg","text":"TemporaryFile(/tmp/multipartBody147123606837464242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056033179,"filename":"image_28012025_03_36_05_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dfb506ad3f7728803f2c993cd8c0b2f6.jpg","text":"TemporaryFile(/tmp/multipartBody8019281505805499639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056033179,"filename":"image_28012025_03_35_45_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332249759","file1":"1332249756","file0":"1332249753","file4":"1332249774","file5":"1332249784","file3":"1332249767"},"map_files_photo_id_array":[{"photo_id":"1332249784","filename":"file5"},{"photo_id":"1332249759","filename":"file2"},{"photo_id":"1332249774","filename":"file4"},{"photo_id":"1332249756","filename":"file1"},{"photo_id":"1332249753","filename":"file0"},{"photo_id":"1332249767","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332249767":["hashtag1","hashtag2"]},{"1332249784":["hashtag1","hashtag2"]},{"1332249774":["hashtag1","hashtag2"]},{"1332249756":["hashtag1","hashtag2"]},{"1332249759":["hashtag1","hashtag2"]},{"1332249753":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332249767, 1332249784, 1332249774, 1332249756, 1332249759, 1332249753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.09450054168701 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:20:32.343292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/36/image_28012025_03_36_44_9400.jpg', '/home/pi/Desktop/images/28012025/03/36/image_28012025_03_36_55_10367.jpg', '/home/pi/Desktop/images/28012025/03/36/image_28012025_03_37_05_10326.jpg', '/home/pi/Desktop/images/28012025/03/37/image_28012025_03_37_15_9411.jpg', '/home/pi/Desktop/images/28012025/03/37/image_28012025_03_37_25_10381.jpg', '/home/pi/Desktop/images/28012025/03/37/image_28012025_03_37_34_9473.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/36/image_28012025_03_36_44_9400.jpg
/home/pi/Desktop/images/28012025/03/36/image_28012025_03_36_55_10367.jpg
/home/pi/Desktop/images/28012025/03/36/image_28012025_03_37_05_10326.jpg
/home/pi/Desktop/images/28012025/03/37/image_28012025_03_37_15_9411.jpg
/home/pi/Desktop/images/28012025/03/37/image_28012025_03_37_25_10381.jpg
/home/pi/Desktop/images/28012025/03/37/image_28012025_03_37_34_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":["1332249980","1332249947","1332249932","1332249985","1332249973","1332249977"],"photo_ids_order":["1332249932","1332249947","1332249973","1332249977","1332249980","1332249985"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/da8c062f1212a8359be1def4e7a5ef76.jpg","text":"TemporaryFile(/tmp/multipartBody1416571422844669493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056093325,"filename":"image_28012025_03_37_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/1/28/ccc542b7090e94c5040d41d826cb7263.jpg","text":"TemporaryFile(/tmp/multipartBody9061399118060660184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056093325,"filename":"image_28012025_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/1/28/77b81b28a266ca9d792e87cf20fe54bd.jpg","text":"TemporaryFile(/tmp/multipartBody6918092788457647484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056093325,"filename":"image_28012025_03_36_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/1/28/aa91de1fc4d7d719a4ed7b2f82cc67d2.jpg","text":"TemporaryFile(/tmp/multipartBody4881970443329631975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056093325,"filename":"image_28012025_03_37_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/1/28/df4c3dc0e36e8438a2d78a6264b0f4ce.jpg","text":"TemporaryFile(/tmp/multipartBody5392765899235999464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056093325,"filename":"image_28012025_03_37_05_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/18ef8af6b0492fe85882c4436277667b.jpg","text":"TemporaryFile(/tmp/multipartBody6662517200421205822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056093325,"filename":"image_28012025_03_37_15_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332249973","file1":"1332249947","file0":"1332249932","file4":"1332249980","file5":"1332249985","file3":"1332249977"},"map_files_photo_id_array":[{"photo_id":"1332249985","filename":"file5"},{"photo_id":"1332249973","filename":"file2"},{"photo_id":"1332249980","filename":"file4"},{"photo_id":"1332249947","filename":"file1"},{"photo_id":"1332249932","filename":"file0"},{"photo_id":"1332249977","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332249980":["hashtag1","hashtag2"]},{"1332249947":["hashtag1","hashtag2"]},{"1332249932":["hashtag1","hashtag2"]},{"1332249985":["hashtag1","hashtag2"]},{"1332249973":["hashtag1","hashtag2"]},{"1332249977":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332249980, 1332249947, 1332249932, 1332249985, 1332249973, 1332249977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.90767455101013 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:21:32.585307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/37/image_28012025_03_37_45_10415.jpg', '/home/pi/Desktop/images/28012025/03/37/image_28012025_03_37_55_10354.jpg', '/home/pi/Desktop/images/28012025/03/37/image_28012025_03_38_05_9423.jpg', '/home/pi/Desktop/images/28012025/03/38/image_28012025_03_38_15_10357.jpg', '/home/pi/Desktop/images/28012025/03/38/image_28012025_03_38_24_9460.jpg', '/home/pi/Desktop/images/28012025/03/38/image_28012025_03_38_35_10376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/37/image_28012025_03_37_45_10415.jpg
/home/pi/Desktop/images/28012025/03/37/image_28012025_03_37_55_10354.jpg
/home/pi/Desktop/images/28012025/03/37/image_28012025_03_38_05_9423.jpg
/home/pi/Desktop/images/28012025/03/38/image_28012025_03_38_15_10357.jpg
/home/pi/Desktop/images/28012025/03/38/image_28012025_03_38_24_9460.jpg
/home/pi/Desktop/images/28012025/03/38/image_28012025_03_38_35_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332250053","1332250064","1332250061","1332250058","1332250025","1332250045"],"photo_ids_order":["1332250025","1332250045","1332250053","1332250058","1332250061","1332250064"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/caa5593a0c92c8bff1582247223d1f6f.jpg","text":"TemporaryFile(/tmp/multipartBody7248431639338717673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056153568,"filename":"image_28012025_03_38_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/1/28/febc4e7a34f0730b4a0a6df91dc3ccfe.jpg","text":"TemporaryFile(/tmp/multipartBody5394714814795405800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056153568,"filename":"image_28012025_03_38_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/1/28/437bf75faea4e0093ba545ce5e3891b7.jpg","text":"TemporaryFile(/tmp/multipartBody1252481387975628373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056153568,"filename":"image_28012025_03_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/1/28/b41c5244d8d090d0e526bcd38c320768.jpg","text":"TemporaryFile(/tmp/multipartBody534019546212887998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056153568,"filename":"image_28012025_03_38_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/1/28/270c7898a410627555c018948c5aa012.jpg","text":"TemporaryFile(/tmp/multipartBody2318482171911223215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056153568,"filename":"image_28012025_03_37_45_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3deeacfa379cd53fe3f845a99b1e67f6.jpg","text":"TemporaryFile(/tmp/multipartBody4750571441701899954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056153568,"filename":"image_28012025_03_37_55_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332250053","file1":"1332250045","file0":"1332250025","file4":"1332250061","file5":"1332250064","file3":"1332250058"},"map_files_photo_id_array":[{"photo_id":"1332250064","filename":"file5"},{"photo_id":"1332250053","filename":"file2"},{"photo_id":"1332250061","filename":"file4"},{"photo_id":"1332250045","filename":"file1"},{"photo_id":"1332250025","filename":"file0"},{"photo_id":"1332250058","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332250053":["hashtag1","hashtag2"]},{"1332250064":["hashtag1","hashtag2"]},{"1332250061":["hashtag1","hashtag2"]},{"1332250058":["hashtag1","hashtag2"]},{"1332250025":["hashtag1","hashtag2"]},{"1332250045":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332250053, 1332250064, 1332250061, 1332250058, 1332250025, 1332250045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.901806592941284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:22:32.831134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/38/image_28012025_03_38_45_10370.jpg', '/home/pi/Desktop/images/28012025/03/38/image_28012025_03_38_54_9363.jpg', '/home/pi/Desktop/images/28012025/03/38/image_28012025_03_39_05_10346.jpg', '/home/pi/Desktop/images/28012025/03/39/image_28012025_03_39_15_10383.jpg', '/home/pi/Desktop/images/28012025/03/39/image_28012025_03_39_25_9382.jpg', '/home/pi/Desktop/images/28012025/03/39/image_28012025_03_39_35_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/38/image_28012025_03_38_45_10370.jpg
/home/pi/Desktop/images/28012025/03/38/image_28012025_03_38_54_9363.jpg
/home/pi/Desktop/images/28012025/03/38/image_28012025_03_39_05_10346.jpg
/home/pi/Desktop/images/28012025/03/39/image_28012025_03_39_15_10383.jpg
/home/pi/Desktop/images/28012025/03/39/image_28012025_03_39_25_9382.jpg
/home/pi/Desktop/images/28012025/03/39/image_28012025_03_39_35_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5995657444000244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 10:22:42.850579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/38/image_28012025_03_38_45_10370.jpg', '/home/pi/Desktop/images/28012025/03/38/image_28012025_03_38_54_9363.jpg', '/home/pi/Desktop/images/28012025/03/38/image_28012025_03_39_05_10346.jpg', '/home/pi/Desktop/images/28012025/03/39/image_28012025_03_39_15_10383.jpg', '/home/pi/Desktop/images/28012025/03/39/image_28012025_03_39_25_9382.jpg', '/home/pi/Desktop/images/28012025/03/39/image_28012025_03_39_35_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/38/image_28012025_03_38_45_10370.jpg
/home/pi/Desktop/images/28012025/03/38/image_28012025_03_38_54_9363.jpg
/home/pi/Desktop/images/28012025/03/38/image_28012025_03_39_05_10346.jpg
/home/pi/Desktop/images/28012025/03/39/image_28012025_03_39_15_10383.jpg
/home/pi/Desktop/images/28012025/03/39/image_28012025_03_39_25_9382.jpg
/home/pi/Desktop/images/28012025/03/39/image_28012025_03_39_35_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":["1332250101","1332250109","1332250093","1332250117","1332250105","1332250098"],"photo_ids_order":["1332250093","1332250098","1332250101","1332250105","1332250109","1332250117"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6bb0c624212e8a560ef1fea2ac919ca9.jpg","text":"TemporaryFile(/tmp/multipartBody7908172332039833776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056223775,"filename":"image_28012025_03_39_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/1/28/f315148ca02e41f749661fe0d9aff63a.jpg","text":"TemporaryFile(/tmp/multipartBody8065551650140561627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056223775,"filename":"image_28012025_03_39_25_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fd7e1c22379414b60daac43d3d45ec91.jpg","text":"TemporaryFile(/tmp/multipartBody6886681828668612580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056223775,"filename":"image_28012025_03_38_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/1/28/5b45441afb3e71c96d787de3163686eb.jpg","text":"TemporaryFile(/tmp/multipartBody2230984271404691077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056223775,"filename":"image_28012025_03_39_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/1/28/76e9a8950d8c9f09eef12c764b5bca79.jpg","text":"TemporaryFile(/tmp/multipartBody2409789785496721616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056223775,"filename":"image_28012025_03_39_15_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3e91fb61325af1e826d522c100c23a7e.jpg","text":"TemporaryFile(/tmp/multipartBody1913181558120746629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056223775,"filename":"image_28012025_03_38_54_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332250101","file1":"1332250098","file0":"1332250093","file4":"1332250109","file5":"1332250117","file3":"1332250105"},"map_files_photo_id_array":[{"photo_id":"1332250117","filename":"file5"},{"photo_id":"1332250101","filename":"file2"},{"photo_id":"1332250109","filename":"file4"},{"photo_id":"1332250098","filename":"file1"},{"photo_id":"1332250093","filename":"file0"},{"photo_id":"1332250105","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332250101":["hashtag1","hashtag2"]},{"1332250109":["hashtag1","hashtag2"]},{"1332250093":["hashtag1","hashtag2"]},{"1332250117":["hashtag1","hashtag2"]},{"1332250105":["hashtag1","hashtag2"]},{"1332250098":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332250101, 1332250109, 1332250093, 1332250117, 1332250105, 1332250098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1717803478241 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:23:33.066735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/39/image_28012025_03_39_44_9414.jpg', '/home/pi/Desktop/images/28012025/03/39/image_28012025_03_39_55_10335.jpg', '/home/pi/Desktop/images/28012025/03/39/image_28012025_03_40_05_10339.jpg', '/home/pi/Desktop/images/28012025/03/40/image_28012025_03_40_14_9373.jpg', '/home/pi/Desktop/images/28012025/03/40/image_28012025_03_40_25_10368.jpg', '/home/pi/Desktop/images/28012025/03/40/image_28012025_03_40_35_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/39/image_28012025_03_39_44_9414.jpg
/home/pi/Desktop/images/28012025/03/39/image_28012025_03_39_55_10335.jpg
/home/pi/Desktop/images/28012025/03/39/image_28012025_03_40_05_10339.jpg
/home/pi/Desktop/images/28012025/03/40/image_28012025_03_40_14_9373.jpg
/home/pi/Desktop/images/28012025/03/40/image_28012025_03_40_25_10368.jpg
/home/pi/Desktop/images/28012025/03/40/image_28012025_03_40_35_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332250164","1332250166","1332250154","1332250148","1332250159","1332250168"],"photo_ids_order":["1332250148","1332250154","1332250159","1332250164","1332250166","1332250168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/36057fdf55840daf110491bb18918dd0.jpg","text":"TemporaryFile(/tmp/multipartBody8427931427260695861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056274085,"filename":"image_28012025_03_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/1/28/82bb97bf062c7aeb49e31e0ed6cbb14d.jpg","text":"TemporaryFile(/tmp/multipartBody8316903540446721105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056274085,"filename":"image_28012025_03_40_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/1/28/5dcda0d5b65f86a6485677cbbf4b5d15.jpg","text":"TemporaryFile(/tmp/multipartBody2507444181052460475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056274085,"filename":"image_28012025_03_39_55_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ebc33026e78400de83db24f41b1f2f7d.jpg","text":"TemporaryFile(/tmp/multipartBody2854681581327594295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056274085,"filename":"image_28012025_03_39_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/1/28/f962b4910625b8abdcc2e413ed969732.jpg","text":"TemporaryFile(/tmp/multipartBody7228935374202986122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056274085,"filename":"image_28012025_03_40_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/1/28/d53fff615edf2d64fe0c86d638ce7b3e.jpg","text":"TemporaryFile(/tmp/multipartBody5356386126185968111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056274085,"filename":"image_28012025_03_40_35_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332250159","file1":"1332250154","file0":"1332250148","file4":"1332250166","file5":"1332250168","file3":"1332250164"},"map_files_photo_id_array":[{"photo_id":"1332250168","filename":"file5"},{"photo_id":"1332250159","filename":"file2"},{"photo_id":"1332250166","filename":"file4"},{"photo_id":"1332250154","filename":"file1"},{"photo_id":"1332250148","filename":"file0"},{"photo_id":"1332250164","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332250164":["hashtag1","hashtag2"]},{"1332250166":["hashtag1","hashtag2"]},{"1332250154":["hashtag1","hashtag2"]},{"1332250148":["hashtag1","hashtag2"]},{"1332250159":["hashtag1","hashtag2"]},{"1332250168":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332250164, 1332250166, 1332250154, 1332250148, 1332250159, 1332250168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.85810303688049 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:24:32.427327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/40/image_28012025_03_40_45_9348.jpg', '/home/pi/Desktop/images/28012025/03/40/image_28012025_03_40_55_10413.jpg', '/home/pi/Desktop/images/28012025/03/40/image_28012025_03_41_04_9484.jpg', '/home/pi/Desktop/images/28012025/03/41/image_28012025_03_41_15_10336.jpg', '/home/pi/Desktop/images/28012025/03/41/image_28012025_03_41_25_10423.jpg', '/home/pi/Desktop/images/28012025/03/41/image_28012025_03_41_35_9397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/40/image_28012025_03_40_45_9348.jpg
/home/pi/Desktop/images/28012025/03/40/image_28012025_03_40_55_10413.jpg
/home/pi/Desktop/images/28012025/03/40/image_28012025_03_41_04_9484.jpg
/home/pi/Desktop/images/28012025/03/41/image_28012025_03_41_15_10336.jpg
/home/pi/Desktop/images/28012025/03/41/image_28012025_03_41_25_10423.jpg
/home/pi/Desktop/images/28012025/03/41/image_28012025_03_41_35_9397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332250245","1332250218","1332250243","1332250240","1332250216","1332250248"],"photo_ids_order":["1332250216","1332250218","1332250240","1332250243","1332250245","1332250248"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/076a77c42c9a0531f0db476e9e0fd4f2.jpg","text":"TemporaryFile(/tmp/multipartBody8907660151406729117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056333421,"filename":"image_28012025_03_41_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/1/28/fdcaecea312ce81e5df65490040de068.jpg","text":"TemporaryFile(/tmp/multipartBody4470524362613550963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056333421,"filename":"image_28012025_03_40_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/1/28/47cede3ad9d675b266c903c3d0eac1e0.jpg","text":"TemporaryFile(/tmp/multipartBody7108224378181667170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056333421,"filename":"image_28012025_03_41_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/1/28/64465fb5d44aa0b0596c8633cc572731.jpg","text":"TemporaryFile(/tmp/multipartBody8588713619023893994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056333421,"filename":"image_28012025_03_41_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/1/28/f20454c910894b655d846e1220759dcb.jpg","text":"TemporaryFile(/tmp/multipartBody6159787951765476935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056333421,"filename":"image_28012025_03_40_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/1/28/b6535221f8f69b8d4761c685d55b458c.jpg","text":"TemporaryFile(/tmp/multipartBody6723440368966047518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056333421,"filename":"image_28012025_03_41_35_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332250240","file1":"1332250218","file0":"1332250216","file4":"1332250245","file5":"1332250248","file3":"1332250243"},"map_files_photo_id_array":[{"photo_id":"1332250248","filename":"file5"},{"photo_id":"1332250240","filename":"file2"},{"photo_id":"1332250245","filename":"file4"},{"photo_id":"1332250218","filename":"file1"},{"photo_id":"1332250216","filename":"file0"},{"photo_id":"1332250243","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332250245":["hashtag1","hashtag2"]},{"1332250218":["hashtag1","hashtag2"]},{"1332250243":["hashtag1","hashtag2"]},{"1332250240":["hashtag1","hashtag2"]},{"1332250216":["hashtag1","hashtag2"]},{"1332250248":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332250245, 1332250218, 1332250243, 1332250240, 1332250216, 1332250248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.28096103668213 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:25:32.694860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/41/image_28012025_03_41_45_10357.jpg', '/home/pi/Desktop/images/28012025/03/41/image_28012025_03_41_54_9424.jpg', '/home/pi/Desktop/images/28012025/03/41/image_28012025_03_42_05_10333.jpg', '/home/pi/Desktop/images/28012025/03/42/image_28012025_03_42_15_10330.jpg', '/home/pi/Desktop/images/28012025/03/42/image_28012025_03_42_24_9428.jpg', '/home/pi/Desktop/images/28012025/03/42/image_28012025_03_42_35_10420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/41/image_28012025_03_41_45_10357.jpg
/home/pi/Desktop/images/28012025/03/41/image_28012025_03_41_54_9424.jpg
/home/pi/Desktop/images/28012025/03/41/image_28012025_03_42_05_10333.jpg
/home/pi/Desktop/images/28012025/03/42/image_28012025_03_42_15_10330.jpg
/home/pi/Desktop/images/28012025/03/42/image_28012025_03_42_24_9428.jpg
/home/pi/Desktop/images/28012025/03/42/image_28012025_03_42_35_10420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332250449","1332250608","1332250463","1332250343","1332250418","1332250293"],"photo_ids_order":["1332250293","1332250343","1332250418","1332250449","1332250463","1332250608"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7b9044a59b3bb81dcfb741b111afb48a.jpg","text":"TemporaryFile(/tmp/multipartBody783029667171132900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056393684,"filename":"image_28012025_03_42_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/1/28/6c8fe124d4c1b7eb79888ebdd44accc8.jpg","text":"TemporaryFile(/tmp/multipartBody8979923999087232110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056393684,"filename":"image_28012025_03_42_35_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/93a3f59b10dd43309d21316ac19762eb.jpg","text":"TemporaryFile(/tmp/multipartBody3452313522165666706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056393684,"filename":"image_28012025_03_42_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/1/28/3fd5b6ccd7da09d14655187a07861abe.jpg","text":"TemporaryFile(/tmp/multipartBody2852804853783680531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056393684,"filename":"image_28012025_03_41_54_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c561d11656b6e5924b7389fa2fd76fea.jpg","text":"TemporaryFile(/tmp/multipartBody7635108426567574971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056393684,"filename":"image_28012025_03_42_05_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9637f1dd0e27a2a482596442f8198394.jpg","text":"TemporaryFile(/tmp/multipartBody3478542492791221491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056393684,"filename":"image_28012025_03_41_45_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332250418","file1":"1332250343","file0":"1332250293","file4":"1332250463","file5":"1332250608","file3":"1332250449"},"map_files_photo_id_array":[{"photo_id":"1332250608","filename":"file5"},{"photo_id":"1332250418","filename":"file2"},{"photo_id":"1332250463","filename":"file4"},{"photo_id":"1332250343","filename":"file1"},{"photo_id":"1332250293","filename":"file0"},{"photo_id":"1332250449","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332250449":["hashtag1","hashtag2"]},{"1332250608":["hashtag1","hashtag2"]},{"1332250463":["hashtag1","hashtag2"]},{"1332250343":["hashtag1","hashtag2"]},{"1332250418":["hashtag1","hashtag2"]},{"1332250293":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332250449, 1332250608, 1332250463, 1332250343, 1332250418, 1332250293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.706833600997925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:26:32.970873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/42/image_28012025_03_42_44_9472.jpg', '/home/pi/Desktop/images/28012025/03/42/image_28012025_03_42_55_10356.jpg', '/home/pi/Desktop/images/28012025/03/42/image_28012025_03_43_05_10342.jpg', '/home/pi/Desktop/images/28012025/03/43/image_28012025_03_43_14_9380.jpg', '/home/pi/Desktop/images/28012025/03/43/image_28012025_03_43_35_10362.jpg', '/home/pi/Desktop/images/28012025/03/43/image_28012025_03_43_45_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/42/image_28012025_03_42_44_9472.jpg
/home/pi/Desktop/images/28012025/03/42/image_28012025_03_42_55_10356.jpg
/home/pi/Desktop/images/28012025/03/42/image_28012025_03_43_05_10342.jpg
/home/pi/Desktop/images/28012025/03/43/image_28012025_03_43_14_9380.jpg
/home/pi/Desktop/images/28012025/03/43/image_28012025_03_43_35_10362.jpg
/home/pi/Desktop/images/28012025/03/43/image_28012025_03_43_45_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332250851","1332250913","1332250862","1332250894","1332250714","1332250890"],"photo_ids_order":["1332250714","1332250851","1332250862","1332250890","1332250894","1332250913"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8be75755650ffa0698572ce228d82be1.jpg","text":"TemporaryFile(/tmp/multipartBody965920853759867400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056453962,"filename":"image_28012025_03_42_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/1/28/ca0dccdb1c57361edc1d85dfa8b08802.jpg","text":"TemporaryFile(/tmp/multipartBody543179694171965484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056453962,"filename":"image_28012025_03_43_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/1/28/f157923a7039c991c46a2f0c1225da17.jpg","text":"TemporaryFile(/tmp/multipartBody227840253977457756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056453962,"filename":"image_28012025_03_43_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/1/28/0111ce1f96ffe151ea106593eb1f3a43.jpg","text":"TemporaryFile(/tmp/multipartBody6043461512934805075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056453962,"filename":"image_28012025_03_43_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/1/28/d12d8da83ebdc877b7f7b8637d05feca.jpg","text":"TemporaryFile(/tmp/multipartBody2609770913116770408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056453962,"filename":"image_28012025_03_42_44_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a8e84b825c293f43c020c38cbcb38040.jpg","text":"TemporaryFile(/tmp/multipartBody3287650774102483066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056453962,"filename":"image_28012025_03_43_14_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332250862","file1":"1332250851","file0":"1332250714","file4":"1332250894","file5":"1332250913","file3":"1332250890"},"map_files_photo_id_array":[{"photo_id":"1332250913","filename":"file5"},{"photo_id":"1332250862","filename":"file2"},{"photo_id":"1332250894","filename":"file4"},{"photo_id":"1332250851","filename":"file1"},{"photo_id":"1332250714","filename":"file0"},{"photo_id":"1332250890","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332250851":["hashtag1","hashtag2"]},{"1332250913":["hashtag1","hashtag2"]},{"1332250862":["hashtag1","hashtag2"]},{"1332250894":["hashtag1","hashtag2"]},{"1332250714":["hashtag1","hashtag2"]},{"1332250890":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332250851, 1332250913, 1332250862, 1332250894, 1332250714, 1332250890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.73357558250427 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:27:33.155538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/43/image_28012025_03_43_55_10345.jpg', '/home/pi/Desktop/images/28012025/03/43/image_28012025_03_44_04_9458.jpg', '/home/pi/Desktop/images/28012025/03/44/image_28012025_03_44_15_10386.jpg', '/home/pi/Desktop/images/28012025/03/44/image_28012025_03_44_25_10421.jpg', '/home/pi/Desktop/images/28012025/03/44/image_28012025_03_44_35_9347.jpg', '/home/pi/Desktop/images/28012025/03/44/image_28012025_03_44_45_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/43/image_28012025_03_43_55_10345.jpg
/home/pi/Desktop/images/28012025/03/43/image_28012025_03_44_04_9458.jpg
/home/pi/Desktop/images/28012025/03/44/image_28012025_03_44_15_10386.jpg
/home/pi/Desktop/images/28012025/03/44/image_28012025_03_44_25_10421.jpg
/home/pi/Desktop/images/28012025/03/44/image_28012025_03_44_35_9347.jpg
/home/pi/Desktop/images/28012025/03/44/image_28012025_03_44_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":["1332251000","1332250993","1332251005","1332251014","1332250983","1332251010"],"photo_ids_order":["1332250983","1332250993","1332251000","1332251005","1332251010","1332251014"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9e42e7aacaceca8c76b99d735fbef77c.jpg","text":"TemporaryFile(/tmp/multipartBody5627961527488473669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056514145,"filename":"image_28012025_03_44_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/1/28/e529e9b25d19ac25d65d931406e55d9a.jpg","text":"TemporaryFile(/tmp/multipartBody1144693061255196008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056514145,"filename":"image_28012025_03_44_04_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c11734b9302444aa2319dfd7f7236178.jpg","text":"TemporaryFile(/tmp/multipartBody363764586361968988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056514145,"filename":"image_28012025_03_44_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/1/28/b0151d8ffe0c76721a36f48c6ac67f69.jpg","text":"TemporaryFile(/tmp/multipartBody46958925842005070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056514145,"filename":"image_28012025_03_44_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/1/28/f4cc77cc089f7514c616165b2b26d95a.jpg","text":"TemporaryFile(/tmp/multipartBody6266816562296992716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056514145,"filename":"image_28012025_03_43_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/1/28/fe8f78db3c219f18cce46d5827ea91c0.jpg","text":"TemporaryFile(/tmp/multipartBody4905242101403634592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056514145,"filename":"image_28012025_03_44_35_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332251000","file1":"1332250993","file0":"1332250983","file4":"1332251010","file5":"1332251014","file3":"1332251005"},"map_files_photo_id_array":[{"photo_id":"1332251014","filename":"file5"},{"photo_id":"1332251000","filename":"file2"},{"photo_id":"1332251010","filename":"file4"},{"photo_id":"1332250993","filename":"file1"},{"photo_id":"1332250983","filename":"file0"},{"photo_id":"1332251005","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332251000":["hashtag1","hashtag2"]},{"1332250993":["hashtag1","hashtag2"]},{"1332251005":["hashtag1","hashtag2"]},{"1332251014":["hashtag1","hashtag2"]},{"1332250983":["hashtag1","hashtag2"]},{"1332251010":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332251000, 1332250993, 1332251005, 1332251014, 1332250983, 1332251010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.492573261260986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:28:32.408350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/44/image_28012025_03_44_54_9436.jpg', '/home/pi/Desktop/images/28012025/03/44/image_28012025_03_45_05_10359.jpg', '/home/pi/Desktop/images/28012025/03/45/image_28012025_03_45_15_10374.jpg', '/home/pi/Desktop/images/28012025/03/45/image_28012025_03_45_25_9450.jpg', '/home/pi/Desktop/images/28012025/03/45/image_28012025_03_45_35_10419.jpg', '/home/pi/Desktop/images/28012025/03/45/image_28012025_03_45_44_9455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/44/image_28012025_03_44_54_9436.jpg
/home/pi/Desktop/images/28012025/03/44/image_28012025_03_45_05_10359.jpg
/home/pi/Desktop/images/28012025/03/45/image_28012025_03_45_15_10374.jpg
/home/pi/Desktop/images/28012025/03/45/image_28012025_03_45_25_9450.jpg
/home/pi/Desktop/images/28012025/03/45/image_28012025_03_45_35_10419.jpg
/home/pi/Desktop/images/28012025/03/45/image_28012025_03_45_44_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":["1332251045","1332251041","1332251050","1332251038","1332251064","1332251058"],"photo_ids_order":["1332251038","1332251041","1332251045","1332251050","1332251058","1332251064"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e1f88140be8c738ce94ad6201222b5b7.jpg","text":"TemporaryFile(/tmp/multipartBody7127003056829009090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056573393,"filename":"image_28012025_03_45_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/1/28/849b28e0eb33136d8bbdaea1db6eb426.jpg","text":"TemporaryFile(/tmp/multipartBody8467342623624902038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056573393,"filename":"image_28012025_03_45_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/1/28/b04e278fabeed17bcc346e8b64d404c7.jpg","text":"TemporaryFile(/tmp/multipartBody8625228253624119280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056573393,"filename":"image_28012025_03_45_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/1/28/5020bbbdf7c9e571a104200d81aa9fb3.jpg","text":"TemporaryFile(/tmp/multipartBody5588113965568255687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056573393,"filename":"image_28012025_03_44_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/1/28/8872318c7bb54a4da3477b1ddb59c01e.jpg","text":"TemporaryFile(/tmp/multipartBody4614738383853417793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056573393,"filename":"image_28012025_03_45_44_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3f2228958f242adaca3776b2e96a2c61.jpg","text":"TemporaryFile(/tmp/multipartBody2274454768338706133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056573393,"filename":"image_28012025_03_45_35_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332251045","file1":"1332251041","file0":"1332251038","file4":"1332251058","file5":"1332251064","file3":"1332251050"},"map_files_photo_id_array":[{"photo_id":"1332251064","filename":"file5"},{"photo_id":"1332251045","filename":"file2"},{"photo_id":"1332251058","filename":"file4"},{"photo_id":"1332251041","filename":"file1"},{"photo_id":"1332251038","filename":"file0"},{"photo_id":"1332251050","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332251045":["hashtag1","hashtag2"]},{"1332251041":["hashtag1","hashtag2"]},{"1332251050":["hashtag1","hashtag2"]},{"1332251038":["hashtag1","hashtag2"]},{"1332251064":["hashtag1","hashtag2"]},{"1332251058":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332251045, 1332251041, 1332251050, 1332251038, 1332251064, 1332251058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67657494544983 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:29:32.691114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/45/image_28012025_03_45_55_10361.jpg', '/home/pi/Desktop/images/28012025/03/45/image_28012025_03_46_05_10347.jpg', '/home/pi/Desktop/images/28012025/03/46/image_28012025_03_46_14_9338.jpg', '/home/pi/Desktop/images/28012025/03/46/image_28012025_03_46_25_10354.jpg', '/home/pi/Desktop/images/28012025/03/46/image_28012025_03_46_35_10422.jpg', '/home/pi/Desktop/images/28012025/03/46/image_28012025_03_46_45_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/45/image_28012025_03_45_55_10361.jpg
/home/pi/Desktop/images/28012025/03/45/image_28012025_03_46_05_10347.jpg
/home/pi/Desktop/images/28012025/03/46/image_28012025_03_46_14_9338.jpg
/home/pi/Desktop/images/28012025/03/46/image_28012025_03_46_25_10354.jpg
/home/pi/Desktop/images/28012025/03/46/image_28012025_03_46_35_10422.jpg
/home/pi/Desktop/images/28012025/03/46/image_28012025_03_46_45_9352.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6002185344696045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 10:29:42.617323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/45/image_28012025_03_45_55_10361.jpg', '/home/pi/Desktop/images/28012025/03/45/image_28012025_03_46_05_10347.jpg', '/home/pi/Desktop/images/28012025/03/46/image_28012025_03_46_14_9338.jpg', '/home/pi/Desktop/images/28012025/03/46/image_28012025_03_46_25_10354.jpg', '/home/pi/Desktop/images/28012025/03/46/image_28012025_03_46_35_10422.jpg', '/home/pi/Desktop/images/28012025/03/46/image_28012025_03_46_45_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/45/image_28012025_03_45_55_10361.jpg
/home/pi/Desktop/images/28012025/03/45/image_28012025_03_46_05_10347.jpg
/home/pi/Desktop/images/28012025/03/46/image_28012025_03_46_14_9338.jpg
/home/pi/Desktop/images/28012025/03/46/image_28012025_03_46_25_10354.jpg
/home/pi/Desktop/images/28012025/03/46/image_28012025_03_46_35_10422.jpg
/home/pi/Desktop/images/28012025/03/46/image_28012025_03_46_45_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332251183","1332251149","1332251143","1332251146","1332251169","1332251139"],"photo_ids_order":["1332251139","1332251143","1332251146","1332251149","1332251169","1332251183"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b71be7b6d8a59136ce4998018cb25ac4.jpg","text":"TemporaryFile(/tmp/multipartBody2819833548215043747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056643514,"filename":"image_28012025_03_46_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/1/28/47bc4a7ea68a7f9b1ad3a54875441be7.jpg","text":"TemporaryFile(/tmp/multipartBody5049939244332192441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056643514,"filename":"image_28012025_03_46_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/1/28/a008c97149ec728be5af759f8b7adc54.jpg","text":"TemporaryFile(/tmp/multipartBody7098758499532568893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056643514,"filename":"image_28012025_03_46_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/1/28/adb7bbdbaed8c7e88b1a819234f24309.jpg","text":"TemporaryFile(/tmp/multipartBody6160756198389000784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056643514,"filename":"image_28012025_03_46_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/1/28/955b84ca17d3b22d7dbcd336bf884270.jpg","text":"TemporaryFile(/tmp/multipartBody1553774903722514781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056643514,"filename":"image_28012025_03_46_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/1/28/d3e47d912c49a777005bda17fa922731.jpg","text":"TemporaryFile(/tmp/multipartBody4944119738869281905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056643514,"filename":"image_28012025_03_45_55_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332251146","file1":"1332251143","file0":"1332251139","file4":"1332251169","file5":"1332251183","file3":"1332251149"},"map_files_photo_id_array":[{"photo_id":"1332251183","filename":"file5"},{"photo_id":"1332251146","filename":"file2"},{"photo_id":"1332251169","filename":"file4"},{"photo_id":"1332251143","filename":"file1"},{"photo_id":"1332251139","filename":"file0"},{"photo_id":"1332251149","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332251183":["hashtag1","hashtag2"]},{"1332251149":["hashtag1","hashtag2"]},{"1332251143":["hashtag1","hashtag2"]},{"1332251146":["hashtag1","hashtag2"]},{"1332251169":["hashtag1","hashtag2"]},{"1332251139":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332251183, 1332251149, 1332251143, 1332251146, 1332251169, 1332251139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75077748298645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:30:32.805363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/46/image_28012025_03_46_55_10418.jpg', '/home/pi/Desktop/images/28012025/03/46/image_28012025_03_47_04_9437.jpg', '/home/pi/Desktop/images/28012025/03/47/image_28012025_03_47_15_10437.jpg', '/home/pi/Desktop/images/28012025/03/47/image_28012025_03_47_24_9501.jpg', '/home/pi/Desktop/images/28012025/03/47/image_28012025_03_47_35_10347.jpg', '/home/pi/Desktop/images/28012025/03/47/image_28012025_03_47_45_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/46/image_28012025_03_46_55_10418.jpg
/home/pi/Desktop/images/28012025/03/46/image_28012025_03_47_04_9437.jpg
/home/pi/Desktop/images/28012025/03/47/image_28012025_03_47_15_10437.jpg
/home/pi/Desktop/images/28012025/03/47/image_28012025_03_47_24_9501.jpg
/home/pi/Desktop/images/28012025/03/47/image_28012025_03_47_35_10347.jpg
/home/pi/Desktop/images/28012025/03/47/image_28012025_03_47_45_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":["1332251288","1332251282","1332251276","1332251221","1332251271","1332251285"],"photo_ids_order":["1332251221","1332251271","1332251276","1332251282","1332251285","1332251288"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4719c727de02ba2935c745f50bf52508.jpg","text":"TemporaryFile(/tmp/multipartBody3454209649657066859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056693780,"filename":"image_28012025_03_47_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/1/28/d32545a14d7b9bc3f904f0099525d5c3.jpg","text":"TemporaryFile(/tmp/multipartBody778661395445638286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056693780,"filename":"image_28012025_03_47_24_9501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/75935e3b574a22f47296b67b29c7c992.jpg","text":"TemporaryFile(/tmp/multipartBody894253496331804979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056693780,"filename":"image_28012025_03_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/1/28/fbbd54c7b69d096a67b8960087d05f94.jpg","text":"TemporaryFile(/tmp/multipartBody3116456081725228132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056693780,"filename":"image_28012025_03_46_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/1/28/037378a2d79279b41a13a2efe5c37fa6.jpg","text":"TemporaryFile(/tmp/multipartBody1560613140134184349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056693780,"filename":"image_28012025_03_47_04_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ae5715037adebde1376809529280ee09.jpg","text":"TemporaryFile(/tmp/multipartBody91714205838883580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056693780,"filename":"image_28012025_03_47_35_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332251276","file1":"1332251271","file0":"1332251221","file4":"1332251285","file5":"1332251288","file3":"1332251282"},"map_files_photo_id_array":[{"photo_id":"1332251288","filename":"file5"},{"photo_id":"1332251276","filename":"file2"},{"photo_id":"1332251285","filename":"file4"},{"photo_id":"1332251271","filename":"file1"},{"photo_id":"1332251221","filename":"file0"},{"photo_id":"1332251282","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332251288":["hashtag1","hashtag2"]},{"1332251282":["hashtag1","hashtag2"]},{"1332251276":["hashtag1","hashtag2"]},{"1332251221":["hashtag1","hashtag2"]},{"1332251271":["hashtag1","hashtag2"]},{"1332251285":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332251288, 1332251282, 1332251276, 1332251221, 1332251271, 1332251285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.48960781097412 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:31:33.192898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/47/image_28012025_03_47_55_10031.jpg', '/home/pi/Desktop/images/28012025/03/47/image_28012025_03_48_04_9345.jpg', '/home/pi/Desktop/images/28012025/03/48/image_28012025_03_48_15_10343.jpg', '/home/pi/Desktop/images/28012025/03/48/image_28012025_03_48_25_10368.jpg', '/home/pi/Desktop/images/28012025/03/48/image_28012025_03_48_35_9417.jpg', '/home/pi/Desktop/images/28012025/03/48/image_28012025_03_48_45_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/47/image_28012025_03_47_55_10031.jpg
/home/pi/Desktop/images/28012025/03/47/image_28012025_03_48_04_9345.jpg
/home/pi/Desktop/images/28012025/03/48/image_28012025_03_48_15_10343.jpg
/home/pi/Desktop/images/28012025/03/48/image_28012025_03_48_25_10368.jpg
/home/pi/Desktop/images/28012025/03/48/image_28012025_03_48_35_9417.jpg
/home/pi/Desktop/images/28012025/03/48/image_28012025_03_48_45_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332251342","1332251318","1332251341","1332251329","1332251338","1332251343"],"photo_ids_order":["1332251318","1332251329","1332251338","1332251341","1332251342","1332251343"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7dc2292dce4b11a0d1def37dc31a357b.jpg","text":"TemporaryFile(/tmp/multipartBody8230705150795869581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056754187,"filename":"image_28012025_03_48_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/1/28/bc67293ee2e51bd3371a735896c0c4cd.jpg","text":"TemporaryFile(/tmp/multipartBody6592817489264111906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056754187,"filename":"image_28012025_03_47_55_10031.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2195456ee845a7210361de86d75302be.jpg","text":"TemporaryFile(/tmp/multipartBody2901107898824671446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056754187,"filename":"image_28012025_03_48_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/1/28/0feb1b750593c317944c6b97eaa602c4.jpg","text":"TemporaryFile(/tmp/multipartBody2856220978846934017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056754187,"filename":"image_28012025_03_48_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/1/28/f1db195d05c9290a025d3226745bb431.jpg","text":"TemporaryFile(/tmp/multipartBody4566012025790888101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056754187,"filename":"image_28012025_03_48_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/1/28/19f6a354da6bfc4b6a1401ca839c9826.jpg","text":"TemporaryFile(/tmp/multipartBody1235753222359428078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056754187,"filename":"image_28012025_03_48_45_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332251338","file1":"1332251329","file0":"1332251318","file4":"1332251342","file5":"1332251343","file3":"1332251341"},"map_files_photo_id_array":[{"photo_id":"1332251343","filename":"file5"},{"photo_id":"1332251338","filename":"file2"},{"photo_id":"1332251342","filename":"file4"},{"photo_id":"1332251329","filename":"file1"},{"photo_id":"1332251318","filename":"file0"},{"photo_id":"1332251341","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332251342":["hashtag1","hashtag2"]},{"1332251318":["hashtag1","hashtag2"]},{"1332251341":["hashtag1","hashtag2"]},{"1332251329":["hashtag1","hashtag2"]},{"1332251338":["hashtag1","hashtag2"]},{"1332251343":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332251342, 1332251318, 1332251341, 1332251329, 1332251338, 1332251343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29738783836365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:32:32.425520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/48/image_28012025_03_48_54_9462.jpg', '/home/pi/Desktop/images/28012025/03/48/image_28012025_03_49_05_10348.jpg', '/home/pi/Desktop/images/28012025/03/49/image_28012025_03_49_15_10343.jpg', '/home/pi/Desktop/images/28012025/03/49/image_28012025_03_49_25_9469.jpg', '/home/pi/Desktop/images/28012025/03/49/image_28012025_03_49_35_10357.jpg', '/home/pi/Desktop/images/28012025/03/49/image_28012025_03_49_44_9441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/48/image_28012025_03_48_54_9462.jpg
/home/pi/Desktop/images/28012025/03/48/image_28012025_03_49_05_10348.jpg
/home/pi/Desktop/images/28012025/03/49/image_28012025_03_49_15_10343.jpg
/home/pi/Desktop/images/28012025/03/49/image_28012025_03_49_25_9469.jpg
/home/pi/Desktop/images/28012025/03/49/image_28012025_03_49_35_10357.jpg
/home/pi/Desktop/images/28012025/03/49/image_28012025_03_49_44_9441.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6083955764770508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 10:32:42.485876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/48/image_28012025_03_48_54_9462.jpg', '/home/pi/Desktop/images/28012025/03/48/image_28012025_03_49_05_10348.jpg', '/home/pi/Desktop/images/28012025/03/49/image_28012025_03_49_15_10343.jpg', '/home/pi/Desktop/images/28012025/03/49/image_28012025_03_49_25_9469.jpg', '/home/pi/Desktop/images/28012025/03/49/image_28012025_03_49_35_10357.jpg', '/home/pi/Desktop/images/28012025/03/49/image_28012025_03_49_44_9441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/48/image_28012025_03_48_54_9462.jpg
/home/pi/Desktop/images/28012025/03/48/image_28012025_03_49_05_10348.jpg
/home/pi/Desktop/images/28012025/03/49/image_28012025_03_49_15_10343.jpg
/home/pi/Desktop/images/28012025/03/49/image_28012025_03_49_25_9469.jpg
/home/pi/Desktop/images/28012025/03/49/image_28012025_03_49_35_10357.jpg
/home/pi/Desktop/images/28012025/03/49/image_28012025_03_49_44_9441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332251396","1332251402","1332251405","1332251391","1332251399","1332251384"],"photo_ids_order":["1332251384","1332251391","1332251396","1332251399","1332251402","1332251405"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/869e86d6725e5a0c57cc4fe9873740cf.jpg","text":"TemporaryFile(/tmp/multipartBody9065569591131284673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056823418,"filename":"image_28012025_03_49_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/1/28/13f26cadd273c049f10fab037f8adad6.jpg","text":"TemporaryFile(/tmp/multipartBody8005855083375065433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056823418,"filename":"image_28012025_03_49_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/1/28/3222d80f4fb26a2576b46f8236d7a052.jpg","text":"TemporaryFile(/tmp/multipartBody8454081230385938737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056823418,"filename":"image_28012025_03_49_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/1/28/6bbd309b7269224a7150943bb6a7fbc6.jpg","text":"TemporaryFile(/tmp/multipartBody6313221343813686431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056823418,"filename":"image_28012025_03_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/1/28/3f78233ac5ff640c880feac4fd353f80.jpg","text":"TemporaryFile(/tmp/multipartBody8646608658674011261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056823418,"filename":"image_28012025_03_49_25_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ad5ef2de708cae55143a0eb9908cb381.jpg","text":"TemporaryFile(/tmp/multipartBody3714467728084160171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056823418,"filename":"image_28012025_03_48_54_9462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332251396","file1":"1332251391","file0":"1332251384","file4":"1332251402","file5":"1332251405","file3":"1332251399"},"map_files_photo_id_array":[{"photo_id":"1332251405","filename":"file5"},{"photo_id":"1332251396","filename":"file2"},{"photo_id":"1332251402","filename":"file4"},{"photo_id":"1332251391","filename":"file1"},{"photo_id":"1332251384","filename":"file0"},{"photo_id":"1332251399","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332251396":["hashtag1","hashtag2"]},{"1332251402":["hashtag1","hashtag2"]},{"1332251405":["hashtag1","hashtag2"]},{"1332251391":["hashtag1","hashtag2"]},{"1332251399":["hashtag1","hashtag2"]},{"1332251384":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332251396, 1332251402, 1332251405, 1332251391, 1332251399, 1332251384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.96190643310547 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:33:32.696882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/49/image_28012025_03_49_55_10350.jpg', '/home/pi/Desktop/images/28012025/03/49/image_28012025_03_50_05_10327.jpg', '/home/pi/Desktop/images/28012025/03/50/image_28012025_03_50_14_9396.jpg', '/home/pi/Desktop/images/28012025/03/50/image_28012025_03_50_25_10365.jpg', '/home/pi/Desktop/images/28012025/03/50/image_28012025_03_50_35_10357.jpg', '/home/pi/Desktop/images/28012025/03/50/image_28012025_03_50_45_9462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/49/image_28012025_03_49_55_10350.jpg
/home/pi/Desktop/images/28012025/03/49/image_28012025_03_50_05_10327.jpg
/home/pi/Desktop/images/28012025/03/50/image_28012025_03_50_14_9396.jpg
/home/pi/Desktop/images/28012025/03/50/image_28012025_03_50_25_10365.jpg
/home/pi/Desktop/images/28012025/03/50/image_28012025_03_50_35_10357.jpg
/home/pi/Desktop/images/28012025/03/50/image_28012025_03_50_45_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":["1332251471","1332251495","1332251420","1332251450","1332251431","1332251445"],"photo_ids_order":["1332251420","1332251431","1332251445","1332251450","1332251471","1332251495"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b1ff1fd33eb480ef8a5e76fe6df35b65.jpg","text":"TemporaryFile(/tmp/multipartBody3576789537162516471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056873677,"filename":"image_28012025_03_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/1/28/37a08f14b4679286ab542fab2fc68bd8.jpg","text":"TemporaryFile(/tmp/multipartBody15122693213120877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056873677,"filename":"image_28012025_03_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/1/28/8936290a102db6c0e352e6e485ff86b2.jpg","text":"TemporaryFile(/tmp/multipartBody2427308292516721299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056873677,"filename":"image_28012025_03_49_55_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8c26a9dd389c6c4a60288dc66974e7d3.jpg","text":"TemporaryFile(/tmp/multipartBody2733736479861883193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056873677,"filename":"image_28012025_03_50_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/1/28/c23c1c4a09e5dcb5657d8a29646a6df4.jpg","text":"TemporaryFile(/tmp/multipartBody6291721715216362322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056873677,"filename":"image_28012025_03_50_05_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ab22dba977d8536a59e0b64e41bdf79a.jpg","text":"TemporaryFile(/tmp/multipartBody3020821837672852615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056873677,"filename":"image_28012025_03_50_14_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332251445","file1":"1332251431","file0":"1332251420","file4":"1332251471","file5":"1332251495","file3":"1332251450"},"map_files_photo_id_array":[{"photo_id":"1332251495","filename":"file5"},{"photo_id":"1332251445","filename":"file2"},{"photo_id":"1332251471","filename":"file4"},{"photo_id":"1332251431","filename":"file1"},{"photo_id":"1332251420","filename":"file0"},{"photo_id":"1332251450","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332251471":["hashtag1","hashtag2"]},{"1332251495":["hashtag1","hashtag2"]},{"1332251420":["hashtag1","hashtag2"]},{"1332251450":["hashtag1","hashtag2"]},{"1332251431":["hashtag1","hashtag2"]},{"1332251445":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332251471, 1332251495, 1332251420, 1332251450, 1332251431, 1332251445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.830302238464355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:34:33.015011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/50/image_28012025_03_50_55_10352.jpg', '/home/pi/Desktop/images/28012025/03/50/image_28012025_03_51_04_9439.jpg', '/home/pi/Desktop/images/28012025/03/51/image_28012025_03_51_15_10343.jpg', '/home/pi/Desktop/images/28012025/03/51/image_28012025_03_51_25_10351.jpg', '/home/pi/Desktop/images/28012025/03/51/image_28012025_03_51_34_9339.jpg', '/home/pi/Desktop/images/28012025/03/51/image_28012025_03_51_45_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/50/image_28012025_03_50_55_10352.jpg
/home/pi/Desktop/images/28012025/03/50/image_28012025_03_51_04_9439.jpg
/home/pi/Desktop/images/28012025/03/51/image_28012025_03_51_15_10343.jpg
/home/pi/Desktop/images/28012025/03/51/image_28012025_03_51_25_10351.jpg
/home/pi/Desktop/images/28012025/03/51/image_28012025_03_51_34_9339.jpg
/home/pi/Desktop/images/28012025/03/51/image_28012025_03_51_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":["1332251557","1332251553","1332251541","1332251547","1332251532","1332251526"],"photo_ids_order":["1332251526","1332251532","1332251541","1332251547","1332251553","1332251557"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/409d9e34b2d1a4f26acd4d4afbeae464.jpg","text":"TemporaryFile(/tmp/multipartBody396336552945588018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056933998,"filename":"image_28012025_03_51_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/1/28/dff5560ef87faa00d0a872a573853689.jpg","text":"TemporaryFile(/tmp/multipartBody1391179879118526487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056933998,"filename":"image_28012025_03_51_34_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/79946a57de806690e871d022bcc59c78.jpg","text":"TemporaryFile(/tmp/multipartBody3416148319916563148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056933998,"filename":"image_28012025_03_51_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4ee6f7efa381e6f7251445c3cc7d9b2d.jpg","text":"TemporaryFile(/tmp/multipartBody4502678152143764351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056933998,"filename":"image_28012025_03_51_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/1/28/7f90b198f7b1bfe4da950b91231e480a.jpg","text":"TemporaryFile(/tmp/multipartBody6569959771731840045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056933998,"filename":"image_28012025_03_51_04_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8bbd66c142b61e81de3f07d7f3acb936.jpg","text":"TemporaryFile(/tmp/multipartBody3928805572361320834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056933998,"filename":"image_28012025_03_50_55_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332251541","file1":"1332251532","file0":"1332251526","file4":"1332251553","file5":"1332251557","file3":"1332251547"},"map_files_photo_id_array":[{"photo_id":"1332251557","filename":"file5"},{"photo_id":"1332251541","filename":"file2"},{"photo_id":"1332251553","filename":"file4"},{"photo_id":"1332251532","filename":"file1"},{"photo_id":"1332251526","filename":"file0"},{"photo_id":"1332251547","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332251557":["hashtag1","hashtag2"]},{"1332251553":["hashtag1","hashtag2"]},{"1332251541":["hashtag1","hashtag2"]},{"1332251547":["hashtag1","hashtag2"]},{"1332251532":["hashtag1","hashtag2"]},{"1332251526":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332251557, 1332251553, 1332251541, 1332251547, 1332251532, 1332251526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.20921468734741 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:35:32.155046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/51/image_28012025_03_51_55_10405.jpg', '/home/pi/Desktop/images/28012025/03/51/image_28012025_03_52_05_9348.jpg', '/home/pi/Desktop/images/28012025/03/52/image_28012025_03_52_15_10345.jpg', '/home/pi/Desktop/images/28012025/03/52/image_28012025_03_52_24_9471.jpg', '/home/pi/Desktop/images/28012025/03/52/image_28012025_03_52_35_10408.jpg', '/home/pi/Desktop/images/28012025/03/52/image_28012025_03_52_45_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/51/image_28012025_03_51_55_10405.jpg
/home/pi/Desktop/images/28012025/03/51/image_28012025_03_52_05_9348.jpg
/home/pi/Desktop/images/28012025/03/52/image_28012025_03_52_15_10345.jpg
/home/pi/Desktop/images/28012025/03/52/image_28012025_03_52_24_9471.jpg
/home/pi/Desktop/images/28012025/03/52/image_28012025_03_52_35_10408.jpg
/home/pi/Desktop/images/28012025/03/52/image_28012025_03_52_45_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332252164","1332251666","1332251726","1332252439","1332251832","1332251682"],"photo_ids_order":["1332251666","1332251682","1332251726","1332251832","1332252164","1332252439"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d822fa94761428fb286e8c31a7f801c8.jpg","text":"TemporaryFile(/tmp/multipartBody3309192343581561727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056993138,"filename":"image_28012025_03_52_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/1/28/c119543a186c384b772ac82342f679b3.jpg","text":"TemporaryFile(/tmp/multipartBody8951521143145967558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056993138,"filename":"image_28012025_03_51_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/1/28/5f748c902bf8cad25291a6f5232e278b.jpg","text":"TemporaryFile(/tmp/multipartBody6039282650560760967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056993138,"filename":"image_28012025_03_52_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/1/28/f26e564fe696d740b9145eb29f47dfd6.jpg","text":"TemporaryFile(/tmp/multipartBody8368930707589636503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056993138,"filename":"image_28012025_03_52_45_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/aac5ce2bb6eea2d351d93584dfb7230c.jpg","text":"TemporaryFile(/tmp/multipartBody9206548920108629660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056993138,"filename":"image_28012025_03_52_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/1/28/d1fbfd1a4a72023c424debde9047a647.jpg","text":"TemporaryFile(/tmp/multipartBody6085091637259216463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738056993138,"filename":"image_28012025_03_52_05_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332251726","file1":"1332251682","file0":"1332251666","file4":"1332252164","file5":"1332252439","file3":"1332251832"},"map_files_photo_id_array":[{"photo_id":"1332252439","filename":"file5"},{"photo_id":"1332251726","filename":"file2"},{"photo_id":"1332252164","filename":"file4"},{"photo_id":"1332251682","filename":"file1"},{"photo_id":"1332251666","filename":"file0"},{"photo_id":"1332251832","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332252164":["hashtag1","hashtag2"]},{"1332251666":["hashtag1","hashtag2"]},{"1332251726":["hashtag1","hashtag2"]},{"1332252439":["hashtag1","hashtag2"]},{"1332251832":["hashtag1","hashtag2"]},{"1332251682":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332252164, 1332251666, 1332251726, 1332252439, 1332251832, 1332251682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.84479784965515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:36:32.475669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/52/image_28012025_03_52_55_9544.jpg', '/home/pi/Desktop/images/28012025/03/52/image_28012025_03_53_05_10344.jpg', '/home/pi/Desktop/images/28012025/03/53/image_28012025_03_53_14_9371.jpg', '/home/pi/Desktop/images/28012025/03/53/image_28012025_03_53_25_10354.jpg', '/home/pi/Desktop/images/28012025/03/53/image_28012025_03_53_35_10447.jpg', '/home/pi/Desktop/images/28012025/03/53/image_28012025_03_53_45_9434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/52/image_28012025_03_52_55_9544.jpg
/home/pi/Desktop/images/28012025/03/52/image_28012025_03_53_05_10344.jpg
/home/pi/Desktop/images/28012025/03/53/image_28012025_03_53_14_9371.jpg
/home/pi/Desktop/images/28012025/03/53/image_28012025_03_53_25_10354.jpg
/home/pi/Desktop/images/28012025/03/53/image_28012025_03_53_35_10447.jpg
/home/pi/Desktop/images/28012025/03/53/image_28012025_03_53_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":["1332252617","1332252457","1332252666","1332252657","1332252668","1332252464"],"photo_ids_order":["1332252457","1332252464","1332252617","1332252657","1332252666","1332252668"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/00480c4d20d30fa34143791e2d34c6b2.jpg","text":"TemporaryFile(/tmp/multipartBody8492756677786641301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057053470,"filename":"image_28012025_03_53_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/1/28/de712cc3b73089a118fe815754a602fb.jpg","text":"TemporaryFile(/tmp/multipartBody5783870549631570869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057053470,"filename":"image_28012025_03_52_55_9544.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/639fbc80a5baf5078cabdbcf9f450b67.jpg","text":"TemporaryFile(/tmp/multipartBody382885406855890603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057053470,"filename":"image_28012025_03_53_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/1/28/9ca52f8e9b92d3af5b76c01740db7e83.jpg","text":"TemporaryFile(/tmp/multipartBody5001104581132077424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057053470,"filename":"image_28012025_03_53_25_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fe1bbcfb682c7a21a8d92a9fc1553f1f.jpg","text":"TemporaryFile(/tmp/multipartBody8590437571378509477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057053470,"filename":"image_28012025_03_53_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/1/28/9264b2b127fd74aac7b6c6ab2cd812cf.jpg","text":"TemporaryFile(/tmp/multipartBody6191507558716392427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057053470,"filename":"image_28012025_03_53_05_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332252617","file1":"1332252464","file0":"1332252457","file4":"1332252666","file5":"1332252668","file3":"1332252657"},"map_files_photo_id_array":[{"photo_id":"1332252668","filename":"file5"},{"photo_id":"1332252617","filename":"file2"},{"photo_id":"1332252666","filename":"file4"},{"photo_id":"1332252464","filename":"file1"},{"photo_id":"1332252457","filename":"file0"},{"photo_id":"1332252657","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332252617":["hashtag1","hashtag2"]},{"1332252457":["hashtag1","hashtag2"]},{"1332252666":["hashtag1","hashtag2"]},{"1332252657":["hashtag1","hashtag2"]},{"1332252668":["hashtag1","hashtag2"]},{"1332252464":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332252617, 1332252457, 1332252666, 1332252657, 1332252668, 1332252464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.871766805648804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:37:32.681903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/53/image_28012025_03_53_55_10361.jpg', '/home/pi/Desktop/images/28012025/03/53/image_28012025_03_54_04_9490.jpg', '/home/pi/Desktop/images/28012025/03/54/image_28012025_03_54_15_10382.jpg', '/home/pi/Desktop/images/28012025/03/54/image_28012025_03_54_25_10383.jpg', '/home/pi/Desktop/images/28012025/03/54/image_28012025_03_54_35_9349.jpg', '/home/pi/Desktop/images/28012025/03/54/image_28012025_03_54_45_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/53/image_28012025_03_53_55_10361.jpg
/home/pi/Desktop/images/28012025/03/53/image_28012025_03_54_04_9490.jpg
/home/pi/Desktop/images/28012025/03/54/image_28012025_03_54_15_10382.jpg
/home/pi/Desktop/images/28012025/03/54/image_28012025_03_54_25_10383.jpg
/home/pi/Desktop/images/28012025/03/54/image_28012025_03_54_35_9349.jpg
/home/pi/Desktop/images/28012025/03/54/image_28012025_03_54_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":["1332252812","1332252814","1332252783","1332252777","1332252791","1332252810"],"photo_ids_order":["1332252777","1332252783","1332252791","1332252810","1332252812","1332252814"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e44cc627015cfdb027c1212392559941.jpg","text":"TemporaryFile(/tmp/multipartBody5130830230793214371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057113694,"filename":"image_28012025_03_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/1/28/76458578bc0c39bdb36e8a4377aeed3b.jpg","text":"TemporaryFile(/tmp/multipartBody9163896803511703740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057113694,"filename":"image_28012025_03_54_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/1/28/dbcc7dd9d9450df935f6eac91a43fc05.jpg","text":"TemporaryFile(/tmp/multipartBody4488954362964899345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057113694,"filename":"image_28012025_03_54_04_9490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/410f7fd4c155490935c0bbe233b2dbc7.jpg","text":"TemporaryFile(/tmp/multipartBody2231807167675217633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057113694,"filename":"image_28012025_03_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/1/28/637ea139b7587c4b4a1bd5c774f4f3ae.jpg","text":"TemporaryFile(/tmp/multipartBody4717630584714427130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057113694,"filename":"image_28012025_03_54_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/1/28/68d9e66901f337b01846db243a335991.jpg","text":"TemporaryFile(/tmp/multipartBody5589477565526671082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057113694,"filename":"image_28012025_03_54_25_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332252791","file1":"1332252783","file0":"1332252777","file4":"1332252812","file5":"1332252814","file3":"1332252810"},"map_files_photo_id_array":[{"photo_id":"1332252814","filename":"file5"},{"photo_id":"1332252791","filename":"file2"},{"photo_id":"1332252812","filename":"file4"},{"photo_id":"1332252783","filename":"file1"},{"photo_id":"1332252777","filename":"file0"},{"photo_id":"1332252810","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332252812":["hashtag1","hashtag2"]},{"1332252814":["hashtag1","hashtag2"]},{"1332252783":["hashtag1","hashtag2"]},{"1332252777":["hashtag1","hashtag2"]},{"1332252791":["hashtag1","hashtag2"]},{"1332252810":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332252812, 1332252814, 1332252783, 1332252777, 1332252791, 1332252810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.89716863632202 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:38:32.971729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/54/image_28012025_03_54_54_9474.jpg', '/home/pi/Desktop/images/28012025/03/54/image_28012025_03_55_05_10359.jpg', '/home/pi/Desktop/images/28012025/03/55/image_28012025_03_55_15_10393.jpg', '/home/pi/Desktop/images/28012025/03/55/image_28012025_03_55_25_9380.jpg', '/home/pi/Desktop/images/28012025/03/55/image_28012025_03_55_35_10354.jpg', '/home/pi/Desktop/images/28012025/03/55/image_28012025_03_55_44_9424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/54/image_28012025_03_54_54_9474.jpg
/home/pi/Desktop/images/28012025/03/54/image_28012025_03_55_05_10359.jpg
/home/pi/Desktop/images/28012025/03/55/image_28012025_03_55_15_10393.jpg
/home/pi/Desktop/images/28012025/03/55/image_28012025_03_55_25_9380.jpg
/home/pi/Desktop/images/28012025/03/55/image_28012025_03_55_35_10354.jpg
/home/pi/Desktop/images/28012025/03/55/image_28012025_03_55_44_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":["1332252845","1332252850","1332252855","1332252858","1332252837","1332252831"],"photo_ids_order":["1332252831","1332252837","1332252845","1332252850","1332252855","1332252858"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c6cb1d83fa7de1f852f0360b4711fd39.jpg","text":"TemporaryFile(/tmp/multipartBody495890581752182247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057173970,"filename":"image_28012025_03_55_15_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2749a7bf1f5cf58b67d33f72bd2624a7.jpg","text":"TemporaryFile(/tmp/multipartBody6267015041606031667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057173970,"filename":"image_28012025_03_55_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/1/28/cafa3111f9d18ec70bccfd5ee23b70fe.jpg","text":"TemporaryFile(/tmp/multipartBody3047314246869131766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057173970,"filename":"image_28012025_03_55_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/1/28/f8cd3f9458f8e66351cea39a7d15b47f.jpg","text":"TemporaryFile(/tmp/multipartBody8892705004950264367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057173970,"filename":"image_28012025_03_55_44_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5cf02fa680ac4d768cb7e6fada43d895.jpg","text":"TemporaryFile(/tmp/multipartBody4414166825127514180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057173970,"filename":"image_28012025_03_55_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/1/28/40e8dbb1ed26ca14b9c192ffc18344b0.jpg","text":"TemporaryFile(/tmp/multipartBody8587105434402467913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057173970,"filename":"image_28012025_03_54_54_9474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332252845","file1":"1332252837","file0":"1332252831","file4":"1332252855","file5":"1332252858","file3":"1332252850"},"map_files_photo_id_array":[{"photo_id":"1332252858","filename":"file5"},{"photo_id":"1332252845","filename":"file2"},{"photo_id":"1332252855","filename":"file4"},{"photo_id":"1332252837","filename":"file1"},{"photo_id":"1332252831","filename":"file0"},{"photo_id":"1332252850","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332252845":["hashtag1","hashtag2"]},{"1332252850":["hashtag1","hashtag2"]},{"1332252855":["hashtag1","hashtag2"]},{"1332252858":["hashtag1","hashtag2"]},{"1332252837":["hashtag1","hashtag2"]},{"1332252831":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332252845, 1332252850, 1332252855, 1332252858, 1332252837, 1332252831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51789712905884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:39:33.220560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/55/image_28012025_03_55_55_10362.jpg', '/home/pi/Desktop/images/28012025/03/55/image_28012025_03_56_05_10440.jpg', '/home/pi/Desktop/images/28012025/03/56/image_28012025_03_56_25_10366.jpg', '/home/pi/Desktop/images/28012025/03/56/image_28012025_03_56_34_9400.jpg', '/home/pi/Desktop/images/28012025/03/56/image_28012025_03_56_45_10357.jpg', '/home/pi/Desktop/images/28012025/03/56/image_28012025_03_56_55_10389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/55/image_28012025_03_55_55_10362.jpg
/home/pi/Desktop/images/28012025/03/55/image_28012025_03_56_05_10440.jpg
/home/pi/Desktop/images/28012025/03/56/image_28012025_03_56_25_10366.jpg
/home/pi/Desktop/images/28012025/03/56/image_28012025_03_56_34_9400.jpg
/home/pi/Desktop/images/28012025/03/56/image_28012025_03_56_45_10357.jpg
/home/pi/Desktop/images/28012025/03/56/image_28012025_03_56_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":["1332252902","1332252914","1332252880","1332252918","1332252921","1332252909"],"photo_ids_order":["1332252880","1332252902","1332252909","1332252914","1332252918","1332252921"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f5bb038e29dcef7a2a8b3bfe057d597f.jpg","text":"TemporaryFile(/tmp/multipartBody5133375719009820500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057234221,"filename":"image_28012025_03_56_05_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/884ff7aa9c74d162403c0493b6cdf999.jpg","text":"TemporaryFile(/tmp/multipartBody642725000026969051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057234221,"filename":"image_28012025_03_56_34_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3f2843e55b840463e0cd67a505e23695.jpg","text":"TemporaryFile(/tmp/multipartBody7760247649586450986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057234221,"filename":"image_28012025_03_55_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/1/28/2e3b19178f228488a2a0da2dfbbde0ea.jpg","text":"TemporaryFile(/tmp/multipartBody2303760811645995596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057234221,"filename":"image_28012025_03_56_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/1/28/02777e5323159f6f8628bd4b9649598e.jpg","text":"TemporaryFile(/tmp/multipartBody4144321805210425432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057234221,"filename":"image_28012025_03_56_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/1/28/c0bc697808fe75043ff8d74832c93c99.jpg","text":"TemporaryFile(/tmp/multipartBody2876769480090590296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057234221,"filename":"image_28012025_03_56_25_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332252909","file1":"1332252902","file0":"1332252880","file4":"1332252918","file5":"1332252921","file3":"1332252914"},"map_files_photo_id_array":[{"photo_id":"1332252921","filename":"file5"},{"photo_id":"1332252909","filename":"file2"},{"photo_id":"1332252918","filename":"file4"},{"photo_id":"1332252902","filename":"file1"},{"photo_id":"1332252880","filename":"file0"},{"photo_id":"1332252914","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332252902":["hashtag1","hashtag2"]},{"1332252914":["hashtag1","hashtag2"]},{"1332252880":["hashtag1","hashtag2"]},{"1332252918":["hashtag1","hashtag2"]},{"1332252921":["hashtag1","hashtag2"]},{"1332252909":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332252902, 1332252914, 1332252880, 1332252918, 1332252921, 1332252909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.945061922073364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:40:32.448629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/56/image_28012025_03_57_04_9414.jpg', '/home/pi/Desktop/images/28012025/03/57/image_28012025_03_57_15_10366.jpg', '/home/pi/Desktop/images/28012025/03/57/image_28012025_03_57_25_10424.jpg', '/home/pi/Desktop/images/28012025/03/57/image_28012025_03_57_35_9357.jpg', '/home/pi/Desktop/images/28012025/03/57/image_28012025_03_57_45_10352.jpg', '/home/pi/Desktop/images/28012025/03/57/image_28012025_03_58_05_10384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/56/image_28012025_03_57_04_9414.jpg
/home/pi/Desktop/images/28012025/03/57/image_28012025_03_57_15_10366.jpg
/home/pi/Desktop/images/28012025/03/57/image_28012025_03_57_25_10424.jpg
/home/pi/Desktop/images/28012025/03/57/image_28012025_03_57_35_9357.jpg
/home/pi/Desktop/images/28012025/03/57/image_28012025_03_57_45_10352.jpg
/home/pi/Desktop/images/28012025/03/57/image_28012025_03_58_05_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":["1332252982","1332252976","1332252967","1332252955","1332252948","1332252962"],"photo_ids_order":["1332252948","1332252955","1332252962","1332252967","1332252976","1332252982"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f68572938c31dd8fa7ee511c41ca860e.jpg","text":"TemporaryFile(/tmp/multipartBody7885945398541048289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057293439,"filename":"image_28012025_03_58_05_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4b6be8385e133a81df443a3a16e2a0fd.jpg","text":"TemporaryFile(/tmp/multipartBody6232395912451249063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057293439,"filename":"image_28012025_03_57_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/1/28/011511f80011856aaee901f649bbb1fd.jpg","text":"TemporaryFile(/tmp/multipartBody4740620360329954221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057293439,"filename":"image_28012025_03_57_35_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/579fa6f3b25d05e655f0aaac727a8361.jpg","text":"TemporaryFile(/tmp/multipartBody3642885837770975719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057293439,"filename":"image_28012025_03_57_15_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/00b181324d33975e8aede45e394411f6.jpg","text":"TemporaryFile(/tmp/multipartBody4830697477856368253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057293439,"filename":"image_28012025_03_57_04_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d745264d907a0a8dd9d25ab1df17429e.jpg","text":"TemporaryFile(/tmp/multipartBody8149818126542115738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057293439,"filename":"image_28012025_03_57_25_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332252962","file1":"1332252955","file0":"1332252948","file4":"1332252976","file5":"1332252982","file3":"1332252967"},"map_files_photo_id_array":[{"photo_id":"1332252982","filename":"file5"},{"photo_id":"1332252962","filename":"file2"},{"photo_id":"1332252976","filename":"file4"},{"photo_id":"1332252955","filename":"file1"},{"photo_id":"1332252948","filename":"file0"},{"photo_id":"1332252967","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332252982":["hashtag1","hashtag2"]},{"1332252976":["hashtag1","hashtag2"]},{"1332252967":["hashtag1","hashtag2"]},{"1332252955":["hashtag1","hashtag2"]},{"1332252948":["hashtag1","hashtag2"]},{"1332252962":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332252982, 1332252976, 1332252967, 1332252955, 1332252948, 1332252962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84992742538452 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:41:32.742475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/58/image_28012025_03_58_15_10423.jpg', '/home/pi/Desktop/images/28012025/03/58/image_28012025_03_58_25_9413.jpg', '/home/pi/Desktop/images/28012025/03/58/image_28012025_03_58_35_10355.jpg', '/home/pi/Desktop/images/28012025/03/58/image_28012025_03_58_55_10359.jpg', '/home/pi/Desktop/images/28012025/03/58/image_28012025_03_59_05_10408.jpg', '/home/pi/Desktop/images/28012025/03/59/image_28012025_03_59_15_9425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/58/image_28012025_03_58_15_10423.jpg
/home/pi/Desktop/images/28012025/03/58/image_28012025_03_58_25_9413.jpg
/home/pi/Desktop/images/28012025/03/58/image_28012025_03_58_35_10355.jpg
/home/pi/Desktop/images/28012025/03/58/image_28012025_03_58_55_10359.jpg
/home/pi/Desktop/images/28012025/03/58/image_28012025_03_59_05_10408.jpg
/home/pi/Desktop/images/28012025/03/59/image_28012025_03_59_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":["1332253007","1332253012","1332253023","1332253002","1332253025","1332253019"],"photo_ids_order":["1332253002","1332253007","1332253012","1332253019","1332253023","1332253025"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f4cdb60597c2e5df56a10cc65ce9645b.jpg","text":"TemporaryFile(/tmp/multipartBody56559285357638438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057353737,"filename":"image_28012025_03_58_25_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6a3c94348eb13118780bda813005fc4e.jpg","text":"TemporaryFile(/tmp/multipartBody2176000179464409937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057353737,"filename":"image_28012025_03_58_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/1/28/dd8dec79daeec544185e5e08ed242977.jpg","text":"TemporaryFile(/tmp/multipartBody4401316101153542129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057353737,"filename":"image_28012025_03_59_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/1/28/eb3a0c7505f76d53df612868b044395f.jpg","text":"TemporaryFile(/tmp/multipartBody3887411447202174372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057353737,"filename":"image_28012025_03_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/1/28/f5d22bfcedac2addcc774ac14b7b5884.jpg","text":"TemporaryFile(/tmp/multipartBody7024677504949652786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057353737,"filename":"image_28012025_03_59_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/1/28/b70a423d03af6c50be49a77302adc2d1.jpg","text":"TemporaryFile(/tmp/multipartBody201279897251065371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057353737,"filename":"image_28012025_03_58_55_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332253012","file1":"1332253007","file0":"1332253002","file4":"1332253023","file5":"1332253025","file3":"1332253019"},"map_files_photo_id_array":[{"photo_id":"1332253025","filename":"file5"},{"photo_id":"1332253012","filename":"file2"},{"photo_id":"1332253023","filename":"file4"},{"photo_id":"1332253007","filename":"file1"},{"photo_id":"1332253002","filename":"file0"},{"photo_id":"1332253019","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332253007":["hashtag1","hashtag2"]},{"1332253012":["hashtag1","hashtag2"]},{"1332253023":["hashtag1","hashtag2"]},{"1332253002":["hashtag1","hashtag2"]},{"1332253025":["hashtag1","hashtag2"]},{"1332253019":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332253007, 1332253012, 1332253023, 1332253002, 1332253025, 1332253019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.45300221443176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:42:32.848788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/03/59/image_28012025_03_59_34_9476.jpg', '/home/pi/Desktop/images/28012025/03/59/image_28012025_03_59_45_10361.jpg', '/home/pi/Desktop/images/28012025/04/01/image_28012025_04_01_15_10081.jpg', '/home/pi/Desktop/images/28012025/04/01/image_28012025_04_01_25_10495.jpg', '/home/pi/Desktop/images/28012025/04/01/image_28012025_04_01_36_10360.jpg', '/home/pi/Desktop/images/28012025/04/01/image_28012025_04_01_45_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/03/59/image_28012025_03_59_34_9476.jpg
/home/pi/Desktop/images/28012025/03/59/image_28012025_03_59_45_10361.jpg
/home/pi/Desktop/images/28012025/04/01/image_28012025_04_01_15_10081.jpg
/home/pi/Desktop/images/28012025/04/01/image_28012025_04_01_25_10495.jpg
/home/pi/Desktop/images/28012025/04/01/image_28012025_04_01_36_10360.jpg
/home/pi/Desktop/images/28012025/04/01/image_28012025_04_01_45_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332253063","1332253072","1332253071","1332253056","1332253067","1332253049"],"photo_ids_order":["1332253049","1332253056","1332253063","1332253067","1332253071","1332253072"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/943fbde48821a0f12f04bfb95adf3089.jpg","text":"TemporaryFile(/tmp/multipartBody81204344104125177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057413872,"filename":"image_28012025_04_01_15_10081.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e62f1d1741e576a649dc94b0a3abb0bb.jpg","text":"TemporaryFile(/tmp/multipartBody647802999028803697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057413872,"filename":"image_28012025_04_01_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/1/28/dbc9545dace81dabb507a7fda52e9270.jpg","text":"TemporaryFile(/tmp/multipartBody1420153759440761549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057413872,"filename":"image_28012025_04_01_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/1/28/d7066af3ea690ea8643db6f49b70cc50.jpg","text":"TemporaryFile(/tmp/multipartBody5200869093224344550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057413872,"filename":"image_28012025_03_59_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/1/28/e5767442a5279b60264aebd322a8da78.jpg","text":"TemporaryFile(/tmp/multipartBody6128258214893405280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057413872,"filename":"image_28012025_04_01_25_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bb824fdf386df04794a906636ae7590d.jpg","text":"TemporaryFile(/tmp/multipartBody1257728936117528428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057413872,"filename":"image_28012025_03_59_34_9476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332253063","file1":"1332253056","file0":"1332253049","file4":"1332253071","file5":"1332253072","file3":"1332253067"},"map_files_photo_id_array":[{"photo_id":"1332253072","filename":"file5"},{"photo_id":"1332253063","filename":"file2"},{"photo_id":"1332253071","filename":"file4"},{"photo_id":"1332253056","filename":"file1"},{"photo_id":"1332253049","filename":"file0"},{"photo_id":"1332253067","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332253063":["hashtag1","hashtag2"]},{"1332253072":["hashtag1","hashtag2"]},{"1332253071":["hashtag1","hashtag2"]},{"1332253056":["hashtag1","hashtag2"]},{"1332253067":["hashtag1","hashtag2"]},{"1332253049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332253063, 1332253072, 1332253071, 1332253056, 1332253067, 1332253049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.90912866592407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:43:33.106331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/01/image_28012025_04_01_56_10460.jpg', '/home/pi/Desktop/images/28012025/04/01/image_28012025_04_02_05_9344.jpg', '/home/pi/Desktop/images/28012025/04/02/image_28012025_04_02_15_10430.jpg', '/home/pi/Desktop/images/28012025/04/02/image_28012025_04_02_26_10463.jpg', '/home/pi/Desktop/images/28012025/04/02/image_28012025_04_02_35_9346.jpg', '/home/pi/Desktop/images/28012025/04/02/image_28012025_04_02_46_10452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/01/image_28012025_04_01_56_10460.jpg
/home/pi/Desktop/images/28012025/04/01/image_28012025_04_02_05_9344.jpg
/home/pi/Desktop/images/28012025/04/02/image_28012025_04_02_15_10430.jpg
/home/pi/Desktop/images/28012025/04/02/image_28012025_04_02_26_10463.jpg
/home/pi/Desktop/images/28012025/04/02/image_28012025_04_02_35_9346.jpg
/home/pi/Desktop/images/28012025/04/02/image_28012025_04_02_46_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":["1332253099","1332253105","1332253110","1332253113","1332253091","1332253115"],"photo_ids_order":["1332253091","1332253099","1332253105","1332253110","1332253113","1332253115"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c14d116177e60ab839d3ca9d01378573.jpg","text":"TemporaryFile(/tmp/multipartBody4641243812807162095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057474100,"filename":"image_28012025_04_02_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/1/28/475c5ca6e74ac361fd61fdae1d10c935.jpg","text":"TemporaryFile(/tmp/multipartBody613156721072448770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057474100,"filename":"image_28012025_04_02_15_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3d8df6cce0a1aed051eb32a547e65f36.jpg","text":"TemporaryFile(/tmp/multipartBody1353563133272862288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057474100,"filename":"image_28012025_04_02_26_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/873eee64d0453424c4f3cf4b51294afb.jpg","text":"TemporaryFile(/tmp/multipartBody7494205797638279902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057474100,"filename":"image_28012025_04_02_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/1/28/8da451f03b6a835d31822266fe5a3047.jpg","text":"TemporaryFile(/tmp/multipartBody2632095330587371294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057474100,"filename":"image_28012025_04_01_56_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/93c3de07311d1ffcb5b516c9bdd524ce.jpg","text":"TemporaryFile(/tmp/multipartBody4092628960607474047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057474100,"filename":"image_28012025_04_02_46_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332253105","file1":"1332253099","file0":"1332253091","file4":"1332253113","file5":"1332253115","file3":"1332253110"},"map_files_photo_id_array":[{"photo_id":"1332253115","filename":"file5"},{"photo_id":"1332253105","filename":"file2"},{"photo_id":"1332253113","filename":"file4"},{"photo_id":"1332253099","filename":"file1"},{"photo_id":"1332253091","filename":"file0"},{"photo_id":"1332253110","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332253099":["hashtag1","hashtag2"]},{"1332253105":["hashtag1","hashtag2"]},{"1332253110":["hashtag1","hashtag2"]},{"1332253113":["hashtag1","hashtag2"]},{"1332253091":["hashtag1","hashtag2"]},{"1332253115":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332253099, 1332253105, 1332253110, 1332253113, 1332253091, 1332253115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.02203297615051 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:44:32.271902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/02/image_28012025_04_02_55_9346.jpg', '/home/pi/Desktop/images/28012025/04/02/image_28012025_04_03_05_10405.jpg', '/home/pi/Desktop/images/28012025/04/03/image_28012025_04_03_16_10348.jpg', '/home/pi/Desktop/images/28012025/04/03/image_28012025_04_03_25_9458.jpg', '/home/pi/Desktop/images/28012025/04/03/image_28012025_04_03_36_10475.jpg', '/home/pi/Desktop/images/28012025/04/03/image_28012025_04_03_45_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/02/image_28012025_04_02_55_9346.jpg
/home/pi/Desktop/images/28012025/04/02/image_28012025_04_03_05_10405.jpg
/home/pi/Desktop/images/28012025/04/03/image_28012025_04_03_16_10348.jpg
/home/pi/Desktop/images/28012025/04/03/image_28012025_04_03_25_9458.jpg
/home/pi/Desktop/images/28012025/04/03/image_28012025_04_03_36_10475.jpg
/home/pi/Desktop/images/28012025/04/03/image_28012025_04_03_45_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332253168","1332253165","1332253152","1332253158","1332253146","1332253169"],"photo_ids_order":["1332253146","1332253152","1332253158","1332253165","1332253168","1332253169"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bd1f66394a65b3b0b887661b66215b0f.jpg","text":"TemporaryFile(/tmp/multipartBody4879873978401719394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057533296,"filename":"image_28012025_04_03_36_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7da7eabcad17aa7a74df5ade585668c5.jpg","text":"TemporaryFile(/tmp/multipartBody4975754802987341222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057533296,"filename":"image_28012025_04_03_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/1/28/c333d296421a7832700ede46f0f81a75.jpg","text":"TemporaryFile(/tmp/multipartBody5549393396070842263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057533296,"filename":"image_28012025_04_03_05_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/813d1e644683f186f89866a391edda6c.jpg","text":"TemporaryFile(/tmp/multipartBody7336220330068283710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057533296,"filename":"image_28012025_04_03_16_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6064f27797f7289ce3e2bb85734f0d0f.jpg","text":"TemporaryFile(/tmp/multipartBody5250344200148419942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057533296,"filename":"image_28012025_04_02_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/1/28/fa0c976900c6f40b62719432a8d7911a.jpg","text":"TemporaryFile(/tmp/multipartBody6475045588816916930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057533296,"filename":"image_28012025_04_03_45_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332253158","file1":"1332253152","file0":"1332253146","file4":"1332253168","file5":"1332253169","file3":"1332253165"},"map_files_photo_id_array":[{"photo_id":"1332253169","filename":"file5"},{"photo_id":"1332253158","filename":"file2"},{"photo_id":"1332253168","filename":"file4"},{"photo_id":"1332253152","filename":"file1"},{"photo_id":"1332253146","filename":"file0"},{"photo_id":"1332253165","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332253168":["hashtag1","hashtag2"]},{"1332253165":["hashtag1","hashtag2"]},{"1332253152":["hashtag1","hashtag2"]},{"1332253158":["hashtag1","hashtag2"]},{"1332253146":["hashtag1","hashtag2"]},{"1332253169":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332253168, 1332253165, 1332253152, 1332253158, 1332253146, 1332253169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.71989059448242 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:45:32.634377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/03/image_28012025_04_03_55_10474.jpg', '/home/pi/Desktop/images/28012025/04/03/image_28012025_04_04_05_9404.jpg', '/home/pi/Desktop/images/28012025/04/04/image_28012025_04_04_15_10354.jpg', '/home/pi/Desktop/images/28012025/04/04/image_28012025_04_04_26_10363.jpg', '/home/pi/Desktop/images/28012025/04/04/image_28012025_04_04_35_9343.jpg', '/home/pi/Desktop/images/28012025/04/04/image_28012025_04_04_45_10409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/03/image_28012025_04_03_55_10474.jpg
/home/pi/Desktop/images/28012025/04/03/image_28012025_04_04_05_9404.jpg
/home/pi/Desktop/images/28012025/04/04/image_28012025_04_04_15_10354.jpg
/home/pi/Desktop/images/28012025/04/04/image_28012025_04_04_26_10363.jpg
/home/pi/Desktop/images/28012025/04/04/image_28012025_04_04_35_9343.jpg
/home/pi/Desktop/images/28012025/04/04/image_28012025_04_04_45_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":["1332253540","1332253300","1332253428","1332253515","1332253376","1332253478"],"photo_ids_order":["1332253300","1332253376","1332253428","1332253478","1332253515","1332253540"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f790c163aff71ae6416801da44c778f6.jpg","text":"TemporaryFile(/tmp/multipartBody587568613463683370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057593622,"filename":"image_28012025_04_04_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/1/28/9c59c5f4911dfeb01647f0fcffef048b.jpg","text":"TemporaryFile(/tmp/multipartBody851278403080594355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057593622,"filename":"image_28012025_04_03_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/1/28/1d4bf9f6fc848e713e2ceb5532c88b55.jpg","text":"TemporaryFile(/tmp/multipartBody5648499656199852766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057593622,"filename":"image_28012025_04_04_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/1/28/867b88416995b0c00c09f177ff890cd9.jpg","text":"TemporaryFile(/tmp/multipartBody195834107252521664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057593622,"filename":"image_28012025_04_04_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/1/28/cb59feb2433cf689f3bb129308a9dbea.jpg","text":"TemporaryFile(/tmp/multipartBody4087693481946035386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057593622,"filename":"image_28012025_04_04_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/1/28/970473bc3e436311fcb0679f97e16740.jpg","text":"TemporaryFile(/tmp/multipartBody3788843470524258160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057593622,"filename":"image_28012025_04_04_26_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332253428","file1":"1332253376","file0":"1332253300","file4":"1332253515","file5":"1332253540","file3":"1332253478"},"map_files_photo_id_array":[{"photo_id":"1332253540","filename":"file5"},{"photo_id":"1332253428","filename":"file2"},{"photo_id":"1332253515","filename":"file4"},{"photo_id":"1332253376","filename":"file1"},{"photo_id":"1332253300","filename":"file0"},{"photo_id":"1332253478","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332253540":["hashtag1","hashtag2"]},{"1332253300":["hashtag1","hashtag2"]},{"1332253428":["hashtag1","hashtag2"]},{"1332253515":["hashtag1","hashtag2"]},{"1332253376":["hashtag1","hashtag2"]},{"1332253478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332253540, 1332253300, 1332253428, 1332253515, 1332253376, 1332253478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.820496797561646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:46:32.731320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/04/image_28012025_04_04_56_10453.jpg', '/home/pi/Desktop/images/28012025/04/04/image_28012025_04_05_05_9352.jpg', '/home/pi/Desktop/images/28012025/04/05/image_28012025_04_05_15_10349.jpg', '/home/pi/Desktop/images/28012025/04/05/image_28012025_04_05_25_9345.jpg', '/home/pi/Desktop/images/28012025/04/05/image_28012025_04_05_35_10352.jpg', '/home/pi/Desktop/images/28012025/04/05/image_28012025_04_05_46_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/04/image_28012025_04_04_56_10453.jpg
/home/pi/Desktop/images/28012025/04/04/image_28012025_04_05_05_9352.jpg
/home/pi/Desktop/images/28012025/04/05/image_28012025_04_05_15_10349.jpg
/home/pi/Desktop/images/28012025/04/05/image_28012025_04_05_25_9345.jpg
/home/pi/Desktop/images/28012025/04/05/image_28012025_04_05_35_10352.jpg
/home/pi/Desktop/images/28012025/04/05/image_28012025_04_05_46_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332253617","1332253673","1332253622","1332253610","1332253604","1332253675"],"photo_ids_order":["1332253604","1332253610","1332253617","1332253622","1332253673","1332253675"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/34ac734f72b19202d19a671aeeee8545.jpg","text":"TemporaryFile(/tmp/multipartBody440650995663467841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057656702,"filename":"image_28012025_04_05_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/1/28/c6f2bdb5fa5469ccd8ae459331561515.jpg","text":"TemporaryFile(/tmp/multipartBody318247391711172532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057656702,"filename":"image_28012025_04_05_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/1/28/00c3473fddb7a9dd05419b95a2b2ae55.jpg","text":"TemporaryFile(/tmp/multipartBody8931767300779236585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057656702,"filename":"image_28012025_04_05_25_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0c72fa94b43c8a4143e0a24632045c88.jpg","text":"TemporaryFile(/tmp/multipartBody6837668272347458431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057656702,"filename":"image_28012025_04_05_05_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7470d40310eec3d411ee060c6e4d53e7.jpg","text":"TemporaryFile(/tmp/multipartBody6216250156973351348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057656702,"filename":"image_28012025_04_04_56_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/831cd3b08f97385e8d7c08eb02b7b18d.jpg","text":"TemporaryFile(/tmp/multipartBody2668399009176929796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057656702,"filename":"image_28012025_04_05_46_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332253617","file1":"1332253610","file0":"1332253604","file4":"1332253673","file5":"1332253675","file3":"1332253622"},"map_files_photo_id_array":[{"photo_id":"1332253675","filename":"file5"},{"photo_id":"1332253617","filename":"file2"},{"photo_id":"1332253673","filename":"file4"},{"photo_id":"1332253610","filename":"file1"},{"photo_id":"1332253604","filename":"file0"},{"photo_id":"1332253622","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332253617":["hashtag1","hashtag2"]},{"1332253673":["hashtag1","hashtag2"]},{"1332253622":["hashtag1","hashtag2"]},{"1332253610":["hashtag1","hashtag2"]},{"1332253604":["hashtag1","hashtag2"]},{"1332253675":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332253617, 1332253673, 1332253622, 1332253610, 1332253604, 1332253675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.82633447647095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:47:32.845041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/05/image_28012025_04_05_55_9352.jpg', '/home/pi/Desktop/images/28012025/04/06/image_28012025_04_06_16_10362.jpg', '/home/pi/Desktop/images/28012025/04/06/image_28012025_04_06_25_9379.jpg', '/home/pi/Desktop/images/28012025/04/06/image_28012025_04_06_35_10380.jpg', '/home/pi/Desktop/images/28012025/04/06/image_28012025_04_06_46_10346.jpg', '/home/pi/Desktop/images/28012025/04/06/image_28012025_04_06_55_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/05/image_28012025_04_05_55_9352.jpg
/home/pi/Desktop/images/28012025/04/06/image_28012025_04_06_16_10362.jpg
/home/pi/Desktop/images/28012025/04/06/image_28012025_04_06_25_9379.jpg
/home/pi/Desktop/images/28012025/04/06/image_28012025_04_06_35_10380.jpg
/home/pi/Desktop/images/28012025/04/06/image_28012025_04_06_46_10346.jpg
/home/pi/Desktop/images/28012025/04/06/image_28012025_04_06_55_9348.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6085171699523926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 10:47:42.833555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/05/image_28012025_04_05_55_9352.jpg', '/home/pi/Desktop/images/28012025/04/06/image_28012025_04_06_16_10362.jpg', '/home/pi/Desktop/images/28012025/04/06/image_28012025_04_06_25_9379.jpg', '/home/pi/Desktop/images/28012025/04/06/image_28012025_04_06_35_10380.jpg', '/home/pi/Desktop/images/28012025/04/06/image_28012025_04_06_46_10346.jpg', '/home/pi/Desktop/images/28012025/04/06/image_28012025_04_06_55_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/05/image_28012025_04_05_55_9352.jpg
/home/pi/Desktop/images/28012025/04/06/image_28012025_04_06_16_10362.jpg
/home/pi/Desktop/images/28012025/04/06/image_28012025_04_06_25_9379.jpg
/home/pi/Desktop/images/28012025/04/06/image_28012025_04_06_35_10380.jpg
/home/pi/Desktop/images/28012025/04/06/image_28012025_04_06_46_10346.jpg
/home/pi/Desktop/images/28012025/04/06/image_28012025_04_06_55_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332253711","1332253725","1332253719","1332253701","1332253715","1332253706"],"photo_ids_order":["1332253701","1332253706","1332253711","1332253715","1332253719","1332253725"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3271dbc50ffe35d42ff2f605f840120a.jpg","text":"TemporaryFile(/tmp/multipartBody2048577616490623861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057723757,"filename":"image_28012025_04_06_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/1/28/c66b17a4178845ae64ab80a573210b3d.jpg","text":"TemporaryFile(/tmp/multipartBody1746086391607337844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057723757,"filename":"image_28012025_04_06_55_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3a93d20c5abce9233baa12fe73622533.jpg","text":"TemporaryFile(/tmp/multipartBody1703773340112174970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057723757,"filename":"image_28012025_04_06_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/1/28/f6e179b2c540f336fc377a60f0d92b95.jpg","text":"TemporaryFile(/tmp/multipartBody4155647852804048216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057723757,"filename":"image_28012025_04_05_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/1/28/343e7418827803adff8aaf0dbaa1e242.jpg","text":"TemporaryFile(/tmp/multipartBody3325996265514215101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057723757,"filename":"image_28012025_04_06_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/1/28/0448c11e0f3cc80cc2f77905a52777c6.jpg","text":"TemporaryFile(/tmp/multipartBody8363693025929760368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057723757,"filename":"image_28012025_04_06_16_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332253711","file1":"1332253706","file0":"1332253701","file4":"1332253719","file5":"1332253725","file3":"1332253715"},"map_files_photo_id_array":[{"photo_id":"1332253725","filename":"file5"},{"photo_id":"1332253711","filename":"file2"},{"photo_id":"1332253719","filename":"file4"},{"photo_id":"1332253706","filename":"file1"},{"photo_id":"1332253701","filename":"file0"},{"photo_id":"1332253715","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332253711":["hashtag1","hashtag2"]},{"1332253725":["hashtag1","hashtag2"]},{"1332253719":["hashtag1","hashtag2"]},{"1332253701":["hashtag1","hashtag2"]},{"1332253715":["hashtag1","hashtag2"]},{"1332253706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332253711, 1332253725, 1332253719, 1332253701, 1332253715, 1332253706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17289471626282 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:48:33.158863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/06/image_28012025_04_07_05_10336.jpg', '/home/pi/Desktop/images/28012025/04/07/image_28012025_04_07_15_9353.jpg', '/home/pi/Desktop/images/28012025/04/07/image_28012025_04_07_25_10368.jpg', '/home/pi/Desktop/images/28012025/04/07/image_28012025_04_07_36_10432.jpg', '/home/pi/Desktop/images/28012025/04/07/image_28012025_04_07_55_10389.jpg', '/home/pi/Desktop/images/28012025/04/08/image_28012025_04_08_15_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/06/image_28012025_04_07_05_10336.jpg
/home/pi/Desktop/images/28012025/04/07/image_28012025_04_07_15_9353.jpg
/home/pi/Desktop/images/28012025/04/07/image_28012025_04_07_25_10368.jpg
/home/pi/Desktop/images/28012025/04/07/image_28012025_04_07_36_10432.jpg
/home/pi/Desktop/images/28012025/04/07/image_28012025_04_07_55_10389.jpg
/home/pi/Desktop/images/28012025/04/08/image_28012025_04_08_15_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332253798","1332253765","1332253801","1332253804","1332253784","1332253781"],"photo_ids_order":["1332253765","1332253781","1332253784","1332253798","1332253801","1332253804"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f4f3132191b548d53aabbc8201c2fcbf.jpg","text":"TemporaryFile(/tmp/multipartBody5113173850665728354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057774187,"filename":"image_28012025_04_07_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/1/28/0530bf627e91429210a8538ad21bdd21.jpg","text":"TemporaryFile(/tmp/multipartBody7849060831147036836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057774187,"filename":"image_28012025_04_07_05_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c22765327947f09df4941d4397bc11be.jpg","text":"TemporaryFile(/tmp/multipartBody6397368330401553182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057774187,"filename":"image_28012025_04_07_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/1/28/a0741a985815e06f714248ab3b4de6e4.jpg","text":"TemporaryFile(/tmp/multipartBody1979749031420502284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057774187,"filename":"image_28012025_04_08_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/1/28/74af47004d9b2e2d4eab6800230d1968.jpg","text":"TemporaryFile(/tmp/multipartBody5973719733843225730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057774187,"filename":"image_28012025_04_07_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/1/28/bba71d316923cc84d56f52272b4a95cf.jpg","text":"TemporaryFile(/tmp/multipartBody8691651151192299419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057774187,"filename":"image_28012025_04_07_15_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332253784","file1":"1332253781","file0":"1332253765","file4":"1332253801","file5":"1332253804","file3":"1332253798"},"map_files_photo_id_array":[{"photo_id":"1332253804","filename":"file5"},{"photo_id":"1332253784","filename":"file2"},{"photo_id":"1332253801","filename":"file4"},{"photo_id":"1332253781","filename":"file1"},{"photo_id":"1332253765","filename":"file0"},{"photo_id":"1332253798","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332253798":["hashtag1","hashtag2"]},{"1332253765":["hashtag1","hashtag2"]},{"1332253801":["hashtag1","hashtag2"]},{"1332253804":["hashtag1","hashtag2"]},{"1332253784":["hashtag1","hashtag2"]},{"1332253781":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332253798, 1332253765, 1332253801, 1332253804, 1332253784, 1332253781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70410490036011 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:49:32.224134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/08/image_28012025_04_08_25_10368.jpg', '/home/pi/Desktop/images/28012025/04/08/image_28012025_04_08_35_9358.jpg', '/home/pi/Desktop/images/28012025/04/08/image_28012025_04_08_45_10521.jpg', '/home/pi/Desktop/images/28012025/04/08/image_28012025_04_08_56_10351.jpg', '/home/pi/Desktop/images/28012025/04/08/image_28012025_04_09_05_9352.jpg', '/home/pi/Desktop/images/28012025/04/09/image_28012025_04_09_15_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/08/image_28012025_04_08_25_10368.jpg
/home/pi/Desktop/images/28012025/04/08/image_28012025_04_08_35_9358.jpg
/home/pi/Desktop/images/28012025/04/08/image_28012025_04_08_45_10521.jpg
/home/pi/Desktop/images/28012025/04/08/image_28012025_04_08_56_10351.jpg
/home/pi/Desktop/images/28012025/04/08/image_28012025_04_09_05_9352.jpg
/home/pi/Desktop/images/28012025/04/09/image_28012025_04_09_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":["1332253855","1332253852","1332253846","1332253842","1332253839","1332253850"],"photo_ids_order":["1332253839","1332253842","1332253846","1332253850","1332253852","1332253855"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b07b64fb3e6793d92d846a9fcf6253b5.jpg","text":"TemporaryFile(/tmp/multipartBody8170974237566051497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057833257,"filename":"image_28012025_04_09_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/1/28/b42500d5b656c3c40f53db6a26205f0d.jpg","text":"TemporaryFile(/tmp/multipartBody5463707784655746893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057833257,"filename":"image_28012025_04_09_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/1/28/446f1ad007428e17cb6ad7453245432a.jpg","text":"TemporaryFile(/tmp/multipartBody6294491056934799867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057833257,"filename":"image_28012025_04_08_45_10521.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8c087601c2f2267dc64e1142079d9ea0.jpg","text":"TemporaryFile(/tmp/multipartBody3792526328231422657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057833257,"filename":"image_28012025_04_08_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/1/28/087f3a91ea65c42beae31e4d00e81903.jpg","text":"TemporaryFile(/tmp/multipartBody6381346667653858629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057833257,"filename":"image_28012025_04_08_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/653266bc63adf4cede4827e2bb90d074.jpg","text":"TemporaryFile(/tmp/multipartBody8465661633662670502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057833257,"filename":"image_28012025_04_08_56_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332253846","file1":"1332253842","file0":"1332253839","file4":"1332253852","file5":"1332253855","file3":"1332253850"},"map_files_photo_id_array":[{"photo_id":"1332253855","filename":"file5"},{"photo_id":"1332253846","filename":"file2"},{"photo_id":"1332253852","filename":"file4"},{"photo_id":"1332253842","filename":"file1"},{"photo_id":"1332253839","filename":"file0"},{"photo_id":"1332253850","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332253855":["hashtag1","hashtag2"]},{"1332253852":["hashtag1","hashtag2"]},{"1332253846":["hashtag1","hashtag2"]},{"1332253842":["hashtag1","hashtag2"]},{"1332253839":["hashtag1","hashtag2"]},{"1332253850":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332253855, 1332253852, 1332253846, 1332253842, 1332253839, 1332253850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09264850616455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:50:32.558865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/09/image_28012025_04_09_26_10340.jpg', '/home/pi/Desktop/images/28012025/04/09/image_28012025_04_09_35_9350.jpg', '/home/pi/Desktop/images/28012025/04/09/image_28012025_04_09_45_10341.jpg', '/home/pi/Desktop/images/28012025/04/09/image_28012025_04_09_55_9424.jpg', '/home/pi/Desktop/images/28012025/04/09/image_28012025_04_10_05_10535.jpg', '/home/pi/Desktop/images/28012025/04/10/image_28012025_04_10_16_10158.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/09/image_28012025_04_09_26_10340.jpg
/home/pi/Desktop/images/28012025/04/09/image_28012025_04_09_35_9350.jpg
/home/pi/Desktop/images/28012025/04/09/image_28012025_04_09_45_10341.jpg
/home/pi/Desktop/images/28012025/04/09/image_28012025_04_09_55_9424.jpg
/home/pi/Desktop/images/28012025/04/09/image_28012025_04_10_05_10535.jpg
/home/pi/Desktop/images/28012025/04/10/image_28012025_04_10_16_10158.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332253897","1332253885","1332253945","1332254063","1332253894","1332253888"],"photo_ids_order":["1332253885","1332253888","1332253894","1332253897","1332253945","1332254063"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d52e50cc7db36dff30076f93f8687aa6.jpg","text":"TemporaryFile(/tmp/multipartBody2188986264497754245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057893598,"filename":"image_28012025_04_09_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/1/28/1087e555da3c27d05d2a423e3eeba936.jpg","text":"TemporaryFile(/tmp/multipartBody6483679564420259818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057893598,"filename":"image_28012025_04_09_26_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4670574b75f0ca806745e143a55dcd41.jpg","text":"TemporaryFile(/tmp/multipartBody4174039347874595169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057893598,"filename":"image_28012025_04_10_05_10535.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/515b60c7f4c54c566e3035e7db77c406.jpg","text":"TemporaryFile(/tmp/multipartBody7811072199763482484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057893598,"filename":"image_28012025_04_10_16_10158.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/84506d0c6bb2212923e68093c5d0ae32.jpg","text":"TemporaryFile(/tmp/multipartBody4921157169927050237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057893598,"filename":"image_28012025_04_09_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/1/28/dbdb1be9a97cef6a6f5da33f315e781d.jpg","text":"TemporaryFile(/tmp/multipartBody8317491201667224127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057893598,"filename":"image_28012025_04_09_35_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332253894","file1":"1332253888","file0":"1332253885","file4":"1332253945","file5":"1332254063","file3":"1332253897"},"map_files_photo_id_array":[{"photo_id":"1332254063","filename":"file5"},{"photo_id":"1332253894","filename":"file2"},{"photo_id":"1332253945","filename":"file4"},{"photo_id":"1332253888","filename":"file1"},{"photo_id":"1332253885","filename":"file0"},{"photo_id":"1332253897","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332253897":["hashtag1","hashtag2"]},{"1332253885":["hashtag1","hashtag2"]},{"1332253945":["hashtag1","hashtag2"]},{"1332254063":["hashtag1","hashtag2"]},{"1332253894":["hashtag1","hashtag2"]},{"1332253888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332253897, 1332253885, 1332253945, 1332254063, 1332253894, 1332253888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.39112663269043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:51:32.783489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/10/image_28012025_04_10_25_9344.jpg', '/home/pi/Desktop/images/28012025/04/10/image_28012025_04_10_35_10485.jpg', '/home/pi/Desktop/images/28012025/04/10/image_28012025_04_10_46_10347.jpg', '/home/pi/Desktop/images/28012025/04/10/image_28012025_04_10_55_9392.jpg', '/home/pi/Desktop/images/28012025/04/10/image_28012025_04_11_06_10459.jpg', '/home/pi/Desktop/images/28012025/04/11/image_28012025_04_11_15_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/10/image_28012025_04_10_25_9344.jpg
/home/pi/Desktop/images/28012025/04/10/image_28012025_04_10_35_10485.jpg
/home/pi/Desktop/images/28012025/04/10/image_28012025_04_10_46_10347.jpg
/home/pi/Desktop/images/28012025/04/10/image_28012025_04_10_55_9392.jpg
/home/pi/Desktop/images/28012025/04/10/image_28012025_04_11_06_10459.jpg
/home/pi/Desktop/images/28012025/04/11/image_28012025_04_11_15_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332254274","1332254244","1332254247","1332254261","1332254240","1332254264"],"photo_ids_order":["1332254240","1332254244","1332254247","1332254261","1332254264","1332254274"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2497e14e3aae190d8fa052769d090d95.jpg","text":"TemporaryFile(/tmp/multipartBody6378379946167443611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057953832,"filename":"image_28012025_04_11_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/1/28/000288710a6939fbc8ec8120e9a46631.jpg","text":"TemporaryFile(/tmp/multipartBody786689340265508873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057953832,"filename":"image_28012025_04_10_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/1/28/a09e7ee81cae85e406e07e77c731f3d4.jpg","text":"TemporaryFile(/tmp/multipartBody2052428357891735275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057953832,"filename":"image_28012025_04_10_46_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f76257edbe22ebeeee2d4184ada93837.jpg","text":"TemporaryFile(/tmp/multipartBody5876851475143255886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057953832,"filename":"image_28012025_04_10_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/1/28/e2c61a134e203e3922f79927aba07fdd.jpg","text":"TemporaryFile(/tmp/multipartBody2809812104542991369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057953832,"filename":"image_28012025_04_10_25_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bc7ce532cd9cc71bffe810f867dc8a1c.jpg","text":"TemporaryFile(/tmp/multipartBody1667713620429305469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738057953832,"filename":"image_28012025_04_11_06_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332254247","file1":"1332254244","file0":"1332254240","file4":"1332254264","file5":"1332254274","file3":"1332254261"},"map_files_photo_id_array":[{"photo_id":"1332254274","filename":"file5"},{"photo_id":"1332254247","filename":"file2"},{"photo_id":"1332254264","filename":"file4"},{"photo_id":"1332254244","filename":"file1"},{"photo_id":"1332254240","filename":"file0"},{"photo_id":"1332254261","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332254274":["hashtag1","hashtag2"]},{"1332254244":["hashtag1","hashtag2"]},{"1332254247":["hashtag1","hashtag2"]},{"1332254261":["hashtag1","hashtag2"]},{"1332254240":["hashtag1","hashtag2"]},{"1332254264":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332254274, 1332254244, 1332254247, 1332254261, 1332254240, 1332254264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95387554168701 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:52:33.065544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/11/image_28012025_04_11_25_10401.jpg', '/home/pi/Desktop/images/28012025/04/11/image_28012025_04_11_35_9580.jpg', '/home/pi/Desktop/images/28012025/04/11/image_28012025_04_11_45_10485.jpg', '/home/pi/Desktop/images/28012025/04/11/image_28012025_04_11_55_9438.jpg', '/home/pi/Desktop/images/28012025/04/11/image_28012025_04_12_05_10336.jpg', '/home/pi/Desktop/images/28012025/04/12/image_28012025_04_12_15_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/11/image_28012025_04_11_25_10401.jpg
/home/pi/Desktop/images/28012025/04/11/image_28012025_04_11_35_9580.jpg
/home/pi/Desktop/images/28012025/04/11/image_28012025_04_11_45_10485.jpg
/home/pi/Desktop/images/28012025/04/11/image_28012025_04_11_55_9438.jpg
/home/pi/Desktop/images/28012025/04/11/image_28012025_04_12_05_10336.jpg
/home/pi/Desktop/images/28012025/04/12/image_28012025_04_12_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":["1332254454","1332254358","1332254418","1332254348","1332254351","1332254344"],"photo_ids_order":["1332254344","1332254348","1332254351","1332254358","1332254418","1332254454"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a5a554fd836f5bb84f39b1c41acfdf55.jpg","text":"TemporaryFile(/tmp/multipartBody7642033422319019379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058014130,"filename":"image_28012025_04_12_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/1/28/5156c98ef34c5e60ef384f1ec79165be.jpg","text":"TemporaryFile(/tmp/multipartBody5040613436388009643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058014130,"filename":"image_28012025_04_11_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/1/28/c8aacc0ed43eddb63bcbd35c92e65617.jpg","text":"TemporaryFile(/tmp/multipartBody3166577741297037725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058014130,"filename":"image_28012025_04_12_05_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d6cdd34e713f51854326098f4d9f34e4.jpg","text":"TemporaryFile(/tmp/multipartBody4282864474055974620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058014130,"filename":"image_28012025_04_11_35_9580.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bbc705ec97de41ab5f28fcbf977988e1.jpg","text":"TemporaryFile(/tmp/multipartBody39754544477044657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058014130,"filename":"image_28012025_04_11_45_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5e107949285c200c92b69273db576b47.jpg","text":"TemporaryFile(/tmp/multipartBody562118274283087810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058014130,"filename":"image_28012025_04_11_25_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332254351","file1":"1332254348","file0":"1332254344","file4":"1332254418","file5":"1332254454","file3":"1332254358"},"map_files_photo_id_array":[{"photo_id":"1332254454","filename":"file5"},{"photo_id":"1332254351","filename":"file2"},{"photo_id":"1332254418","filename":"file4"},{"photo_id":"1332254348","filename":"file1"},{"photo_id":"1332254344","filename":"file0"},{"photo_id":"1332254358","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332254454":["hashtag1","hashtag2"]},{"1332254358":["hashtag1","hashtag2"]},{"1332254418":["hashtag1","hashtag2"]},{"1332254348":["hashtag1","hashtag2"]},{"1332254351":["hashtag1","hashtag2"]},{"1332254344":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332254454, 1332254358, 1332254418, 1332254348, 1332254351, 1332254344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.106589794158936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:53:33.035357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/12/image_28012025_04_12_25_9355.jpg', '/home/pi/Desktop/images/28012025/04/12/image_28012025_04_12_35_10360.jpg', '/home/pi/Desktop/images/28012025/04/12/image_28012025_04_12_46_10436.jpg', '/home/pi/Desktop/images/28012025/04/12/image_28012025_04_12_55_9349.jpg', '/home/pi/Desktop/images/28012025/04/12/image_28012025_04_13_05_10457.jpg', '/home/pi/Desktop/images/28012025/04/13/image_28012025_04_13_15_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/12/image_28012025_04_12_25_9355.jpg
/home/pi/Desktop/images/28012025/04/12/image_28012025_04_12_35_10360.jpg
/home/pi/Desktop/images/28012025/04/12/image_28012025_04_12_46_10436.jpg
/home/pi/Desktop/images/28012025/04/12/image_28012025_04_12_55_9349.jpg
/home/pi/Desktop/images/28012025/04/12/image_28012025_04_13_05_10457.jpg
/home/pi/Desktop/images/28012025/04/13/image_28012025_04_13_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":["1332254554","1332254553","1332254550","1332254546","1332254555","1332254537"],"photo_ids_order":["1332254537","1332254546","1332254550","1332254553","1332254554","1332254555"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/75408d6977a4f71051aad0e8011275ba.jpg","text":"TemporaryFile(/tmp/multipartBody2414677786275894412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058074124,"filename":"image_28012025_04_13_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/1/28/b392eaa9e97e487231f7039fb2a4eadc.jpg","text":"TemporaryFile(/tmp/multipartBody6821492877783533577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058074124,"filename":"image_28012025_04_12_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/1/28/c354cc502d96503f91d6e2eb52681ce5.jpg","text":"TemporaryFile(/tmp/multipartBody2976839281595690567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058074124,"filename":"image_28012025_04_12_46_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/60461ae9c2d0bd87f519114c267d3465.jpg","text":"TemporaryFile(/tmp/multipartBody5504050524703485151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058074124,"filename":"image_28012025_04_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/1/28/f7097e20c38c8304268b9cb0b70034b7.jpg","text":"TemporaryFile(/tmp/multipartBody5582940437317716595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058074124,"filename":"image_28012025_04_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/1/28/dc16a29ef2ea7e32ba90f8dd8e056edb.jpg","text":"TemporaryFile(/tmp/multipartBody5368591720787698368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058074124,"filename":"image_28012025_04_12_25_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332254550","file1":"1332254546","file0":"1332254537","file4":"1332254554","file5":"1332254555","file3":"1332254553"},"map_files_photo_id_array":[{"photo_id":"1332254555","filename":"file5"},{"photo_id":"1332254550","filename":"file2"},{"photo_id":"1332254554","filename":"file4"},{"photo_id":"1332254546","filename":"file1"},{"photo_id":"1332254537","filename":"file0"},{"photo_id":"1332254553","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332254554":["hashtag1","hashtag2"]},{"1332254553":["hashtag1","hashtag2"]},{"1332254550":["hashtag1","hashtag2"]},{"1332254546":["hashtag1","hashtag2"]},{"1332254555":["hashtag1","hashtag2"]},{"1332254537":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332254554, 1332254553, 1332254550, 1332254546, 1332254555, 1332254537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.92529249191284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:54:32.247451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/13/image_28012025_04_13_25_10515.jpg', '/home/pi/Desktop/images/28012025/04/13/image_28012025_04_13_36_10372.jpg', '/home/pi/Desktop/images/28012025/04/13/image_28012025_04_13_45_9329.jpg', '/home/pi/Desktop/images/28012025/04/13/image_28012025_04_13_55_10360.jpg', '/home/pi/Desktop/images/28012025/04/13/image_28012025_04_14_06_10419.jpg', '/home/pi/Desktop/images/28012025/04/14/image_28012025_04_14_15_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/13/image_28012025_04_13_25_10515.jpg
/home/pi/Desktop/images/28012025/04/13/image_28012025_04_13_36_10372.jpg
/home/pi/Desktop/images/28012025/04/13/image_28012025_04_13_45_9329.jpg
/home/pi/Desktop/images/28012025/04/13/image_28012025_04_13_55_10360.jpg
/home/pi/Desktop/images/28012025/04/13/image_28012025_04_14_06_10419.jpg
/home/pi/Desktop/images/28012025/04/14/image_28012025_04_14_15_9328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332254598","1332254586","1332254594","1332254582","1332254596","1332254590"],"photo_ids_order":["1332254582","1332254586","1332254590","1332254594","1332254596","1332254598"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4b6ed4c64a7c957f168c64c9c206d29f.jpg","text":"TemporaryFile(/tmp/multipartBody1593381380683035229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058133345,"filename":"image_28012025_04_14_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/1/28/866afe566587cc100b141e0962804129.jpg","text":"TemporaryFile(/tmp/multipartBody8730084538399909182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058133345,"filename":"image_28012025_04_13_36_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5032b6ccdc8828f51ce80ceb1f4705db.jpg","text":"TemporaryFile(/tmp/multipartBody8372052115003268945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058133345,"filename":"image_28012025_04_13_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/1/28/23dfb1ba7517914378e2f8e0ae5475d6.jpg","text":"TemporaryFile(/tmp/multipartBody1328749291152185649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058133345,"filename":"image_28012025_04_13_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/1/28/7277c0ed47598847e92cc77b0242918a.jpg","text":"TemporaryFile(/tmp/multipartBody2072228292341527634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058133345,"filename":"image_28012025_04_14_06_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/53e66dc22b81773ff8eb973645657395.jpg","text":"TemporaryFile(/tmp/multipartBody3143870914414304268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058133345,"filename":"image_28012025_04_13_45_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332254590","file1":"1332254586","file0":"1332254582","file4":"1332254596","file5":"1332254598","file3":"1332254594"},"map_files_photo_id_array":[{"photo_id":"1332254598","filename":"file5"},{"photo_id":"1332254590","filename":"file2"},{"photo_id":"1332254596","filename":"file4"},{"photo_id":"1332254586","filename":"file1"},{"photo_id":"1332254582","filename":"file0"},{"photo_id":"1332254594","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332254598":["hashtag1","hashtag2"]},{"1332254586":["hashtag1","hashtag2"]},{"1332254594":["hashtag1","hashtag2"]},{"1332254582":["hashtag1","hashtag2"]},{"1332254596":["hashtag1","hashtag2"]},{"1332254590":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332254598, 1332254586, 1332254594, 1332254582, 1332254596, 1332254590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.660244941711426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:55:32.503790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/14/image_28012025_04_14_26_10453.jpg', '/home/pi/Desktop/images/28012025/04/14/image_28012025_04_14_35_9344.jpg', '/home/pi/Desktop/images/28012025/04/14/image_28012025_04_14_45_10459.jpg', '/home/pi/Desktop/images/28012025/04/14/image_28012025_04_14_56_10339.jpg', '/home/pi/Desktop/images/28012025/04/14/image_28012025_04_15_05_9352.jpg', '/home/pi/Desktop/images/28012025/04/15/image_28012025_04_15_15_10407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/14/image_28012025_04_14_26_10453.jpg
/home/pi/Desktop/images/28012025/04/14/image_28012025_04_14_35_9344.jpg
/home/pi/Desktop/images/28012025/04/14/image_28012025_04_14_45_10459.jpg
/home/pi/Desktop/images/28012025/04/14/image_28012025_04_14_56_10339.jpg
/home/pi/Desktop/images/28012025/04/14/image_28012025_04_15_05_9352.jpg
/home/pi/Desktop/images/28012025/04/15/image_28012025_04_15_15_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":["1332254620","1332254640","1332254630","1332254636","1332254624","1332254641"],"photo_ids_order":["1332254620","1332254624","1332254630","1332254636","1332254640","1332254641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3729819d3451e4387d4055ca20f2dab4.jpg","text":"TemporaryFile(/tmp/multipartBody4199331436108656972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058193604,"filename":"image_28012025_04_14_26_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4acba7376e2489df6aeed7ba025ca05d.jpg","text":"TemporaryFile(/tmp/multipartBody3082784126347703873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058193604,"filename":"image_28012025_04_15_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/1/28/c74e410605f256dd42972b4dd9edfcf9.jpg","text":"TemporaryFile(/tmp/multipartBody4599092191874801125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058193604,"filename":"image_28012025_04_14_45_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/43e3f1c72c43335259aff492cb325b6c.jpg","text":"TemporaryFile(/tmp/multipartBody4172137953631084570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058193604,"filename":"image_28012025_04_14_56_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a4282fb074bd4a424081389c3affbb20.jpg","text":"TemporaryFile(/tmp/multipartBody6448612408084230784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058193604,"filename":"image_28012025_04_14_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/1/28/86c8681b04e97ecda05f097a3e0d3578.jpg","text":"TemporaryFile(/tmp/multipartBody4701992811117187042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058193604,"filename":"image_28012025_04_15_15_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332254630","file1":"1332254624","file0":"1332254620","file4":"1332254640","file5":"1332254641","file3":"1332254636"},"map_files_photo_id_array":[{"photo_id":"1332254641","filename":"file5"},{"photo_id":"1332254630","filename":"file2"},{"photo_id":"1332254640","filename":"file4"},{"photo_id":"1332254624","filename":"file1"},{"photo_id":"1332254620","filename":"file0"},{"photo_id":"1332254636","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332254620":["hashtag1","hashtag2"]},{"1332254640":["hashtag1","hashtag2"]},{"1332254630":["hashtag1","hashtag2"]},{"1332254636":["hashtag1","hashtag2"]},{"1332254624":["hashtag1","hashtag2"]},{"1332254641":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332254620, 1332254640, 1332254630, 1332254636, 1332254624, 1332254641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.613791704177856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:56:32.718495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/15/image_28012025_04_15_25_9333.jpg', '/home/pi/Desktop/images/28012025/04/15/image_28012025_04_15_35_10357.jpg', '/home/pi/Desktop/images/28012025/04/15/image_28012025_04_15_46_10373.jpg', '/home/pi/Desktop/images/28012025/04/15/image_28012025_04_15_55_9329.jpg', '/home/pi/Desktop/images/28012025/04/15/image_28012025_04_16_05_10415.jpg', '/home/pi/Desktop/images/28012025/04/16/image_28012025_04_16_15_9820.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/15/image_28012025_04_15_25_9333.jpg
/home/pi/Desktop/images/28012025/04/15/image_28012025_04_15_35_10357.jpg
/home/pi/Desktop/images/28012025/04/15/image_28012025_04_15_46_10373.jpg
/home/pi/Desktop/images/28012025/04/15/image_28012025_04_15_55_9329.jpg
/home/pi/Desktop/images/28012025/04/15/image_28012025_04_16_05_10415.jpg
/home/pi/Desktop/images/28012025/04/16/image_28012025_04_16_15_9820.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332254839","1332254667","1332254661","1332254723","1332254674","1332254677"],"photo_ids_order":["1332254661","1332254667","1332254674","1332254677","1332254723","1332254839"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ef3bddfb06d85bdd87703e4d447bd9c9.jpg","text":"TemporaryFile(/tmp/multipartBody3225844060391695586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058253813,"filename":"image_28012025_04_16_15_9820.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6cef96a17b4bfe838e1a25b486e3eb9d.jpg","text":"TemporaryFile(/tmp/multipartBody6717512532943529785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058253813,"filename":"image_28012025_04_15_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/1/28/11f0b90c65e2d9b98bbd7e5fedd3b00c.jpg","text":"TemporaryFile(/tmp/multipartBody8499897833021610074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058253813,"filename":"image_28012025_04_15_25_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c387f62ee95c52200b5068bb489c73e8.jpg","text":"TemporaryFile(/tmp/multipartBody2973915947427840089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058253813,"filename":"image_28012025_04_16_05_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/40a95c74d06e18326998a8cb6f6d26d2.jpg","text":"TemporaryFile(/tmp/multipartBody2889739286103068943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058253813,"filename":"image_28012025_04_15_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/1/28/7bab007214ec6c15db9c1440427b4641.jpg","text":"TemporaryFile(/tmp/multipartBody8538312081865587214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058253813,"filename":"image_28012025_04_15_55_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332254674","file1":"1332254667","file0":"1332254661","file4":"1332254723","file5":"1332254839","file3":"1332254677"},"map_files_photo_id_array":[{"photo_id":"1332254839","filename":"file5"},{"photo_id":"1332254674","filename":"file2"},{"photo_id":"1332254723","filename":"file4"},{"photo_id":"1332254667","filename":"file1"},{"photo_id":"1332254661","filename":"file0"},{"photo_id":"1332254677","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332254839":["hashtag1","hashtag2"]},{"1332254667":["hashtag1","hashtag2"]},{"1332254661":["hashtag1","hashtag2"]},{"1332254723":["hashtag1","hashtag2"]},{"1332254674":["hashtag1","hashtag2"]},{"1332254677":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332254839, 1332254667, 1332254661, 1332254723, 1332254674, 1332254677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.381704568862915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 10:57:33.077406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/16/image_28012025_04_16_35_9361.jpg', '/home/pi/Desktop/images/28012025/04/16/image_28012025_04_16_45_10432.jpg', '/home/pi/Desktop/images/28012025/04/16/image_28012025_04_16_56_10349.jpg', '/home/pi/Desktop/images/28012025/04/16/image_28012025_04_17_05_9411.jpg', '/home/pi/Desktop/images/28012025/04/17/image_28012025_04_17_16_10351.jpg', '/home/pi/Desktop/images/28012025/04/17/image_28012025_04_17_25_9392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/16/image_28012025_04_16_35_9361.jpg
/home/pi/Desktop/images/28012025/04/16/image_28012025_04_16_45_10432.jpg
/home/pi/Desktop/images/28012025/04/16/image_28012025_04_16_56_10349.jpg
/home/pi/Desktop/images/28012025/04/16/image_28012025_04_17_05_9411.jpg
/home/pi/Desktop/images/28012025/04/17/image_28012025_04_17_16_10351.jpg
/home/pi/Desktop/images/28012025/04/17/image_28012025_04_17_25_9392.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 www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 10:59:03.916666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/16/image_28012025_04_16_35_9361.jpg', '/home/pi/Desktop/images/28012025/04/16/image_28012025_04_16_45_10432.jpg', '/home/pi/Desktop/images/28012025/04/16/image_28012025_04_16_56_10349.jpg', '/home/pi/Desktop/images/28012025/04/16/image_28012025_04_17_05_9411.jpg', '/home/pi/Desktop/images/28012025/04/17/image_28012025_04_17_16_10351.jpg', '/home/pi/Desktop/images/28012025/04/17/image_28012025_04_17_25_9392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/16/image_28012025_04_16_35_9361.jpg
/home/pi/Desktop/images/28012025/04/16/image_28012025_04_16_45_10432.jpg
/home/pi/Desktop/images/28012025/04/16/image_28012025_04_16_56_10349.jpg
/home/pi/Desktop/images/28012025/04/16/image_28012025_04_17_05_9411.jpg
/home/pi/Desktop/images/28012025/04/17/image_28012025_04_17_16_10351.jpg
/home/pi/Desktop/images/28012025/04/17/image_28012025_04_17_25_9392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332255489","1332255516","1332255566","1332255524","1332255496","1332255505"],"photo_ids_order":["1332255489","1332255496","1332255505","1332255516","1332255524","1332255566"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0c221e58d3244fb5619cf7b32e6518d0.jpg","text":"TemporaryFile(/tmp/multipartBody5436344687647045759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058405141,"filename":"image_28012025_04_16_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/1/28/12b8b826997c3d34ebd2c1ece72d58e7.jpg","text":"TemporaryFile(/tmp/multipartBody2268644345556857801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058405141,"filename":"image_28012025_04_17_05_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1398f853470e14a2982598e41384d70c.jpg","text":"TemporaryFile(/tmp/multipartBody486208569153689850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058405141,"filename":"image_28012025_04_17_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/1/28/476c50284a76cf4464b2ef26fb2ab8b7.jpg","text":"TemporaryFile(/tmp/multipartBody3776469254757093560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058405141,"filename":"image_28012025_04_17_16_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/454a53bae49aabde12b687875f415c95.jpg","text":"TemporaryFile(/tmp/multipartBody7763460444323110949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058405141,"filename":"image_28012025_04_16_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/1/28/2ef7ae1de8b862b4d97a19db7f21f8b7.jpg","text":"TemporaryFile(/tmp/multipartBody6134445224864834356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058405141,"filename":"image_28012025_04_16_56_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332255505","file1":"1332255496","file0":"1332255489","file4":"1332255524","file5":"1332255566","file3":"1332255516"},"map_files_photo_id_array":[{"photo_id":"1332255566","filename":"file5"},{"photo_id":"1332255505","filename":"file2"},{"photo_id":"1332255524","filename":"file4"},{"photo_id":"1332255496","filename":"file1"},{"photo_id":"1332255489","filename":"file0"},{"photo_id":"1332255516","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332255489":["hashtag1","hashtag2"]},{"1332255516":["hashtag1","hashtag2"]},{"1332255566":["hashtag1","hashtag2"]},{"1332255524":["hashtag1","hashtag2"]},{"1332255496":["hashtag1","hashtag2"]},{"1332255505":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332255489, 1332255516, 1332255566, 1332255524, 1332255496, 1332255505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.34626126289368 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 10:59:52.374916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_26_10355.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_37_10337.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_46_9403.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_56_10357.jpg', '/home/pi/Desktop/images/23012025/23/18/image_23012025_23_19_07_10352.jpg', '/home/pi/Desktop/images/23012025/23/19/image_23012025_23_19_16_9330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_26_10355.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_37_10337.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_46_9403.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_18_56_10357.jpg
/home/pi/Desktop/images/23012025/23/18/image_23012025_23_19_07_10352.jpg
/home/pi/Desktop/images/23012025/23/19/image_23012025_23_19_16_9330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332255612","1332255600","1332255674","1332255596","1332255617","1332255607"],"photo_ids_order":["1332255596","1332255600","1332255607","1332255612","1332255617","1332255674"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e2ad8a03eacce07ca797c69799a896bd.jpg","text":"TemporaryFile(/tmp/multipartBody1973892347911600974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058454585,"filename":"image_23012025_23_18_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/1/28/da0d9b9446a52f3e844219bde2f3c7dd.jpg","text":"TemporaryFile(/tmp/multipartBody8497031579476664298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058454585,"filename":"image_23012025_23_18_37_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/89632e88984c22a5b119e02493804c0c.jpg","text":"TemporaryFile(/tmp/multipartBody8245910702340375680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058454585,"filename":"image_23012025_23_19_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/1/28/126834a101288744baa4e0ba19748d2d.jpg","text":"TemporaryFile(/tmp/multipartBody8824251976349604433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058454585,"filename":"image_23012025_23_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/1/28/42b244cd9724d86cbcc4c240e2d5dfab.jpg","text":"TemporaryFile(/tmp/multipartBody3918034883466503794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058454585,"filename":"image_23012025_23_19_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/1/28/c35ca7bfdb5e6048669394f42b1dc21b.jpg","text":"TemporaryFile(/tmp/multipartBody4831997757738465469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058454585,"filename":"image_23012025_23_18_46_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332255607","file1":"1332255600","file0":"1332255596","file4":"1332255617","file5":"1332255674","file3":"1332255612"},"map_files_photo_id_array":[{"photo_id":"1332255674","filename":"file5"},{"photo_id":"1332255607","filename":"file2"},{"photo_id":"1332255617","filename":"file4"},{"photo_id":"1332255600","filename":"file1"},{"photo_id":"1332255596","filename":"file0"},{"photo_id":"1332255612","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332255612":["hashtag1","hashtag2"]},{"1332255600":["hashtag1","hashtag2"]},{"1332255674":["hashtag1","hashtag2"]},{"1332255596":["hashtag1","hashtag2"]},{"1332255617":["hashtag1","hashtag2"]},{"1332255607":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332255612, 1332255600, 1332255674, 1332255596, 1332255617, 1332255607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.204803228378296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 11:00:42.577013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/17/image_28012025_04_17_35_10487.jpg', '/home/pi/Desktop/images/28012025/04/17/image_28012025_04_17_46_10353.jpg', '/home/pi/Desktop/images/28012025/04/17/image_28012025_04_17_55_9350.jpg', '/home/pi/Desktop/images/28012025/04/17/image_28012025_04_18_06_10396.jpg', '/home/pi/Desktop/images/28012025/04/18/image_28012025_04_18_15_9330.jpg', '/home/pi/Desktop/images/28012025/04/18/image_28012025_04_18_25_10507.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/17/image_28012025_04_17_35_10487.jpg
/home/pi/Desktop/images/28012025/04/17/image_28012025_04_17_46_10353.jpg
/home/pi/Desktop/images/28012025/04/17/image_28012025_04_17_55_9350.jpg
/home/pi/Desktop/images/28012025/04/17/image_28012025_04_18_06_10396.jpg
/home/pi/Desktop/images/28012025/04/18/image_28012025_04_18_15_9330.jpg
/home/pi/Desktop/images/28012025/04/18/image_28012025_04_18_25_10507.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332255906","1332255909","1332255900","1332255940","1332255928","1332255913"],"photo_ids_order":["1332255900","1332255906","1332255909","1332255913","1332255928","1332255940"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0b8a6a20704ac59e36a0cd96be16c805.jpg","text":"TemporaryFile(/tmp/multipartBody3305994453511258407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058503708,"filename":"image_28012025_04_17_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/1/28/9d4336973fd00d3b33ec893cd1494850.jpg","text":"TemporaryFile(/tmp/multipartBody2793791776216767539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058503708,"filename":"image_28012025_04_17_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/1/28/f6b40ca086a7c622f8cfa7d1682bc125.jpg","text":"TemporaryFile(/tmp/multipartBody1501221035480834434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058503708,"filename":"image_28012025_04_17_35_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2e03d1015668ef4b4e3aebbd32693aa6.jpg","text":"TemporaryFile(/tmp/multipartBody912603370823333723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058503708,"filename":"image_28012025_04_18_25_10507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/20833b771190bc626f7818798e9ab4f1.jpg","text":"TemporaryFile(/tmp/multipartBody7830405612540905055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058503708,"filename":"image_28012025_04_18_15_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/26f5e27090b50a01f33c5b9fe1deb9d7.jpg","text":"TemporaryFile(/tmp/multipartBody2548634056049206117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058503708,"filename":"image_28012025_04_18_06_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332255909","file1":"1332255906","file0":"1332255900","file4":"1332255928","file5":"1332255940","file3":"1332255913"},"map_files_photo_id_array":[{"photo_id":"1332255940","filename":"file5"},{"photo_id":"1332255909","filename":"file2"},{"photo_id":"1332255928","filename":"file4"},{"photo_id":"1332255906","filename":"file1"},{"photo_id":"1332255900","filename":"file0"},{"photo_id":"1332255913","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332255906":["hashtag1","hashtag2"]},{"1332255909":["hashtag1","hashtag2"]},{"1332255900":["hashtag1","hashtag2"]},{"1332255940":["hashtag1","hashtag2"]},{"1332255928":["hashtag1","hashtag2"]},{"1332255913":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332255906, 1332255909, 1332255900, 1332255940, 1332255928, 1332255913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.87757849693298 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:01:32.741859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/18/image_28012025_04_18_36_10363.jpg', '/home/pi/Desktop/images/28012025/04/18/image_28012025_04_18_45_9404.jpg', '/home/pi/Desktop/images/28012025/04/18/image_28012025_04_18_55_10372.jpg', '/home/pi/Desktop/images/28012025/04/18/image_28012025_04_19_05_9358.jpg', '/home/pi/Desktop/images/28012025/04/19/image_28012025_04_19_15_10484.jpg', '/home/pi/Desktop/images/28012025/04/19/image_28012025_04_19_26_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/18/image_28012025_04_18_36_10363.jpg
/home/pi/Desktop/images/28012025/04/18/image_28012025_04_18_45_9404.jpg
/home/pi/Desktop/images/28012025/04/18/image_28012025_04_18_55_10372.jpg
/home/pi/Desktop/images/28012025/04/18/image_28012025_04_19_05_9358.jpg
/home/pi/Desktop/images/28012025/04/19/image_28012025_04_19_15_10484.jpg
/home/pi/Desktop/images/28012025/04/19/image_28012025_04_19_26_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5991148948669434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 11:01:42.774882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/18/image_28012025_04_18_36_10363.jpg', '/home/pi/Desktop/images/28012025/04/18/image_28012025_04_18_45_9404.jpg', '/home/pi/Desktop/images/28012025/04/18/image_28012025_04_18_55_10372.jpg', '/home/pi/Desktop/images/28012025/04/18/image_28012025_04_19_05_9358.jpg', '/home/pi/Desktop/images/28012025/04/19/image_28012025_04_19_15_10484.jpg', '/home/pi/Desktop/images/28012025/04/19/image_28012025_04_19_26_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/18/image_28012025_04_18_36_10363.jpg
/home/pi/Desktop/images/28012025/04/18/image_28012025_04_18_45_9404.jpg
/home/pi/Desktop/images/28012025/04/18/image_28012025_04_18_55_10372.jpg
/home/pi/Desktop/images/28012025/04/18/image_28012025_04_19_05_9358.jpg
/home/pi/Desktop/images/28012025/04/19/image_28012025_04_19_15_10484.jpg
/home/pi/Desktop/images/28012025/04/19/image_28012025_04_19_26_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":["1332256008","1332256022","1332256019","1332256000","1332256003","1332255993"],"photo_ids_order":["1332255993","1332256000","1332256003","1332256008","1332256019","1332256022"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6e3feffcea2b03a5e832cfd6866b0d9a.jpg","text":"TemporaryFile(/tmp/multipartBody8933857073838520503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058563798,"filename":"image_28012025_04_19_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/1/28/fa190e4e3b7a34ca438d1d8021b64a8a.jpg","text":"TemporaryFile(/tmp/multipartBody8249195519781824126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058563798,"filename":"image_28012025_04_19_26_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/143b84eaec13faf4c7cff44b3e6b6e4f.jpg","text":"TemporaryFile(/tmp/multipartBody8585569888452967851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058563798,"filename":"image_28012025_04_19_15_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/abbc086efd044392aef1978fd6e6ce62.jpg","text":"TemporaryFile(/tmp/multipartBody4983225776328820985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058563798,"filename":"image_28012025_04_18_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/1/28/5ef8b3ba6afe0b78b706c53fb7fae3e3.jpg","text":"TemporaryFile(/tmp/multipartBody8581796239660265664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058563798,"filename":"image_28012025_04_18_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/1/28/b75e6ae1f90774f2fe4cf5897f31d619.jpg","text":"TemporaryFile(/tmp/multipartBody6790714190787053225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058563798,"filename":"image_28012025_04_18_36_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332256003","file1":"1332256000","file0":"1332255993","file4":"1332256019","file5":"1332256022","file3":"1332256008"},"map_files_photo_id_array":[{"photo_id":"1332256022","filename":"file5"},{"photo_id":"1332256003","filename":"file2"},{"photo_id":"1332256019","filename":"file4"},{"photo_id":"1332256000","filename":"file1"},{"photo_id":"1332255993","filename":"file0"},{"photo_id":"1332256008","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332256008":["hashtag1","hashtag2"]},{"1332256022":["hashtag1","hashtag2"]},{"1332256019":["hashtag1","hashtag2"]},{"1332256000":["hashtag1","hashtag2"]},{"1332256003":["hashtag1","hashtag2"]},{"1332255993":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332256008, 1332256022, 1332256019, 1332256000, 1332256003, 1332255993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83600735664368 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:02:33.138761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/19/image_28012025_04_19_35_9360.jpg', '/home/pi/Desktop/images/28012025/04/19/image_28012025_04_19_45_10364.jpg', '/home/pi/Desktop/images/28012025/04/19/image_28012025_04_19_55_9374.jpg', '/home/pi/Desktop/images/28012025/04/19/image_28012025_04_20_05_10396.jpg', '/home/pi/Desktop/images/28012025/04/20/image_28012025_04_20_16_10390.jpg', '/home/pi/Desktop/images/28012025/04/20/image_28012025_04_20_25_9417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/19/image_28012025_04_19_35_9360.jpg
/home/pi/Desktop/images/28012025/04/19/image_28012025_04_19_45_10364.jpg
/home/pi/Desktop/images/28012025/04/19/image_28012025_04_19_55_9374.jpg
/home/pi/Desktop/images/28012025/04/19/image_28012025_04_20_05_10396.jpg
/home/pi/Desktop/images/28012025/04/20/image_28012025_04_20_16_10390.jpg
/home/pi/Desktop/images/28012025/04/20/image_28012025_04_20_25_9417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332256059","1332256063","1332256053","1332256047","1332256062","1332256041"],"photo_ids_order":["1332256041","1332256047","1332256053","1332256059","1332256062","1332256063"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5de72918b3a314f040d47762e65ddffc.jpg","text":"TemporaryFile(/tmp/multipartBody1021187383815578108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058614251,"filename":"image_28012025_04_20_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/1/28/b406b3b4bc008ae206b3168454570b63.jpg","text":"TemporaryFile(/tmp/multipartBody3450061698424339312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058614251,"filename":"image_28012025_04_20_25_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8e0100883c1d659cc2f9c7e035140df7.jpg","text":"TemporaryFile(/tmp/multipartBody2708138805177434916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058614251,"filename":"image_28012025_04_19_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/1/28/a8af0ce501dc6cec8e0e10c0a6e3a71e.jpg","text":"TemporaryFile(/tmp/multipartBody5144572312998680352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058614251,"filename":"image_28012025_04_19_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/1/28/7f7e67b280774fadf5a56e6115443618.jpg","text":"TemporaryFile(/tmp/multipartBody1205054357785873089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058614251,"filename":"image_28012025_04_20_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/1/28/89c966038773dd0c4a03929cac289f48.jpg","text":"TemporaryFile(/tmp/multipartBody2451490314213582584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058614251,"filename":"image_28012025_04_19_35_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332256053","file1":"1332256047","file0":"1332256041","file4":"1332256062","file5":"1332256063","file3":"1332256059"},"map_files_photo_id_array":[{"photo_id":"1332256063","filename":"file5"},{"photo_id":"1332256053","filename":"file2"},{"photo_id":"1332256062","filename":"file4"},{"photo_id":"1332256047","filename":"file1"},{"photo_id":"1332256041","filename":"file0"},{"photo_id":"1332256059","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332256059":["hashtag1","hashtag2"]},{"1332256063":["hashtag1","hashtag2"]},{"1332256053":["hashtag1","hashtag2"]},{"1332256047":["hashtag1","hashtag2"]},{"1332256062":["hashtag1","hashtag2"]},{"1332256041":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332256059, 1332256063, 1332256053, 1332256047, 1332256062, 1332256041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86859369277954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:03:32.374533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/20/image_28012025_04_20_35_10361.jpg', '/home/pi/Desktop/images/28012025/04/20/image_28012025_04_20_46_10354.jpg', '/home/pi/Desktop/images/28012025/04/20/image_28012025_04_20_55_9345.jpg', '/home/pi/Desktop/images/28012025/04/20/image_28012025_04_21_05_10410.jpg', '/home/pi/Desktop/images/28012025/04/21/image_28012025_04_21_15_9331.jpg', '/home/pi/Desktop/images/28012025/04/21/image_28012025_04_21_25_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/20/image_28012025_04_20_35_10361.jpg
/home/pi/Desktop/images/28012025/04/20/image_28012025_04_20_46_10354.jpg
/home/pi/Desktop/images/28012025/04/20/image_28012025_04_20_55_9345.jpg
/home/pi/Desktop/images/28012025/04/20/image_28012025_04_21_05_10410.jpg
/home/pi/Desktop/images/28012025/04/21/image_28012025_04_21_15_9331.jpg
/home/pi/Desktop/images/28012025/04/21/image_28012025_04_21_25_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":["1332256224","1332256220","1332256217","1332256202","1332256213","1332256207"],"photo_ids_order":["1332256202","1332256207","1332256213","1332256217","1332256220","1332256224"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/009972ab02871eb146ae4fae4377a5cb.jpg","text":"TemporaryFile(/tmp/multipartBody5406153601925607844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058673495,"filename":"image_28012025_04_21_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/1/28/cf6dd49996a4a901593c13647244dda4.jpg","text":"TemporaryFile(/tmp/multipartBody2746601362458098022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058673495,"filename":"image_28012025_04_21_15_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/41ccf021ce08d4cb2c87e40854967340.jpg","text":"TemporaryFile(/tmp/multipartBody5575971688777852494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058673495,"filename":"image_28012025_04_21_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/1/28/56f52650a10f07f7d57bc5a933613054.jpg","text":"TemporaryFile(/tmp/multipartBody2448680237654531269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058673495,"filename":"image_28012025_04_20_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/1/28/356a57fc28733312f3d96ef6a57334e1.jpg","text":"TemporaryFile(/tmp/multipartBody731119507723417468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058673495,"filename":"image_28012025_04_20_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/1/28/3d668b5b1729918e05b036a78e5f659d.jpg","text":"TemporaryFile(/tmp/multipartBody2954590249901192798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058673495,"filename":"image_28012025_04_20_46_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332256213","file1":"1332256207","file0":"1332256202","file4":"1332256220","file5":"1332256224","file3":"1332256217"},"map_files_photo_id_array":[{"photo_id":"1332256224","filename":"file5"},{"photo_id":"1332256213","filename":"file2"},{"photo_id":"1332256220","filename":"file4"},{"photo_id":"1332256207","filename":"file1"},{"photo_id":"1332256202","filename":"file0"},{"photo_id":"1332256217","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332256224":["hashtag1","hashtag2"]},{"1332256220":["hashtag1","hashtag2"]},{"1332256217":["hashtag1","hashtag2"]},{"1332256202":["hashtag1","hashtag2"]},{"1332256213":["hashtag1","hashtag2"]},{"1332256207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332256224, 1332256220, 1332256217, 1332256202, 1332256213, 1332256207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.415655851364136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:04:32.615202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/21/image_28012025_04_21_35_10346.jpg', '/home/pi/Desktop/images/28012025/04/21/image_28012025_04_21_45_9342.jpg', '/home/pi/Desktop/images/28012025/04/21/image_28012025_04_22_06_10360.jpg', '/home/pi/Desktop/images/28012025/04/22/image_28012025_04_22_15_9387.jpg', '/home/pi/Desktop/images/28012025/04/22/image_28012025_04_22_25_10343.jpg', '/home/pi/Desktop/images/28012025/04/22/image_28012025_04_22_36_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/21/image_28012025_04_21_35_10346.jpg
/home/pi/Desktop/images/28012025/04/21/image_28012025_04_21_45_9342.jpg
/home/pi/Desktop/images/28012025/04/21/image_28012025_04_22_06_10360.jpg
/home/pi/Desktop/images/28012025/04/22/image_28012025_04_22_15_9387.jpg
/home/pi/Desktop/images/28012025/04/22/image_28012025_04_22_25_10343.jpg
/home/pi/Desktop/images/28012025/04/22/image_28012025_04_22_36_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":["1332256256","1332256250","1332256270","1332256273","1332256261","1332256266"],"photo_ids_order":["1332256250","1332256256","1332256261","1332256266","1332256270","1332256273"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/42c6dfd07a9c18f9d60e31302c43e7d5.jpg","text":"TemporaryFile(/tmp/multipartBody3597463217699104502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058733741,"filename":"image_28012025_04_21_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/1/28/3828949b42f890e2eb4c733b864ba10c.jpg","text":"TemporaryFile(/tmp/multipartBody995600981223421815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058733741,"filename":"image_28012025_04_21_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/1/28/8678017b717cb141bef2a0a1d959a9d1.jpg","text":"TemporaryFile(/tmp/multipartBody4495605696824096510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058733741,"filename":"image_28012025_04_22_25_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fb54fc530461965e408b5a0c7d12d656.jpg","text":"TemporaryFile(/tmp/multipartBody4084879587942551301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058733741,"filename":"image_28012025_04_22_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/1/28/2d5a16f5299c3c3d0f80f1d53c97a182.jpg","text":"TemporaryFile(/tmp/multipartBody6820644612103154822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058733741,"filename":"image_28012025_04_22_06_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3089ccb9ac5655f333e910b4e33100eb.jpg","text":"TemporaryFile(/tmp/multipartBody8539527466851449480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058733741,"filename":"image_28012025_04_22_15_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332256261","file1":"1332256256","file0":"1332256250","file4":"1332256270","file5":"1332256273","file3":"1332256266"},"map_files_photo_id_array":[{"photo_id":"1332256273","filename":"file5"},{"photo_id":"1332256261","filename":"file2"},{"photo_id":"1332256270","filename":"file4"},{"photo_id":"1332256256","filename":"file1"},{"photo_id":"1332256250","filename":"file0"},{"photo_id":"1332256266","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332256256":["hashtag1","hashtag2"]},{"1332256250":["hashtag1","hashtag2"]},{"1332256270":["hashtag1","hashtag2"]},{"1332256273":["hashtag1","hashtag2"]},{"1332256261":["hashtag1","hashtag2"]},{"1332256266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332256256, 1332256250, 1332256270, 1332256273, 1332256261, 1332256266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.1033148765564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:05:32.818367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/22/image_28012025_04_22_46_9717.jpg', '/home/pi/Desktop/images/28012025/04/22/image_28012025_04_22_55_9408.jpg', '/home/pi/Desktop/images/28012025/04/22/image_28012025_04_23_05_10439.jpg', '/home/pi/Desktop/images/28012025/04/23/image_28012025_04_23_25_10498.jpg', '/home/pi/Desktop/images/28012025/04/23/image_28012025_04_23_45_9346.jpg', '/home/pi/Desktop/images/28012025/04/23/image_28012025_04_23_55_10450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/22/image_28012025_04_22_46_9717.jpg
/home/pi/Desktop/images/28012025/04/22/image_28012025_04_22_55_9408.jpg
/home/pi/Desktop/images/28012025/04/22/image_28012025_04_23_05_10439.jpg
/home/pi/Desktop/images/28012025/04/23/image_28012025_04_23_25_10498.jpg
/home/pi/Desktop/images/28012025/04/23/image_28012025_04_23_45_9346.jpg
/home/pi/Desktop/images/28012025/04/23/image_28012025_04_23_55_10450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332257189","1332257138","1332256997","1332256685","1332257176","1332257192"],"photo_ids_order":["1332256685","1332256997","1332257138","1332257176","1332257189","1332257192"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cd3e39c063a6f04ed14db9060a0237ae.jpg","text":"TemporaryFile(/tmp/multipartBody1931973220876217293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058793964,"filename":"image_28012025_04_23_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/1/28/87998871f0311e5508204d0d1f4bb7b3.jpg","text":"TemporaryFile(/tmp/multipartBody2518423954273062093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058793964,"filename":"image_28012025_04_23_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/1/28/9ccd16dedf7f25c4a2c63cdb579ff697.jpg","text":"TemporaryFile(/tmp/multipartBody6536540998973018377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058793964,"filename":"image_28012025_04_22_55_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cb3672af34594dd8b18cfc0587fa71dc.jpg","text":"TemporaryFile(/tmp/multipartBody3891860287566882901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058793964,"filename":"image_28012025_04_22_46_9717.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9baba71c5c2f4843de0b86c9eadbc362.jpg","text":"TemporaryFile(/tmp/multipartBody7395669259878226320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058793964,"filename":"image_28012025_04_23_25_10498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/21a1fdff2ec1d3b8662af6404b748ec5.jpg","text":"TemporaryFile(/tmp/multipartBody4425820632411531744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058793964,"filename":"image_28012025_04_23_55_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332257138","file1":"1332256997","file0":"1332256685","file4":"1332257189","file5":"1332257192","file3":"1332257176"},"map_files_photo_id_array":[{"photo_id":"1332257192","filename":"file5"},{"photo_id":"1332257138","filename":"file2"},{"photo_id":"1332257189","filename":"file4"},{"photo_id":"1332256997","filename":"file1"},{"photo_id":"1332256685","filename":"file0"},{"photo_id":"1332257176","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332257189":["hashtag1","hashtag2"]},{"1332257138":["hashtag1","hashtag2"]},{"1332256997":["hashtag1","hashtag2"]},{"1332256685":["hashtag1","hashtag2"]},{"1332257176":["hashtag1","hashtag2"]},{"1332257192":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332257189, 1332257138, 1332256997, 1332256685, 1332257176, 1332257192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.926246643066406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:06:33.027153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/24/image_28012025_04_24_15_10251.jpg', '/home/pi/Desktop/images/28012025/04/24/image_28012025_04_24_26_10486.jpg', '/home/pi/Desktop/images/28012025/04/24/image_28012025_04_24_45_10496.jpg', '/home/pi/Desktop/images/28012025/04/24/image_28012025_04_24_56_10353.jpg', '/home/pi/Desktop/images/28012025/04/24/image_28012025_04_25_05_9324.jpg', '/home/pi/Desktop/images/28012025/04/25/image_28012025_04_25_15_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/24/image_28012025_04_24_15_10251.jpg
/home/pi/Desktop/images/28012025/04/24/image_28012025_04_24_26_10486.jpg
/home/pi/Desktop/images/28012025/04/24/image_28012025_04_24_45_10496.jpg
/home/pi/Desktop/images/28012025/04/24/image_28012025_04_24_56_10353.jpg
/home/pi/Desktop/images/28012025/04/24/image_28012025_04_25_05_9324.jpg
/home/pi/Desktop/images/28012025/04/25/image_28012025_04_25_15_10351.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6370820999145508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 11:06:43.045969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/24/image_28012025_04_24_15_10251.jpg', '/home/pi/Desktop/images/28012025/04/24/image_28012025_04_24_26_10486.jpg', '/home/pi/Desktop/images/28012025/04/24/image_28012025_04_24_45_10496.jpg', '/home/pi/Desktop/images/28012025/04/24/image_28012025_04_24_56_10353.jpg', '/home/pi/Desktop/images/28012025/04/24/image_28012025_04_25_05_9324.jpg', '/home/pi/Desktop/images/28012025/04/25/image_28012025_04_25_15_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/24/image_28012025_04_24_15_10251.jpg
/home/pi/Desktop/images/28012025/04/24/image_28012025_04_24_26_10486.jpg
/home/pi/Desktop/images/28012025/04/24/image_28012025_04_24_45_10496.jpg
/home/pi/Desktop/images/28012025/04/24/image_28012025_04_24_56_10353.jpg
/home/pi/Desktop/images/28012025/04/24/image_28012025_04_25_05_9324.jpg
/home/pi/Desktop/images/28012025/04/25/image_28012025_04_25_15_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332257581","1332257583","1332257484","1332257577","1332257556","1332257477"],"photo_ids_order":["1332257477","1332257484","1332257556","1332257577","1332257581","1332257583"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/aa0728df1277e14409fc68fa61c8c04c.jpg","text":"TemporaryFile(/tmp/multipartBody5875249184277252767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058864089,"filename":"image_28012025_04_25_05_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/730cd8f8c6948fc3011a868b7bacb5b1.jpg","text":"TemporaryFile(/tmp/multipartBody3179988546745571518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058864089,"filename":"image_28012025_04_25_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/1/28/084a480bff49289874a476b49cd73519.jpg","text":"TemporaryFile(/tmp/multipartBody2084875044332974312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058864089,"filename":"image_28012025_04_24_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/1/28/946290c64a344f783268d4511ae9da89.jpg","text":"TemporaryFile(/tmp/multipartBody7960656640240207162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058864089,"filename":"image_28012025_04_24_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/1/28/cca2a6def6e0eced38e5222c8b2d63c9.jpg","text":"TemporaryFile(/tmp/multipartBody7446220222054999379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058864089,"filename":"image_28012025_04_24_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/1/28/e45b1c06bb62afa3ca201ac45b1a3446.jpg","text":"TemporaryFile(/tmp/multipartBody4999667514199189991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058864089,"filename":"image_28012025_04_24_15_10251.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332257556","file1":"1332257484","file0":"1332257477","file4":"1332257581","file5":"1332257583","file3":"1332257577"},"map_files_photo_id_array":[{"photo_id":"1332257583","filename":"file5"},{"photo_id":"1332257556","filename":"file2"},{"photo_id":"1332257581","filename":"file4"},{"photo_id":"1332257484","filename":"file1"},{"photo_id":"1332257477","filename":"file0"},{"photo_id":"1332257577","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332257581":["hashtag1","hashtag2"]},{"1332257583":["hashtag1","hashtag2"]},{"1332257484":["hashtag1","hashtag2"]},{"1332257577":["hashtag1","hashtag2"]},{"1332257556":["hashtag1","hashtag2"]},{"1332257477":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332257581, 1332257583, 1332257484, 1332257577, 1332257556, 1332257477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.9899799823761 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:07:32.316112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/25/image_28012025_04_25_26_10366.jpg', '/home/pi/Desktop/images/28012025/04/25/image_28012025_04_25_35_9327.jpg', '/home/pi/Desktop/images/28012025/04/25/image_28012025_04_25_45_10355.jpg', '/home/pi/Desktop/images/28012025/04/25/image_28012025_04_25_56_10342.jpg', '/home/pi/Desktop/images/28012025/04/25/image_28012025_04_26_05_9328.jpg', '/home/pi/Desktop/images/28012025/04/26/image_28012025_04_26_16_10418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/25/image_28012025_04_25_26_10366.jpg
/home/pi/Desktop/images/28012025/04/25/image_28012025_04_25_35_9327.jpg
/home/pi/Desktop/images/28012025/04/25/image_28012025_04_25_45_10355.jpg
/home/pi/Desktop/images/28012025/04/25/image_28012025_04_25_56_10342.jpg
/home/pi/Desktop/images/28012025/04/25/image_28012025_04_26_05_9328.jpg
/home/pi/Desktop/images/28012025/04/26/image_28012025_04_26_16_10418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332257630","1332257602","1332257628","1332257622","1332257625","1332257597"],"photo_ids_order":["1332257597","1332257602","1332257622","1332257625","1332257628","1332257630"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fc8d9528fd10b809864a93dba2912089.jpg","text":"TemporaryFile(/tmp/multipartBody6473943550888309163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058913450,"filename":"image_28012025_04_26_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/1/28/3348ad75fd90d9b4a66f40e2db2d7508.jpg","text":"TemporaryFile(/tmp/multipartBody8432807046939727571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058913450,"filename":"image_28012025_04_25_35_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/28b5a059149de188de827d1270036661.jpg","text":"TemporaryFile(/tmp/multipartBody2392893135845247922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058913450,"filename":"image_28012025_04_26_05_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7e91054b6d801bab8d5c13a8e03229ed.jpg","text":"TemporaryFile(/tmp/multipartBody7907790679177548336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058913450,"filename":"image_28012025_04_25_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/1/28/3813c1af9d11f601405aa6a526822f8d.jpg","text":"TemporaryFile(/tmp/multipartBody3341896559216531951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058913450,"filename":"image_28012025_04_25_56_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5403aa99a05c627d5455cdf26197ab56.jpg","text":"TemporaryFile(/tmp/multipartBody3260635071691391366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058913450,"filename":"image_28012025_04_25_26_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332257622","file1":"1332257602","file0":"1332257597","file4":"1332257628","file5":"1332257630","file3":"1332257625"},"map_files_photo_id_array":[{"photo_id":"1332257630","filename":"file5"},{"photo_id":"1332257622","filename":"file2"},{"photo_id":"1332257628","filename":"file4"},{"photo_id":"1332257602","filename":"file1"},{"photo_id":"1332257597","filename":"file0"},{"photo_id":"1332257625","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332257630":["hashtag1","hashtag2"]},{"1332257602":["hashtag1","hashtag2"]},{"1332257628":["hashtag1","hashtag2"]},{"1332257622":["hashtag1","hashtag2"]},{"1332257625":["hashtag1","hashtag2"]},{"1332257597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332257630, 1332257602, 1332257628, 1332257622, 1332257625, 1332257597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.51106643676758 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:08:32.553668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/26/image_28012025_04_26_25_9339.jpg', '/home/pi/Desktop/images/28012025/04/26/image_28012025_04_26_35_10412.jpg', '/home/pi/Desktop/images/28012025/04/26/image_28012025_04_26_46_10335.jpg', '/home/pi/Desktop/images/28012025/04/26/image_28012025_04_26_55_9347.jpg', '/home/pi/Desktop/images/28012025/04/26/image_28012025_04_27_05_10469.jpg', '/home/pi/Desktop/images/28012025/04/27/image_28012025_04_27_16_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/26/image_28012025_04_26_25_9339.jpg
/home/pi/Desktop/images/28012025/04/26/image_28012025_04_26_35_10412.jpg
/home/pi/Desktop/images/28012025/04/26/image_28012025_04_26_46_10335.jpg
/home/pi/Desktop/images/28012025/04/26/image_28012025_04_26_55_9347.jpg
/home/pi/Desktop/images/28012025/04/26/image_28012025_04_27_05_10469.jpg
/home/pi/Desktop/images/28012025/04/27/image_28012025_04_27_16_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332257663","1332257659","1332257673","1332257667","1332257687","1332257681"],"photo_ids_order":["1332257659","1332257663","1332257667","1332257673","1332257681","1332257687"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8d4ce1508b337ae982c939fc75311c57.jpg","text":"TemporaryFile(/tmp/multipartBody8599529775353175495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058973704,"filename":"image_28012025_04_26_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/1/28/f7cf9df30de3c024f5670c5c767be353.jpg","text":"TemporaryFile(/tmp/multipartBody6441030985064647342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058973704,"filename":"image_28012025_04_26_25_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/98103bd8dded14517d1c9db63d2bdcb9.jpg","text":"TemporaryFile(/tmp/multipartBody5539814021930247149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058973704,"filename":"image_28012025_04_26_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/1/28/68cab580503b856765a198ca155a957f.jpg","text":"TemporaryFile(/tmp/multipartBody7293870471249970965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058973704,"filename":"image_28012025_04_26_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/1/28/a82acc31d6ffa0d17e1fe63eb7f4444a.jpg","text":"TemporaryFile(/tmp/multipartBody3392894589647176608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058973704,"filename":"image_28012025_04_27_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/1/28/971ebac2cca6e813a364e8d35a83c6be.jpg","text":"TemporaryFile(/tmp/multipartBody2021750949988874793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738058973704,"filename":"image_28012025_04_27_05_10469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332257667","file1":"1332257663","file0":"1332257659","file4":"1332257681","file5":"1332257687","file3":"1332257673"},"map_files_photo_id_array":[{"photo_id":"1332257687","filename":"file5"},{"photo_id":"1332257667","filename":"file2"},{"photo_id":"1332257681","filename":"file4"},{"photo_id":"1332257663","filename":"file1"},{"photo_id":"1332257659","filename":"file0"},{"photo_id":"1332257673","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332257663":["hashtag1","hashtag2"]},{"1332257659":["hashtag1","hashtag2"]},{"1332257673":["hashtag1","hashtag2"]},{"1332257667":["hashtag1","hashtag2"]},{"1332257687":["hashtag1","hashtag2"]},{"1332257681":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332257663, 1332257659, 1332257673, 1332257667, 1332257687, 1332257681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.3764111995697 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:09:32.788016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/27/image_28012025_04_27_25_9373.jpg', '/home/pi/Desktop/images/28012025/04/27/image_28012025_04_27_36_10370.jpg', '/home/pi/Desktop/images/28012025/04/27/image_28012025_04_27_45_9346.jpg', '/home/pi/Desktop/images/28012025/04/27/image_28012025_04_27_55_10528.jpg', '/home/pi/Desktop/images/28012025/04/27/image_28012025_04_28_06_10351.jpg', '/home/pi/Desktop/images/28012025/04/28/image_28012025_04_28_15_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/27/image_28012025_04_27_25_9373.jpg
/home/pi/Desktop/images/28012025/04/27/image_28012025_04_27_36_10370.jpg
/home/pi/Desktop/images/28012025/04/27/image_28012025_04_27_45_9346.jpg
/home/pi/Desktop/images/28012025/04/27/image_28012025_04_27_55_10528.jpg
/home/pi/Desktop/images/28012025/04/27/image_28012025_04_28_06_10351.jpg
/home/pi/Desktop/images/28012025/04/28/image_28012025_04_28_15_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":["1332257773","1332257778","1332257763","1332257739","1332257769","1332257721"],"photo_ids_order":["1332257721","1332257739","1332257763","1332257769","1332257773","1332257778"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1590acb33f3c37ac818aba5cb99aaaee.jpg","text":"TemporaryFile(/tmp/multipartBody4201701214082349935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059033954,"filename":"image_28012025_04_28_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/1/28/13c2acfc5159c57e63eb948824332b08.jpg","text":"TemporaryFile(/tmp/multipartBody7703223908170389564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059033954,"filename":"image_28012025_04_28_15_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/13d661d1753a01b299feb77500c96d50.jpg","text":"TemporaryFile(/tmp/multipartBody4328685384851739610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059033954,"filename":"image_28012025_04_27_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/1/28/e24610deecf874f21dd546787baf3439.jpg","text":"TemporaryFile(/tmp/multipartBody7517746317742167223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059033954,"filename":"image_28012025_04_27_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/1/28/3ad490f14ff925a618d87e7c1cd7cbaf.jpg","text":"TemporaryFile(/tmp/multipartBody3082919603453715850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059033954,"filename":"image_28012025_04_27_55_10528.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f2fd52f59566b0e829a36dfb0eec7b85.jpg","text":"TemporaryFile(/tmp/multipartBody1165456116348835214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059033954,"filename":"image_28012025_04_27_25_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332257763","file1":"1332257739","file0":"1332257721","file4":"1332257773","file5":"1332257778","file3":"1332257769"},"map_files_photo_id_array":[{"photo_id":"1332257778","filename":"file5"},{"photo_id":"1332257763","filename":"file2"},{"photo_id":"1332257773","filename":"file4"},{"photo_id":"1332257739","filename":"file1"},{"photo_id":"1332257721","filename":"file0"},{"photo_id":"1332257769","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332257773":["hashtag1","hashtag2"]},{"1332257778":["hashtag1","hashtag2"]},{"1332257763":["hashtag1","hashtag2"]},{"1332257739":["hashtag1","hashtag2"]},{"1332257769":["hashtag1","hashtag2"]},{"1332257721":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332257773, 1332257778, 1332257763, 1332257739, 1332257769, 1332257721)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 61.125203132629395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 11:10:42.538536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/28/image_28012025_04_28_25_10359.jpg', '/home/pi/Desktop/images/28012025/04/28/image_28012025_04_28_35_9345.jpg', '/home/pi/Desktop/images/28012025/04/28/image_28012025_04_28_45_10350.jpg', '/home/pi/Desktop/images/28012025/04/28/image_28012025_04_28_55_10342.jpg', '/home/pi/Desktop/images/28012025/04/28/image_28012025_04_29_05_9351.jpg', '/home/pi/Desktop/images/28012025/04/29/image_28012025_04_29_15_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/28/image_28012025_04_28_25_10359.jpg
/home/pi/Desktop/images/28012025/04/28/image_28012025_04_28_35_9345.jpg
/home/pi/Desktop/images/28012025/04/28/image_28012025_04_28_45_10350.jpg
/home/pi/Desktop/images/28012025/04/28/image_28012025_04_28_55_10342.jpg
/home/pi/Desktop/images/28012025/04/28/image_28012025_04_29_05_9351.jpg
/home/pi/Desktop/images/28012025/04/29/image_28012025_04_29_15_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":["1332257801","1332257806","1332257796","1332257799","1332257802","1332257811"],"photo_ids_order":["1332257796","1332257799","1332257801","1332257802","1332257806","1332257811"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2bd0148bfa79dc96736d6f773da0f067.jpg","text":"TemporaryFile(/tmp/multipartBody5144026346918418852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059103687,"filename":"image_28012025_04_28_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/1/28/aa7b57636e6b7143a97c989b80f3dffe.jpg","text":"TemporaryFile(/tmp/multipartBody4826286854251780207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059103687,"filename":"image_28012025_04_29_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/1/28/427fc996f034386eb31c1466b1feb430.jpg","text":"TemporaryFile(/tmp/multipartBody3095212451954517991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059103687,"filename":"image_28012025_04_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/1/28/3b3fc1a48b9397ae74c61c03a0c5c253.jpg","text":"TemporaryFile(/tmp/multipartBody2636460649920494636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059103687,"filename":"image_28012025_04_28_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/1/28/51baf28cd5305fe57b85a590401a2d11.jpg","text":"TemporaryFile(/tmp/multipartBody6207512278352003006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059103687,"filename":"image_28012025_04_28_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/1/28/d421f2dc5910428de691d3b5ad15a9d6.jpg","text":"TemporaryFile(/tmp/multipartBody8083218759485268809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059103687,"filename":"image_28012025_04_29_15_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332257801","file1":"1332257799","file0":"1332257796","file4":"1332257806","file5":"1332257811","file3":"1332257802"},"map_files_photo_id_array":[{"photo_id":"1332257811","filename":"file5"},{"photo_id":"1332257801","filename":"file2"},{"photo_id":"1332257806","filename":"file4"},{"photo_id":"1332257799","filename":"file1"},{"photo_id":"1332257796","filename":"file0"},{"photo_id":"1332257802","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332257801":["hashtag1","hashtag2"]},{"1332257806":["hashtag1","hashtag2"]},{"1332257796":["hashtag1","hashtag2"]},{"1332257799":["hashtag1","hashtag2"]},{"1332257802":["hashtag1","hashtag2"]},{"1332257811":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332257801, 1332257806, 1332257796, 1332257799, 1332257802, 1332257811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.233983755111694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:11:32.897040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/29/image_28012025_04_29_26_10353.jpg', '/home/pi/Desktop/images/28012025/04/29/image_28012025_04_29_35_9331.jpg', '/home/pi/Desktop/images/28012025/04/29/image_28012025_04_29_45_10497.jpg', '/home/pi/Desktop/images/28012025/04/29/image_28012025_04_29_56_10356.jpg', '/home/pi/Desktop/images/28012025/04/29/image_28012025_04_30_05_9371.jpg', '/home/pi/Desktop/images/28012025/04/30/image_28012025_04_30_16_10450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/29/image_28012025_04_29_26_10353.jpg
/home/pi/Desktop/images/28012025/04/29/image_28012025_04_29_35_9331.jpg
/home/pi/Desktop/images/28012025/04/29/image_28012025_04_29_45_10497.jpg
/home/pi/Desktop/images/28012025/04/29/image_28012025_04_29_56_10356.jpg
/home/pi/Desktop/images/28012025/04/29/image_28012025_04_30_05_9371.jpg
/home/pi/Desktop/images/28012025/04/30/image_28012025_04_30_16_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":["1332257846","1332257831","1332257828","1332257836","1332257839","1332257868"],"photo_ids_order":["1332257828","1332257831","1332257836","1332257839","1332257846","1332257868"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/03bbc307ea5128ab5890c3cce7b879cd.jpg","text":"TemporaryFile(/tmp/multipartBody2886343961138979640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059154034,"filename":"image_28012025_04_30_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/1/28/6f177fd6d741874a6d87fe6c9d8e4630.jpg","text":"TemporaryFile(/tmp/multipartBody6773622154212212419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059154034,"filename":"image_28012025_04_29_35_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/05352ab6ec1553419a238eb3383297b0.jpg","text":"TemporaryFile(/tmp/multipartBody4974362554862801903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059154034,"filename":"image_28012025_04_29_26_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6f1deab31e911c5dfa922c3a90660a56.jpg","text":"TemporaryFile(/tmp/multipartBody3826666654494933093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059154034,"filename":"image_28012025_04_29_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/1/28/6d731d4b268666a05af1e13a3d59a19c.jpg","text":"TemporaryFile(/tmp/multipartBody8498957085793820478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059154034,"filename":"image_28012025_04_29_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/634a701a7c2400eb1789cee31ebc5501.jpg","text":"TemporaryFile(/tmp/multipartBody7302134842884490579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059154034,"filename":"image_28012025_04_30_16_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332257836","file1":"1332257831","file0":"1332257828","file4":"1332257846","file5":"1332257868","file3":"1332257839"},"map_files_photo_id_array":[{"photo_id":"1332257868","filename":"file5"},{"photo_id":"1332257836","filename":"file2"},{"photo_id":"1332257846","filename":"file4"},{"photo_id":"1332257831","filename":"file1"},{"photo_id":"1332257828","filename":"file0"},{"photo_id":"1332257839","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332257846":["hashtag1","hashtag2"]},{"1332257831":["hashtag1","hashtag2"]},{"1332257828":["hashtag1","hashtag2"]},{"1332257836":["hashtag1","hashtag2"]},{"1332257839":["hashtag1","hashtag2"]},{"1332257868":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332257846, 1332257831, 1332257828, 1332257836, 1332257839, 1332257868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.03508019447327 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:12:33.070114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/30/image_28012025_04_30_25_9346.jpg', '/home/pi/Desktop/images/28012025/04/30/image_28012025_04_30_35_10452.jpg', '/home/pi/Desktop/images/28012025/04/30/image_28012025_04_30_46_10343.jpg', '/home/pi/Desktop/images/28012025/04/30/image_28012025_04_30_55_9344.jpg', '/home/pi/Desktop/images/28012025/04/31/image_28012025_04_31_16_10348.jpg', '/home/pi/Desktop/images/28012025/04/31/image_28012025_04_31_25_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/30/image_28012025_04_30_25_9346.jpg
/home/pi/Desktop/images/28012025/04/30/image_28012025_04_30_35_10452.jpg
/home/pi/Desktop/images/28012025/04/30/image_28012025_04_30_46_10343.jpg
/home/pi/Desktop/images/28012025/04/30/image_28012025_04_30_55_9344.jpg
/home/pi/Desktop/images/28012025/04/31/image_28012025_04_31_16_10348.jpg
/home/pi/Desktop/images/28012025/04/31/image_28012025_04_31_25_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332257945","1332257924","1332257998","1332257980","1332257932","1332257928"],"photo_ids_order":["1332257924","1332257928","1332257932","1332257945","1332257980","1332257998"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8ffa7edd536bf140d0edff25c5edd260.jpg","text":"TemporaryFile(/tmp/multipartBody1771207836941763572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059214212,"filename":"image_28012025_04_30_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/1/28/281f62a99f402976bd4d5dcf450bc52d.jpg","text":"TemporaryFile(/tmp/multipartBody6382919868631377936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059214212,"filename":"image_28012025_04_30_25_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2397342af0474aa5e1fdc956d03f3c77.jpg","text":"TemporaryFile(/tmp/multipartBody6527982651408711412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059214212,"filename":"image_28012025_04_31_25_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/29899ad677013fc05a6addd30cab5c71.jpg","text":"TemporaryFile(/tmp/multipartBody7484757956457201316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059214212,"filename":"image_28012025_04_31_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/1/28/2fa6ca5c56bb372035eb0c6b6ac59208.jpg","text":"TemporaryFile(/tmp/multipartBody2921286835177484959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059214212,"filename":"image_28012025_04_30_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/1/28/72c300b33c65421b56847a3d83cb276a.jpg","text":"TemporaryFile(/tmp/multipartBody4556729885814071084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059214212,"filename":"image_28012025_04_30_35_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332257932","file1":"1332257928","file0":"1332257924","file4":"1332257980","file5":"1332257998","file3":"1332257945"},"map_files_photo_id_array":[{"photo_id":"1332257998","filename":"file5"},{"photo_id":"1332257932","filename":"file2"},{"photo_id":"1332257980","filename":"file4"},{"photo_id":"1332257928","filename":"file1"},{"photo_id":"1332257924","filename":"file0"},{"photo_id":"1332257945","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332257945":["hashtag1","hashtag2"]},{"1332257924":["hashtag1","hashtag2"]},{"1332257998":["hashtag1","hashtag2"]},{"1332257980":["hashtag1","hashtag2"]},{"1332257932":["hashtag1","hashtag2"]},{"1332257928":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332257945, 1332257924, 1332257998, 1332257980, 1332257932, 1332257928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.780484676361084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:13:32.204345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/31/image_28012025_04_31_36_10455.jpg', '/home/pi/Desktop/images/28012025/04/31/image_28012025_04_31_45_9341.jpg', '/home/pi/Desktop/images/28012025/04/31/image_28012025_04_31_55_10479.jpg', '/home/pi/Desktop/images/28012025/04/31/image_28012025_04_32_06_10334.jpg', '/home/pi/Desktop/images/28012025/04/32/image_28012025_04_32_15_9331.jpg', '/home/pi/Desktop/images/28012025/04/32/image_28012025_04_32_26_10472.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/31/image_28012025_04_31_36_10455.jpg
/home/pi/Desktop/images/28012025/04/31/image_28012025_04_31_45_9341.jpg
/home/pi/Desktop/images/28012025/04/31/image_28012025_04_31_55_10479.jpg
/home/pi/Desktop/images/28012025/04/31/image_28012025_04_32_06_10334.jpg
/home/pi/Desktop/images/28012025/04/32/image_28012025_04_32_15_9331.jpg
/home/pi/Desktop/images/28012025/04/32/image_28012025_04_32_26_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":["1332258070","1332258060","1332258063","1332258053","1332258062","1332258056"],"photo_ids_order":["1332258053","1332258056","1332258060","1332258062","1332258063","1332258070"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1722ccd6979667967ed6d14859b78f26.jpg","text":"TemporaryFile(/tmp/multipartBody2109173744555784056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059273352,"filename":"image_28012025_04_32_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/1/28/19abe8392a99a5fd13aaad83fa0c35c3.jpg","text":"TemporaryFile(/tmp/multipartBody3119791396970894140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059273352,"filename":"image_28012025_04_31_55_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/48519165f51556274aa20ab7dfafcdfc.jpg","text":"TemporaryFile(/tmp/multipartBody7287140953879486060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059273352,"filename":"image_28012025_04_32_15_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/34b64cae22d814b68c933fea7043ef94.jpg","text":"TemporaryFile(/tmp/multipartBody4931834354460788335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059273352,"filename":"image_28012025_04_31_36_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9665d8b65496a237d435b6a0db5a431a.jpg","text":"TemporaryFile(/tmp/multipartBody5720514739765622448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059273352,"filename":"image_28012025_04_32_06_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c79838420f7d7673cf3c416f04f1f2d9.jpg","text":"TemporaryFile(/tmp/multipartBody5709916493277543041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059273352,"filename":"image_28012025_04_31_45_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332258060","file1":"1332258056","file0":"1332258053","file4":"1332258063","file5":"1332258070","file3":"1332258062"},"map_files_photo_id_array":[{"photo_id":"1332258070","filename":"file5"},{"photo_id":"1332258060","filename":"file2"},{"photo_id":"1332258063","filename":"file4"},{"photo_id":"1332258056","filename":"file1"},{"photo_id":"1332258053","filename":"file0"},{"photo_id":"1332258062","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332258070":["hashtag1","hashtag2"]},{"1332258060":["hashtag1","hashtag2"]},{"1332258063":["hashtag1","hashtag2"]},{"1332258053":["hashtag1","hashtag2"]},{"1332258062":["hashtag1","hashtag2"]},{"1332258056":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332258070, 1332258060, 1332258063, 1332258053, 1332258062, 1332258056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.15797138214111 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:14:32.436615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/32/image_28012025_04_32_35_9340.jpg', '/home/pi/Desktop/images/28012025/04/32/image_28012025_04_32_45_10483.jpg', '/home/pi/Desktop/images/28012025/04/32/image_28012025_04_32_56_10388.jpg', '/home/pi/Desktop/images/28012025/04/32/image_28012025_04_33_05_9324.jpg', '/home/pi/Desktop/images/28012025/04/33/image_28012025_04_33_15_10341.jpg', '/home/pi/Desktop/images/28012025/04/33/image_28012025_04_33_26_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/32/image_28012025_04_32_35_9340.jpg
/home/pi/Desktop/images/28012025/04/32/image_28012025_04_32_45_10483.jpg
/home/pi/Desktop/images/28012025/04/32/image_28012025_04_32_56_10388.jpg
/home/pi/Desktop/images/28012025/04/32/image_28012025_04_33_05_9324.jpg
/home/pi/Desktop/images/28012025/04/33/image_28012025_04_33_15_10341.jpg
/home/pi/Desktop/images/28012025/04/33/image_28012025_04_33_26_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":["1332258391","1332258388","1332258241","1332258297","1332258378","1332258146"],"photo_ids_order":["1332258146","1332258241","1332258297","1332258378","1332258388","1332258391"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c93e0d26eed28c7ef7dbaacfac9427dc.jpg","text":"TemporaryFile(/tmp/multipartBody1828665141266699578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059333593,"filename":"image_28012025_04_33_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/1/28/b158a02a2b01afe2ad6d347c52116c9a.jpg","text":"TemporaryFile(/tmp/multipartBody6088848249193600481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059333593,"filename":"image_28012025_04_33_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/1/28/d7bb8c2b30b52b0d2bbf624ccdb9a7d5.jpg","text":"TemporaryFile(/tmp/multipartBody5844793642240456739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059333593,"filename":"image_28012025_04_32_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/1/28/cfe3bcc27104e1e1b402f75591777f4f.jpg","text":"TemporaryFile(/tmp/multipartBody5211471705040790959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059333593,"filename":"image_28012025_04_32_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/1/28/a2baa15844499d1ea3f4245b4a87d8c7.jpg","text":"TemporaryFile(/tmp/multipartBody7514839430357670307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059333593,"filename":"image_28012025_04_33_05_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5436102c65f8cbb19511cf49951f0930.jpg","text":"TemporaryFile(/tmp/multipartBody3018364020551013070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059333593,"filename":"image_28012025_04_32_35_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332258297","file1":"1332258241","file0":"1332258146","file4":"1332258388","file5":"1332258391","file3":"1332258378"},"map_files_photo_id_array":[{"photo_id":"1332258391","filename":"file5"},{"photo_id":"1332258297","filename":"file2"},{"photo_id":"1332258388","filename":"file4"},{"photo_id":"1332258241","filename":"file1"},{"photo_id":"1332258146","filename":"file0"},{"photo_id":"1332258378","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332258391":["hashtag1","hashtag2"]},{"1332258388":["hashtag1","hashtag2"]},{"1332258241":["hashtag1","hashtag2"]},{"1332258297":["hashtag1","hashtag2"]},{"1332258378":["hashtag1","hashtag2"]},{"1332258146":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332258391, 1332258388, 1332258241, 1332258297, 1332258378, 1332258146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.21131634712219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:15:32.694574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/33/image_28012025_04_33_35_9352.jpg', '/home/pi/Desktop/images/28012025/04/33/image_28012025_04_33_46_10406.jpg', '/home/pi/Desktop/images/28012025/04/33/image_28012025_04_33_55_9344.jpg', '/home/pi/Desktop/images/28012025/04/33/image_28012025_04_34_05_10337.jpg', '/home/pi/Desktop/images/28012025/04/34/image_28012025_04_34_16_10432.jpg', '/home/pi/Desktop/images/28012025/04/34/image_28012025_04_34_25_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/33/image_28012025_04_33_35_9352.jpg
/home/pi/Desktop/images/28012025/04/33/image_28012025_04_33_46_10406.jpg
/home/pi/Desktop/images/28012025/04/33/image_28012025_04_33_55_9344.jpg
/home/pi/Desktop/images/28012025/04/33/image_28012025_04_34_05_10337.jpg
/home/pi/Desktop/images/28012025/04/34/image_28012025_04_34_16_10432.jpg
/home/pi/Desktop/images/28012025/04/34/image_28012025_04_34_25_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332258500","1332258490","1332258503","1332258477","1332258471","1332258504"],"photo_ids_order":["1332258471","1332258477","1332258490","1332258500","1332258503","1332258504"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/db0a96a00d7d0a9de500aa27efaf61d3.jpg","text":"TemporaryFile(/tmp/multipartBody4110534929034787095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059393858,"filename":"image_28012025_04_34_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/1/28/da6993bd69b66e7ae653546abf0bcc21.jpg","text":"TemporaryFile(/tmp/multipartBody9125789742629235132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059393858,"filename":"image_28012025_04_33_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/1/28/1a6bfc39eafa8c817465f4d397cee5a3.jpg","text":"TemporaryFile(/tmp/multipartBody8908591203151113731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059393858,"filename":"image_28012025_04_34_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/1/28/ebe9e23eea5d41f619b1e4f5bea8384b.jpg","text":"TemporaryFile(/tmp/multipartBody4691684849325709946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059393858,"filename":"image_28012025_04_33_46_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/500e25554c7fe36c9bbc1e8d2e5f5123.jpg","text":"TemporaryFile(/tmp/multipartBody2769561630654492382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059393858,"filename":"image_28012025_04_33_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/1/28/eb60e15477cc6eefd551a78bc09640ef.jpg","text":"TemporaryFile(/tmp/multipartBody4701410700755238657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059393858,"filename":"image_28012025_04_34_25_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332258490","file1":"1332258477","file0":"1332258471","file4":"1332258503","file5":"1332258504","file3":"1332258500"},"map_files_photo_id_array":[{"photo_id":"1332258504","filename":"file5"},{"photo_id":"1332258490","filename":"file2"},{"photo_id":"1332258503","filename":"file4"},{"photo_id":"1332258477","filename":"file1"},{"photo_id":"1332258471","filename":"file0"},{"photo_id":"1332258500","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332258500":["hashtag1","hashtag2"]},{"1332258490":["hashtag1","hashtag2"]},{"1332258503":["hashtag1","hashtag2"]},{"1332258477":["hashtag1","hashtag2"]},{"1332258471":["hashtag1","hashtag2"]},{"1332258504":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332258500, 1332258490, 1332258503, 1332258477, 1332258471, 1332258504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.1032440662384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:16:33.082029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/34/image_28012025_04_34_35_10454.jpg', '/home/pi/Desktop/images/28012025/04/34/image_28012025_04_35_05_10343.jpg', '/home/pi/Desktop/images/28012025/04/35/image_28012025_04_35_15_9345.jpg', '/home/pi/Desktop/images/28012025/04/35/image_28012025_04_35_25_10457.jpg', '/home/pi/Desktop/images/28012025/04/35/image_28012025_04_35_36_10347.jpg', '/home/pi/Desktop/images/28012025/04/35/image_28012025_04_35_45_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/34/image_28012025_04_34_35_10454.jpg
/home/pi/Desktop/images/28012025/04/34/image_28012025_04_35_05_10343.jpg
/home/pi/Desktop/images/28012025/04/35/image_28012025_04_35_15_9345.jpg
/home/pi/Desktop/images/28012025/04/35/image_28012025_04_35_25_10457.jpg
/home/pi/Desktop/images/28012025/04/35/image_28012025_04_35_36_10347.jpg
/home/pi/Desktop/images/28012025/04/35/image_28012025_04_35_45_9341.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5979833602905273 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 11:16:42.918547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/34/image_28012025_04_34_35_10454.jpg', '/home/pi/Desktop/images/28012025/04/34/image_28012025_04_35_05_10343.jpg', '/home/pi/Desktop/images/28012025/04/35/image_28012025_04_35_15_9345.jpg', '/home/pi/Desktop/images/28012025/04/35/image_28012025_04_35_25_10457.jpg', '/home/pi/Desktop/images/28012025/04/35/image_28012025_04_35_36_10347.jpg', '/home/pi/Desktop/images/28012025/04/35/image_28012025_04_35_45_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/34/image_28012025_04_34_35_10454.jpg
/home/pi/Desktop/images/28012025/04/34/image_28012025_04_35_05_10343.jpg
/home/pi/Desktop/images/28012025/04/35/image_28012025_04_35_15_9345.jpg
/home/pi/Desktop/images/28012025/04/35/image_28012025_04_35_25_10457.jpg
/home/pi/Desktop/images/28012025/04/35/image_28012025_04_35_36_10347.jpg
/home/pi/Desktop/images/28012025/04/35/image_28012025_04_35_45_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332259135","1332258988","1332259251","1332259061","1332259364","1332259172"],"photo_ids_order":["1332258988","1332259061","1332259135","1332259172","1332259251","1332259364"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/96cb147c79221bfd980eccfcb31845d8.jpg","text":"TemporaryFile(/tmp/multipartBody4030534553940599248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059463990,"filename":"image_28012025_04_35_15_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bf471de933431282f85a1eaee5332c8f.jpg","text":"TemporaryFile(/tmp/multipartBody5645400099803079502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059463990,"filename":"image_28012025_04_34_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/1/28/fb3156d800fc286318b65dcb30e34e51.jpg","text":"TemporaryFile(/tmp/multipartBody8848592920948636169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059463990,"filename":"image_28012025_04_35_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/1/28/5dd92e42bd52c3b9803a561e25a01c01.jpg","text":"TemporaryFile(/tmp/multipartBody8822166409249579241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059463990,"filename":"image_28012025_04_35_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/1/28/ff43f47bd18430a7cadd3b52bdb2f635.jpg","text":"TemporaryFile(/tmp/multipartBody547359024069210454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059463990,"filename":"image_28012025_04_35_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/1/28/be1a7007b6f12070e08a1b301b04cf1d.jpg","text":"TemporaryFile(/tmp/multipartBody9085100661553786326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059463990,"filename":"image_28012025_04_35_25_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332259135","file1":"1332259061","file0":"1332258988","file4":"1332259251","file5":"1332259364","file3":"1332259172"},"map_files_photo_id_array":[{"photo_id":"1332259364","filename":"file5"},{"photo_id":"1332259135","filename":"file2"},{"photo_id":"1332259251","filename":"file4"},{"photo_id":"1332259061","filename":"file1"},{"photo_id":"1332258988","filename":"file0"},{"photo_id":"1332259172","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332259135":["hashtag1","hashtag2"]},{"1332258988":["hashtag1","hashtag2"]},{"1332259251":["hashtag1","hashtag2"]},{"1332259061":["hashtag1","hashtag2"]},{"1332259364":["hashtag1","hashtag2"]},{"1332259172":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332259135, 1332258988, 1332259251, 1332259061, 1332259364, 1332259172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.78062033653259 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:17:32.238839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/35/image_28012025_04_36_05_9350.jpg', '/home/pi/Desktop/images/28012025/04/36/image_28012025_04_36_15_10485.jpg', '/home/pi/Desktop/images/28012025/04/36/image_28012025_04_36_26_10368.jpg', '/home/pi/Desktop/images/28012025/04/36/image_28012025_04_36_45_10415.jpg', '/home/pi/Desktop/images/28012025/04/36/image_28012025_04_37_05_10334.jpg', '/home/pi/Desktop/images/28012025/04/37/image_28012025_04_37_16_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/35/image_28012025_04_36_05_9350.jpg
/home/pi/Desktop/images/28012025/04/36/image_28012025_04_36_15_10485.jpg
/home/pi/Desktop/images/28012025/04/36/image_28012025_04_36_26_10368.jpg
/home/pi/Desktop/images/28012025/04/36/image_28012025_04_36_45_10415.jpg
/home/pi/Desktop/images/28012025/04/36/image_28012025_04_37_05_10334.jpg
/home/pi/Desktop/images/28012025/04/37/image_28012025_04_37_16_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":["1332259645","1332259648","1332259627","1332259650","1332259640","1332259616"],"photo_ids_order":["1332259616","1332259627","1332259640","1332259645","1332259648","1332259650"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b99f3683405b82cfe681360cbf4dd129.jpg","text":"TemporaryFile(/tmp/multipartBody5772339040763819817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059513740,"filename":"image_28012025_04_36_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/1/28/3d9239ebe0382a73f71e46cbc6ea9302.jpg","text":"TemporaryFile(/tmp/multipartBody2442182695817421238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059513740,"filename":"image_28012025_04_37_05_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/519fd336e39e953217c06783ba3e1c95.jpg","text":"TemporaryFile(/tmp/multipartBody1666766510505234168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059513740,"filename":"image_28012025_04_36_15_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4793a59e49b3539e31d03d561d9801a4.jpg","text":"TemporaryFile(/tmp/multipartBody1036357643083882140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059513740,"filename":"image_28012025_04_37_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/1/28/0e4d5307f24e2b47a1ee142b46c3ca48.jpg","text":"TemporaryFile(/tmp/multipartBody6433985095876501709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059513740,"filename":"image_28012025_04_36_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/1/28/2705d08c728147886cbe74c1ca4ad818.jpg","text":"TemporaryFile(/tmp/multipartBody4036724962552416964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059513740,"filename":"image_28012025_04_36_05_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332259640","file1":"1332259627","file0":"1332259616","file4":"1332259648","file5":"1332259650","file3":"1332259645"},"map_files_photo_id_array":[{"photo_id":"1332259650","filename":"file5"},{"photo_id":"1332259640","filename":"file2"},{"photo_id":"1332259648","filename":"file4"},{"photo_id":"1332259627","filename":"file1"},{"photo_id":"1332259616","filename":"file0"},{"photo_id":"1332259645","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332259645":["hashtag1","hashtag2"]},{"1332259648":["hashtag1","hashtag2"]},{"1332259627":["hashtag1","hashtag2"]},{"1332259650":["hashtag1","hashtag2"]},{"1332259640":["hashtag1","hashtag2"]},{"1332259616":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332259645, 1332259648, 1332259627, 1332259650, 1332259640, 1332259616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.07961583137512 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:18:32.419734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/37/image_28012025_04_37_25_9444.jpg', '/home/pi/Desktop/images/28012025/04/37/image_28012025_04_37_35_10483.jpg', '/home/pi/Desktop/images/28012025/04/37/image_28012025_04_37_46_10350.jpg', '/home/pi/Desktop/images/28012025/04/37/image_28012025_04_37_55_9337.jpg', '/home/pi/Desktop/images/28012025/04/37/image_28012025_04_38_05_10351.jpg', '/home/pi/Desktop/images/28012025/04/38/image_28012025_04_38_15_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/37/image_28012025_04_37_25_9444.jpg
/home/pi/Desktop/images/28012025/04/37/image_28012025_04_37_35_10483.jpg
/home/pi/Desktop/images/28012025/04/37/image_28012025_04_37_46_10350.jpg
/home/pi/Desktop/images/28012025/04/37/image_28012025_04_37_55_9337.jpg
/home/pi/Desktop/images/28012025/04/37/image_28012025_04_38_05_10351.jpg
/home/pi/Desktop/images/28012025/04/38/image_28012025_04_38_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":["1332260012","1332259843","1332259909","1332260040","1332259997","1332260037"],"photo_ids_order":["1332259843","1332259909","1332259997","1332260012","1332260037","1332260040"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d1d42e8b97f80e1c830c894aae37d2d2.jpg","text":"TemporaryFile(/tmp/multipartBody9021920780181030399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059573600,"filename":"image_28012025_04_37_55_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/933705363391cbb9959746f2e5d117b6.jpg","text":"TemporaryFile(/tmp/multipartBody1974712185433657025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059573600,"filename":"image_28012025_04_37_25_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1ccac0105e43f41a4eb90bb548396c90.jpg","text":"TemporaryFile(/tmp/multipartBody3358358264778234516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059573600,"filename":"image_28012025_04_37_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/1/28/b5b38d9737a1d3a2b3f850e72ae6559f.jpg","text":"TemporaryFile(/tmp/multipartBody258292542940393222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059573600,"filename":"image_28012025_04_38_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/1/28/5da7f9503fb58218a28dbd6340af5618.jpg","text":"TemporaryFile(/tmp/multipartBody4914082968055276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059573600,"filename":"image_28012025_04_37_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/1/28/c26718d605fbe43b0895069e4cbf379d.jpg","text":"TemporaryFile(/tmp/multipartBody4780115253639088408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059573600,"filename":"image_28012025_04_38_05_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332259997","file1":"1332259909","file0":"1332259843","file4":"1332260037","file5":"1332260040","file3":"1332260012"},"map_files_photo_id_array":[{"photo_id":"1332260040","filename":"file5"},{"photo_id":"1332259997","filename":"file2"},{"photo_id":"1332260037","filename":"file4"},{"photo_id":"1332259909","filename":"file1"},{"photo_id":"1332259843","filename":"file0"},{"photo_id":"1332260012","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332260012":["hashtag1","hashtag2"]},{"1332259843":["hashtag1","hashtag2"]},{"1332259909":["hashtag1","hashtag2"]},{"1332260040":["hashtag1","hashtag2"]},{"1332259997":["hashtag1","hashtag2"]},{"1332260037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332260012, 1332259843, 1332259909, 1332260040, 1332259997, 1332260037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.39392805099487 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:19:32.711976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/38/image_28012025_04_38_25_10481.jpg', '/home/pi/Desktop/images/28012025/04/38/image_28012025_04_38_36_10350.jpg', '/home/pi/Desktop/images/28012025/04/38/image_28012025_04_38_45_9390.jpg', '/home/pi/Desktop/images/28012025/04/38/image_28012025_04_38_56_10452.jpg', '/home/pi/Desktop/images/28012025/04/38/image_28012025_04_39_05_9453.jpg', '/home/pi/Desktop/images/28012025/04/39/image_28012025_04_39_15_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/38/image_28012025_04_38_25_10481.jpg
/home/pi/Desktop/images/28012025/04/38/image_28012025_04_38_36_10350.jpg
/home/pi/Desktop/images/28012025/04/38/image_28012025_04_38_45_9390.jpg
/home/pi/Desktop/images/28012025/04/38/image_28012025_04_38_56_10452.jpg
/home/pi/Desktop/images/28012025/04/38/image_28012025_04_39_05_9453.jpg
/home/pi/Desktop/images/28012025/04/39/image_28012025_04_39_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":["1332260834","1332260741","1332260839","1332260830","1332260824","1332260414"],"photo_ids_order":["1332260414","1332260741","1332260824","1332260830","1332260834","1332260839"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/63ecb599cede19e504ddf5a072bd34cb.jpg","text":"TemporaryFile(/tmp/multipartBody6850159837843665343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059633900,"filename":"image_28012025_04_39_05_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c76fccfe68f509a8282a1109da9ea516.jpg","text":"TemporaryFile(/tmp/multipartBody3051656632557339960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059633900,"filename":"image_28012025_04_38_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/1/28/a7b6319182f4899b79f3f69d08ee9c82.jpg","text":"TemporaryFile(/tmp/multipartBody6575921228000986820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059633900,"filename":"image_28012025_04_39_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/1/28/b1252dfc78fc40ba48fc505325bc5508.jpg","text":"TemporaryFile(/tmp/multipartBody8300055470854578460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059633900,"filename":"image_28012025_04_38_56_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cd8f3f5af5ba85d57bf2a719d9862696.jpg","text":"TemporaryFile(/tmp/multipartBody2413699264138069109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059633900,"filename":"image_28012025_04_38_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/1/28/14ebf234ecb31fdfa7a237faa74e8d82.jpg","text":"TemporaryFile(/tmp/multipartBody6018303039491576425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059633900,"filename":"image_28012025_04_38_25_10481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332260824","file1":"1332260741","file0":"1332260414","file4":"1332260834","file5":"1332260839","file3":"1332260830"},"map_files_photo_id_array":[{"photo_id":"1332260839","filename":"file5"},{"photo_id":"1332260824","filename":"file2"},{"photo_id":"1332260834","filename":"file4"},{"photo_id":"1332260741","filename":"file1"},{"photo_id":"1332260414","filename":"file0"},{"photo_id":"1332260830","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332260834":["hashtag1","hashtag2"]},{"1332260741":["hashtag1","hashtag2"]},{"1332260839":["hashtag1","hashtag2"]},{"1332260830":["hashtag1","hashtag2"]},{"1332260824":["hashtag1","hashtag2"]},{"1332260414":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332260834, 1332260741, 1332260839, 1332260830, 1332260824, 1332260414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.77653169631958 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:20:32.930613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/39/image_28012025_04_39_26_10352.jpg', '/home/pi/Desktop/images/28012025/04/39/image_28012025_04_39_35_9344.jpg', '/home/pi/Desktop/images/28012025/04/39/image_28012025_04_39_45_10462.jpg', '/home/pi/Desktop/images/28012025/04/39/image_28012025_04_40_05_10419.jpg', '/home/pi/Desktop/images/28012025/04/40/image_28012025_04_40_16_10338.jpg', '/home/pi/Desktop/images/28012025/04/40/image_28012025_04_40_25_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/39/image_28012025_04_39_26_10352.jpg
/home/pi/Desktop/images/28012025/04/39/image_28012025_04_39_35_9344.jpg
/home/pi/Desktop/images/28012025/04/39/image_28012025_04_39_45_10462.jpg
/home/pi/Desktop/images/28012025/04/39/image_28012025_04_40_05_10419.jpg
/home/pi/Desktop/images/28012025/04/40/image_28012025_04_40_16_10338.jpg
/home/pi/Desktop/images/28012025/04/40/image_28012025_04_40_25_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":["1332261577","1332261445","1332261430","1332261582","1332261531","1332261500"],"photo_ids_order":["1332261430","1332261445","1332261500","1332261531","1332261577","1332261582"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/162fa40432f24b337d579d8644904c17.jpg","text":"TemporaryFile(/tmp/multipartBody5187990493547269757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059694106,"filename":"image_28012025_04_40_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/1/28/6f002f715929e447a9820d049a57b68f.jpg","text":"TemporaryFile(/tmp/multipartBody7910665197145828886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059694106,"filename":"image_28012025_04_39_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/1/28/04fcaea490141ab18b8fff13cb39e754.jpg","text":"TemporaryFile(/tmp/multipartBody3922955819267605846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059694106,"filename":"image_28012025_04_39_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/1/28/690b1ab292372521d762dde2334d58da.jpg","text":"TemporaryFile(/tmp/multipartBody7829550910981893095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059694106,"filename":"image_28012025_04_40_25_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c09c67cc514b9d50c0d5476b81a0e64e.jpg","text":"TemporaryFile(/tmp/multipartBody2164040876763557459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059694106,"filename":"image_28012025_04_40_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/1/28/2b19f58b71dcb2641dbec331716ec950.jpg","text":"TemporaryFile(/tmp/multipartBody7117794722372161071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059694106,"filename":"image_28012025_04_39_45_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332261500","file1":"1332261445","file0":"1332261430","file4":"1332261577","file5":"1332261582","file3":"1332261531"},"map_files_photo_id_array":[{"photo_id":"1332261582","filename":"file5"},{"photo_id":"1332261500","filename":"file2"},{"photo_id":"1332261577","filename":"file4"},{"photo_id":"1332261445","filename":"file1"},{"photo_id":"1332261430","filename":"file0"},{"photo_id":"1332261531","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332261577":["hashtag1","hashtag2"]},{"1332261445":["hashtag1","hashtag2"]},{"1332261430":["hashtag1","hashtag2"]},{"1332261582":["hashtag1","hashtag2"]},{"1332261531":["hashtag1","hashtag2"]},{"1332261500":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332261577, 1332261445, 1332261430, 1332261582, 1332261531, 1332261500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.6885199546814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:21:32.177431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/40/image_28012025_04_40_35_10483.jpg', '/home/pi/Desktop/images/28012025/04/40/image_28012025_04_40_46_10353.jpg', '/home/pi/Desktop/images/28012025/04/40/image_28012025_04_40_55_9346.jpg', '/home/pi/Desktop/images/28012025/04/40/image_28012025_04_41_06_10449.jpg', '/home/pi/Desktop/images/28012025/04/41/image_28012025_04_41_15_9328.jpg', '/home/pi/Desktop/images/28012025/04/41/image_28012025_04_41_25_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/40/image_28012025_04_40_35_10483.jpg
/home/pi/Desktop/images/28012025/04/40/image_28012025_04_40_46_10353.jpg
/home/pi/Desktop/images/28012025/04/40/image_28012025_04_40_55_9346.jpg
/home/pi/Desktop/images/28012025/04/40/image_28012025_04_41_06_10449.jpg
/home/pi/Desktop/images/28012025/04/41/image_28012025_04_41_15_9328.jpg
/home/pi/Desktop/images/28012025/04/41/image_28012025_04_41_25_10398.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5941071510314941 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 11:21:42.273936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/40/image_28012025_04_40_35_10483.jpg', '/home/pi/Desktop/images/28012025/04/40/image_28012025_04_40_46_10353.jpg', '/home/pi/Desktop/images/28012025/04/40/image_28012025_04_40_55_9346.jpg', '/home/pi/Desktop/images/28012025/04/40/image_28012025_04_41_06_10449.jpg', '/home/pi/Desktop/images/28012025/04/41/image_28012025_04_41_15_9328.jpg', '/home/pi/Desktop/images/28012025/04/41/image_28012025_04_41_25_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/40/image_28012025_04_40_35_10483.jpg
/home/pi/Desktop/images/28012025/04/40/image_28012025_04_40_46_10353.jpg
/home/pi/Desktop/images/28012025/04/40/image_28012025_04_40_55_9346.jpg
/home/pi/Desktop/images/28012025/04/40/image_28012025_04_41_06_10449.jpg
/home/pi/Desktop/images/28012025/04/41/image_28012025_04_41_15_9328.jpg
/home/pi/Desktop/images/28012025/04/41/image_28012025_04_41_25_10398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332262017","1332262026","1332261977","1332261941","1332261902","1332262030"],"photo_ids_order":["1332261902","1332261941","1332261977","1332262017","1332262026","1332262030"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b8bcd13b5638b5bb300e21904cfd1bde.jpg","text":"TemporaryFile(/tmp/multipartBody5339855798218601209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059763030,"filename":"image_28012025_04_41_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/1/28/2d714f4376897fcb7cde31e52543151b.jpg","text":"TemporaryFile(/tmp/multipartBody339358633895879313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059763030,"filename":"image_28012025_04_41_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/1/28/4eb1b37bbdef558f7b54fd7150659357.jpg","text":"TemporaryFile(/tmp/multipartBody7660414408170439439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059763030,"filename":"image_28012025_04_40_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/1/28/d244b87ed9aed69002aeb86d041e6594.jpg","text":"TemporaryFile(/tmp/multipartBody7083958655276816492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059763030,"filename":"image_28012025_04_40_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/1/28/67f654922fad888c32509f8c79ac2607.jpg","text":"TemporaryFile(/tmp/multipartBody8223865554710099419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059763030,"filename":"image_28012025_04_40_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/1/28/8f794c5ac3d8b092e2d492d957365ec5.jpg","text":"TemporaryFile(/tmp/multipartBody6591259532139366654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059763030,"filename":"image_28012025_04_41_25_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332261977","file1":"1332261941","file0":"1332261902","file4":"1332262026","file5":"1332262030","file3":"1332262017"},"map_files_photo_id_array":[{"photo_id":"1332262030","filename":"file5"},{"photo_id":"1332261977","filename":"file2"},{"photo_id":"1332262026","filename":"file4"},{"photo_id":"1332261941","filename":"file1"},{"photo_id":"1332261902","filename":"file0"},{"photo_id":"1332262017","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332262017":["hashtag1","hashtag2"]},{"1332262026":["hashtag1","hashtag2"]},{"1332261977":["hashtag1","hashtag2"]},{"1332261941":["hashtag1","hashtag2"]},{"1332261902":["hashtag1","hashtag2"]},{"1332262030":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332262017, 1332262026, 1332261977, 1332261941, 1332261902, 1332262030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.48460006713867 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:22:32.436910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/41/image_28012025_04_41_36_10353.jpg', '/home/pi/Desktop/images/28012025/04/41/image_28012025_04_41_45_9342.jpg', '/home/pi/Desktop/images/28012025/04/41/image_28012025_04_41_56_10557.jpg', '/home/pi/Desktop/images/28012025/04/41/image_28012025_04_42_05_9432.jpg', '/home/pi/Desktop/images/28012025/04/42/image_28012025_04_42_15_10350.jpg', '/home/pi/Desktop/images/28012025/04/42/image_28012025_04_42_35_9462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/41/image_28012025_04_41_36_10353.jpg
/home/pi/Desktop/images/28012025/04/41/image_28012025_04_41_45_9342.jpg
/home/pi/Desktop/images/28012025/04/41/image_28012025_04_41_56_10557.jpg
/home/pi/Desktop/images/28012025/04/41/image_28012025_04_42_05_9432.jpg
/home/pi/Desktop/images/28012025/04/42/image_28012025_04_42_15_10350.jpg
/home/pi/Desktop/images/28012025/04/42/image_28012025_04_42_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":["1332262132","1332262108","1332262056","1332262151","1332262100","1332262063"],"photo_ids_order":["1332262056","1332262063","1332262100","1332262108","1332262132","1332262151"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5682699d861665161fd1b5c3e79cf7ea.jpg","text":"TemporaryFile(/tmp/multipartBody5920038488200613699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059813274,"filename":"image_28012025_04_42_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/1/28/c2cb4fe319ede6fa20934ec5cc9c5cb8.jpg","text":"TemporaryFile(/tmp/multipartBody3585222310567170026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059813274,"filename":"image_28012025_04_42_05_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7a77daddf54aa8ab7a479a033b6cd1a3.jpg","text":"TemporaryFile(/tmp/multipartBody6831780788403273533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059813274,"filename":"image_28012025_04_41_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/1/28/d266ebd92ae2e2483895d42d2904e7cd.jpg","text":"TemporaryFile(/tmp/multipartBody7581408501665384661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059813274,"filename":"image_28012025_04_42_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/1/28/cfdc57640904d3ca09145ed436167b2f.jpg","text":"TemporaryFile(/tmp/multipartBody7149737630423153397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059813274,"filename":"image_28012025_04_41_56_10557.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/216f2deae9dbbe0973d45a8c7b4f8b23.jpg","text":"TemporaryFile(/tmp/multipartBody7904082273498757328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059813274,"filename":"image_28012025_04_41_45_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332262100","file1":"1332262063","file0":"1332262056","file4":"1332262132","file5":"1332262151","file3":"1332262108"},"map_files_photo_id_array":[{"photo_id":"1332262151","filename":"file5"},{"photo_id":"1332262100","filename":"file2"},{"photo_id":"1332262132","filename":"file4"},{"photo_id":"1332262063","filename":"file1"},{"photo_id":"1332262056","filename":"file0"},{"photo_id":"1332262108","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332262132":["hashtag1","hashtag2"]},{"1332262108":["hashtag1","hashtag2"]},{"1332262056":["hashtag1","hashtag2"]},{"1332262151":["hashtag1","hashtag2"]},{"1332262100":["hashtag1","hashtag2"]},{"1332262063":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332262132, 1332262108, 1332262056, 1332262151, 1332262100, 1332262063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.123348236083984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:23:32.654492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/42/image_28012025_04_42_46_10458.jpg', '/home/pi/Desktop/images/28012025/04/42/image_28012025_04_42_55_9354.jpg', '/home/pi/Desktop/images/28012025/04/42/image_28012025_04_43_05_10442.jpg', '/home/pi/Desktop/images/28012025/04/43/image_28012025_04_43_16_10353.jpg', '/home/pi/Desktop/images/28012025/04/43/image_28012025_04_43_25_9351.jpg', '/home/pi/Desktop/images/28012025/04/43/image_28012025_04_43_36_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/42/image_28012025_04_42_46_10458.jpg
/home/pi/Desktop/images/28012025/04/42/image_28012025_04_42_55_9354.jpg
/home/pi/Desktop/images/28012025/04/42/image_28012025_04_43_05_10442.jpg
/home/pi/Desktop/images/28012025/04/43/image_28012025_04_43_16_10353.jpg
/home/pi/Desktop/images/28012025/04/43/image_28012025_04_43_25_9351.jpg
/home/pi/Desktop/images/28012025/04/43/image_28012025_04_43_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":["1332262461","1332262455","1332262356","1332262434","1332262329","1332262315"],"photo_ids_order":["1332262315","1332262329","1332262356","1332262434","1332262455","1332262461"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b7724296cc2c7b2ddbd55d1552d24103.jpg","text":"TemporaryFile(/tmp/multipartBody3434471017811834711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059873510,"filename":"image_28012025_04_43_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/1/28/d0aafb3ce98636c5b2887a59696444eb.jpg","text":"TemporaryFile(/tmp/multipartBody4436942191730387373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059873510,"filename":"image_28012025_04_43_25_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/633202ecd74b049c15a566c6cfd10540.jpg","text":"TemporaryFile(/tmp/multipartBody1087846130294453497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059873510,"filename":"image_28012025_04_43_05_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ad0285e05fe8f8578e87641d99ba55a1.jpg","text":"TemporaryFile(/tmp/multipartBody3500846212245340971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059873510,"filename":"image_28012025_04_43_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/1/28/2144009be2f6f7d7862740498f942e50.jpg","text":"TemporaryFile(/tmp/multipartBody8810347828191865421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059873510,"filename":"image_28012025_04_42_55_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3a35ba79ee2c7e02d2d639ce1b91f1cc.jpg","text":"TemporaryFile(/tmp/multipartBody2202298003689170686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059873510,"filename":"image_28012025_04_42_46_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332262356","file1":"1332262329","file0":"1332262315","file4":"1332262455","file5":"1332262461","file3":"1332262434"},"map_files_photo_id_array":[{"photo_id":"1332262461","filename":"file5"},{"photo_id":"1332262356","filename":"file2"},{"photo_id":"1332262455","filename":"file4"},{"photo_id":"1332262329","filename":"file1"},{"photo_id":"1332262315","filename":"file0"},{"photo_id":"1332262434","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332262461":["hashtag1","hashtag2"]},{"1332262455":["hashtag1","hashtag2"]},{"1332262356":["hashtag1","hashtag2"]},{"1332262434":["hashtag1","hashtag2"]},{"1332262329":["hashtag1","hashtag2"]},{"1332262315":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332262461, 1332262455, 1332262356, 1332262434, 1332262329, 1332262315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.11838912963867 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:24:32.839671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/43/image_28012025_04_43_45_9462.jpg', '/home/pi/Desktop/images/28012025/04/43/image_28012025_04_43_55_10408.jpg', '/home/pi/Desktop/images/28012025/04/43/image_28012025_04_44_06_10354.jpg', '/home/pi/Desktop/images/28012025/04/44/image_28012025_04_44_15_9353.jpg', '/home/pi/Desktop/images/28012025/04/44/image_28012025_04_44_25_10342.jpg', '/home/pi/Desktop/images/28012025/04/44/image_28012025_04_44_35_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/43/image_28012025_04_43_45_9462.jpg
/home/pi/Desktop/images/28012025/04/43/image_28012025_04_43_55_10408.jpg
/home/pi/Desktop/images/28012025/04/43/image_28012025_04_44_06_10354.jpg
/home/pi/Desktop/images/28012025/04/44/image_28012025_04_44_15_9353.jpg
/home/pi/Desktop/images/28012025/04/44/image_28012025_04_44_25_10342.jpg
/home/pi/Desktop/images/28012025/04/44/image_28012025_04_44_35_9345.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6150686740875244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 11:24:42.847215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/43/image_28012025_04_43_45_9462.jpg', '/home/pi/Desktop/images/28012025/04/43/image_28012025_04_43_55_10408.jpg', '/home/pi/Desktop/images/28012025/04/43/image_28012025_04_44_06_10354.jpg', '/home/pi/Desktop/images/28012025/04/44/image_28012025_04_44_15_9353.jpg', '/home/pi/Desktop/images/28012025/04/44/image_28012025_04_44_25_10342.jpg', '/home/pi/Desktop/images/28012025/04/44/image_28012025_04_44_35_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/43/image_28012025_04_43_45_9462.jpg
/home/pi/Desktop/images/28012025/04/43/image_28012025_04_43_55_10408.jpg
/home/pi/Desktop/images/28012025/04/43/image_28012025_04_44_06_10354.jpg
/home/pi/Desktop/images/28012025/04/44/image_28012025_04_44_15_9353.jpg
/home/pi/Desktop/images/28012025/04/44/image_28012025_04_44_25_10342.jpg
/home/pi/Desktop/images/28012025/04/44/image_28012025_04_44_35_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332262575","1332262595","1332262592","1332262589","1332262582","1332262585"],"photo_ids_order":["1332262575","1332262582","1332262585","1332262589","1332262592","1332262595"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/52fb88d5460943d6bcc26607f065286e.jpg","text":"TemporaryFile(/tmp/multipartBody2840901160119752438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059943566,"filename":"image_28012025_04_43_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/1/28/98023b943552dc101940c39f252bb0d1.jpg","text":"TemporaryFile(/tmp/multipartBody7249718887996309590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059943566,"filename":"image_28012025_04_44_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/1/28/8c307b576045a3792d666cbd2262b289.jpg","text":"TemporaryFile(/tmp/multipartBody226208695282199744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059943566,"filename":"image_28012025_04_44_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/1/28/798bcca146de99fae90eb849b2b7ce24.jpg","text":"TemporaryFile(/tmp/multipartBody5398393033953589903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059943566,"filename":"image_28012025_04_44_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/1/28/ca7b4d93dcf3dd0fd43a9f56e5ddab32.jpg","text":"TemporaryFile(/tmp/multipartBody2440427852195228962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059943566,"filename":"image_28012025_04_43_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/1/28/b8abbc18008fe32b0bcc07260f9df4ac.jpg","text":"TemporaryFile(/tmp/multipartBody1135258926490523122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059943566,"filename":"image_28012025_04_44_06_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332262585","file1":"1332262582","file0":"1332262575","file4":"1332262592","file5":"1332262595","file3":"1332262589"},"map_files_photo_id_array":[{"photo_id":"1332262595","filename":"file5"},{"photo_id":"1332262585","filename":"file2"},{"photo_id":"1332262592","filename":"file4"},{"photo_id":"1332262582","filename":"file1"},{"photo_id":"1332262575","filename":"file0"},{"photo_id":"1332262589","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332262575":["hashtag1","hashtag2"]},{"1332262595":["hashtag1","hashtag2"]},{"1332262592":["hashtag1","hashtag2"]},{"1332262589":["hashtag1","hashtag2"]},{"1332262582":["hashtag1","hashtag2"]},{"1332262585":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332262575, 1332262595, 1332262592, 1332262589, 1332262582, 1332262585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.64646911621094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:25:33.139102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/44/image_28012025_04_44_45_10344.jpg', '/home/pi/Desktop/images/28012025/04/44/image_28012025_04_44_56_10452.jpg', '/home/pi/Desktop/images/28012025/04/44/image_28012025_04_45_05_9333.jpg', '/home/pi/Desktop/images/28012025/04/45/image_28012025_04_45_15_10394.jpg', '/home/pi/Desktop/images/28012025/04/45/image_28012025_04_45_26_10365.jpg', '/home/pi/Desktop/images/28012025/04/45/image_28012025_04_45_35_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/44/image_28012025_04_44_45_10344.jpg
/home/pi/Desktop/images/28012025/04/44/image_28012025_04_44_56_10452.jpg
/home/pi/Desktop/images/28012025/04/44/image_28012025_04_45_05_9333.jpg
/home/pi/Desktop/images/28012025/04/45/image_28012025_04_45_15_10394.jpg
/home/pi/Desktop/images/28012025/04/45/image_28012025_04_45_26_10365.jpg
/home/pi/Desktop/images/28012025/04/45/image_28012025_04_45_35_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":["1332262834","1332262813","1332262611","1332262697","1332262786","1332262747"],"photo_ids_order":["1332262611","1332262697","1332262747","1332262786","1332262813","1332262834"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c74d8627de2e4041df3a323bbe8af623.jpg","text":"TemporaryFile(/tmp/multipartBody5816651159741854036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059993955,"filename":"image_28012025_04_45_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/1/28/e3a389ef63c78da0af4d50325277bfcb.jpg","text":"TemporaryFile(/tmp/multipartBody6433626672282204731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059993955,"filename":"image_28012025_04_45_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/1/28/2a112d567dfc7113e1e03787aae50cef.jpg","text":"TemporaryFile(/tmp/multipartBody8927297441492537540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059993955,"filename":"image_28012025_04_44_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/1/28/da8302c89db1b145b45d62b3a18d5aa1.jpg","text":"TemporaryFile(/tmp/multipartBody2520396547440884467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059993955,"filename":"image_28012025_04_44_56_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b1db7b5117eaa99887b3ce6004a68084.jpg","text":"TemporaryFile(/tmp/multipartBody8338477506688532082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059993955,"filename":"image_28012025_04_45_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/1/28/31cb354efc4aa4eea26bb63d6ae59dbd.jpg","text":"TemporaryFile(/tmp/multipartBody8679384932585367748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738059993955,"filename":"image_28012025_04_45_05_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332262747","file1":"1332262697","file0":"1332262611","file4":"1332262813","file5":"1332262834","file3":"1332262786"},"map_files_photo_id_array":[{"photo_id":"1332262834","filename":"file5"},{"photo_id":"1332262747","filename":"file2"},{"photo_id":"1332262813","filename":"file4"},{"photo_id":"1332262697","filename":"file1"},{"photo_id":"1332262611","filename":"file0"},{"photo_id":"1332262786","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332262834":["hashtag1","hashtag2"]},{"1332262813":["hashtag1","hashtag2"]},{"1332262611":["hashtag1","hashtag2"]},{"1332262697":["hashtag1","hashtag2"]},{"1332262786":["hashtag1","hashtag2"]},{"1332262747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332262834, 1332262813, 1332262611, 1332262697, 1332262786, 1332262747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.19400095939636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:26:32.323880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/45/image_28012025_04_45_45_10365.jpg', '/home/pi/Desktop/images/28012025/04/45/image_28012025_04_45_55_9418.jpg', '/home/pi/Desktop/images/28012025/04/45/image_28012025_04_46_05_10367.jpg', '/home/pi/Desktop/images/28012025/04/46/image_28012025_04_46_16_10352.jpg', '/home/pi/Desktop/images/28012025/04/46/image_28012025_04_46_25_9358.jpg', '/home/pi/Desktop/images/28012025/04/46/image_28012025_04_46_35_10465.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/45/image_28012025_04_45_45_10365.jpg
/home/pi/Desktop/images/28012025/04/45/image_28012025_04_45_55_9418.jpg
/home/pi/Desktop/images/28012025/04/45/image_28012025_04_46_05_10367.jpg
/home/pi/Desktop/images/28012025/04/46/image_28012025_04_46_16_10352.jpg
/home/pi/Desktop/images/28012025/04/46/image_28012025_04_46_25_9358.jpg
/home/pi/Desktop/images/28012025/04/46/image_28012025_04_46_35_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":["1332262944","1332262953","1332262929","1332262982","1332262939","1332262924"],"photo_ids_order":["1332262924","1332262929","1332262939","1332262944","1332262953","1332262982"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cec20fd1006886e0a3f4c0e1663ade4b.jpg","text":"TemporaryFile(/tmp/multipartBody856959471425362818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060053119,"filename":"image_28012025_04_46_16_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f67372ced55d581e05f26eec0c9cd628.jpg","text":"TemporaryFile(/tmp/multipartBody9020651952957071884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060053119,"filename":"image_28012025_04_46_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/1/28/1f3453e4de2589b3a34a3a54364cba72.jpg","text":"TemporaryFile(/tmp/multipartBody1489699119289405386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060053119,"filename":"image_28012025_04_45_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/1/28/8ccb87d90729eb4a8f0f4768ed901023.jpg","text":"TemporaryFile(/tmp/multipartBody3510989014323257945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060053119,"filename":"image_28012025_04_46_35_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5a9a60391fe229b3c712c7dd87b2806f.jpg","text":"TemporaryFile(/tmp/multipartBody5303519311014034164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060053119,"filename":"image_28012025_04_46_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/1/28/8aaa94497be6f87727a3defc2a99a940.jpg","text":"TemporaryFile(/tmp/multipartBody8580745483752032445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060053119,"filename":"image_28012025_04_45_45_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332262939","file1":"1332262929","file0":"1332262924","file4":"1332262953","file5":"1332262982","file3":"1332262944"},"map_files_photo_id_array":[{"photo_id":"1332262982","filename":"file5"},{"photo_id":"1332262939","filename":"file2"},{"photo_id":"1332262953","filename":"file4"},{"photo_id":"1332262929","filename":"file1"},{"photo_id":"1332262924","filename":"file0"},{"photo_id":"1332262944","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332262944":["hashtag1","hashtag2"]},{"1332262953":["hashtag1","hashtag2"]},{"1332262929":["hashtag1","hashtag2"]},{"1332262982":["hashtag1","hashtag2"]},{"1332262939":["hashtag1","hashtag2"]},{"1332262924":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332262944, 1332262953, 1332262929, 1332262982, 1332262939, 1332262924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33149528503418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:27:32.675129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/46/image_28012025_04_46_46_10347.jpg', '/home/pi/Desktop/images/28012025/04/46/image_28012025_04_46_55_9352.jpg', '/home/pi/Desktop/images/28012025/04/46/image_28012025_04_47_06_10453.jpg', '/home/pi/Desktop/images/28012025/04/47/image_28012025_04_47_25_10474.jpg', '/home/pi/Desktop/images/28012025/04/47/image_28012025_04_47_36_10359.jpg', '/home/pi/Desktop/images/28012025/04/47/image_28012025_04_47_45_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/46/image_28012025_04_46_46_10347.jpg
/home/pi/Desktop/images/28012025/04/46/image_28012025_04_46_55_9352.jpg
/home/pi/Desktop/images/28012025/04/46/image_28012025_04_47_06_10453.jpg
/home/pi/Desktop/images/28012025/04/47/image_28012025_04_47_25_10474.jpg
/home/pi/Desktop/images/28012025/04/47/image_28012025_04_47_36_10359.jpg
/home/pi/Desktop/images/28012025/04/47/image_28012025_04_47_45_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332263031","1332263025","1332263015","1332263029","1332263020","1332263032"],"photo_ids_order":["1332263015","1332263020","1332263025","1332263029","1332263031","1332263032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c577a35da00d14610a55c282262a994a.jpg","text":"TemporaryFile(/tmp/multipartBody1497529882360411656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060113494,"filename":"image_28012025_04_47_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/1/28/89d3e081c4428155ce3f38e4dfaec61b.jpg","text":"TemporaryFile(/tmp/multipartBody6129973571746082143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060113494,"filename":"image_28012025_04_47_06_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7205409b3434eb68b11094e820ac9287.jpg","text":"TemporaryFile(/tmp/multipartBody4991803807325609633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060113494,"filename":"image_28012025_04_46_46_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b9e0df4351d6354a50391a3bfe8dbbb2.jpg","text":"TemporaryFile(/tmp/multipartBody6380990266189463379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060113494,"filename":"image_28012025_04_47_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/1/28/0d482124a1143be0df540c22364b9317.jpg","text":"TemporaryFile(/tmp/multipartBody2771705076944760931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060113494,"filename":"image_28012025_04_46_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/1/28/350da9b5c94b7a2261184aaa0ed29595.jpg","text":"TemporaryFile(/tmp/multipartBody7200109167232740519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060113494,"filename":"image_28012025_04_47_45_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332263025","file1":"1332263020","file0":"1332263015","file4":"1332263031","file5":"1332263032","file3":"1332263029"},"map_files_photo_id_array":[{"photo_id":"1332263032","filename":"file5"},{"photo_id":"1332263025","filename":"file2"},{"photo_id":"1332263031","filename":"file4"},{"photo_id":"1332263020","filename":"file1"},{"photo_id":"1332263015","filename":"file0"},{"photo_id":"1332263029","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332263031":["hashtag1","hashtag2"]},{"1332263025":["hashtag1","hashtag2"]},{"1332263015":["hashtag1","hashtag2"]},{"1332263029":["hashtag1","hashtag2"]},{"1332263020":["hashtag1","hashtag2"]},{"1332263032":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332263031, 1332263025, 1332263015, 1332263029, 1332263020, 1332263032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.11426496505737 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:28:32.909598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/47/image_28012025_04_47_56_10453.jpg', '/home/pi/Desktop/images/28012025/04/47/image_28012025_04_48_05_9369.jpg', '/home/pi/Desktop/images/28012025/04/48/image_28012025_04_48_15_10464.jpg', '/home/pi/Desktop/images/28012025/04/48/image_28012025_04_48_26_10344.jpg', '/home/pi/Desktop/images/28012025/04/48/image_28012025_04_48_35_9343.jpg', '/home/pi/Desktop/images/28012025/04/48/image_28012025_04_48_45_10427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/47/image_28012025_04_47_56_10453.jpg
/home/pi/Desktop/images/28012025/04/47/image_28012025_04_48_05_9369.jpg
/home/pi/Desktop/images/28012025/04/48/image_28012025_04_48_15_10464.jpg
/home/pi/Desktop/images/28012025/04/48/image_28012025_04_48_26_10344.jpg
/home/pi/Desktop/images/28012025/04/48/image_28012025_04_48_35_9343.jpg
/home/pi/Desktop/images/28012025/04/48/image_28012025_04_48_45_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":["1332263130","1332263073","1332263127","1332263066","1332263086","1332263080"],"photo_ids_order":["1332263066","1332263073","1332263080","1332263086","1332263127","1332263130"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9b5da93a7c295e83f412fba91365a11d.jpg","text":"TemporaryFile(/tmp/multipartBody6082805824957490505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060173676,"filename":"image_28012025_04_48_45_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3db5dd9e9228c80c052ca28f05f7ed9b.jpg","text":"TemporaryFile(/tmp/multipartBody1895922821243103444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060173676,"filename":"image_28012025_04_48_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/1/28/f532d429ec21c9432ea231ac4dc6b64e.jpg","text":"TemporaryFile(/tmp/multipartBody3764245842600138796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060173676,"filename":"image_28012025_04_48_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/1/28/e50670c897343ab6f0aa10ea1f88b8f1.jpg","text":"TemporaryFile(/tmp/multipartBody2165612961774146162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060173676,"filename":"image_28012025_04_47_56_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2af1436e1cc5a417a29afdad9f9216b0.jpg","text":"TemporaryFile(/tmp/multipartBody2531539548868069594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060173676,"filename":"image_28012025_04_48_26_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/96950b39915b0751dd84d0255dc08d40.jpg","text":"TemporaryFile(/tmp/multipartBody8193942965974548350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060173676,"filename":"image_28012025_04_48_15_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332263080","file1":"1332263073","file0":"1332263066","file4":"1332263127","file5":"1332263130","file3":"1332263086"},"map_files_photo_id_array":[{"photo_id":"1332263130","filename":"file5"},{"photo_id":"1332263080","filename":"file2"},{"photo_id":"1332263127","filename":"file4"},{"photo_id":"1332263073","filename":"file1"},{"photo_id":"1332263066","filename":"file0"},{"photo_id":"1332263086","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332263130":["hashtag1","hashtag2"]},{"1332263073":["hashtag1","hashtag2"]},{"1332263127":["hashtag1","hashtag2"]},{"1332263066":["hashtag1","hashtag2"]},{"1332263086":["hashtag1","hashtag2"]},{"1332263080":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332263130, 1332263073, 1332263127, 1332263066, 1332263086, 1332263080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.972508668899536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:29:33.241740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/48/image_28012025_04_48_55_9335.jpg', '/home/pi/Desktop/images/28012025/04/48/image_28012025_04_49_05_10379.jpg', '/home/pi/Desktop/images/28012025/04/49/image_28012025_04_49_16_10431.jpg', '/home/pi/Desktop/images/28012025/04/49/image_28012025_04_49_25_9410.jpg', '/home/pi/Desktop/images/28012025/04/49/image_28012025_04_49_35_10347.jpg', '/home/pi/Desktop/images/28012025/04/49/image_28012025_04_49_46_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/48/image_28012025_04_48_55_9335.jpg
/home/pi/Desktop/images/28012025/04/48/image_28012025_04_49_05_10379.jpg
/home/pi/Desktop/images/28012025/04/49/image_28012025_04_49_16_10431.jpg
/home/pi/Desktop/images/28012025/04/49/image_28012025_04_49_25_9410.jpg
/home/pi/Desktop/images/28012025/04/49/image_28012025_04_49_35_10347.jpg
/home/pi/Desktop/images/28012025/04/49/image_28012025_04_49_46_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":["1332263163","1332263157","1332263171","1332263150","1332263173","1332263169"],"photo_ids_order":["1332263150","1332263157","1332263163","1332263169","1332263171","1332263173"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/189d52b981871e5c519fa9516af67ed7.jpg","text":"TemporaryFile(/tmp/multipartBody2657880269996338624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060234060,"filename":"image_28012025_04_49_16_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cc7dd92e67913a9a775de60e0c762c74.jpg","text":"TemporaryFile(/tmp/multipartBody6584842726785175159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060234060,"filename":"image_28012025_04_49_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/1/28/a44a95a41c8c5fbaf9b8f7159a1e3110.jpg","text":"TemporaryFile(/tmp/multipartBody1269785741430216436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060234060,"filename":"image_28012025_04_49_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/1/28/8548ef311810fec0898ca7f93b6d2f24.jpg","text":"TemporaryFile(/tmp/multipartBody3031881583054323479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060234060,"filename":"image_28012025_04_48_55_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6e1d67de8f550dd677dcf0d4ce1fb71d.jpg","text":"TemporaryFile(/tmp/multipartBody2938194462356383938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060234060,"filename":"image_28012025_04_49_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/1/28/1fd7ef5d079db753e60f70c7dc0e4870.jpg","text":"TemporaryFile(/tmp/multipartBody2820584014382446681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060234060,"filename":"image_28012025_04_49_25_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332263163","file1":"1332263157","file0":"1332263150","file4":"1332263171","file5":"1332263173","file3":"1332263169"},"map_files_photo_id_array":[{"photo_id":"1332263173","filename":"file5"},{"photo_id":"1332263163","filename":"file2"},{"photo_id":"1332263171","filename":"file4"},{"photo_id":"1332263157","filename":"file1"},{"photo_id":"1332263150","filename":"file0"},{"photo_id":"1332263169","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332263163":["hashtag1","hashtag2"]},{"1332263157":["hashtag1","hashtag2"]},{"1332263171":["hashtag1","hashtag2"]},{"1332263150":["hashtag1","hashtag2"]},{"1332263173":["hashtag1","hashtag2"]},{"1332263169":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332263163, 1332263157, 1332263171, 1332263150, 1332263173, 1332263169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02464437484741 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:30:32.374660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/49/image_28012025_04_49_55_9341.jpg', '/home/pi/Desktop/images/28012025/04/49/image_28012025_04_50_05_10347.jpg', '/home/pi/Desktop/images/28012025/04/50/image_28012025_04_50_16_10358.jpg', '/home/pi/Desktop/images/28012025/04/50/image_28012025_04_50_36_10350.jpg', '/home/pi/Desktop/images/28012025/04/50/image_28012025_04_50_45_9351.jpg', '/home/pi/Desktop/images/28012025/04/50/image_28012025_04_50_55_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/49/image_28012025_04_49_55_9341.jpg
/home/pi/Desktop/images/28012025/04/49/image_28012025_04_50_05_10347.jpg
/home/pi/Desktop/images/28012025/04/50/image_28012025_04_50_16_10358.jpg
/home/pi/Desktop/images/28012025/04/50/image_28012025_04_50_36_10350.jpg
/home/pi/Desktop/images/28012025/04/50/image_28012025_04_50_45_9351.jpg
/home/pi/Desktop/images/28012025/04/50/image_28012025_04_50_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":["1332263223","1332263211","1332263216","1332263225","1332263191","1332263206"],"photo_ids_order":["1332263191","1332263206","1332263211","1332263216","1332263223","1332263225"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/998b5da8e9651270c9144d74e43bc59d.jpg","text":"TemporaryFile(/tmp/multipartBody1067921903882977883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060293209,"filename":"image_28012025_04_50_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/1/28/2cc332de11898e8a42b7637ddb6f5871.jpg","text":"TemporaryFile(/tmp/multipartBody5905880799387641733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060293209,"filename":"image_28012025_04_50_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/1/28/530cfe867b700cf1b618ded1e5b21337.jpg","text":"TemporaryFile(/tmp/multipartBody7428728499052703838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060293209,"filename":"image_28012025_04_50_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/1/28/0124dfc15b5c3ce078b1f1eee3c5e6f0.jpg","text":"TemporaryFile(/tmp/multipartBody9067923487046146362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060293209,"filename":"image_28012025_04_50_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/1/28/4fce6eced84d47f4e365e2794abe85d4.jpg","text":"TemporaryFile(/tmp/multipartBody3841801842497784954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060293209,"filename":"image_28012025_04_49_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/1/28/7f7e38dcdf096106b340b4066d8a651f.jpg","text":"TemporaryFile(/tmp/multipartBody4554764952869764559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060293209,"filename":"image_28012025_04_50_05_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332263211","file1":"1332263206","file0":"1332263191","file4":"1332263223","file5":"1332263225","file3":"1332263216"},"map_files_photo_id_array":[{"photo_id":"1332263225","filename":"file5"},{"photo_id":"1332263211","filename":"file2"},{"photo_id":"1332263223","filename":"file4"},{"photo_id":"1332263206","filename":"file1"},{"photo_id":"1332263191","filename":"file0"},{"photo_id":"1332263216","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332263223":["hashtag1","hashtag2"]},{"1332263211":["hashtag1","hashtag2"]},{"1332263216":["hashtag1","hashtag2"]},{"1332263225":["hashtag1","hashtag2"]},{"1332263191":["hashtag1","hashtag2"]},{"1332263206":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332263223, 1332263211, 1332263216, 1332263225, 1332263191, 1332263206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29447293281555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:31:32.668173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/50/image_28012025_04_51_06_10339.jpg', '/home/pi/Desktop/images/28012025/04/51/image_28012025_04_51_15_9358.jpg', '/home/pi/Desktop/images/28012025/04/51/image_28012025_04_51_26_10451.jpg', '/home/pi/Desktop/images/28012025/04/51/image_28012025_04_51_35_9325.jpg', '/home/pi/Desktop/images/28012025/04/51/image_28012025_04_51_45_10454.jpg', '/home/pi/Desktop/images/28012025/04/51/image_28012025_04_51_56_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/50/image_28012025_04_51_06_10339.jpg
/home/pi/Desktop/images/28012025/04/51/image_28012025_04_51_15_9358.jpg
/home/pi/Desktop/images/28012025/04/51/image_28012025_04_51_26_10451.jpg
/home/pi/Desktop/images/28012025/04/51/image_28012025_04_51_35_9325.jpg
/home/pi/Desktop/images/28012025/04/51/image_28012025_04_51_45_10454.jpg
/home/pi/Desktop/images/28012025/04/51/image_28012025_04_51_56_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":["1332263574","1332263543","1332263615","1332263537","1332263665","1332263618"],"photo_ids_order":["1332263537","1332263543","1332263574","1332263615","1332263618","1332263665"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9935a69d8ef254ef1492d9c11a85983f.jpg","text":"TemporaryFile(/tmp/multipartBody4481417566493507610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060353538,"filename":"image_28012025_04_51_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/1/28/55db5567a504fa2187339853e25ed559.jpg","text":"TemporaryFile(/tmp/multipartBody4562653949709232459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060353538,"filename":"image_28012025_04_51_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/1/28/dc39413c660ede8ff78695d5ad7a9db0.jpg","text":"TemporaryFile(/tmp/multipartBody3946983751257799568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060353538,"filename":"image_28012025_04_51_35_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e19de19935a0e3bf62dd872e8086f7ae.jpg","text":"TemporaryFile(/tmp/multipartBody1329957518004708130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060353538,"filename":"image_28012025_04_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/1/28/f58094dbc19c7fc9f6e4bff4524a66cd.jpg","text":"TemporaryFile(/tmp/multipartBody6814442698250576029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060353538,"filename":"image_28012025_04_51_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/1/28/026fcf0da07be088149c8b96a405fbff.jpg","text":"TemporaryFile(/tmp/multipartBody3640046766427978096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060353538,"filename":"image_28012025_04_51_45_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332263574","file1":"1332263543","file0":"1332263537","file4":"1332263618","file5":"1332263665","file3":"1332263615"},"map_files_photo_id_array":[{"photo_id":"1332263665","filename":"file5"},{"photo_id":"1332263574","filename":"file2"},{"photo_id":"1332263618","filename":"file4"},{"photo_id":"1332263543","filename":"file1"},{"photo_id":"1332263537","filename":"file0"},{"photo_id":"1332263615","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332263574":["hashtag1","hashtag2"]},{"1332263543":["hashtag1","hashtag2"]},{"1332263615":["hashtag1","hashtag2"]},{"1332263537":["hashtag1","hashtag2"]},{"1332263665":["hashtag1","hashtag2"]},{"1332263618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332263574, 1332263543, 1332263615, 1332263537, 1332263665, 1332263618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.19988131523132 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:32:32.836552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/51/image_28012025_04_52_05_9351.jpg', '/home/pi/Desktop/images/28012025/04/52/image_28012025_04_52_15_10461.jpg', '/home/pi/Desktop/images/28012025/04/52/image_28012025_04_52_25_9347.jpg', '/home/pi/Desktop/images/28012025/04/52/image_28012025_04_52_35_10346.jpg', '/home/pi/Desktop/images/28012025/04/52/image_28012025_04_52_55_9336.jpg', '/home/pi/Desktop/images/28012025/04/52/image_28012025_04_53_05_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/51/image_28012025_04_52_05_9351.jpg
/home/pi/Desktop/images/28012025/04/52/image_28012025_04_52_15_10461.jpg
/home/pi/Desktop/images/28012025/04/52/image_28012025_04_52_25_9347.jpg
/home/pi/Desktop/images/28012025/04/52/image_28012025_04_52_35_10346.jpg
/home/pi/Desktop/images/28012025/04/52/image_28012025_04_52_55_9336.jpg
/home/pi/Desktop/images/28012025/04/52/image_28012025_04_53_05_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332263730","1332263736","1332263721","1332263717","1332263734","1332263725"],"photo_ids_order":["1332263717","1332263721","1332263725","1332263730","1332263734","1332263736"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3b91dec5d608cdf1498ea677ab2982cb.jpg","text":"TemporaryFile(/tmp/multipartBody7651099870672819051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060413632,"filename":"image_28012025_04_52_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/1/28/dba65e3cef601fa148ec12cf90b8e50f.jpg","text":"TemporaryFile(/tmp/multipartBody6068005280739209996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060413632,"filename":"image_28012025_04_53_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/1/28/93470506332445c8bf50c1a72350bc70.jpg","text":"TemporaryFile(/tmp/multipartBody5340396318387281578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060413632,"filename":"image_28012025_04_52_15_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d50f9c8ee520965f4ed60fd551fa69eb.jpg","text":"TemporaryFile(/tmp/multipartBody7660532472772701323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060413632,"filename":"image_28012025_04_52_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/1/28/a72cecea200191bde0a838467306efda.jpg","text":"TemporaryFile(/tmp/multipartBody7591740756925012143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060413632,"filename":"image_28012025_04_52_55_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bfd6de1104ad4f9352492b91e6a64315.jpg","text":"TemporaryFile(/tmp/multipartBody6498235225822841381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060413632,"filename":"image_28012025_04_52_25_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332263725","file1":"1332263721","file0":"1332263717","file4":"1332263734","file5":"1332263736","file3":"1332263730"},"map_files_photo_id_array":[{"photo_id":"1332263736","filename":"file5"},{"photo_id":"1332263725","filename":"file2"},{"photo_id":"1332263734","filename":"file4"},{"photo_id":"1332263721","filename":"file1"},{"photo_id":"1332263717","filename":"file0"},{"photo_id":"1332263730","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332263730":["hashtag1","hashtag2"]},{"1332263736":["hashtag1","hashtag2"]},{"1332263721":["hashtag1","hashtag2"]},{"1332263717":["hashtag1","hashtag2"]},{"1332263734":["hashtag1","hashtag2"]},{"1332263725":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332263730, 1332263736, 1332263721, 1332263717, 1332263734, 1332263725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.90776443481445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:33:33.090475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/53/image_28012025_04_53_16_10337.jpg', '/home/pi/Desktop/images/28012025/04/53/image_28012025_04_53_25_9376.jpg', '/home/pi/Desktop/images/28012025/04/53/image_28012025_04_53_36_10451.jpg', '/home/pi/Desktop/images/28012025/04/53/image_28012025_04_53_45_9379.jpg', '/home/pi/Desktop/images/28012025/04/53/image_28012025_04_53_55_10386.jpg', '/home/pi/Desktop/images/28012025/04/53/image_28012025_04_54_06_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/53/image_28012025_04_53_16_10337.jpg
/home/pi/Desktop/images/28012025/04/53/image_28012025_04_53_25_9376.jpg
/home/pi/Desktop/images/28012025/04/53/image_28012025_04_53_36_10451.jpg
/home/pi/Desktop/images/28012025/04/53/image_28012025_04_53_45_9379.jpg
/home/pi/Desktop/images/28012025/04/53/image_28012025_04_53_55_10386.jpg
/home/pi/Desktop/images/28012025/04/53/image_28012025_04_54_06_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332263769","1332263771","1332263765","1332263759","1332263753","1332263747"],"photo_ids_order":["1332263747","1332263753","1332263759","1332263765","1332263769","1332263771"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8a96ce3b865bb00f915a8f6df740f7df.jpg","text":"TemporaryFile(/tmp/multipartBody8574070115209706696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060473881,"filename":"image_28012025_04_53_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/1/28/1f4cb6fdc2b56bc72233b09ed1646819.jpg","text":"TemporaryFile(/tmp/multipartBody1621118548784670146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060473881,"filename":"image_28012025_04_54_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/1/28/b994aca92874631d745e0c01d51e407e.jpg","text":"TemporaryFile(/tmp/multipartBody4557675795220333798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060473881,"filename":"image_28012025_04_53_45_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/023184b1afc9b5cb453f9bba84ade1fa.jpg","text":"TemporaryFile(/tmp/multipartBody2377632622079165957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060473881,"filename":"image_28012025_04_53_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/1/28/a5ca7ee72f13a9accd8c6ecc14fe617c.jpg","text":"TemporaryFile(/tmp/multipartBody4854163933116472015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060473881,"filename":"image_28012025_04_53_25_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cf1add514112bb1645c04b21a4886a80.jpg","text":"TemporaryFile(/tmp/multipartBody9211697453510410132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060473881,"filename":"image_28012025_04_53_16_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332263759","file1":"1332263753","file0":"1332263747","file4":"1332263769","file5":"1332263771","file3":"1332263765"},"map_files_photo_id_array":[{"photo_id":"1332263771","filename":"file5"},{"photo_id":"1332263759","filename":"file2"},{"photo_id":"1332263769","filename":"file4"},{"photo_id":"1332263753","filename":"file1"},{"photo_id":"1332263747","filename":"file0"},{"photo_id":"1332263765","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332263769":["hashtag1","hashtag2"]},{"1332263771":["hashtag1","hashtag2"]},{"1332263765":["hashtag1","hashtag2"]},{"1332263759":["hashtag1","hashtag2"]},{"1332263753":["hashtag1","hashtag2"]},{"1332263747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332263769, 1332263771, 1332263765, 1332263759, 1332263753, 1332263747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.16528129577637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:34:32.212437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/54/image_28012025_04_54_15_9329.jpg', '/home/pi/Desktop/images/28012025/04/54/image_28012025_04_54_25_10515.jpg', '/home/pi/Desktop/images/28012025/04/54/image_28012025_04_54_35_9442.jpg', '/home/pi/Desktop/images/28012025/04/54/image_28012025_04_54_45_10471.jpg', '/home/pi/Desktop/images/28012025/04/54/image_28012025_04_54_56_10335.jpg', '/home/pi/Desktop/images/28012025/04/54/image_28012025_04_55_05_9410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/54/image_28012025_04_54_15_9329.jpg
/home/pi/Desktop/images/28012025/04/54/image_28012025_04_54_25_10515.jpg
/home/pi/Desktop/images/28012025/04/54/image_28012025_04_54_35_9442.jpg
/home/pi/Desktop/images/28012025/04/54/image_28012025_04_54_45_10471.jpg
/home/pi/Desktop/images/28012025/04/54/image_28012025_04_54_56_10335.jpg
/home/pi/Desktop/images/28012025/04/54/image_28012025_04_55_05_9410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332263850","1332263844","1332263838","1332263861","1332263855","1332263863"],"photo_ids_order":["1332263838","1332263844","1332263850","1332263855","1332263861","1332263863"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/090261b997e215c46306bd4087275fcf.jpg","text":"TemporaryFile(/tmp/multipartBody1179758743063255237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060533000,"filename":"image_28012025_04_54_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/1/28/3be82dd9c67f2a53e91b60478f77a0a6.jpg","text":"TemporaryFile(/tmp/multipartBody6985819764354602826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060533000,"filename":"image_28012025_04_54_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/1/28/9067ca3cf22575bcfdb1584b46809ee7.jpg","text":"TemporaryFile(/tmp/multipartBody8757566650559369124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060533000,"filename":"image_28012025_04_54_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/1/28/c95831c230ad348dc4c41e5d99e636e7.jpg","text":"TemporaryFile(/tmp/multipartBody5491736370194700565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060533000,"filename":"image_28012025_04_54_56_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3460d31bcf2464a185ae7100d3166cee.jpg","text":"TemporaryFile(/tmp/multipartBody8292231888988403555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060533000,"filename":"image_28012025_04_54_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/1/28/a33a6eda4d53d65a1b7ee18628f585d8.jpg","text":"TemporaryFile(/tmp/multipartBody7828333826485562852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060533000,"filename":"image_28012025_04_55_05_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332263850","file1":"1332263844","file0":"1332263838","file4":"1332263861","file5":"1332263863","file3":"1332263855"},"map_files_photo_id_array":[{"photo_id":"1332263863","filename":"file5"},{"photo_id":"1332263850","filename":"file2"},{"photo_id":"1332263861","filename":"file4"},{"photo_id":"1332263844","filename":"file1"},{"photo_id":"1332263838","filename":"file0"},{"photo_id":"1332263855","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332263850":["hashtag1","hashtag2"]},{"1332263844":["hashtag1","hashtag2"]},{"1332263838":["hashtag1","hashtag2"]},{"1332263861":["hashtag1","hashtag2"]},{"1332263855":["hashtag1","hashtag2"]},{"1332263863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332263850, 1332263844, 1332263838, 1332263861, 1332263855, 1332263863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90448236465454 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:35:32.431614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/55/image_28012025_04_55_16_10379.jpg', '/home/pi/Desktop/images/28012025/04/55/image_28012025_04_55_25_9346.jpg', '/home/pi/Desktop/images/28012025/04/55/image_28012025_04_55_35_10442.jpg', '/home/pi/Desktop/images/28012025/04/55/image_28012025_04_55_46_10368.jpg', '/home/pi/Desktop/images/28012025/04/55/image_28012025_04_55_55_9395.jpg', '/home/pi/Desktop/images/28012025/04/55/image_28012025_04_56_06_10472.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/55/image_28012025_04_55_16_10379.jpg
/home/pi/Desktop/images/28012025/04/55/image_28012025_04_55_25_9346.jpg
/home/pi/Desktop/images/28012025/04/55/image_28012025_04_55_35_10442.jpg
/home/pi/Desktop/images/28012025/04/55/image_28012025_04_55_46_10368.jpg
/home/pi/Desktop/images/28012025/04/55/image_28012025_04_55_55_9395.jpg
/home/pi/Desktop/images/28012025/04/55/image_28012025_04_56_06_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":["1332263879","1332263894","1332263888","1332263909","1332263902","1332263883"],"photo_ids_order":["1332263879","1332263883","1332263888","1332263894","1332263902","1332263909"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dda02d5858ab6994b144a7c28167ae3b.jpg","text":"TemporaryFile(/tmp/multipartBody662004301947849864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060593239,"filename":"image_28012025_04_55_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/1/28/adf3da844f6a516e3ea6b9f61bf92409.jpg","text":"TemporaryFile(/tmp/multipartBody6593670512904367736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060593239,"filename":"image_28012025_04_55_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/1/28/a3a42e6f044ab073f56499718dc245de.jpg","text":"TemporaryFile(/tmp/multipartBody4798478214544685162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060593239,"filename":"image_28012025_04_55_35_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/20aab42986a277bd5b1b8d6635af9484.jpg","text":"TemporaryFile(/tmp/multipartBody348170365115495667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060593239,"filename":"image_28012025_04_56_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/1/28/93974af8515b99543246a1427b673af2.jpg","text":"TemporaryFile(/tmp/multipartBody4886806259172978538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060593239,"filename":"image_28012025_04_55_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/1/28/f98f961f2aa7dc9d61acad769be8779a.jpg","text":"TemporaryFile(/tmp/multipartBody1001933830152135601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060593239,"filename":"image_28012025_04_55_25_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332263888","file1":"1332263883","file0":"1332263879","file4":"1332263902","file5":"1332263909","file3":"1332263894"},"map_files_photo_id_array":[{"photo_id":"1332263909","filename":"file5"},{"photo_id":"1332263888","filename":"file2"},{"photo_id":"1332263902","filename":"file4"},{"photo_id":"1332263883","filename":"file1"},{"photo_id":"1332263879","filename":"file0"},{"photo_id":"1332263894","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332263879":["hashtag1","hashtag2"]},{"1332263894":["hashtag1","hashtag2"]},{"1332263888":["hashtag1","hashtag2"]},{"1332263909":["hashtag1","hashtag2"]},{"1332263902":["hashtag1","hashtag2"]},{"1332263883":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332263879, 1332263894, 1332263888, 1332263909, 1332263902, 1332263883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54244685173035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:36:32.770858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/56/image_28012025_04_56_15_9335.jpg', '/home/pi/Desktop/images/28012025/04/56/image_28012025_04_56_25_10475.jpg', '/home/pi/Desktop/images/28012025/04/56/image_28012025_04_56_36_10369.jpg', '/home/pi/Desktop/images/28012025/04/56/image_28012025_04_56_45_9421.jpg', '/home/pi/Desktop/images/28012025/04/56/image_28012025_04_56_56_10418.jpg', '/home/pi/Desktop/images/28012025/04/56/image_28012025_04_57_05_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/56/image_28012025_04_56_15_9335.jpg
/home/pi/Desktop/images/28012025/04/56/image_28012025_04_56_25_10475.jpg
/home/pi/Desktop/images/28012025/04/56/image_28012025_04_56_36_10369.jpg
/home/pi/Desktop/images/28012025/04/56/image_28012025_04_56_45_9421.jpg
/home/pi/Desktop/images/28012025/04/56/image_28012025_04_56_56_10418.jpg
/home/pi/Desktop/images/28012025/04/56/image_28012025_04_57_05_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332263957","1332264305","1332263980","1332264307","1332264100","1332264222"],"photo_ids_order":["1332263957","1332263980","1332264100","1332264222","1332264305","1332264307"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9537cdc17c23abdcd631b24d936977b6.jpg","text":"TemporaryFile(/tmp/multipartBody9062468108805903914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060653578,"filename":"image_28012025_04_56_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/1/28/527924d91d4155d193eef55ae3426084.jpg","text":"TemporaryFile(/tmp/multipartBody7264393656051966559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060653578,"filename":"image_28012025_04_56_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/1/28/56d65aa516c68f090c8a44acce8ca235.jpg","text":"TemporaryFile(/tmp/multipartBody3650167255178638858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060653578,"filename":"image_28012025_04_56_25_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/77cc001575db50af7810a9e431f2a1b7.jpg","text":"TemporaryFile(/tmp/multipartBody3256592611277476137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060653578,"filename":"image_28012025_04_57_05_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7a389f3f695905e19d1464fe16962070.jpg","text":"TemporaryFile(/tmp/multipartBody1920789897947885344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060653578,"filename":"image_28012025_04_56_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/1/28/a73e0e795443a0fca853cb18b92d65f1.jpg","text":"TemporaryFile(/tmp/multipartBody5843651534420423016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060653578,"filename":"image_28012025_04_56_45_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332264100","file1":"1332263980","file0":"1332263957","file4":"1332264305","file5":"1332264307","file3":"1332264222"},"map_files_photo_id_array":[{"photo_id":"1332264307","filename":"file5"},{"photo_id":"1332264100","filename":"file2"},{"photo_id":"1332264305","filename":"file4"},{"photo_id":"1332263980","filename":"file1"},{"photo_id":"1332263957","filename":"file0"},{"photo_id":"1332264222","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332263957":["hashtag1","hashtag2"]},{"1332264305":["hashtag1","hashtag2"]},{"1332263980":["hashtag1","hashtag2"]},{"1332264307":["hashtag1","hashtag2"]},{"1332264100":["hashtag1","hashtag2"]},{"1332264222":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332263957, 1332264305, 1332263980, 1332264307, 1332264100, 1332264222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.10378289222717 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:37:32.996014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/57/image_28012025_04_57_15_10484.jpg', '/home/pi/Desktop/images/28012025/04/57/image_28012025_04_57_26_10354.jpg', '/home/pi/Desktop/images/28012025/04/57/image_28012025_04_57_35_9410.jpg', '/home/pi/Desktop/images/28012025/04/57/image_28012025_04_57_46_10443.jpg', '/home/pi/Desktop/images/28012025/04/57/image_28012025_04_57_55_9421.jpg', '/home/pi/Desktop/images/28012025/04/57/image_28012025_04_58_05_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/57/image_28012025_04_57_15_10484.jpg
/home/pi/Desktop/images/28012025/04/57/image_28012025_04_57_26_10354.jpg
/home/pi/Desktop/images/28012025/04/57/image_28012025_04_57_35_9410.jpg
/home/pi/Desktop/images/28012025/04/57/image_28012025_04_57_46_10443.jpg
/home/pi/Desktop/images/28012025/04/57/image_28012025_04_57_55_9421.jpg
/home/pi/Desktop/images/28012025/04/57/image_28012025_04_58_05_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332264532","1332264535","1332264529","1332264517","1332264526","1332264462"],"photo_ids_order":["1332264462","1332264517","1332264526","1332264529","1332264532","1332264535"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/97be48c6480c1b3f221e828d3bb519a6.jpg","text":"TemporaryFile(/tmp/multipartBody2474136795319338308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060713784,"filename":"image_28012025_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/1/28/f70dab2ac19bc4ee851062723f234b34.jpg","text":"TemporaryFile(/tmp/multipartBody5273771462730800552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060713784,"filename":"image_28012025_04_58_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/1/28/c143133aae822dc45c882d822deb81d7.jpg","text":"TemporaryFile(/tmp/multipartBody1258693751785865012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060713784,"filename":"image_28012025_04_57_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/1/28/a3b470d4a9666befe5b21f272eb78744.jpg","text":"TemporaryFile(/tmp/multipartBody1039009946756845317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060713784,"filename":"image_28012025_04_57_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/1/28/a3beeed90dad6ccc9a9dab2b195f4413.jpg","text":"TemporaryFile(/tmp/multipartBody5345801291785947613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060713784,"filename":"image_28012025_04_57_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/1/28/2539ddf6e608e540a867a4bf5b7570a7.jpg","text":"TemporaryFile(/tmp/multipartBody2219518494458421509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060713784,"filename":"image_28012025_04_57_15_10484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332264526","file1":"1332264517","file0":"1332264462","file4":"1332264532","file5":"1332264535","file3":"1332264529"},"map_files_photo_id_array":[{"photo_id":"1332264535","filename":"file5"},{"photo_id":"1332264526","filename":"file2"},{"photo_id":"1332264532","filename":"file4"},{"photo_id":"1332264517","filename":"file1"},{"photo_id":"1332264462","filename":"file0"},{"photo_id":"1332264529","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332264532":["hashtag1","hashtag2"]},{"1332264535":["hashtag1","hashtag2"]},{"1332264529":["hashtag1","hashtag2"]},{"1332264517":["hashtag1","hashtag2"]},{"1332264526":["hashtag1","hashtag2"]},{"1332264462":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332264532, 1332264535, 1332264529, 1332264517, 1332264526, 1332264462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.12440013885498 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:38:32.180480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/58/image_28012025_04_58_16_10339.jpg', '/home/pi/Desktop/images/28012025/04/58/image_28012025_04_58_25_9352.jpg', '/home/pi/Desktop/images/28012025/04/58/image_28012025_04_58_36_10463.jpg', '/home/pi/Desktop/images/28012025/04/58/image_28012025_04_58_45_9332.jpg', '/home/pi/Desktop/images/28012025/04/58/image_28012025_04_58_55_10405.jpg', '/home/pi/Desktop/images/28012025/04/58/image_28012025_04_59_06_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/58/image_28012025_04_58_16_10339.jpg
/home/pi/Desktop/images/28012025/04/58/image_28012025_04_58_25_9352.jpg
/home/pi/Desktop/images/28012025/04/58/image_28012025_04_58_36_10463.jpg
/home/pi/Desktop/images/28012025/04/58/image_28012025_04_58_45_9332.jpg
/home/pi/Desktop/images/28012025/04/58/image_28012025_04_58_55_10405.jpg
/home/pi/Desktop/images/28012025/04/58/image_28012025_04_59_06_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332264571","1332264559","1332264568","1332264564","1332264552","1332264555"],"photo_ids_order":["1332264552","1332264555","1332264559","1332264564","1332264568","1332264571"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2fc76f8b0a01aaa1d2a87a34db8af18a.jpg","text":"TemporaryFile(/tmp/multipartBody1971211708261882982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060772953,"filename":"image_28012025_04_59_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/1/28/c722994331a249fdd7960e22ff282904.jpg","text":"TemporaryFile(/tmp/multipartBody4511590497865434094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060772953,"filename":"image_28012025_04_58_36_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b487cd7c0868af29d716cb7d8f4367bc.jpg","text":"TemporaryFile(/tmp/multipartBody6416974598474458452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060772953,"filename":"image_28012025_04_58_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/1/28/86190f7978ee0f22a70a987cc18fe633.jpg","text":"TemporaryFile(/tmp/multipartBody6425678153526042065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060772953,"filename":"image_28012025_04_58_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/1/28/e56185cbebcb7da0c9e94e1743ee53bc.jpg","text":"TemporaryFile(/tmp/multipartBody3841072826858981782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060772953,"filename":"image_28012025_04_58_16_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0a03dd38c3fc064894f1e17df7de4dd2.jpg","text":"TemporaryFile(/tmp/multipartBody7710999193104692794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060772953,"filename":"image_28012025_04_58_25_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332264559","file1":"1332264555","file0":"1332264552","file4":"1332264568","file5":"1332264571","file3":"1332264564"},"map_files_photo_id_array":[{"photo_id":"1332264571","filename":"file5"},{"photo_id":"1332264559","filename":"file2"},{"photo_id":"1332264568","filename":"file4"},{"photo_id":"1332264555","filename":"file1"},{"photo_id":"1332264552","filename":"file0"},{"photo_id":"1332264564","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332264571":["hashtag1","hashtag2"]},{"1332264559":["hashtag1","hashtag2"]},{"1332264568":["hashtag1","hashtag2"]},{"1332264564":["hashtag1","hashtag2"]},{"1332264552":["hashtag1","hashtag2"]},{"1332264555":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332264571, 1332264559, 1332264568, 1332264564, 1332264552, 1332264555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.15634822845459 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:39:32.490217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/04/59/image_28012025_04_59_15_9326.jpg', '/home/pi/Desktop/images/28012025/04/59/image_28012025_04_59_25_10410.jpg', '/home/pi/Desktop/images/28012025/04/59/image_28012025_04_59_36_10391.jpg', '/home/pi/Desktop/images/28012025/04/59/image_28012025_04_59_45_9421.jpg', '/home/pi/Desktop/images/28012025/04/59/image_28012025_04_59_56_10428.jpg', '/home/pi/Desktop/images/28012025/05/00/image_28012025_05_00_15_10079.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/04/59/image_28012025_04_59_15_9326.jpg
/home/pi/Desktop/images/28012025/04/59/image_28012025_04_59_25_10410.jpg
/home/pi/Desktop/images/28012025/04/59/image_28012025_04_59_36_10391.jpg
/home/pi/Desktop/images/28012025/04/59/image_28012025_04_59_45_9421.jpg
/home/pi/Desktop/images/28012025/04/59/image_28012025_04_59_56_10428.jpg
/home/pi/Desktop/images/28012025/05/00/image_28012025_05_00_15_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":["1332264609","1332264611","1332264613","1332264601","1332264604","1332264607"],"photo_ids_order":["1332264601","1332264604","1332264607","1332264609","1332264611","1332264613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/94a821b68aa3dba872d3e54928d67c95.jpg","text":"TemporaryFile(/tmp/multipartBody439975549693435697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060833284,"filename":"image_28012025_04_59_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/1/28/f4021a357e0b39a6d74e158bb373fc4e.jpg","text":"TemporaryFile(/tmp/multipartBody1292325596609699499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060833284,"filename":"image_28012025_04_59_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/1/28/d2aec81eec7c4118ed35b2cf595fda42.jpg","text":"TemporaryFile(/tmp/multipartBody4808642589833721280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060833284,"filename":"image_28012025_05_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/1/28/fd1263e1d39f6a04d6e85c36f1a5ac34.jpg","text":"TemporaryFile(/tmp/multipartBody7571429146745436199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060833284,"filename":"image_28012025_04_59_15_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d7a2207d4d2cfc45ed58971cce2e4e8d.jpg","text":"TemporaryFile(/tmp/multipartBody8162655954520522379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060833284,"filename":"image_28012025_04_59_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/1/28/b10737e4162bcb97aa7459d3a8b63f04.jpg","text":"TemporaryFile(/tmp/multipartBody1166383880864226981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060833284,"filename":"image_28012025_04_59_36_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332264607","file1":"1332264604","file0":"1332264601","file4":"1332264611","file5":"1332264613","file3":"1332264609"},"map_files_photo_id_array":[{"photo_id":"1332264613","filename":"file5"},{"photo_id":"1332264607","filename":"file2"},{"photo_id":"1332264611","filename":"file4"},{"photo_id":"1332264604","filename":"file1"},{"photo_id":"1332264601","filename":"file0"},{"photo_id":"1332264609","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332264609":["hashtag1","hashtag2"]},{"1332264611":["hashtag1","hashtag2"]},{"1332264613":["hashtag1","hashtag2"]},{"1332264601":["hashtag1","hashtag2"]},{"1332264604":["hashtag1","hashtag2"]},{"1332264607":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332264609, 1332264611, 1332264613, 1332264601, 1332264604, 1332264607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.48174047470093 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:40:32.615590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/00/image_28012025_05_00_26_10372.jpg', '/home/pi/Desktop/images/28012025/05/00/image_28012025_05_00_36_10437.jpg', '/home/pi/Desktop/images/28012025/05/00/image_28012025_05_00_45_9382.jpg', '/home/pi/Desktop/images/28012025/05/00/image_28012025_05_00_56_10372.jpg', '/home/pi/Desktop/images/28012025/05/00/image_28012025_05_01_05_9431.jpg', '/home/pi/Desktop/images/28012025/05/01/image_28012025_05_01_16_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/00/image_28012025_05_00_26_10372.jpg
/home/pi/Desktop/images/28012025/05/00/image_28012025_05_00_36_10437.jpg
/home/pi/Desktop/images/28012025/05/00/image_28012025_05_00_45_9382.jpg
/home/pi/Desktop/images/28012025/05/00/image_28012025_05_00_56_10372.jpg
/home/pi/Desktop/images/28012025/05/00/image_28012025_05_01_05_9431.jpg
/home/pi/Desktop/images/28012025/05/01/image_28012025_05_01_16_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":["1332264848","1332264641","1332264811","1332264783","1332264843","1332264750"],"photo_ids_order":["1332264641","1332264750","1332264783","1332264811","1332264843","1332264848"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/43f7139cb95d18d9b767b05ad7d172bd.jpg","text":"TemporaryFile(/tmp/multipartBody4894373139736517405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060893369,"filename":"image_28012025_05_01_16_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ee1e1015a670c50683aa96e49d16c705.jpg","text":"TemporaryFile(/tmp/multipartBody2288835303113320042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060893369,"filename":"image_28012025_05_00_26_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/592103aeec2135f3036358398a69b664.jpg","text":"TemporaryFile(/tmp/multipartBody3052767602368480814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060893369,"filename":"image_28012025_05_00_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/1/28/7f66c7d9d344763d5e18ec47ae0b40aa.jpg","text":"TemporaryFile(/tmp/multipartBody1008195870325809868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060893369,"filename":"image_28012025_05_00_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/1/28/1319b1661999515e35867f35f0f8abe8.jpg","text":"TemporaryFile(/tmp/multipartBody1278098293617068828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060893369,"filename":"image_28012025_05_01_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/1/28/04d175fdc9d309cf9ae96e4b66275f15.jpg","text":"TemporaryFile(/tmp/multipartBody4615637787090928873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060893369,"filename":"image_28012025_05_00_36_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332264783","file1":"1332264750","file0":"1332264641","file4":"1332264843","file5":"1332264848","file3":"1332264811"},"map_files_photo_id_array":[{"photo_id":"1332264848","filename":"file5"},{"photo_id":"1332264783","filename":"file2"},{"photo_id":"1332264843","filename":"file4"},{"photo_id":"1332264750","filename":"file1"},{"photo_id":"1332264641","filename":"file0"},{"photo_id":"1332264811","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332264848":["hashtag1","hashtag2"]},{"1332264641":["hashtag1","hashtag2"]},{"1332264811":["hashtag1","hashtag2"]},{"1332264783":["hashtag1","hashtag2"]},{"1332264843":["hashtag1","hashtag2"]},{"1332264750":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332264848, 1332264641, 1332264811, 1332264783, 1332264843, 1332264750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36403131484985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:41:32.977511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/01/image_28012025_05_01_26_10479.jpg', '/home/pi/Desktop/images/28012025/05/01/image_28012025_05_01_36_9444.jpg', '/home/pi/Desktop/images/28012025/05/01/image_28012025_05_01_46_10358.jpg', '/home/pi/Desktop/images/28012025/05/01/image_28012025_05_01_55_9470.jpg', '/home/pi/Desktop/images/28012025/05/01/image_28012025_05_02_06_10396.jpg', '/home/pi/Desktop/images/28012025/05/02/image_28012025_05_02_16_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/01/image_28012025_05_01_26_10479.jpg
/home/pi/Desktop/images/28012025/05/01/image_28012025_05_01_36_9444.jpg
/home/pi/Desktop/images/28012025/05/01/image_28012025_05_01_46_10358.jpg
/home/pi/Desktop/images/28012025/05/01/image_28012025_05_01_55_9470.jpg
/home/pi/Desktop/images/28012025/05/01/image_28012025_05_02_06_10396.jpg
/home/pi/Desktop/images/28012025/05/02/image_28012025_05_02_16_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":["1332264909","1332264908","1332264898","1332264901","1332264904","1332264894"],"photo_ids_order":["1332264894","1332264898","1332264901","1332264904","1332264908","1332264909"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0042c9b5185abdf03016a3373ef3b5f2.jpg","text":"TemporaryFile(/tmp/multipartBody4351002389943867769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060953725,"filename":"image_28012025_05_02_16_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7d1d0031d327c5de12d29e4b1286a700.jpg","text":"TemporaryFile(/tmp/multipartBody6178641452192800383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060953725,"filename":"image_28012025_05_02_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/1/28/9bba44ae162c7a9bc92cf1472f64e583.jpg","text":"TemporaryFile(/tmp/multipartBody4458738571177591418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060953725,"filename":"image_28012025_05_01_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/1/28/ff126d6f2a4ac6a5c68a922fd286a81e.jpg","text":"TemporaryFile(/tmp/multipartBody7829115419928359700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060953725,"filename":"image_28012025_05_01_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/1/28/a9f5db814bd7171dc0a60d2e17685f48.jpg","text":"TemporaryFile(/tmp/multipartBody5025979675911890442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060953725,"filename":"image_28012025_05_01_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/1/28/368d95912c38e7be8f45ac1364213818.jpg","text":"TemporaryFile(/tmp/multipartBody7675583969536124667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738060953725,"filename":"image_28012025_05_01_26_10479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332264901","file1":"1332264898","file0":"1332264894","file4":"1332264908","file5":"1332264909","file3":"1332264904"},"map_files_photo_id_array":[{"photo_id":"1332264909","filename":"file5"},{"photo_id":"1332264901","filename":"file2"},{"photo_id":"1332264908","filename":"file4"},{"photo_id":"1332264898","filename":"file1"},{"photo_id":"1332264894","filename":"file0"},{"photo_id":"1332264904","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332264909":["hashtag1","hashtag2"]},{"1332264908":["hashtag1","hashtag2"]},{"1332264898":["hashtag1","hashtag2"]},{"1332264901":["hashtag1","hashtag2"]},{"1332264904":["hashtag1","hashtag2"]},{"1332264894":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332264909, 1332264908, 1332264898, 1332264901, 1332264904, 1332264894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72742986679077 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:42:33.024025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/02/image_28012025_05_02_25_9359.jpg', '/home/pi/Desktop/images/28012025/05/02/image_28012025_05_02_36_10361.jpg', '/home/pi/Desktop/images/28012025/05/02/image_28012025_05_02_45_9473.jpg', '/home/pi/Desktop/images/28012025/05/02/image_28012025_05_02_56_10352.jpg', '/home/pi/Desktop/images/28012025/05/02/image_28012025_05_03_06_10398.jpg', '/home/pi/Desktop/images/28012025/05/03/image_28012025_05_03_15_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/02/image_28012025_05_02_25_9359.jpg
/home/pi/Desktop/images/28012025/05/02/image_28012025_05_02_36_10361.jpg
/home/pi/Desktop/images/28012025/05/02/image_28012025_05_02_45_9473.jpg
/home/pi/Desktop/images/28012025/05/02/image_28012025_05_02_56_10352.jpg
/home/pi/Desktop/images/28012025/05/02/image_28012025_05_03_06_10398.jpg
/home/pi/Desktop/images/28012025/05/03/image_28012025_05_03_15_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332264944","1332264947","1332264938","1332264946","1332264934","1332264942"],"photo_ids_order":["1332264934","1332264938","1332264942","1332264944","1332264946","1332264947"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/03781bc8a03a1c36d46822a2cfa0c729.jpg","text":"TemporaryFile(/tmp/multipartBody6809543927045311335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061013782,"filename":"image_28012025_05_02_56_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0a788fabb65ad585042c15a07ef0ac42.jpg","text":"TemporaryFile(/tmp/multipartBody9053339651136195047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061013782,"filename":"image_28012025_05_03_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/1/28/b0ae12b6004a9e73bf6c27a8f57fd8c8.jpg","text":"TemporaryFile(/tmp/multipartBody1518434383841099234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061013782,"filename":"image_28012025_05_02_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/1/28/7396341c56b00e08686fda37f3c29639.jpg","text":"TemporaryFile(/tmp/multipartBody9016683985747586120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061013782,"filename":"image_28012025_05_03_06_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/da8f6a78871ba00cc9a27008c3c90d47.jpg","text":"TemporaryFile(/tmp/multipartBody5242115677683527593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061013782,"filename":"image_28012025_05_02_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/1/28/2637524baa1363f91b2e40fc11bb3003.jpg","text":"TemporaryFile(/tmp/multipartBody2434986115814186011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061013782,"filename":"image_28012025_05_02_45_9473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332264942","file1":"1332264938","file0":"1332264934","file4":"1332264946","file5":"1332264947","file3":"1332264944"},"map_files_photo_id_array":[{"photo_id":"1332264947","filename":"file5"},{"photo_id":"1332264942","filename":"file2"},{"photo_id":"1332264946","filename":"file4"},{"photo_id":"1332264938","filename":"file1"},{"photo_id":"1332264934","filename":"file0"},{"photo_id":"1332264944","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332264944":["hashtag1","hashtag2"]},{"1332264947":["hashtag1","hashtag2"]},{"1332264938":["hashtag1","hashtag2"]},{"1332264946":["hashtag1","hashtag2"]},{"1332264934":["hashtag1","hashtag2"]},{"1332264942":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332264944, 1332264947, 1332264938, 1332264946, 1332264934, 1332264942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.65209412574768 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:43:32.289172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/03/image_28012025_05_03_26_10390.jpg', '/home/pi/Desktop/images/28012025/05/03/image_28012025_05_03_35_9509.jpg', '/home/pi/Desktop/images/28012025/05/03/image_28012025_05_03_46_10355.jpg', '/home/pi/Desktop/images/28012025/05/03/image_28012025_05_03_56_10364.jpg', '/home/pi/Desktop/images/28012025/05/03/image_28012025_05_04_05_9448.jpg', '/home/pi/Desktop/images/28012025/05/04/image_28012025_05_04_16_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/03/image_28012025_05_03_26_10390.jpg
/home/pi/Desktop/images/28012025/05/03/image_28012025_05_03_35_9509.jpg
/home/pi/Desktop/images/28012025/05/03/image_28012025_05_03_46_10355.jpg
/home/pi/Desktop/images/28012025/05/03/image_28012025_05_03_56_10364.jpg
/home/pi/Desktop/images/28012025/05/03/image_28012025_05_04_05_9448.jpg
/home/pi/Desktop/images/28012025/05/04/image_28012025_05_04_16_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332265049","1332264971","1332265381","1332265706","1332264976","1332264966"],"photo_ids_order":["1332264966","1332264971","1332264976","1332265049","1332265381","1332265706"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/866f2b757b93813d865f5da98e61b928.jpg","text":"TemporaryFile(/tmp/multipartBody7866234182647820561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061073063,"filename":"image_28012025_05_03_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/1/28/783de01c8e33b913080ad580072a81ea.jpg","text":"TemporaryFile(/tmp/multipartBody2496587083998967821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061073063,"filename":"image_28012025_05_03_35_9509.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a626ab0b84345689c54bcd3842950ecd.jpg","text":"TemporaryFile(/tmp/multipartBody5444721500656343845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061073063,"filename":"image_28012025_05_04_05_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/540363c51c6216e009688a8b4abd9d1b.jpg","text":"TemporaryFile(/tmp/multipartBody300747752923038622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061073063,"filename":"image_28012025_05_04_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/1/28/0bba7b048a718da967de219cda595af4.jpg","text":"TemporaryFile(/tmp/multipartBody9166828198754185513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061073063,"filename":"image_28012025_05_03_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/1/28/cce0907b4704ab92499f3f1974c4cb38.jpg","text":"TemporaryFile(/tmp/multipartBody140512120819703172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061073063,"filename":"image_28012025_05_03_26_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332264976","file1":"1332264971","file0":"1332264966","file4":"1332265381","file5":"1332265706","file3":"1332265049"},"map_files_photo_id_array":[{"photo_id":"1332265706","filename":"file5"},{"photo_id":"1332264976","filename":"file2"},{"photo_id":"1332265381","filename":"file4"},{"photo_id":"1332264971","filename":"file1"},{"photo_id":"1332264966","filename":"file0"},{"photo_id":"1332265049","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332265049":["hashtag1","hashtag2"]},{"1332264971":["hashtag1","hashtag2"]},{"1332265381":["hashtag1","hashtag2"]},{"1332265706":["hashtag1","hashtag2"]},{"1332264976":["hashtag1","hashtag2"]},{"1332264966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332265049, 1332264971, 1332265381, 1332265706, 1332264976, 1332264966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40098857879639 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:44:32.410009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/04/image_28012025_05_04_26_10370.jpg', '/home/pi/Desktop/images/28012025/05/04/image_28012025_05_04_36_9383.jpg', '/home/pi/Desktop/images/28012025/05/04/image_28012025_05_04_46_10368.jpg', '/home/pi/Desktop/images/28012025/05/04/image_28012025_05_04_55_9419.jpg', '/home/pi/Desktop/images/28012025/05/04/image_28012025_05_05_06_10334.jpg', '/home/pi/Desktop/images/28012025/05/05/image_28012025_05_05_16_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/04/image_28012025_05_04_26_10370.jpg
/home/pi/Desktop/images/28012025/05/04/image_28012025_05_04_36_9383.jpg
/home/pi/Desktop/images/28012025/05/04/image_28012025_05_04_46_10368.jpg
/home/pi/Desktop/images/28012025/05/04/image_28012025_05_04_55_9419.jpg
/home/pi/Desktop/images/28012025/05/04/image_28012025_05_05_06_10334.jpg
/home/pi/Desktop/images/28012025/05/05/image_28012025_05_05_16_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6029417514801025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 11:44:42.433976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/04/image_28012025_05_04_26_10370.jpg', '/home/pi/Desktop/images/28012025/05/04/image_28012025_05_04_36_9383.jpg', '/home/pi/Desktop/images/28012025/05/04/image_28012025_05_04_46_10368.jpg', '/home/pi/Desktop/images/28012025/05/04/image_28012025_05_04_55_9419.jpg', '/home/pi/Desktop/images/28012025/05/04/image_28012025_05_05_06_10334.jpg', '/home/pi/Desktop/images/28012025/05/05/image_28012025_05_05_16_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/04/image_28012025_05_04_26_10370.jpg
/home/pi/Desktop/images/28012025/05/04/image_28012025_05_04_36_9383.jpg
/home/pi/Desktop/images/28012025/05/04/image_28012025_05_04_46_10368.jpg
/home/pi/Desktop/images/28012025/05/04/image_28012025_05_04_55_9419.jpg
/home/pi/Desktop/images/28012025/05/04/image_28012025_05_05_06_10334.jpg
/home/pi/Desktop/images/28012025/05/05/image_28012025_05_05_16_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":["1332265934","1332265928","1332266187","1332266181","1332265923","1332265917"],"photo_ids_order":["1332265917","1332265923","1332265928","1332265934","1332266181","1332266187"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/720f5d594552a823ec789e9597b6b637.jpg","text":"TemporaryFile(/tmp/multipartBody7073896824856173447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061143100,"filename":"image_28012025_05_04_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/1/28/74e18005850e6a71caeb940ce4d51d63.jpg","text":"TemporaryFile(/tmp/multipartBody940497962310940910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061143100,"filename":"image_28012025_05_04_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/1/28/7486401e02e78d4969085b026eda2aef.jpg","text":"TemporaryFile(/tmp/multipartBody8170163589468595248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061143100,"filename":"image_28012025_05_05_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/1/28/fe662e9904ab58f400fc8ef6ab0ffbb4.jpg","text":"TemporaryFile(/tmp/multipartBody541746617573691249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061143100,"filename":"image_28012025_05_05_06_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/949995c29fa601a8b49b07a3514c6231.jpg","text":"TemporaryFile(/tmp/multipartBody2601555250087494004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061143100,"filename":"image_28012025_05_04_36_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2a83383a8da7565b305f5540a738a6b5.jpg","text":"TemporaryFile(/tmp/multipartBody5146353368742568488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061143100,"filename":"image_28012025_05_04_26_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332265928","file1":"1332265923","file0":"1332265917","file4":"1332266181","file5":"1332266187","file3":"1332265934"},"map_files_photo_id_array":[{"photo_id":"1332266187","filename":"file5"},{"photo_id":"1332265928","filename":"file2"},{"photo_id":"1332266181","filename":"file4"},{"photo_id":"1332265923","filename":"file1"},{"photo_id":"1332265917","filename":"file0"},{"photo_id":"1332265934","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332265934":["hashtag1","hashtag2"]},{"1332265928":["hashtag1","hashtag2"]},{"1332266187":["hashtag1","hashtag2"]},{"1332266181":["hashtag1","hashtag2"]},{"1332265923":["hashtag1","hashtag2"]},{"1332265917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332265934, 1332265928, 1332266187, 1332266181, 1332265923, 1332265917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.787479639053345 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:45:32.678388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/05/image_28012025_05_05_25_9338.jpg', '/home/pi/Desktop/images/28012025/05/05/image_28012025_05_05_36_10361.jpg', '/home/pi/Desktop/images/28012025/05/05/image_28012025_05_05_46_10356.jpg', '/home/pi/Desktop/images/28012025/05/05/image_28012025_05_05_55_9346.jpg', '/home/pi/Desktop/images/28012025/05/05/image_28012025_05_06_06_10341.jpg', '/home/pi/Desktop/images/28012025/05/06/image_28012025_05_06_16_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/05/image_28012025_05_05_25_9338.jpg
/home/pi/Desktop/images/28012025/05/05/image_28012025_05_05_36_10361.jpg
/home/pi/Desktop/images/28012025/05/05/image_28012025_05_05_46_10356.jpg
/home/pi/Desktop/images/28012025/05/05/image_28012025_05_05_55_9346.jpg
/home/pi/Desktop/images/28012025/05/05/image_28012025_05_06_06_10341.jpg
/home/pi/Desktop/images/28012025/05/06/image_28012025_05_06_16_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332266510","1332266350","1332266254","1332266335","1332266364","1332266498"],"photo_ids_order":["1332266254","1332266335","1332266350","1332266364","1332266498","1332266510"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d61ca0944a9b610f4bd0dab592e9e6e9.jpg","text":"TemporaryFile(/tmp/multipartBody6477074901074666219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061193461,"filename":"image_28012025_05_06_16_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3d076a799992a3a7fa79bed5cc36bec1.jpg","text":"TemporaryFile(/tmp/multipartBody1434570259941342318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061193461,"filename":"image_28012025_05_05_46_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2cf6ddead2e1cb8ecac1826111634907.jpg","text":"TemporaryFile(/tmp/multipartBody3939233020332677169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061193461,"filename":"image_28012025_05_05_25_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7ace338be6f50de7094e1f2547261364.jpg","text":"TemporaryFile(/tmp/multipartBody2869498457218782716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061193461,"filename":"image_28012025_05_05_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/1/28/d65c4ba112c7acc04ff8e90e66d1ae14.jpg","text":"TemporaryFile(/tmp/multipartBody4484612319193794210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061193461,"filename":"image_28012025_05_05_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/1/28/07f4f4601bc3bc2adfca165077e0964d.jpg","text":"TemporaryFile(/tmp/multipartBody4789078150703434569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061193461,"filename":"image_28012025_05_06_06_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332266350","file1":"1332266335","file0":"1332266254","file4":"1332266498","file5":"1332266510","file3":"1332266364"},"map_files_photo_id_array":[{"photo_id":"1332266510","filename":"file5"},{"photo_id":"1332266350","filename":"file2"},{"photo_id":"1332266498","filename":"file4"},{"photo_id":"1332266335","filename":"file1"},{"photo_id":"1332266254","filename":"file0"},{"photo_id":"1332266364","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332266510":["hashtag1","hashtag2"]},{"1332266350":["hashtag1","hashtag2"]},{"1332266254":["hashtag1","hashtag2"]},{"1332266335":["hashtag1","hashtag2"]},{"1332266364":["hashtag1","hashtag2"]},{"1332266498":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332266510, 1332266350, 1332266254, 1332266335, 1332266364, 1332266498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.635594606399536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:46:32.824168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/06/image_28012025_05_06_26_9450.jpg', '/home/pi/Desktop/images/28012025/05/06/image_28012025_05_06_36_10347.jpg', '/home/pi/Desktop/images/28012025/05/06/image_28012025_05_06_45_9481.jpg', '/home/pi/Desktop/images/28012025/05/06/image_28012025_05_06_56_10356.jpg', '/home/pi/Desktop/images/28012025/05/07/image_28012025_05_07_16_9413.jpg', '/home/pi/Desktop/images/28012025/05/07/image_28012025_05_07_26_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/06/image_28012025_05_06_26_9450.jpg
/home/pi/Desktop/images/28012025/05/06/image_28012025_05_06_36_10347.jpg
/home/pi/Desktop/images/28012025/05/06/image_28012025_05_06_45_9481.jpg
/home/pi/Desktop/images/28012025/05/06/image_28012025_05_06_56_10356.jpg
/home/pi/Desktop/images/28012025/05/07/image_28012025_05_07_16_9413.jpg
/home/pi/Desktop/images/28012025/05/07/image_28012025_05_07_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":["1332266623","1332266658","1332266655","1332266637","1332266660","1332266648"],"photo_ids_order":["1332266623","1332266637","1332266648","1332266655","1332266658","1332266660"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d188509d2cd2044a7fe507c82fbffbaa.jpg","text":"TemporaryFile(/tmp/multipartBody4333849681177848061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061253579,"filename":"image_28012025_05_06_26_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/075ee81f72170e46df0404401ad7c94e.jpg","text":"TemporaryFile(/tmp/multipartBody5354110306479090795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061253579,"filename":"image_28012025_05_07_16_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9a46a31729373075631eac8f6eaf7d47.jpg","text":"TemporaryFile(/tmp/multipartBody2448376027477743200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061253579,"filename":"image_28012025_05_06_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/72eae5e24b8324df7a4c09c1beab25c4.jpg","text":"TemporaryFile(/tmp/multipartBody888287108470185174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061253579,"filename":"image_28012025_05_06_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/1/28/295cc8dbf00102bb890bed186f730614.jpg","text":"TemporaryFile(/tmp/multipartBody5897661901366541599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061253579,"filename":"image_28012025_05_07_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/1/28/f3c7c68525300b4fdcf463423c9ee498.jpg","text":"TemporaryFile(/tmp/multipartBody3894163203199102730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061253579,"filename":"image_28012025_05_06_45_9481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332266648","file1":"1332266637","file0":"1332266623","file4":"1332266658","file5":"1332266660","file3":"1332266655"},"map_files_photo_id_array":[{"photo_id":"1332266660","filename":"file5"},{"photo_id":"1332266648","filename":"file2"},{"photo_id":"1332266658","filename":"file4"},{"photo_id":"1332266637","filename":"file1"},{"photo_id":"1332266623","filename":"file0"},{"photo_id":"1332266655","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332266623":["hashtag1","hashtag2"]},{"1332266658":["hashtag1","hashtag2"]},{"1332266655":["hashtag1","hashtag2"]},{"1332266637":["hashtag1","hashtag2"]},{"1332266660":["hashtag1","hashtag2"]},{"1332266648":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332266623, 1332266658, 1332266655, 1332266637, 1332266660, 1332266648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.468729972839355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:47:33.135127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/07/image_28012025_05_07_35_9469.jpg', '/home/pi/Desktop/images/28012025/05/07/image_28012025_05_07_46_10364.jpg', '/home/pi/Desktop/images/28012025/05/07/image_28012025_05_07_56_10354.jpg', '/home/pi/Desktop/images/28012025/05/07/image_28012025_05_08_06_9426.jpg', '/home/pi/Desktop/images/28012025/05/08/image_28012025_05_08_16_10353.jpg', '/home/pi/Desktop/images/28012025/05/08/image_28012025_05_08_25_9464.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/07/image_28012025_05_07_35_9469.jpg
/home/pi/Desktop/images/28012025/05/07/image_28012025_05_07_46_10364.jpg
/home/pi/Desktop/images/28012025/05/07/image_28012025_05_07_56_10354.jpg
/home/pi/Desktop/images/28012025/05/07/image_28012025_05_08_06_9426.jpg
/home/pi/Desktop/images/28012025/05/08/image_28012025_05_08_16_10353.jpg
/home/pi/Desktop/images/28012025/05/08/image_28012025_05_08_25_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":["1332266695","1332266689","1332266719","1332266676","1332266715","1332266723"],"photo_ids_order":["1332266676","1332266689","1332266695","1332266715","1332266719","1332266723"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f4b9102136718ba5413aa609554a59a4.jpg","text":"TemporaryFile(/tmp/multipartBody4493111982161842913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061313875,"filename":"image_28012025_05_07_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/1/28/db3092d4cf05bce9955904529faa2579.jpg","text":"TemporaryFile(/tmp/multipartBody8956191948848144032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061313875,"filename":"image_28012025_05_07_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/1/28/64457a497b00b038e361747948a0db98.jpg","text":"TemporaryFile(/tmp/multipartBody1051766120788812692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061313875,"filename":"image_28012025_05_08_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/1/28/8e3fad11446c8c47173fb4c8d49aa92c.jpg","text":"TemporaryFile(/tmp/multipartBody4750850885001711271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061313875,"filename":"image_28012025_05_07_35_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f1058d7d64658286ccdb1987eaeb22b1.jpg","text":"TemporaryFile(/tmp/multipartBody6461960126203155624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061313875,"filename":"image_28012025_05_08_06_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/456f657761e79f967f9fb93b33878d69.jpg","text":"TemporaryFile(/tmp/multipartBody6402755650514560731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061313875,"filename":"image_28012025_05_08_25_9464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332266695","file1":"1332266689","file0":"1332266676","file4":"1332266719","file5":"1332266723","file3":"1332266715"},"map_files_photo_id_array":[{"photo_id":"1332266723","filename":"file5"},{"photo_id":"1332266695","filename":"file2"},{"photo_id":"1332266719","filename":"file4"},{"photo_id":"1332266689","filename":"file1"},{"photo_id":"1332266676","filename":"file0"},{"photo_id":"1332266715","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332266695":["hashtag1","hashtag2"]},{"1332266689":["hashtag1","hashtag2"]},{"1332266719":["hashtag1","hashtag2"]},{"1332266676":["hashtag1","hashtag2"]},{"1332266715":["hashtag1","hashtag2"]},{"1332266723":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332266695, 1332266689, 1332266719, 1332266676, 1332266715, 1332266723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.924991846084595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:48:32.405641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/08/image_28012025_05_08_36_10362.jpg', '/home/pi/Desktop/images/28012025/05/08/image_28012025_05_08_46_10340.jpg', '/home/pi/Desktop/images/28012025/05/08/image_28012025_05_08_55_9337.jpg', '/home/pi/Desktop/images/28012025/05/08/image_28012025_05_09_06_10332.jpg', '/home/pi/Desktop/images/28012025/05/09/image_28012025_05_09_16_10374.jpg', '/home/pi/Desktop/images/28012025/05/09/image_28012025_05_09_25_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/08/image_28012025_05_08_36_10362.jpg
/home/pi/Desktop/images/28012025/05/08/image_28012025_05_08_46_10340.jpg
/home/pi/Desktop/images/28012025/05/08/image_28012025_05_08_55_9337.jpg
/home/pi/Desktop/images/28012025/05/08/image_28012025_05_09_06_10332.jpg
/home/pi/Desktop/images/28012025/05/09/image_28012025_05_09_16_10374.jpg
/home/pi/Desktop/images/28012025/05/09/image_28012025_05_09_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":["1332266749","1332266745","1332266762","1332266765","1332266759","1332266819"],"photo_ids_order":["1332266745","1332266749","1332266759","1332266762","1332266765","1332266819"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2611e07b2480e2de14f25d98d8ccb779.jpg","text":"TemporaryFile(/tmp/multipartBody6307674398916633003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061373143,"filename":"image_28012025_05_08_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/1/28/57640c5ae4f614ed4d1f10e2b7afa0ec.jpg","text":"TemporaryFile(/tmp/multipartBody383666026565590709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061373143,"filename":"image_28012025_05_08_36_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/189ccce3e1f381c85ba4029ef6921e55.jpg","text":"TemporaryFile(/tmp/multipartBody8649525330813719964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061373143,"filename":"image_28012025_05_09_06_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f3d9a371a442f99171460b0bee4ba905.jpg","text":"TemporaryFile(/tmp/multipartBody8415110732428022434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061373143,"filename":"image_28012025_05_09_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/1/28/ad3735cbd92278f0b9d829d819692fff.jpg","text":"TemporaryFile(/tmp/multipartBody169393683250951878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061373143,"filename":"image_28012025_05_08_55_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2ecda48226ec8f9bed21b99e0e3f02c0.jpg","text":"TemporaryFile(/tmp/multipartBody4668948708271122041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061373143,"filename":"image_28012025_05_09_25_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332266759","file1":"1332266749","file0":"1332266745","file4":"1332266765","file5":"1332266819","file3":"1332266762"},"map_files_photo_id_array":[{"photo_id":"1332266819","filename":"file5"},{"photo_id":"1332266759","filename":"file2"},{"photo_id":"1332266765","filename":"file4"},{"photo_id":"1332266749","filename":"file1"},{"photo_id":"1332266745","filename":"file0"},{"photo_id":"1332266762","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332266749":["hashtag1","hashtag2"]},{"1332266745":["hashtag1","hashtag2"]},{"1332266762":["hashtag1","hashtag2"]},{"1332266765":["hashtag1","hashtag2"]},{"1332266759":["hashtag1","hashtag2"]},{"1332266819":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332266749, 1332266745, 1332266762, 1332266765, 1332266759, 1332266819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24543619155884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:49:32.544531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/09/image_28012025_05_09_36_10346.jpg', '/home/pi/Desktop/images/28012025/05/09/image_28012025_05_09_46_10373.jpg', '/home/pi/Desktop/images/28012025/05/09/image_28012025_05_09_56_9341.jpg', '/home/pi/Desktop/images/28012025/05/09/image_28012025_05_10_06_10377.jpg', '/home/pi/Desktop/images/28012025/05/10/image_28012025_05_10_15_9377.jpg', '/home/pi/Desktop/images/28012025/05/10/image_28012025_05_10_26_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/09/image_28012025_05_09_36_10346.jpg
/home/pi/Desktop/images/28012025/05/09/image_28012025_05_09_46_10373.jpg
/home/pi/Desktop/images/28012025/05/09/image_28012025_05_09_56_9341.jpg
/home/pi/Desktop/images/28012025/05/09/image_28012025_05_10_06_10377.jpg
/home/pi/Desktop/images/28012025/05/10/image_28012025_05_10_15_9377.jpg
/home/pi/Desktop/images/28012025/05/10/image_28012025_05_10_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":["1332266881","1332266878","1332266866","1332266874","1332266870","1332266882"],"photo_ids_order":["1332266866","1332266870","1332266874","1332266878","1332266881","1332266882"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8ea73b198c6c62edfc855eced011ac35.jpg","text":"TemporaryFile(/tmp/multipartBody489105471736955921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061433283,"filename":"image_28012025_05_10_15_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8905a13495bbda884b49ac9fae1dbf3d.jpg","text":"TemporaryFile(/tmp/multipartBody8043792711127762277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061433283,"filename":"image_28012025_05_10_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/1/28/91b268370bdd625c4e5cd62987fe7f7f.jpg","text":"TemporaryFile(/tmp/multipartBody5705751178798929618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061433283,"filename":"image_28012025_05_09_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/1/28/60ec985da70bdf475d1aa1f34d8c29ae.jpg","text":"TemporaryFile(/tmp/multipartBody1544186569006796786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061433283,"filename":"image_28012025_05_09_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/1/28/a4f3e59162de492df57af270d3267edc.jpg","text":"TemporaryFile(/tmp/multipartBody1486339010630038980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061433283,"filename":"image_28012025_05_09_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/1/28/7d2c3ea53f05721fc60c5e9ae4e93187.jpg","text":"TemporaryFile(/tmp/multipartBody6506736387504963261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061433283,"filename":"image_28012025_05_10_26_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332266874","file1":"1332266870","file0":"1332266866","file4":"1332266881","file5":"1332266882","file3":"1332266878"},"map_files_photo_id_array":[{"photo_id":"1332266882","filename":"file5"},{"photo_id":"1332266874","filename":"file2"},{"photo_id":"1332266881","filename":"file4"},{"photo_id":"1332266870","filename":"file1"},{"photo_id":"1332266866","filename":"file0"},{"photo_id":"1332266878","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332266881":["hashtag1","hashtag2"]},{"1332266878":["hashtag1","hashtag2"]},{"1332266866":["hashtag1","hashtag2"]},{"1332266874":["hashtag1","hashtag2"]},{"1332266870":["hashtag1","hashtag2"]},{"1332266882":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332266881, 1332266878, 1332266866, 1332266874, 1332266870, 1332266882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.79892182350159 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:50:32.825249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/10/image_28012025_05_10_36_10426.jpg', '/home/pi/Desktop/images/28012025/05/10/image_28012025_05_10_45_9351.jpg', '/home/pi/Desktop/images/28012025/05/10/image_28012025_05_10_56_10349.jpg', '/home/pi/Desktop/images/28012025/05/10/image_28012025_05_11_06_10425.jpg', '/home/pi/Desktop/images/28012025/05/11/image_28012025_05_11_16_9340.jpg', '/home/pi/Desktop/images/28012025/05/11/image_28012025_05_11_26_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/10/image_28012025_05_10_36_10426.jpg
/home/pi/Desktop/images/28012025/05/10/image_28012025_05_10_45_9351.jpg
/home/pi/Desktop/images/28012025/05/10/image_28012025_05_10_56_10349.jpg
/home/pi/Desktop/images/28012025/05/10/image_28012025_05_11_06_10425.jpg
/home/pi/Desktop/images/28012025/05/11/image_28012025_05_11_16_9340.jpg
/home/pi/Desktop/images/28012025/05/11/image_28012025_05_11_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":["1332266912","1332266908","1332266905","1332266922","1332266919","1332266915"],"photo_ids_order":["1332266905","1332266908","1332266912","1332266915","1332266919","1332266922"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c048531de66d2a22bc94979a5a88e1ef.jpg","text":"TemporaryFile(/tmp/multipartBody5364922298556418120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061493548,"filename":"image_28012025_05_10_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/1/28/0208ef24d838d84dfeca0fd938ff44e9.jpg","text":"TemporaryFile(/tmp/multipartBody5649766336738853650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061493548,"filename":"image_28012025_05_10_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/1/28/23174f5403169293f57a9f2abfca6def.jpg","text":"TemporaryFile(/tmp/multipartBody1007855377949114694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061493548,"filename":"image_28012025_05_10_36_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/754feacde97a40d5f11d65b92269a32a.jpg","text":"TemporaryFile(/tmp/multipartBody6984493676464333007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061493548,"filename":"image_28012025_05_11_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/1/28/582825fa475676823f00c64790ebe5be.jpg","text":"TemporaryFile(/tmp/multipartBody4707943399069991963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061493548,"filename":"image_28012025_05_11_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/1/28/8e53c6e90a2946f83f85d919c2b7242f.jpg","text":"TemporaryFile(/tmp/multipartBody8990610860772855492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061493548,"filename":"image_28012025_05_11_06_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332266912","file1":"1332266908","file0":"1332266905","file4":"1332266919","file5":"1332266922","file3":"1332266915"},"map_files_photo_id_array":[{"photo_id":"1332266922","filename":"file5"},{"photo_id":"1332266912","filename":"file2"},{"photo_id":"1332266919","filename":"file4"},{"photo_id":"1332266908","filename":"file1"},{"photo_id":"1332266905","filename":"file0"},{"photo_id":"1332266915","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332266912":["hashtag1","hashtag2"]},{"1332266908":["hashtag1","hashtag2"]},{"1332266905":["hashtag1","hashtag2"]},{"1332266922":["hashtag1","hashtag2"]},{"1332266919":["hashtag1","hashtag2"]},{"1332266915":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332266912, 1332266908, 1332266905, 1332266922, 1332266919, 1332266915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.08922839164734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:51:32.939923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/11/image_28012025_05_11_35_9459.jpg', '/home/pi/Desktop/images/28012025/05/11/image_28012025_05_11_46_10351.jpg', '/home/pi/Desktop/images/28012025/05/11/image_28012025_05_11_56_10368.jpg', '/home/pi/Desktop/images/28012025/05/11/image_28012025_05_12_05_9332.jpg', '/home/pi/Desktop/images/28012025/05/12/image_28012025_05_12_16_10348.jpg', '/home/pi/Desktop/images/28012025/05/12/image_28012025_05_12_26_10296.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/11/image_28012025_05_11_35_9459.jpg
/home/pi/Desktop/images/28012025/05/11/image_28012025_05_11_46_10351.jpg
/home/pi/Desktop/images/28012025/05/11/image_28012025_05_11_56_10368.jpg
/home/pi/Desktop/images/28012025/05/11/image_28012025_05_12_05_9332.jpg
/home/pi/Desktop/images/28012025/05/12/image_28012025_05_12_16_10348.jpg
/home/pi/Desktop/images/28012025/05/12/image_28012025_05_12_26_10296.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332267198","1332267270","1332267281","1332267284","1332267233","1332267274"],"photo_ids_order":["1332267198","1332267233","1332267270","1332267274","1332267281","1332267284"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b38946d4cf7cf7794bd8c8c4b5486704.jpg","text":"TemporaryFile(/tmp/multipartBody7851925196169835559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061553657,"filename":"image_28012025_05_11_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/1/28/23216db9acc6f9ceebced43d94aa29d0.jpg","text":"TemporaryFile(/tmp/multipartBody8449430114338203701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061553657,"filename":"image_28012025_05_11_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fe82d66d890f8c5fc02f0a0490ba852a.jpg","text":"TemporaryFile(/tmp/multipartBody622572408007812901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061553657,"filename":"image_28012025_05_12_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/1/28/e387210da744b253ed9203b6e4b1d5af.jpg","text":"TemporaryFile(/tmp/multipartBody3064828255371473450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061553657,"filename":"image_28012025_05_12_26_10296.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b593bb0a5c0493aa5c387a0776386c32.jpg","text":"TemporaryFile(/tmp/multipartBody8067975862060327978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061553657,"filename":"image_28012025_05_11_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/1/28/e4fb871b33bcfb07fa88a1100aa14259.jpg","text":"TemporaryFile(/tmp/multipartBody4719389184190451070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061553657,"filename":"image_28012025_05_12_05_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332267270","file1":"1332267233","file0":"1332267198","file4":"1332267281","file5":"1332267284","file3":"1332267274"},"map_files_photo_id_array":[{"photo_id":"1332267284","filename":"file5"},{"photo_id":"1332267270","filename":"file2"},{"photo_id":"1332267281","filename":"file4"},{"photo_id":"1332267233","filename":"file1"},{"photo_id":"1332267198","filename":"file0"},{"photo_id":"1332267274","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332267198":["hashtag1","hashtag2"]},{"1332267270":["hashtag1","hashtag2"]},{"1332267281":["hashtag1","hashtag2"]},{"1332267284":["hashtag1","hashtag2"]},{"1332267233":["hashtag1","hashtag2"]},{"1332267274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332267198, 1332267270, 1332267281, 1332267284, 1332267233, 1332267274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.78147053718567 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:52:32.206359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/12/image_28012025_05_12_35_9337.jpg', '/home/pi/Desktop/images/28012025/05/12/image_28012025_05_12_46_10349.jpg', '/home/pi/Desktop/images/28012025/05/12/image_28012025_05_12_56_10352.jpg', '/home/pi/Desktop/images/28012025/05/12/image_28012025_05_13_05_9391.jpg', '/home/pi/Desktop/images/28012025/05/13/image_28012025_05_13_16_10350.jpg', '/home/pi/Desktop/images/28012025/05/13/image_28012025_05_13_25_9474.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/12/image_28012025_05_12_35_9337.jpg
/home/pi/Desktop/images/28012025/05/12/image_28012025_05_12_46_10349.jpg
/home/pi/Desktop/images/28012025/05/12/image_28012025_05_12_56_10352.jpg
/home/pi/Desktop/images/28012025/05/12/image_28012025_05_13_05_9391.jpg
/home/pi/Desktop/images/28012025/05/13/image_28012025_05_13_16_10350.jpg
/home/pi/Desktop/images/28012025/05/13/image_28012025_05_13_25_9474.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6031434535980225 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 11:52:42.222014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/12/image_28012025_05_12_35_9337.jpg', '/home/pi/Desktop/images/28012025/05/12/image_28012025_05_12_46_10349.jpg', '/home/pi/Desktop/images/28012025/05/12/image_28012025_05_12_56_10352.jpg', '/home/pi/Desktop/images/28012025/05/12/image_28012025_05_13_05_9391.jpg', '/home/pi/Desktop/images/28012025/05/13/image_28012025_05_13_16_10350.jpg', '/home/pi/Desktop/images/28012025/05/13/image_28012025_05_13_25_9474.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/12/image_28012025_05_12_35_9337.jpg
/home/pi/Desktop/images/28012025/05/12/image_28012025_05_12_46_10349.jpg
/home/pi/Desktop/images/28012025/05/12/image_28012025_05_12_56_10352.jpg
/home/pi/Desktop/images/28012025/05/12/image_28012025_05_13_05_9391.jpg
/home/pi/Desktop/images/28012025/05/13/image_28012025_05_13_16_10350.jpg
/home/pi/Desktop/images/28012025/05/13/image_28012025_05_13_25_9474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332267334","1332267331","1332267328","1332267408","1332267326","1332267413"],"photo_ids_order":["1332267326","1332267328","1332267331","1332267334","1332267408","1332267413"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8c3a7ae6cd0e210a91f3e9fbf0cbb928.jpg","text":"TemporaryFile(/tmp/multipartBody3195489689449979168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061622882,"filename":"image_28012025_05_13_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/1/28/b42e681fa966693d80b0fc10f173a136.jpg","text":"TemporaryFile(/tmp/multipartBody7488445821880423480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061622882,"filename":"image_28012025_05_12_56_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6545a33ac17103c52d505d9c3b2f9511.jpg","text":"TemporaryFile(/tmp/multipartBody2050354613516241318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061622882,"filename":"image_28012025_05_12_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/1/28/b47010adb05f25d8439953a63e7a3040.jpg","text":"TemporaryFile(/tmp/multipartBody6989183557611450698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061622882,"filename":"image_28012025_05_13_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/1/28/9d6ab98fe530c90d176674aca8cfe63d.jpg","text":"TemporaryFile(/tmp/multipartBody2735044486626691366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061622882,"filename":"image_28012025_05_12_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/1/28/c021e7c93a50e8289b9d6501807878fd.jpg","text":"TemporaryFile(/tmp/multipartBody7297270228983305883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061622882,"filename":"image_28012025_05_13_25_9474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332267331","file1":"1332267328","file0":"1332267326","file4":"1332267408","file5":"1332267413","file3":"1332267334"},"map_files_photo_id_array":[{"photo_id":"1332267413","filename":"file5"},{"photo_id":"1332267331","filename":"file2"},{"photo_id":"1332267408","filename":"file4"},{"photo_id":"1332267328","filename":"file1"},{"photo_id":"1332267326","filename":"file0"},{"photo_id":"1332267334","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332267334":["hashtag1","hashtag2"]},{"1332267331":["hashtag1","hashtag2"]},{"1332267328":["hashtag1","hashtag2"]},{"1332267408":["hashtag1","hashtag2"]},{"1332267326":["hashtag1","hashtag2"]},{"1332267413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332267334, 1332267331, 1332267328, 1332267408, 1332267326, 1332267413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.67717504501343 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:53:32.416861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/13/image_28012025_05_13_36_10455.jpg', '/home/pi/Desktop/images/28012025/05/13/image_28012025_05_13_46_10378.jpg', '/home/pi/Desktop/images/28012025/05/13/image_28012025_05_13_55_9361.jpg', '/home/pi/Desktop/images/28012025/05/13/image_28012025_05_14_06_10351.jpg', '/home/pi/Desktop/images/28012025/05/14/image_28012025_05_14_16_10348.jpg', '/home/pi/Desktop/images/28012025/05/14/image_28012025_05_14_26_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/13/image_28012025_05_13_36_10455.jpg
/home/pi/Desktop/images/28012025/05/13/image_28012025_05_13_46_10378.jpg
/home/pi/Desktop/images/28012025/05/13/image_28012025_05_13_55_9361.jpg
/home/pi/Desktop/images/28012025/05/13/image_28012025_05_14_06_10351.jpg
/home/pi/Desktop/images/28012025/05/14/image_28012025_05_14_16_10348.jpg
/home/pi/Desktop/images/28012025/05/14/image_28012025_05_14_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":["1332267436","1332267427","1332267444","1332267432","1332267441","1332267443"],"photo_ids_order":["1332267427","1332267432","1332267436","1332267441","1332267443","1332267444"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d0b2d5684cdca7b18cfa95002518f87e.jpg","text":"TemporaryFile(/tmp/multipartBody1201445215641082854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061673131,"filename":"image_28012025_05_13_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/1/28/126d3f67a6b270de35f7b05f52fbc7cc.jpg","text":"TemporaryFile(/tmp/multipartBody6247135076276901077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061673131,"filename":"image_28012025_05_13_36_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/87ed2335b345068061c4ecb373578f31.jpg","text":"TemporaryFile(/tmp/multipartBody5087157823845153983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061673131,"filename":"image_28012025_05_14_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/1/28/764ac3e416d88d5b8c22e354d8d9f0ff.jpg","text":"TemporaryFile(/tmp/multipartBody166656299559955912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061673131,"filename":"image_28012025_05_13_46_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ad405a414ed21175af988df14f6b389f.jpg","text":"TemporaryFile(/tmp/multipartBody2067514454173646388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061673131,"filename":"image_28012025_05_14_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/1/28/fd0830f52d99858371bd1677942421e4.jpg","text":"TemporaryFile(/tmp/multipartBody4181297750901230658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061673131,"filename":"image_28012025_05_14_16_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332267436","file1":"1332267432","file0":"1332267427","file4":"1332267443","file5":"1332267444","file3":"1332267441"},"map_files_photo_id_array":[{"photo_id":"1332267444","filename":"file5"},{"photo_id":"1332267436","filename":"file2"},{"photo_id":"1332267443","filename":"file4"},{"photo_id":"1332267432","filename":"file1"},{"photo_id":"1332267427","filename":"file0"},{"photo_id":"1332267441","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332267436":["hashtag1","hashtag2"]},{"1332267427":["hashtag1","hashtag2"]},{"1332267444":["hashtag1","hashtag2"]},{"1332267432":["hashtag1","hashtag2"]},{"1332267441":["hashtag1","hashtag2"]},{"1332267443":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332267436, 1332267427, 1332267444, 1332267432, 1332267441, 1332267443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38233828544617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:54:32.579620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/14/image_28012025_05_14_36_10452.jpg', '/home/pi/Desktop/images/28012025/05/14/image_28012025_05_14_45_9382.jpg', '/home/pi/Desktop/images/28012025/05/14/image_28012025_05_14_56_10349.jpg', '/home/pi/Desktop/images/28012025/05/14/image_28012025_05_15_06_10381.jpg', '/home/pi/Desktop/images/28012025/05/15/image_28012025_05_15_15_9368.jpg', '/home/pi/Desktop/images/28012025/05/15/image_28012025_05_15_26_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/14/image_28012025_05_14_36_10452.jpg
/home/pi/Desktop/images/28012025/05/14/image_28012025_05_14_45_9382.jpg
/home/pi/Desktop/images/28012025/05/14/image_28012025_05_14_56_10349.jpg
/home/pi/Desktop/images/28012025/05/14/image_28012025_05_15_06_10381.jpg
/home/pi/Desktop/images/28012025/05/15/image_28012025_05_15_15_9368.jpg
/home/pi/Desktop/images/28012025/05/15/image_28012025_05_15_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":["1332267474","1332267488","1332267464","1332267503","1332267490","1332267484"],"photo_ids_order":["1332267464","1332267474","1332267484","1332267488","1332267490","1332267503"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/47398db06ef0263310dff9475b8455bd.jpg","text":"TemporaryFile(/tmp/multipartBody1083849619325300315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061733281,"filename":"image_28012025_05_14_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/1/28/ddb417af05839d8d270084c1d73fabce.jpg","text":"TemporaryFile(/tmp/multipartBody7808270630344740952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061733281,"filename":"image_28012025_05_15_06_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6f2ffa651cd80f4c92b4a361d023a827.jpg","text":"TemporaryFile(/tmp/multipartBody6938373581254121290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061733281,"filename":"image_28012025_05_14_36_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/29e3f2cc4121ee429f811b83b2d4a8ca.jpg","text":"TemporaryFile(/tmp/multipartBody1819770916787265925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061733281,"filename":"image_28012025_05_15_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/1/28/1a8db3ba60592a0db278f964bb47da7d.jpg","text":"TemporaryFile(/tmp/multipartBody4700349375154193426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061733281,"filename":"image_28012025_05_15_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/1/28/070a4fd5090ac1b4217cbb5d2bbb8001.jpg","text":"TemporaryFile(/tmp/multipartBody8034590226431717628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061733281,"filename":"image_28012025_05_14_56_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332267484","file1":"1332267474","file0":"1332267464","file4":"1332267490","file5":"1332267503","file3":"1332267488"},"map_files_photo_id_array":[{"photo_id":"1332267503","filename":"file5"},{"photo_id":"1332267484","filename":"file2"},{"photo_id":"1332267490","filename":"file4"},{"photo_id":"1332267474","filename":"file1"},{"photo_id":"1332267464","filename":"file0"},{"photo_id":"1332267488","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332267474":["hashtag1","hashtag2"]},{"1332267488":["hashtag1","hashtag2"]},{"1332267464":["hashtag1","hashtag2"]},{"1332267503":["hashtag1","hashtag2"]},{"1332267490":["hashtag1","hashtag2"]},{"1332267484":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332267474, 1332267488, 1332267464, 1332267503, 1332267490, 1332267484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.57411003112793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:55:32.873601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/15/image_28012025_05_15_36_10359.jpg', '/home/pi/Desktop/images/28012025/05/15/image_28012025_05_15_46_9348.jpg', '/home/pi/Desktop/images/28012025/05/15/image_28012025_05_16_05_9469.jpg', '/home/pi/Desktop/images/28012025/05/16/image_28012025_05_16_16_10510.jpg', '/home/pi/Desktop/images/28012025/05/16/image_28012025_05_16_25_9430.jpg', '/home/pi/Desktop/images/28012025/05/16/image_28012025_05_16_36_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/15/image_28012025_05_15_36_10359.jpg
/home/pi/Desktop/images/28012025/05/15/image_28012025_05_15_46_9348.jpg
/home/pi/Desktop/images/28012025/05/15/image_28012025_05_16_05_9469.jpg
/home/pi/Desktop/images/28012025/05/16/image_28012025_05_16_16_10510.jpg
/home/pi/Desktop/images/28012025/05/16/image_28012025_05_16_25_9430.jpg
/home/pi/Desktop/images/28012025/05/16/image_28012025_05_16_36_10369.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5940542221069336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 11:55:42.890067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/15/image_28012025_05_15_36_10359.jpg', '/home/pi/Desktop/images/28012025/05/15/image_28012025_05_15_46_9348.jpg', '/home/pi/Desktop/images/28012025/05/15/image_28012025_05_16_05_9469.jpg', '/home/pi/Desktop/images/28012025/05/16/image_28012025_05_16_16_10510.jpg', '/home/pi/Desktop/images/28012025/05/16/image_28012025_05_16_25_9430.jpg', '/home/pi/Desktop/images/28012025/05/16/image_28012025_05_16_36_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/15/image_28012025_05_15_36_10359.jpg
/home/pi/Desktop/images/28012025/05/15/image_28012025_05_15_46_9348.jpg
/home/pi/Desktop/images/28012025/05/15/image_28012025_05_16_05_9469.jpg
/home/pi/Desktop/images/28012025/05/16/image_28012025_05_16_16_10510.jpg
/home/pi/Desktop/images/28012025/05/16/image_28012025_05_16_25_9430.jpg
/home/pi/Desktop/images/28012025/05/16/image_28012025_05_16_36_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332267547","1332267735","1332267705","1332267586","1332267550","1332267544"],"photo_ids_order":["1332267544","1332267547","1332267550","1332267586","1332267705","1332267735"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2abcd445571eada585231b7a5bf5f5ea.jpg","text":"TemporaryFile(/tmp/multipartBody1434754032485156758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061803501,"filename":"image_28012025_05_15_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/1/28/405257a645f271949fc0b55bb45cfc20.jpg","text":"TemporaryFile(/tmp/multipartBody5813581489890823139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061803501,"filename":"image_28012025_05_16_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/1/28/46689526aafa4142d022008b5032979a.jpg","text":"TemporaryFile(/tmp/multipartBody6739873590921270663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061803501,"filename":"image_28012025_05_16_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/1/28/68f073d7eab8015d8d42590d92d0dac8.jpg","text":"TemporaryFile(/tmp/multipartBody2301040268956551254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061803501,"filename":"image_28012025_05_16_16_10510.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e763e37c9c9448a72475ee2ae1ac3926.jpg","text":"TemporaryFile(/tmp/multipartBody7127294835566705503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061803501,"filename":"image_28012025_05_16_05_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e499db5adf338eba23575d26aed45343.jpg","text":"TemporaryFile(/tmp/multipartBody4350422870956560624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061803501,"filename":"image_28012025_05_15_36_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332267550","file1":"1332267547","file0":"1332267544","file4":"1332267705","file5":"1332267735","file3":"1332267586"},"map_files_photo_id_array":[{"photo_id":"1332267735","filename":"file5"},{"photo_id":"1332267550","filename":"file2"},{"photo_id":"1332267705","filename":"file4"},{"photo_id":"1332267547","filename":"file1"},{"photo_id":"1332267544","filename":"file0"},{"photo_id":"1332267586","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332267547":["hashtag1","hashtag2"]},{"1332267735":["hashtag1","hashtag2"]},{"1332267705":["hashtag1","hashtag2"]},{"1332267586":["hashtag1","hashtag2"]},{"1332267550":["hashtag1","hashtag2"]},{"1332267544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332267547, 1332267735, 1332267705, 1332267586, 1332267550, 1332267544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22115612030029 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:56:32.215381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/16/image_28012025_05_16_46_10438.jpg', '/home/pi/Desktop/images/28012025/05/16/image_28012025_05_16_56_9442.jpg', '/home/pi/Desktop/images/28012025/05/16/image_28012025_05_17_06_10370.jpg', '/home/pi/Desktop/images/28012025/05/17/image_28012025_05_17_26_10366.jpg', '/home/pi/Desktop/images/28012025/05/17/image_28012025_05_17_36_10403.jpg', '/home/pi/Desktop/images/28012025/05/17/image_28012025_05_17_46_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/16/image_28012025_05_16_46_10438.jpg
/home/pi/Desktop/images/28012025/05/16/image_28012025_05_16_56_9442.jpg
/home/pi/Desktop/images/28012025/05/16/image_28012025_05_17_06_10370.jpg
/home/pi/Desktop/images/28012025/05/17/image_28012025_05_17_26_10366.jpg
/home/pi/Desktop/images/28012025/05/17/image_28012025_05_17_36_10403.jpg
/home/pi/Desktop/images/28012025/05/17/image_28012025_05_17_46_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332267847","1332267951","1332267896","1332267899","1332267887","1332267892"],"photo_ids_order":["1332267847","1332267887","1332267892","1332267896","1332267899","1332267951"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/58442ace3cc56a74eb0191e6dc1faafc.jpg","text":"TemporaryFile(/tmp/multipartBody2285285933612375394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061852897,"filename":"image_28012025_05_16_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/1/28/d8fcf3f874f7f16987adc5e12bda7381.jpg","text":"TemporaryFile(/tmp/multipartBody136044964262171637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061852897,"filename":"image_28012025_05_17_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/1/28/897421cd12153ae866bb4fdd1faf5833.jpg","text":"TemporaryFile(/tmp/multipartBody8516059601555260269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061852897,"filename":"image_28012025_05_17_26_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/78bb765285ad2d867cd441e86e4f410b.jpg","text":"TemporaryFile(/tmp/multipartBody3208759912440341647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061852897,"filename":"image_28012025_05_17_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/1/28/67667e50f570566ea2e1a4300edc38a3.jpg","text":"TemporaryFile(/tmp/multipartBody5893826721193139963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061852897,"filename":"image_28012025_05_16_56_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5663e4f4ef55fc52cc3c6e839e7eee07.jpg","text":"TemporaryFile(/tmp/multipartBody7911387492843040662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738061852897,"filename":"image_28012025_05_17_06_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332267892","file1":"1332267887","file0":"1332267847","file4":"1332267899","file5":"1332267951","file3":"1332267896"},"map_files_photo_id_array":[{"photo_id":"1332267951","filename":"file5"},{"photo_id":"1332267892","filename":"file2"},{"photo_id":"1332267899","filename":"file4"},{"photo_id":"1332267887","filename":"file1"},{"photo_id":"1332267847","filename":"file0"},{"photo_id":"1332267896","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332267847":["hashtag1","hashtag2"]},{"1332267951":["hashtag1","hashtag2"]},{"1332267896":["hashtag1","hashtag2"]},{"1332267899":["hashtag1","hashtag2"]},{"1332267887":["hashtag1","hashtag2"]},{"1332267892":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332267847, 1332267951, 1332267896, 1332267899, 1332267887, 1332267892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.453025102615356 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 11:57:32.359992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/17/image_28012025_05_17_56_10356.jpg', '/home/pi/Desktop/images/28012025/05/17/image_28012025_05_18_05_9473.jpg', '/home/pi/Desktop/images/28012025/05/18/image_28012025_05_18_16_10337.jpg', '/home/pi/Desktop/images/28012025/05/18/image_28012025_05_18_26_10407.jpg', '/home/pi/Desktop/images/28012025/05/18/image_28012025_05_18_36_9432.jpg', '/home/pi/Desktop/images/28012025/05/18/image_28012025_05_18_46_10396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/17/image_28012025_05_17_56_10356.jpg
/home/pi/Desktop/images/28012025/05/17/image_28012025_05_18_05_9473.jpg
/home/pi/Desktop/images/28012025/05/18/image_28012025_05_18_16_10337.jpg
/home/pi/Desktop/images/28012025/05/18/image_28012025_05_18_26_10407.jpg
/home/pi/Desktop/images/28012025/05/18/image_28012025_05_18_36_9432.jpg
/home/pi/Desktop/images/28012025/05/18/image_28012025_05_18_46_10396.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 www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 11:59:04.709022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/17/image_28012025_05_17_56_10356.jpg', '/home/pi/Desktop/images/28012025/05/17/image_28012025_05_18_05_9473.jpg', '/home/pi/Desktop/images/28012025/05/18/image_28012025_05_18_16_10337.jpg', '/home/pi/Desktop/images/28012025/05/18/image_28012025_05_18_26_10407.jpg', '/home/pi/Desktop/images/28012025/05/18/image_28012025_05_18_36_9432.jpg', '/home/pi/Desktop/images/28012025/05/18/image_28012025_05_18_46_10396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/17/image_28012025_05_17_56_10356.jpg
/home/pi/Desktop/images/28012025/05/17/image_28012025_05_18_05_9473.jpg
/home/pi/Desktop/images/28012025/05/18/image_28012025_05_18_16_10337.jpg
/home/pi/Desktop/images/28012025/05/18/image_28012025_05_18_26_10407.jpg
/home/pi/Desktop/images/28012025/05/18/image_28012025_05_18_36_9432.jpg
/home/pi/Desktop/images/28012025/05/18/image_28012025_05_18_46_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":["1332268107","1332268116","1332268091","1332268119","1332268097","1332268084"],"photo_ids_order":["1332268084","1332268091","1332268097","1332268107","1332268116","1332268119"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6f3ca9f214d0d30cfe4edbf0eded98ea.jpg","text":"TemporaryFile(/tmp/multipartBody8343747439994309643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062005761,"filename":"image_28012025_05_18_26_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/805288e212057ff306c401ce736d09c1.jpg","text":"TemporaryFile(/tmp/multipartBody5258476852544890593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062005761,"filename":"image_28012025_05_18_36_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/da01c351af004838ecf80ee54d6c8070.jpg","text":"TemporaryFile(/tmp/multipartBody6989291622894108121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062005761,"filename":"image_28012025_05_18_05_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bf48cbc6b819e214937d4ac128bcc669.jpg","text":"TemporaryFile(/tmp/multipartBody5751077526173255823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062005761,"filename":"image_28012025_05_18_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/1/28/6e086822dde055e505cf364fb3fc6ab8.jpg","text":"TemporaryFile(/tmp/multipartBody91670098016686480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062005761,"filename":"image_28012025_05_18_16_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/875311545cd29ee264fcfae98d615560.jpg","text":"TemporaryFile(/tmp/multipartBody825486642831926752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062005761,"filename":"image_28012025_05_17_56_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332268097","file1":"1332268091","file0":"1332268084","file4":"1332268116","file5":"1332268119","file3":"1332268107"},"map_files_photo_id_array":[{"photo_id":"1332268119","filename":"file5"},{"photo_id":"1332268097","filename":"file2"},{"photo_id":"1332268116","filename":"file4"},{"photo_id":"1332268091","filename":"file1"},{"photo_id":"1332268084","filename":"file0"},{"photo_id":"1332268107","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332268107":["hashtag1","hashtag2"]},{"1332268116":["hashtag1","hashtag2"]},{"1332268091":["hashtag1","hashtag2"]},{"1332268119":["hashtag1","hashtag2"]},{"1332268097":["hashtag1","hashtag2"]},{"1332268084":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332268107, 1332268116, 1332268091, 1332268119, 1332268097, 1332268084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.528942584991455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 11:59:53.143654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/19/image_23012025_23_19_26_10344.jpg', '/home/pi/Desktop/images/23012025/23/19/image_23012025_23_19_37_10331.jpg', '/home/pi/Desktop/images/23012025/23/19/image_23012025_23_19_46_9379.jpg', '/home/pi/Desktop/images/23012025/23/19/image_23012025_23_19_56_10409.jpg', '/home/pi/Desktop/images/23012025/23/19/image_23012025_23_20_06_9325.jpg', '/home/pi/Desktop/images/23012025/23/20/image_23012025_23_20_16_10467.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/19/image_23012025_23_19_26_10344.jpg
/home/pi/Desktop/images/23012025/23/19/image_23012025_23_19_37_10331.jpg
/home/pi/Desktop/images/23012025/23/19/image_23012025_23_19_46_9379.jpg
/home/pi/Desktop/images/23012025/23/19/image_23012025_23_19_56_10409.jpg
/home/pi/Desktop/images/23012025/23/19/image_23012025_23_20_06_9325.jpg
/home/pi/Desktop/images/23012025/23/20/image_23012025_23_20_16_10467.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332268225","1332268266","1332268247","1332268232","1332268270","1332268237"],"photo_ids_order":["1332268225","1332268232","1332268237","1332268247","1332268266","1332268270"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ae8ba5735ac93dd25c8ff52b1c6c571f.jpg","text":"TemporaryFile(/tmp/multipartBody3750167394952192142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062055333,"filename":"image_23012025_23_19_26_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e7da7bc4094ec09e939c1aca18daa9a3.jpg","text":"TemporaryFile(/tmp/multipartBody7224762206169367592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062055333,"filename":"image_23012025_23_20_06_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/deab83ed0cb289f62ed76611b739b25c.jpg","text":"TemporaryFile(/tmp/multipartBody5630129796988339590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062055333,"filename":"image_23012025_23_19_56_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d8d4a111a0e2e1a27419133395a6decd.jpg","text":"TemporaryFile(/tmp/multipartBody5174327880770112689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062055333,"filename":"image_23012025_23_19_37_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e8e894ebc2ddf50e784f8d0d7e311111.jpg","text":"TemporaryFile(/tmp/multipartBody1711000993453399529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062055333,"filename":"image_23012025_23_20_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/1/28/59ac6433c70a851dd0b0e96a1c04a7de.jpg","text":"TemporaryFile(/tmp/multipartBody6315691548831407074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062055333,"filename":"image_23012025_23_19_46_9379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332268237","file1":"1332268232","file0":"1332268225","file4":"1332268266","file5":"1332268270","file3":"1332268247"},"map_files_photo_id_array":[{"photo_id":"1332268270","filename":"file5"},{"photo_id":"1332268237","filename":"file2"},{"photo_id":"1332268266","filename":"file4"},{"photo_id":"1332268232","filename":"file1"},{"photo_id":"1332268225","filename":"file0"},{"photo_id":"1332268247","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332268225":["hashtag1","hashtag2"]},{"1332268266":["hashtag1","hashtag2"]},{"1332268247":["hashtag1","hashtag2"]},{"1332268232":["hashtag1","hashtag2"]},{"1332268270":["hashtag1","hashtag2"]},{"1332268237":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332268225, 1332268266, 1332268247, 1332268232, 1332268270, 1332268237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.919822692871094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 12:00:42.381202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/18/image_28012025_05_18_55_9421.jpg', '/home/pi/Desktop/images/28012025/05/18/image_28012025_05_19_06_10341.jpg', '/home/pi/Desktop/images/28012025/05/19/image_28012025_05_19_16_10361.jpg', '/home/pi/Desktop/images/28012025/05/19/image_28012025_05_19_26_9468.jpg', '/home/pi/Desktop/images/28012025/05/19/image_28012025_05_19_36_10352.jpg', '/home/pi/Desktop/images/28012025/05/19/image_28012025_05_19_45_9440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/18/image_28012025_05_18_55_9421.jpg
/home/pi/Desktop/images/28012025/05/18/image_28012025_05_19_06_10341.jpg
/home/pi/Desktop/images/28012025/05/19/image_28012025_05_19_16_10361.jpg
/home/pi/Desktop/images/28012025/05/19/image_28012025_05_19_26_9468.jpg
/home/pi/Desktop/images/28012025/05/19/image_28012025_05_19_36_10352.jpg
/home/pi/Desktop/images/28012025/05/19/image_28012025_05_19_45_9440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332268385","1332268286","1332268433","1332268424","1332268438","1332268429"],"photo_ids_order":["1332268286","1332268385","1332268424","1332268429","1332268433","1332268438"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/034fe83fe862ded6d8d80a93b355a934.jpg","text":"TemporaryFile(/tmp/multipartBody3604367328699593140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062103410,"filename":"image_28012025_05_19_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/1/28/274f3de285e0bbd6cfa8488f51015c31.jpg","text":"TemporaryFile(/tmp/multipartBody1757016887237266854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062103410,"filename":"image_28012025_05_18_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/1/28/025eeaa627a3a4604855735e3b4b5e23.jpg","text":"TemporaryFile(/tmp/multipartBody6996145264403270823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062103410,"filename":"image_28012025_05_19_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/1/28/b787d5fa2f69b7bfcc9d29023bff86f1.jpg","text":"TemporaryFile(/tmp/multipartBody6908828604298024586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062103410,"filename":"image_28012025_05_19_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/1/28/d24b5ddfa15ed9e8f59f5d4c512e04fc.jpg","text":"TemporaryFile(/tmp/multipartBody3183578016724759562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062103410,"filename":"image_28012025_05_19_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/1/28/ed0b2ad0d513f6289d61f45b42d1337d.jpg","text":"TemporaryFile(/tmp/multipartBody5819759761855785662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062103410,"filename":"image_28012025_05_19_26_9468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332268424","file1":"1332268385","file0":"1332268286","file4":"1332268433","file5":"1332268438","file3":"1332268429"},"map_files_photo_id_array":[{"photo_id":"1332268438","filename":"file5"},{"photo_id":"1332268424","filename":"file2"},{"photo_id":"1332268433","filename":"file4"},{"photo_id":"1332268385","filename":"file1"},{"photo_id":"1332268286","filename":"file0"},{"photo_id":"1332268429","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332268385":["hashtag1","hashtag2"]},{"1332268286":["hashtag1","hashtag2"]},{"1332268433":["hashtag1","hashtag2"]},{"1332268424":["hashtag1","hashtag2"]},{"1332268438":["hashtag1","hashtag2"]},{"1332268429":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332268385, 1332268286, 1332268433, 1332268424, 1332268438, 1332268429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.46682024002075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:01:32.650276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/19/image_28012025_05_19_56_10404.jpg', '/home/pi/Desktop/images/28012025/05/19/image_28012025_05_20_06_10339.jpg', '/home/pi/Desktop/images/28012025/05/20/image_28012025_05_20_15_9340.jpg', '/home/pi/Desktop/images/28012025/05/20/image_28012025_05_20_26_10361.jpg', '/home/pi/Desktop/images/28012025/05/20/image_28012025_05_20_36_10393.jpg', '/home/pi/Desktop/images/28012025/05/20/image_28012025_05_20_45_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/19/image_28012025_05_19_56_10404.jpg
/home/pi/Desktop/images/28012025/05/19/image_28012025_05_20_06_10339.jpg
/home/pi/Desktop/images/28012025/05/20/image_28012025_05_20_15_9340.jpg
/home/pi/Desktop/images/28012025/05/20/image_28012025_05_20_26_10361.jpg
/home/pi/Desktop/images/28012025/05/20/image_28012025_05_20_36_10393.jpg
/home/pi/Desktop/images/28012025/05/20/image_28012025_05_20_45_9355.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5944960117340088 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 12:01:42.564676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/19/image_28012025_05_19_56_10404.jpg', '/home/pi/Desktop/images/28012025/05/19/image_28012025_05_20_06_10339.jpg', '/home/pi/Desktop/images/28012025/05/20/image_28012025_05_20_15_9340.jpg', '/home/pi/Desktop/images/28012025/05/20/image_28012025_05_20_26_10361.jpg', '/home/pi/Desktop/images/28012025/05/20/image_28012025_05_20_36_10393.jpg', '/home/pi/Desktop/images/28012025/05/20/image_28012025_05_20_45_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/19/image_28012025_05_19_56_10404.jpg
/home/pi/Desktop/images/28012025/05/19/image_28012025_05_20_06_10339.jpg
/home/pi/Desktop/images/28012025/05/20/image_28012025_05_20_15_9340.jpg
/home/pi/Desktop/images/28012025/05/20/image_28012025_05_20_26_10361.jpg
/home/pi/Desktop/images/28012025/05/20/image_28012025_05_20_36_10393.jpg
/home/pi/Desktop/images/28012025/05/20/image_28012025_05_20_45_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332268609","1332268461","1332268605","1332268500","1332268456","1332268612"],"photo_ids_order":["1332268456","1332268461","1332268500","1332268605","1332268609","1332268612"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5ee26c953789b85dfd9b7060bce43362.jpg","text":"TemporaryFile(/tmp/multipartBody3324580597908301602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062163554,"filename":"image_28012025_05_20_36_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a916d586b1c7dd845cba8d032ada5cd4.jpg","text":"TemporaryFile(/tmp/multipartBody8085228890026984606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062163554,"filename":"image_28012025_05_20_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/1/28/741d1eeb3eb4e8dd4253cf96effc91a2.jpg","text":"TemporaryFile(/tmp/multipartBody8787124400732491960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062163554,"filename":"image_28012025_05_20_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/1/28/bc6ef25826d1080c6eec6cbd3688920b.jpg","text":"TemporaryFile(/tmp/multipartBody1291944399921822060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062163554,"filename":"image_28012025_05_20_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/1/28/f85ac099b44638acaab26f0658b10b70.jpg","text":"TemporaryFile(/tmp/multipartBody1765676489800567025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062163554,"filename":"image_28012025_05_19_56_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bb91c61a0eb424e5d5f3da0b1e64e8c2.jpg","text":"TemporaryFile(/tmp/multipartBody2749137302673451411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062163554,"filename":"image_28012025_05_20_45_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332268500","file1":"1332268461","file0":"1332268456","file4":"1332268609","file5":"1332268612","file3":"1332268605"},"map_files_photo_id_array":[{"photo_id":"1332268612","filename":"file5"},{"photo_id":"1332268500","filename":"file2"},{"photo_id":"1332268609","filename":"file4"},{"photo_id":"1332268461","filename":"file1"},{"photo_id":"1332268456","filename":"file0"},{"photo_id":"1332268605","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332268609":["hashtag1","hashtag2"]},{"1332268461":["hashtag1","hashtag2"]},{"1332268605":["hashtag1","hashtag2"]},{"1332268500":["hashtag1","hashtag2"]},{"1332268456":["hashtag1","hashtag2"]},{"1332268612":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332268609, 1332268461, 1332268605, 1332268500, 1332268456, 1332268612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9004762172699 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:02:32.804209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/20/image_28012025_05_20_56_10338.jpg', '/home/pi/Desktop/images/28012025/05/20/image_28012025_05_21_06_10354.jpg', '/home/pi/Desktop/images/28012025/05/21/image_28012025_05_21_16_9438.jpg', '/home/pi/Desktop/images/28012025/05/21/image_28012025_05_21_26_10367.jpg', '/home/pi/Desktop/images/28012025/05/21/image_28012025_05_21_35_9343.jpg', '/home/pi/Desktop/images/28012025/05/21/image_28012025_05_21_46_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/20/image_28012025_05_20_56_10338.jpg
/home/pi/Desktop/images/28012025/05/20/image_28012025_05_21_06_10354.jpg
/home/pi/Desktop/images/28012025/05/21/image_28012025_05_21_16_9438.jpg
/home/pi/Desktop/images/28012025/05/21/image_28012025_05_21_26_10367.jpg
/home/pi/Desktop/images/28012025/05/21/image_28012025_05_21_35_9343.jpg
/home/pi/Desktop/images/28012025/05/21/image_28012025_05_21_46_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":["1332268865","1332268853","1332268814","1332269014","1332268843","1332268819"],"photo_ids_order":["1332268814","1332268819","1332268843","1332268853","1332268865","1332269014"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/519cf0534efc883ff85eedcd3a3fc50f.jpg","text":"TemporaryFile(/tmp/multipartBody8810334568327848648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062213849,"filename":"image_28012025_05_21_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/1/28/1e19742834288267bf947a3cf35e67b3.jpg","text":"TemporaryFile(/tmp/multipartBody6207436154606678417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062213849,"filename":"image_28012025_05_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/1/28/ed93a86f3a8e106d2b6ff271e64ddd13.jpg","text":"TemporaryFile(/tmp/multipartBody7735059884295394937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062213849,"filename":"image_28012025_05_20_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/1/28/8cb6ccc814c97dd4a36bca118861d68c.jpg","text":"TemporaryFile(/tmp/multipartBody8532909617082021796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062213849,"filename":"image_28012025_05_21_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/1/28/f06c4464025da9b648b344811e360025.jpg","text":"TemporaryFile(/tmp/multipartBody798304113856424595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062213849,"filename":"image_28012025_05_21_16_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e5c9829c45fb5ccd63b9fa70b5044e51.jpg","text":"TemporaryFile(/tmp/multipartBody5539279532767576640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062213849,"filename":"image_28012025_05_21_06_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332268843","file1":"1332268819","file0":"1332268814","file4":"1332268865","file5":"1332269014","file3":"1332268853"},"map_files_photo_id_array":[{"photo_id":"1332269014","filename":"file5"},{"photo_id":"1332268843","filename":"file2"},{"photo_id":"1332268865","filename":"file4"},{"photo_id":"1332268819","filename":"file1"},{"photo_id":"1332268814","filename":"file0"},{"photo_id":"1332268853","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332268865":["hashtag1","hashtag2"]},{"1332268853":["hashtag1","hashtag2"]},{"1332268814":["hashtag1","hashtag2"]},{"1332269014":["hashtag1","hashtag2"]},{"1332268843":["hashtag1","hashtag2"]},{"1332268819":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332268865, 1332268853, 1332268814, 1332269014, 1332268843, 1332268819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.604729652404785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:03:33.051113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/21/image_28012025_05_21_56_10359.jpg', '/home/pi/Desktop/images/28012025/05/21/image_28012025_05_22_05_9348.jpg', '/home/pi/Desktop/images/28012025/05/22/image_28012025_05_22_16_10328.jpg', '/home/pi/Desktop/images/28012025/05/22/image_28012025_05_22_26_10376.jpg', '/home/pi/Desktop/images/28012025/05/22/image_28012025_05_22_35_9412.jpg', '/home/pi/Desktop/images/28012025/05/22/image_28012025_05_22_46_10408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/21/image_28012025_05_21_56_10359.jpg
/home/pi/Desktop/images/28012025/05/21/image_28012025_05_22_05_9348.jpg
/home/pi/Desktop/images/28012025/05/22/image_28012025_05_22_16_10328.jpg
/home/pi/Desktop/images/28012025/05/22/image_28012025_05_22_26_10376.jpg
/home/pi/Desktop/images/28012025/05/22/image_28012025_05_22_35_9412.jpg
/home/pi/Desktop/images/28012025/05/22/image_28012025_05_22_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":["1332269133","1332269115","1332269135","1332269111","1332269074","1332269119"],"photo_ids_order":["1332269074","1332269111","1332269115","1332269119","1332269133","1332269135"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/22a0e43c8f630808c115630262705803.jpg","text":"TemporaryFile(/tmp/multipartBody1224811977418189933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062274059,"filename":"image_28012025_05_22_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/1/28/2ff23a622ea7636a7f726180fc3d9fc1.jpg","text":"TemporaryFile(/tmp/multipartBody545804519316124415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062274059,"filename":"image_28012025_05_22_16_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6e60a7bae0c837f9c5b9138672b4b527.jpg","text":"TemporaryFile(/tmp/multipartBody6921862580220137651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062274059,"filename":"image_28012025_05_22_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/1/28/9564ebb258ac911d3fec8ddd5d83fe28.jpg","text":"TemporaryFile(/tmp/multipartBody5984554318655907908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062274059,"filename":"image_28012025_05_22_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/1/28/d3a22fb55f76fcf42758aa32b65aa976.jpg","text":"TemporaryFile(/tmp/multipartBody4683417257221428179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062274059,"filename":"image_28012025_05_21_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/1/28/3f1b9b628a11905365127181296b2784.jpg","text":"TemporaryFile(/tmp/multipartBody4638355183740306044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062274059,"filename":"image_28012025_05_22_26_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332269115","file1":"1332269111","file0":"1332269074","file4":"1332269133","file5":"1332269135","file3":"1332269119"},"map_files_photo_id_array":[{"photo_id":"1332269135","filename":"file5"},{"photo_id":"1332269115","filename":"file2"},{"photo_id":"1332269133","filename":"file4"},{"photo_id":"1332269111","filename":"file1"},{"photo_id":"1332269074","filename":"file0"},{"photo_id":"1332269119","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332269133":["hashtag1","hashtag2"]},{"1332269115":["hashtag1","hashtag2"]},{"1332269135":["hashtag1","hashtag2"]},{"1332269111":["hashtag1","hashtag2"]},{"1332269074":["hashtag1","hashtag2"]},{"1332269119":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332269133, 1332269115, 1332269135, 1332269111, 1332269074, 1332269119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.830907344818115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:04:32.215913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/22/image_28012025_05_22_55_9436.jpg', '/home/pi/Desktop/images/28012025/05/22/image_28012025_05_23_06_10354.jpg', '/home/pi/Desktop/images/28012025/05/23/image_28012025_05_23_16_10398.jpg', '/home/pi/Desktop/images/28012025/05/23/image_28012025_05_23_26_9417.jpg', '/home/pi/Desktop/images/28012025/05/23/image_28012025_05_23_36_10356.jpg', '/home/pi/Desktop/images/28012025/05/23/image_28012025_05_23_45_9488.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/22/image_28012025_05_22_55_9436.jpg
/home/pi/Desktop/images/28012025/05/22/image_28012025_05_23_06_10354.jpg
/home/pi/Desktop/images/28012025/05/23/image_28012025_05_23_16_10398.jpg
/home/pi/Desktop/images/28012025/05/23/image_28012025_05_23_26_9417.jpg
/home/pi/Desktop/images/28012025/05/23/image_28012025_05_23_36_10356.jpg
/home/pi/Desktop/images/28012025/05/23/image_28012025_05_23_45_9488.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332269195","1332269190","1332269193","1332269172","1332269181","1332269169"],"photo_ids_order":["1332269169","1332269172","1332269181","1332269190","1332269193","1332269195"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3b67d0bcb0c10641cc46abd5a9b84eac.jpg","text":"TemporaryFile(/tmp/multipartBody3523855300768497205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062333230,"filename":"image_28012025_05_23_45_9488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7b2f8c6cf821e5c91d3d895096e9fbb1.jpg","text":"TemporaryFile(/tmp/multipartBody1113828692555329369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062333230,"filename":"image_28012025_05_23_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/1/28/75582afff9ccf0ad6e4e29064e81a495.jpg","text":"TemporaryFile(/tmp/multipartBody6453452932973320974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062333230,"filename":"image_28012025_05_23_36_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6d29c4f7e21578ea7fcd827176f32a09.jpg","text":"TemporaryFile(/tmp/multipartBody1159771369695725856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062333230,"filename":"image_28012025_05_23_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/1/28/201f03d9e7dc2d8b8bfa1ed9eaaaefb0.jpg","text":"TemporaryFile(/tmp/multipartBody3921161830273396443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062333230,"filename":"image_28012025_05_23_16_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5099262b8d1f453a115b08cb39cfb975.jpg","text":"TemporaryFile(/tmp/multipartBody2421367923286187937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062333230,"filename":"image_28012025_05_22_55_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332269181","file1":"1332269172","file0":"1332269169","file4":"1332269193","file5":"1332269195","file3":"1332269190"},"map_files_photo_id_array":[{"photo_id":"1332269195","filename":"file5"},{"photo_id":"1332269181","filename":"file2"},{"photo_id":"1332269193","filename":"file4"},{"photo_id":"1332269172","filename":"file1"},{"photo_id":"1332269169","filename":"file0"},{"photo_id":"1332269190","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332269195":["hashtag1","hashtag2"]},{"1332269190":["hashtag1","hashtag2"]},{"1332269193":["hashtag1","hashtag2"]},{"1332269172":["hashtag1","hashtag2"]},{"1332269181":["hashtag1","hashtag2"]},{"1332269169":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332269195, 1332269190, 1332269193, 1332269172, 1332269181, 1332269169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.28198051452637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:05:32.394618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/23/image_28012025_05_23_56_10336.jpg', '/home/pi/Desktop/images/28012025/05/23/image_28012025_05_24_06_10440.jpg', '/home/pi/Desktop/images/28012025/05/24/image_28012025_05_24_16_9438.jpg', '/home/pi/Desktop/images/28012025/05/24/image_28012025_05_24_35_9415.jpg', '/home/pi/Desktop/images/28012025/05/24/image_28012025_05_24_46_10388.jpg', '/home/pi/Desktop/images/28012025/05/24/image_28012025_05_24_55_9442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/23/image_28012025_05_23_56_10336.jpg
/home/pi/Desktop/images/28012025/05/23/image_28012025_05_24_06_10440.jpg
/home/pi/Desktop/images/28012025/05/24/image_28012025_05_24_16_9438.jpg
/home/pi/Desktop/images/28012025/05/24/image_28012025_05_24_35_9415.jpg
/home/pi/Desktop/images/28012025/05/24/image_28012025_05_24_46_10388.jpg
/home/pi/Desktop/images/28012025/05/24/image_28012025_05_24_55_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":["1332269547","1332270441","1332270481","1332270283","1332270514","1332269889"],"photo_ids_order":["1332269547","1332269889","1332270283","1332270441","1332270481","1332270514"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/04deaa7c706e34826349953b0c6f0c9b.jpg","text":"TemporaryFile(/tmp/multipartBody1579837557159036102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062393402,"filename":"image_28012025_05_23_56_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9ca3d8a8d152ef3c1149e7c5c58f6677.jpg","text":"TemporaryFile(/tmp/multipartBody7344731152374980637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062393402,"filename":"image_28012025_05_24_35_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7a11c54df17c82f27744f6395e0fb065.jpg","text":"TemporaryFile(/tmp/multipartBody5910546629625318431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062393402,"filename":"image_28012025_05_24_46_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3209606d231690bcf03cff1577283190.jpg","text":"TemporaryFile(/tmp/multipartBody477260102052647775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062393402,"filename":"image_28012025_05_24_16_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7c381731c3fac31d594d778ba9cd6940.jpg","text":"TemporaryFile(/tmp/multipartBody3709840124095934176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062393402,"filename":"image_28012025_05_24_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/1/28/93581970d9c298f01926fe2903d8ae81.jpg","text":"TemporaryFile(/tmp/multipartBody8243528202824033388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062393402,"filename":"image_28012025_05_24_06_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332270283","file1":"1332269889","file0":"1332269547","file4":"1332270481","file5":"1332270514","file3":"1332270441"},"map_files_photo_id_array":[{"photo_id":"1332270514","filename":"file5"},{"photo_id":"1332270283","filename":"file2"},{"photo_id":"1332270481","filename":"file4"},{"photo_id":"1332269889","filename":"file1"},{"photo_id":"1332269547","filename":"file0"},{"photo_id":"1332270441","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332269547":["hashtag1","hashtag2"]},{"1332270441":["hashtag1","hashtag2"]},{"1332270481":["hashtag1","hashtag2"]},{"1332270283":["hashtag1","hashtag2"]},{"1332270514":["hashtag1","hashtag2"]},{"1332269889":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332269547, 1332270441, 1332270481, 1332270283, 1332270514, 1332269889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35235333442688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:06:32.768142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/24/image_28012025_05_25_06_10351.jpg', '/home/pi/Desktop/images/28012025/05/25/image_28012025_05_25_16_10362.jpg', '/home/pi/Desktop/images/28012025/05/25/image_28012025_05_25_25_9441.jpg', '/home/pi/Desktop/images/28012025/05/25/image_28012025_05_25_36_10359.jpg', '/home/pi/Desktop/images/28012025/05/25/image_28012025_05_25_46_10346.jpg', '/home/pi/Desktop/images/28012025/05/25/image_28012025_05_25_55_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/24/image_28012025_05_25_06_10351.jpg
/home/pi/Desktop/images/28012025/05/25/image_28012025_05_25_16_10362.jpg
/home/pi/Desktop/images/28012025/05/25/image_28012025_05_25_25_9441.jpg
/home/pi/Desktop/images/28012025/05/25/image_28012025_05_25_36_10359.jpg
/home/pi/Desktop/images/28012025/05/25/image_28012025_05_25_46_10346.jpg
/home/pi/Desktop/images/28012025/05/25/image_28012025_05_25_55_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":["1332270573","1332270590","1332270593","1332270587","1332270578","1332270583"],"photo_ids_order":["1332270573","1332270578","1332270583","1332270587","1332270590","1332270593"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e29becb0c0943f85c55bf07d9f767eea.jpg","text":"TemporaryFile(/tmp/multipartBody3117835440271683707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062453771,"filename":"image_28012025_05_25_06_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fada97476b79c86b4a28561ce8a26eb1.jpg","text":"TemporaryFile(/tmp/multipartBody5899284007592167235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062453771,"filename":"image_28012025_05_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/1/28/90a7be53ef3dcf644f0dfbae1238a788.jpg","text":"TemporaryFile(/tmp/multipartBody4734260549128337510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062453771,"filename":"image_28012025_05_25_55_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d62d415c688aa7207fe87d43c9124715.jpg","text":"TemporaryFile(/tmp/multipartBody1167256746832282654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062453771,"filename":"image_28012025_05_25_36_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8405e92db35539de2f150c013d9ce025.jpg","text":"TemporaryFile(/tmp/multipartBody8761767891631741702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062453771,"filename":"image_28012025_05_25_16_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9fc45b08ee904ed56948dfc5549fd78c.jpg","text":"TemporaryFile(/tmp/multipartBody703101311489288240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062453771,"filename":"image_28012025_05_25_25_9441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332270583","file1":"1332270578","file0":"1332270573","file4":"1332270590","file5":"1332270593","file3":"1332270587"},"map_files_photo_id_array":[{"photo_id":"1332270593","filename":"file5"},{"photo_id":"1332270583","filename":"file2"},{"photo_id":"1332270590","filename":"file4"},{"photo_id":"1332270578","filename":"file1"},{"photo_id":"1332270573","filename":"file0"},{"photo_id":"1332270587","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332270573":["hashtag1","hashtag2"]},{"1332270590":["hashtag1","hashtag2"]},{"1332270593":["hashtag1","hashtag2"]},{"1332270587":["hashtag1","hashtag2"]},{"1332270578":["hashtag1","hashtag2"]},{"1332270583":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332270573, 1332270590, 1332270593, 1332270587, 1332270578, 1332270583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.64044737815857 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:07:33.016304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/25/image_28012025_05_26_06_10358.jpg', '/home/pi/Desktop/images/28012025/05/26/image_28012025_05_26_16_10362.jpg', '/home/pi/Desktop/images/28012025/05/26/image_28012025_05_26_26_9418.jpg', '/home/pi/Desktop/images/28012025/05/26/image_28012025_05_26_36_10346.jpg', '/home/pi/Desktop/images/28012025/05/26/image_28012025_05_26_45_9387.jpg', '/home/pi/Desktop/images/28012025/05/26/image_28012025_05_26_56_10428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/25/image_28012025_05_26_06_10358.jpg
/home/pi/Desktop/images/28012025/05/26/image_28012025_05_26_16_10362.jpg
/home/pi/Desktop/images/28012025/05/26/image_28012025_05_26_26_9418.jpg
/home/pi/Desktop/images/28012025/05/26/image_28012025_05_26_36_10346.jpg
/home/pi/Desktop/images/28012025/05/26/image_28012025_05_26_45_9387.jpg
/home/pi/Desktop/images/28012025/05/26/image_28012025_05_26_56_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332271094","1332271097","1332271010","1332271007","1332271096","1332271075"],"photo_ids_order":["1332271007","1332271010","1332271075","1332271094","1332271096","1332271097"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a82d3327e5bfaf92336e15ceb100a1f4.jpg","text":"TemporaryFile(/tmp/multipartBody2615324413666741587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062514039,"filename":"image_28012025_05_26_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/1/28/86b5b634b4a7b994dff5cbc0ae83dcbc.jpg","text":"TemporaryFile(/tmp/multipartBody1617571911591949828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062514039,"filename":"image_28012025_05_26_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/1/28/e0e9d3ef5bf4989f8b91f3d5e70718dd.jpg","text":"TemporaryFile(/tmp/multipartBody7784779061803465943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062514039,"filename":"image_28012025_05_26_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/1/28/738fa96082ba577ce78313f0e1c8c2d7.jpg","text":"TemporaryFile(/tmp/multipartBody1808903346459398637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062514039,"filename":"image_28012025_05_26_06_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/65de0d17b6f96485b7bd21a04d4d7b9c.jpg","text":"TemporaryFile(/tmp/multipartBody1951593269157933831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062514039,"filename":"image_28012025_05_26_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/1/28/4057f928e9fee6b05de591577e37a198.jpg","text":"TemporaryFile(/tmp/multipartBody1161581671760205371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062514039,"filename":"image_28012025_05_26_26_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332271075","file1":"1332271010","file0":"1332271007","file4":"1332271096","file5":"1332271097","file3":"1332271094"},"map_files_photo_id_array":[{"photo_id":"1332271097","filename":"file5"},{"photo_id":"1332271075","filename":"file2"},{"photo_id":"1332271096","filename":"file4"},{"photo_id":"1332271010","filename":"file1"},{"photo_id":"1332271007","filename":"file0"},{"photo_id":"1332271094","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332271094":["hashtag1","hashtag2"]},{"1332271097":["hashtag1","hashtag2"]},{"1332271010":["hashtag1","hashtag2"]},{"1332271007":["hashtag1","hashtag2"]},{"1332271096":["hashtag1","hashtag2"]},{"1332271075":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332271094, 1332271097, 1332271010, 1332271007, 1332271096, 1332271075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.905155658721924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:08:33.140911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/26/image_28012025_05_27_06_10374.jpg', '/home/pi/Desktop/images/28012025/05/27/image_28012025_05_27_16_9579.jpg', '/home/pi/Desktop/images/28012025/05/27/image_28012025_05_27_25_9566.jpg', '/home/pi/Desktop/images/28012025/05/27/image_28012025_05_27_36_10362.jpg', '/home/pi/Desktop/images/28012025/05/27/image_28012025_05_27_46_10358.jpg', '/home/pi/Desktop/images/28012025/05/27/image_28012025_05_27_55_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/26/image_28012025_05_27_06_10374.jpg
/home/pi/Desktop/images/28012025/05/27/image_28012025_05_27_16_9579.jpg
/home/pi/Desktop/images/28012025/05/27/image_28012025_05_27_25_9566.jpg
/home/pi/Desktop/images/28012025/05/27/image_28012025_05_27_36_10362.jpg
/home/pi/Desktop/images/28012025/05/27/image_28012025_05_27_46_10358.jpg
/home/pi/Desktop/images/28012025/05/27/image_28012025_05_27_55_9433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332271160","1332271154","1332271157","1332271151","1332271139","1332271148"],"photo_ids_order":["1332271139","1332271148","1332271151","1332271154","1332271157","1332271160"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cf5d3c7a4e0089efe35c9ad93ea2b020.jpg","text":"TemporaryFile(/tmp/multipartBody2361084128458812438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062574144,"filename":"image_28012025_05_27_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/1/28/1554dcdad8f2468579e3219b6c6f0424.jpg","text":"TemporaryFile(/tmp/multipartBody8604628068295588916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062574144,"filename":"image_28012025_05_27_36_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9231e2bc1f97e28fc39bb95fd25e2ab7.jpg","text":"TemporaryFile(/tmp/multipartBody8583234269756916421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062574144,"filename":"image_28012025_05_27_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/1/28/403c03879b50863fac7bea3e310cc488.jpg","text":"TemporaryFile(/tmp/multipartBody4444498444010319479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062574144,"filename":"image_28012025_05_27_25_9566.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/05763d5d678a7812e66465862c95714c.jpg","text":"TemporaryFile(/tmp/multipartBody592494574173426714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062574144,"filename":"image_28012025_05_27_06_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/eaa570b6ed44640815fd40d0a7eb4c7d.jpg","text":"TemporaryFile(/tmp/multipartBody5861127040157638930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062574144,"filename":"image_28012025_05_27_16_9579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332271151","file1":"1332271148","file0":"1332271139","file4":"1332271157","file5":"1332271160","file3":"1332271154"},"map_files_photo_id_array":[{"photo_id":"1332271160","filename":"file5"},{"photo_id":"1332271151","filename":"file2"},{"photo_id":"1332271157","filename":"file4"},{"photo_id":"1332271148","filename":"file1"},{"photo_id":"1332271139","filename":"file0"},{"photo_id":"1332271154","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332271160":["hashtag1","hashtag2"]},{"1332271154":["hashtag1","hashtag2"]},{"1332271157":["hashtag1","hashtag2"]},{"1332271151":["hashtag1","hashtag2"]},{"1332271139":["hashtag1","hashtag2"]},{"1332271148":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332271160, 1332271154, 1332271157, 1332271151, 1332271139, 1332271148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.895867586135864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:09:32.463210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/27/image_28012025_05_28_06_10445.jpg', '/home/pi/Desktop/images/28012025/05/28/image_28012025_05_28_15_9457.jpg', '/home/pi/Desktop/images/28012025/05/28/image_28012025_05_28_26_10346.jpg', '/home/pi/Desktop/images/28012025/05/28/image_28012025_05_28_36_10356.jpg', '/home/pi/Desktop/images/28012025/05/28/image_28012025_05_28_45_9416.jpg', '/home/pi/Desktop/images/28012025/05/28/image_28012025_05_28_56_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/27/image_28012025_05_28_06_10445.jpg
/home/pi/Desktop/images/28012025/05/28/image_28012025_05_28_15_9457.jpg
/home/pi/Desktop/images/28012025/05/28/image_28012025_05_28_26_10346.jpg
/home/pi/Desktop/images/28012025/05/28/image_28012025_05_28_36_10356.jpg
/home/pi/Desktop/images/28012025/05/28/image_28012025_05_28_45_9416.jpg
/home/pi/Desktop/images/28012025/05/28/image_28012025_05_28_56_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332271265","1332271259","1332271294","1332271297","1332271269","1332271299"],"photo_ids_order":["1332271259","1332271265","1332271269","1332271294","1332271297","1332271299"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/361ba394a0ab4a73e07fd531c94f49e9.jpg","text":"TemporaryFile(/tmp/multipartBody3586987128073464865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062633464,"filename":"image_28012025_05_28_15_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/66617ba0baab69b27842dd245f95cd32.jpg","text":"TemporaryFile(/tmp/multipartBody8615384620519058346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062633464,"filename":"image_28012025_05_28_06_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6595f24ef31f58c22b09dd13e42434cb.jpg","text":"TemporaryFile(/tmp/multipartBody1783256981599598321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062633464,"filename":"image_28012025_05_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/1/28/8607d8be58888e71566bcd2acf7961dc.jpg","text":"TemporaryFile(/tmp/multipartBody6592149408522598453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062633464,"filename":"image_28012025_05_28_45_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4e20d4c8d32c00c496281273344fae76.jpg","text":"TemporaryFile(/tmp/multipartBody9123096438886662538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062633464,"filename":"image_28012025_05_28_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/1/28/17a82ae2d32c9cd6439343a377be843b.jpg","text":"TemporaryFile(/tmp/multipartBody8846824649914006575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062633464,"filename":"image_28012025_05_28_56_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332271269","file1":"1332271265","file0":"1332271259","file4":"1332271297","file5":"1332271299","file3":"1332271294"},"map_files_photo_id_array":[{"photo_id":"1332271299","filename":"file5"},{"photo_id":"1332271269","filename":"file2"},{"photo_id":"1332271297","filename":"file4"},{"photo_id":"1332271265","filename":"file1"},{"photo_id":"1332271259","filename":"file0"},{"photo_id":"1332271294","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332271265":["hashtag1","hashtag2"]},{"1332271259":["hashtag1","hashtag2"]},{"1332271294":["hashtag1","hashtag2"]},{"1332271297":["hashtag1","hashtag2"]},{"1332271269":["hashtag1","hashtag2"]},{"1332271299":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332271265, 1332271259, 1332271294, 1332271297, 1332271269, 1332271299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84173393249512 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:10:32.679366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/28/image_28012025_05_29_05_9448.jpg', '/home/pi/Desktop/images/28012025/05/29/image_28012025_05_29_16_10335.jpg', '/home/pi/Desktop/images/28012025/05/29/image_28012025_05_29_26_10347.jpg', '/home/pi/Desktop/images/28012025/05/29/image_28012025_05_29_35_9379.jpg', '/home/pi/Desktop/images/28012025/05/29/image_28012025_05_29_46_10401.jpg', '/home/pi/Desktop/images/28012025/05/29/image_28012025_05_29_56_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/28/image_28012025_05_29_05_9448.jpg
/home/pi/Desktop/images/28012025/05/29/image_28012025_05_29_16_10335.jpg
/home/pi/Desktop/images/28012025/05/29/image_28012025_05_29_26_10347.jpg
/home/pi/Desktop/images/28012025/05/29/image_28012025_05_29_35_9379.jpg
/home/pi/Desktop/images/28012025/05/29/image_28012025_05_29_46_10401.jpg
/home/pi/Desktop/images/28012025/05/29/image_28012025_05_29_56_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332271446","1332271481","1332271490","1332271325","1332271511","1332271384"],"photo_ids_order":["1332271325","1332271384","1332271446","1332271481","1332271490","1332271511"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0ba479657673092c10f9fb6373578c93.jpg","text":"TemporaryFile(/tmp/multipartBody6965943749592876920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062693730,"filename":"image_28012025_05_29_26_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/361a77598b2c28caec2eefb22703d994.jpg","text":"TemporaryFile(/tmp/multipartBody4950236055221447342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062693730,"filename":"image_28012025_05_29_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/1/28/5b7ef809c00ec77efcce17df981b99af.jpg","text":"TemporaryFile(/tmp/multipartBody1195428748955070909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062693730,"filename":"image_28012025_05_29_46_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4523455cc2d9f5ad586e948f173ed276.jpg","text":"TemporaryFile(/tmp/multipartBody8460497014821797335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062693730,"filename":"image_28012025_05_29_05_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3bb692e9cf9d82167afbbda6e1f712c2.jpg","text":"TemporaryFile(/tmp/multipartBody1095020605247721654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062693730,"filename":"image_28012025_05_29_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/1/28/1a3eb8a10ad7f1447c810656e203d05d.jpg","text":"TemporaryFile(/tmp/multipartBody5323937958633351395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062693730,"filename":"image_28012025_05_29_16_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332271446","file1":"1332271384","file0":"1332271325","file4":"1332271490","file5":"1332271511","file3":"1332271481"},"map_files_photo_id_array":[{"photo_id":"1332271511","filename":"file5"},{"photo_id":"1332271446","filename":"file2"},{"photo_id":"1332271490","filename":"file4"},{"photo_id":"1332271384","filename":"file1"},{"photo_id":"1332271325","filename":"file0"},{"photo_id":"1332271481","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332271446":["hashtag1","hashtag2"]},{"1332271481":["hashtag1","hashtag2"]},{"1332271490":["hashtag1","hashtag2"]},{"1332271325":["hashtag1","hashtag2"]},{"1332271511":["hashtag1","hashtag2"]},{"1332271384":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332271446, 1332271481, 1332271490, 1332271325, 1332271511, 1332271384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.567262411117554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:11:32.869889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/29/image_28012025_05_30_06_9422.jpg', '/home/pi/Desktop/images/28012025/05/30/image_28012025_05_30_16_10381.jpg', '/home/pi/Desktop/images/28012025/05/30/image_28012025_05_30_25_9453.jpg', '/home/pi/Desktop/images/28012025/05/30/image_28012025_05_30_36_10393.jpg', '/home/pi/Desktop/images/28012025/05/30/image_28012025_05_30_45_9588.jpg', '/home/pi/Desktop/images/28012025/05/30/image_28012025_05_31_06_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/29/image_28012025_05_30_06_9422.jpg
/home/pi/Desktop/images/28012025/05/30/image_28012025_05_30_16_10381.jpg
/home/pi/Desktop/images/28012025/05/30/image_28012025_05_30_25_9453.jpg
/home/pi/Desktop/images/28012025/05/30/image_28012025_05_30_36_10393.jpg
/home/pi/Desktop/images/28012025/05/30/image_28012025_05_30_45_9588.jpg
/home/pi/Desktop/images/28012025/05/30/image_28012025_05_31_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":["1332271568","1332271573","1332271585","1332271584","1332271578","1332271581"],"photo_ids_order":["1332271568","1332271573","1332271578","1332271581","1332271584","1332271585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fecf1b36543701e5ff5c30cf73009ef1.jpg","text":"TemporaryFile(/tmp/multipartBody963263044957510568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062753919,"filename":"image_28012025_05_30_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/1/28/f385ce5f89e7048bf891298a6cee82e1.jpg","text":"TemporaryFile(/tmp/multipartBody2368381802034369594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062753919,"filename":"image_28012025_05_30_16_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7da36f77bf2fae845fa8c073ba03f440.jpg","text":"TemporaryFile(/tmp/multipartBody8611671778884396039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062753919,"filename":"image_28012025_05_31_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/1/28/82061933cdc4acb3be213cc34e581aee.jpg","text":"TemporaryFile(/tmp/multipartBody3760928133814311215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062753919,"filename":"image_28012025_05_30_45_9588.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cc729f2f4e97c276877e87e0c873d82f.jpg","text":"TemporaryFile(/tmp/multipartBody1670982580731929400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062753919,"filename":"image_28012025_05_30_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/1/28/7d62b0503b1237a668443aaa022177aa.jpg","text":"TemporaryFile(/tmp/multipartBody5420557368253012060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062753919,"filename":"image_28012025_05_30_36_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332271578","file1":"1332271573","file0":"1332271568","file4":"1332271584","file5":"1332271585","file3":"1332271581"},"map_files_photo_id_array":[{"photo_id":"1332271585","filename":"file5"},{"photo_id":"1332271578","filename":"file2"},{"photo_id":"1332271584","filename":"file4"},{"photo_id":"1332271573","filename":"file1"},{"photo_id":"1332271568","filename":"file0"},{"photo_id":"1332271581","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332271568":["hashtag1","hashtag2"]},{"1332271573":["hashtag1","hashtag2"]},{"1332271585":["hashtag1","hashtag2"]},{"1332271584":["hashtag1","hashtag2"]},{"1332271578":["hashtag1","hashtag2"]},{"1332271581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332271568, 1332271573, 1332271585, 1332271584, 1332271578, 1332271581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.094499826431274 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:12:33.188247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/31/image_28012025_05_31_15_9383.jpg', '/home/pi/Desktop/images/28012025/05/31/image_28012025_05_31_26_10341.jpg', '/home/pi/Desktop/images/28012025/05/31/image_28012025_05_31_36_10401.jpg', '/home/pi/Desktop/images/28012025/05/31/image_28012025_05_31_46_9420.jpg', '/home/pi/Desktop/images/28012025/05/31/image_28012025_05_31_56_10346.jpg', '/home/pi/Desktop/images/28012025/05/31/image_28012025_05_32_05_9401.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/31/image_28012025_05_31_15_9383.jpg
/home/pi/Desktop/images/28012025/05/31/image_28012025_05_31_26_10341.jpg
/home/pi/Desktop/images/28012025/05/31/image_28012025_05_31_36_10401.jpg
/home/pi/Desktop/images/28012025/05/31/image_28012025_05_31_46_9420.jpg
/home/pi/Desktop/images/28012025/05/31/image_28012025_05_31_56_10346.jpg
/home/pi/Desktop/images/28012025/05/31/image_28012025_05_32_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":["1332271635","1332271638","1332271617","1332271626","1332271610","1332271639"],"photo_ids_order":["1332271610","1332271617","1332271626","1332271635","1332271638","1332271639"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9944fae3e2e4c79abfa38127a739e13b.jpg","text":"TemporaryFile(/tmp/multipartBody8835699398570681289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062814208,"filename":"image_28012025_05_31_46_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/eaba3769857fde027e0c19ccf364a0fd.jpg","text":"TemporaryFile(/tmp/multipartBody7336810255817679859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062814208,"filename":"image_28012025_05_31_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/1/28/a129dfc7be10309a1c57f332e0e17776.jpg","text":"TemporaryFile(/tmp/multipartBody3985824373860253868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062814208,"filename":"image_28012025_05_31_26_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/773fbbeb77d3efc75ec19b9ed16c3ba6.jpg","text":"TemporaryFile(/tmp/multipartBody2396987863982244031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062814208,"filename":"image_28012025_05_31_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/1/28/0334827a75975ad5b97ebc686a933bed.jpg","text":"TemporaryFile(/tmp/multipartBody8274269493013462691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062814208,"filename":"image_28012025_05_31_15_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/00c2b883ddcaa72b68d60d5657428075.jpg","text":"TemporaryFile(/tmp/multipartBody5510053489163490885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062814208,"filename":"image_28012025_05_32_05_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332271626","file1":"1332271617","file0":"1332271610","file4":"1332271638","file5":"1332271639","file3":"1332271635"},"map_files_photo_id_array":[{"photo_id":"1332271639","filename":"file5"},{"photo_id":"1332271626","filename":"file2"},{"photo_id":"1332271638","filename":"file4"},{"photo_id":"1332271617","filename":"file1"},{"photo_id":"1332271610","filename":"file0"},{"photo_id":"1332271635","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332271635":["hashtag1","hashtag2"]},{"1332271638":["hashtag1","hashtag2"]},{"1332271617":["hashtag1","hashtag2"]},{"1332271626":["hashtag1","hashtag2"]},{"1332271610":["hashtag1","hashtag2"]},{"1332271639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332271635, 1332271638, 1332271617, 1332271626, 1332271610, 1332271639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.71234631538391 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:13:32.551825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/32/image_28012025_05_32_16_10392.jpg', '/home/pi/Desktop/images/28012025/05/32/image_28012025_05_32_26_10362.jpg', '/home/pi/Desktop/images/28012025/05/32/image_28012025_05_32_46_10438.jpg', '/home/pi/Desktop/images/28012025/05/32/image_28012025_05_32_55_9455.jpg', '/home/pi/Desktop/images/28012025/05/32/image_28012025_05_33_06_10380.jpg', '/home/pi/Desktop/images/28012025/05/33/image_28012025_05_33_16_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/32/image_28012025_05_32_16_10392.jpg
/home/pi/Desktop/images/28012025/05/32/image_28012025_05_32_26_10362.jpg
/home/pi/Desktop/images/28012025/05/32/image_28012025_05_32_46_10438.jpg
/home/pi/Desktop/images/28012025/05/32/image_28012025_05_32_55_9455.jpg
/home/pi/Desktop/images/28012025/05/32/image_28012025_05_33_06_10380.jpg
/home/pi/Desktop/images/28012025/05/33/image_28012025_05_33_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":["1332271673","1332271681","1332271663","1332271677","1332271680","1332271668"],"photo_ids_order":["1332271663","1332271668","1332271673","1332271677","1332271680","1332271681"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/60130099f9965c6db9a339c58132d193.jpg","text":"TemporaryFile(/tmp/multipartBody5076617533266650663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062873568,"filename":"image_28012025_05_32_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/1/28/891084a9c7beff9a4612363f41667b35.jpg","text":"TemporaryFile(/tmp/multipartBody9203149484391012795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062873568,"filename":"image_28012025_05_33_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/1/28/d46c49be9b766c974bb74bcddd156726.jpg","text":"TemporaryFile(/tmp/multipartBody97630877716471503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062873568,"filename":"image_28012025_05_32_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/1/28/734442281428ac96cecb0c44ee9e711b.jpg","text":"TemporaryFile(/tmp/multipartBody7476110750817045656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062873568,"filename":"image_28012025_05_32_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/1/28/e239bf0544d96af03c14bc20a13a7e47.jpg","text":"TemporaryFile(/tmp/multipartBody7908589473848784896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062873568,"filename":"image_28012025_05_33_06_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/280a895188083c764ce2dbdd9033ab83.jpg","text":"TemporaryFile(/tmp/multipartBody1805229325485560597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062873568,"filename":"image_28012025_05_32_26_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332271673","file1":"1332271668","file0":"1332271663","file4":"1332271680","file5":"1332271681","file3":"1332271677"},"map_files_photo_id_array":[{"photo_id":"1332271681","filename":"file5"},{"photo_id":"1332271673","filename":"file2"},{"photo_id":"1332271680","filename":"file4"},{"photo_id":"1332271668","filename":"file1"},{"photo_id":"1332271663","filename":"file0"},{"photo_id":"1332271677","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332271673":["hashtag1","hashtag2"]},{"1332271681":["hashtag1","hashtag2"]},{"1332271663":["hashtag1","hashtag2"]},{"1332271677":["hashtag1","hashtag2"]},{"1332271680":["hashtag1","hashtag2"]},{"1332271668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332271673, 1332271681, 1332271663, 1332271677, 1332271680, 1332271668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7157244682312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:14:32.734753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/33/image_28012025_05_33_36_10380.jpg', '/home/pi/Desktop/images/28012025/05/33/image_28012025_05_33_46_10362.jpg', '/home/pi/Desktop/images/28012025/05/33/image_28012025_05_33_56_9424.jpg', '/home/pi/Desktop/images/28012025/05/33/image_28012025_05_34_06_10411.jpg', '/home/pi/Desktop/images/28012025/05/34/image_28012025_05_34_15_9387.jpg', '/home/pi/Desktop/images/28012025/05/34/image_28012025_05_34_26_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/33/image_28012025_05_33_36_10380.jpg
/home/pi/Desktop/images/28012025/05/33/image_28012025_05_33_46_10362.jpg
/home/pi/Desktop/images/28012025/05/33/image_28012025_05_33_56_9424.jpg
/home/pi/Desktop/images/28012025/05/33/image_28012025_05_34_06_10411.jpg
/home/pi/Desktop/images/28012025/05/34/image_28012025_05_34_15_9387.jpg
/home/pi/Desktop/images/28012025/05/34/image_28012025_05_34_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":["1332271710","1332271748","1332271750","1332271744","1332271738","1332271731"],"photo_ids_order":["1332271710","1332271731","1332271738","1332271744","1332271748","1332271750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b396b2e1ef69cdb9ebbad5b83d689ba2.jpg","text":"TemporaryFile(/tmp/multipartBody4804096988450269718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062933737,"filename":"image_28012025_05_33_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/1/28/bca5186b55d5cabcee7f7a3048a54d40.jpg","text":"TemporaryFile(/tmp/multipartBody1514446025905540059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062933737,"filename":"image_28012025_05_34_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/1/28/7cacb0a728cc3fab6494141ce2a5f0de.jpg","text":"TemporaryFile(/tmp/multipartBody3660014826482845317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062933737,"filename":"image_28012025_05_34_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/1/28/a22e686c37d398999c40887587a17c5e.jpg","text":"TemporaryFile(/tmp/multipartBody8048767521175761891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062933737,"filename":"image_28012025_05_34_06_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/960b0da37f9eb28d78f18e351f7437c0.jpg","text":"TemporaryFile(/tmp/multipartBody5563506660920506106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062933737,"filename":"image_28012025_05_33_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/1/28/292c40f0dff7a39243549712afad4454.jpg","text":"TemporaryFile(/tmp/multipartBody5846911160419904745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062933737,"filename":"image_28012025_05_33_46_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332271738","file1":"1332271731","file0":"1332271710","file4":"1332271748","file5":"1332271750","file3":"1332271744"},"map_files_photo_id_array":[{"photo_id":"1332271750","filename":"file5"},{"photo_id":"1332271738","filename":"file2"},{"photo_id":"1332271748","filename":"file4"},{"photo_id":"1332271731","filename":"file1"},{"photo_id":"1332271710","filename":"file0"},{"photo_id":"1332271744","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332271710":["hashtag1","hashtag2"]},{"1332271748":["hashtag1","hashtag2"]},{"1332271750":["hashtag1","hashtag2"]},{"1332271744":["hashtag1","hashtag2"]},{"1332271738":["hashtag1","hashtag2"]},{"1332271731":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332271710, 1332271748, 1332271750, 1332271744, 1332271738, 1332271731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.68105912208557 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:15:33.070028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/34/image_28012025_05_34_36_10367.jpg', '/home/pi/Desktop/images/28012025/05/34/image_28012025_05_34_45_9364.jpg', '/home/pi/Desktop/images/28012025/05/34/image_28012025_05_34_56_10351.jpg', '/home/pi/Desktop/images/28012025/05/34/image_28012025_05_35_05_9464.jpg', '/home/pi/Desktop/images/28012025/05/35/image_28012025_05_35_16_10340.jpg', '/home/pi/Desktop/images/28012025/05/35/image_28012025_05_35_26_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/34/image_28012025_05_34_36_10367.jpg
/home/pi/Desktop/images/28012025/05/34/image_28012025_05_34_45_9364.jpg
/home/pi/Desktop/images/28012025/05/34/image_28012025_05_34_56_10351.jpg
/home/pi/Desktop/images/28012025/05/34/image_28012025_05_35_05_9464.jpg
/home/pi/Desktop/images/28012025/05/35/image_28012025_05_35_16_10340.jpg
/home/pi/Desktop/images/28012025/05/35/image_28012025_05_35_26_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332271778","1332271783","1332271792","1332271795","1332271788","1332271773"],"photo_ids_order":["1332271773","1332271778","1332271783","1332271788","1332271792","1332271795"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d9a6efb1d18a986d0ee7da5fecc3acba.jpg","text":"TemporaryFile(/tmp/multipartBody8200025830819340698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062994104,"filename":"image_28012025_05_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/1/28/e939b725c1b3c1fd10d974b937d0a1e2.jpg","text":"TemporaryFile(/tmp/multipartBody1647896296730060098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062994104,"filename":"image_28012025_05_34_56_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/143296cc5f80b57d204743283be5493e.jpg","text":"TemporaryFile(/tmp/multipartBody4085233329465549474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062994104,"filename":"image_28012025_05_35_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/1/28/03db0977c6eaa07e594590ab878d3154.jpg","text":"TemporaryFile(/tmp/multipartBody5126106842882846939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062994104,"filename":"image_28012025_05_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/1/28/1a5785ff423a0698bd9625487a2784e9.jpg","text":"TemporaryFile(/tmp/multipartBody5285545366781272762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062994104,"filename":"image_28012025_05_35_05_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ea2fb629e156e63747d19dab1d6911c4.jpg","text":"TemporaryFile(/tmp/multipartBody6233850126942816196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738062994104,"filename":"image_28012025_05_34_36_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332271783","file1":"1332271778","file0":"1332271773","file4":"1332271792","file5":"1332271795","file3":"1332271788"},"map_files_photo_id_array":[{"photo_id":"1332271795","filename":"file5"},{"photo_id":"1332271783","filename":"file2"},{"photo_id":"1332271792","filename":"file4"},{"photo_id":"1332271778","filename":"file1"},{"photo_id":"1332271773","filename":"file0"},{"photo_id":"1332271788","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332271778":["hashtag1","hashtag2"]},{"1332271783":["hashtag1","hashtag2"]},{"1332271792":["hashtag1","hashtag2"]},{"1332271795":["hashtag1","hashtag2"]},{"1332271788":["hashtag1","hashtag2"]},{"1332271773":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332271778, 1332271783, 1332271792, 1332271795, 1332271788, 1332271773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.813682317733765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:16:33.198654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/35/image_28012025_05_35_35_9353.jpg', '/home/pi/Desktop/images/28012025/05/35/image_28012025_05_35_46_10352.jpg', '/home/pi/Desktop/images/28012025/05/35/image_28012025_05_35_56_10361.jpg', '/home/pi/Desktop/images/28012025/05/35/image_28012025_05_36_05_9344.jpg', '/home/pi/Desktop/images/28012025/05/36/image_28012025_05_36_16_10341.jpg', '/home/pi/Desktop/images/28012025/05/36/image_28012025_05_36_26_10439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/35/image_28012025_05_35_35_9353.jpg
/home/pi/Desktop/images/28012025/05/35/image_28012025_05_35_46_10352.jpg
/home/pi/Desktop/images/28012025/05/35/image_28012025_05_35_56_10361.jpg
/home/pi/Desktop/images/28012025/05/35/image_28012025_05_36_05_9344.jpg
/home/pi/Desktop/images/28012025/05/36/image_28012025_05_36_16_10341.jpg
/home/pi/Desktop/images/28012025/05/36/image_28012025_05_36_26_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":["1332271907","1332271897","1332271888","1332271893","1332271900","1332271884"],"photo_ids_order":["1332271884","1332271888","1332271893","1332271897","1332271900","1332271907"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b828a0507db986db750be905052c32f7.jpg","text":"TemporaryFile(/tmp/multipartBody5945031491630194921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063054219,"filename":"image_28012025_05_36_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/1/28/881d449764225efa2c11e52a6ca9dbf6.jpg","text":"TemporaryFile(/tmp/multipartBody143198063825024755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063054219,"filename":"image_28012025_05_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/1/28/b38618645a5885ff666ae4991a67ea2b.jpg","text":"TemporaryFile(/tmp/multipartBody6259682009437361944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063054219,"filename":"image_28012025_05_35_46_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dcac1aa4f153bd85bc8d0ea859aa075d.jpg","text":"TemporaryFile(/tmp/multipartBody4235048781253243276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063054219,"filename":"image_28012025_05_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/1/28/33558770cce72f4473cd9561e2a76944.jpg","text":"TemporaryFile(/tmp/multipartBody3603732231556962209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063054219,"filename":"image_28012025_05_36_16_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/686bdb0433b27f3a3cb2a2f78fde469f.jpg","text":"TemporaryFile(/tmp/multipartBody7299750741108456815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063054219,"filename":"image_28012025_05_35_35_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332271893","file1":"1332271888","file0":"1332271884","file4":"1332271900","file5":"1332271907","file3":"1332271897"},"map_files_photo_id_array":[{"photo_id":"1332271907","filename":"file5"},{"photo_id":"1332271893","filename":"file2"},{"photo_id":"1332271900","filename":"file4"},{"photo_id":"1332271888","filename":"file1"},{"photo_id":"1332271884","filename":"file0"},{"photo_id":"1332271897","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332271907":["hashtag1","hashtag2"]},{"1332271897":["hashtag1","hashtag2"]},{"1332271888":["hashtag1","hashtag2"]},{"1332271893":["hashtag1","hashtag2"]},{"1332271900":["hashtag1","hashtag2"]},{"1332271884":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332271907, 1332271897, 1332271888, 1332271893, 1332271900, 1332271884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.872939348220825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:17:32.351545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/36/image_28012025_05_36_36_9345.jpg', '/home/pi/Desktop/images/28012025/05/36/image_28012025_05_36_46_10335.jpg', '/home/pi/Desktop/images/28012025/05/36/image_28012025_05_37_06_10371.jpg', '/home/pi/Desktop/images/28012025/05/37/image_28012025_05_37_16_10419.jpg', '/home/pi/Desktop/images/28012025/05/37/image_28012025_05_37_26_9356.jpg', '/home/pi/Desktop/images/28012025/05/37/image_28012025_05_37_36_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/36/image_28012025_05_36_36_9345.jpg
/home/pi/Desktop/images/28012025/05/36/image_28012025_05_36_46_10335.jpg
/home/pi/Desktop/images/28012025/05/36/image_28012025_05_37_06_10371.jpg
/home/pi/Desktop/images/28012025/05/37/image_28012025_05_37_16_10419.jpg
/home/pi/Desktop/images/28012025/05/37/image_28012025_05_37_26_9356.jpg
/home/pi/Desktop/images/28012025/05/37/image_28012025_05_37_36_10377.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6155178546905518 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 12:17:42.383403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/36/image_28012025_05_36_36_9345.jpg', '/home/pi/Desktop/images/28012025/05/36/image_28012025_05_36_46_10335.jpg', '/home/pi/Desktop/images/28012025/05/36/image_28012025_05_37_06_10371.jpg', '/home/pi/Desktop/images/28012025/05/37/image_28012025_05_37_16_10419.jpg', '/home/pi/Desktop/images/28012025/05/37/image_28012025_05_37_26_9356.jpg', '/home/pi/Desktop/images/28012025/05/37/image_28012025_05_37_36_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/36/image_28012025_05_36_36_9345.jpg
/home/pi/Desktop/images/28012025/05/36/image_28012025_05_36_46_10335.jpg
/home/pi/Desktop/images/28012025/05/36/image_28012025_05_37_06_10371.jpg
/home/pi/Desktop/images/28012025/05/37/image_28012025_05_37_16_10419.jpg
/home/pi/Desktop/images/28012025/05/37/image_28012025_05_37_26_9356.jpg
/home/pi/Desktop/images/28012025/05/37/image_28012025_05_37_36_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332272084","1332272129","1332272117","1332272125","1332272037","1332271956"],"photo_ids_order":["1332271956","1332272037","1332272084","1332272117","1332272125","1332272129"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9d39785e94dfb38a672612ae882570c2.jpg","text":"TemporaryFile(/tmp/multipartBody2239491279292284213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063123305,"filename":"image_28012025_05_37_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/1/28/90ce02984f9cfc7126f5a485983f4f96.jpg","text":"TemporaryFile(/tmp/multipartBody960949540954749053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063123305,"filename":"image_28012025_05_37_36_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a669022a6c7bc85a2b76d601561e8328.jpg","text":"TemporaryFile(/tmp/multipartBody1107015726884126870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063123305,"filename":"image_28012025_05_37_16_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f94e211fe531d9eaf7f288649370f19c.jpg","text":"TemporaryFile(/tmp/multipartBody4462955204778582034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063123305,"filename":"image_28012025_05_37_26_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9c0979ed7f489a2fa01592ae45694d9a.jpg","text":"TemporaryFile(/tmp/multipartBody4077147762469603372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063123305,"filename":"image_28012025_05_36_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/1/28/3d6bb584cdd7abd3627f3b9ae2da3d6f.jpg","text":"TemporaryFile(/tmp/multipartBody2295933122488158289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063123305,"filename":"image_28012025_05_36_36_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332272084","file1":"1332272037","file0":"1332271956","file4":"1332272125","file5":"1332272129","file3":"1332272117"},"map_files_photo_id_array":[{"photo_id":"1332272129","filename":"file5"},{"photo_id":"1332272084","filename":"file2"},{"photo_id":"1332272125","filename":"file4"},{"photo_id":"1332272037","filename":"file1"},{"photo_id":"1332271956","filename":"file0"},{"photo_id":"1332272117","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332272084":["hashtag1","hashtag2"]},{"1332272129":["hashtag1","hashtag2"]},{"1332272117":["hashtag1","hashtag2"]},{"1332272125":["hashtag1","hashtag2"]},{"1332272037":["hashtag1","hashtag2"]},{"1332271956":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332272084, 1332272129, 1332272117, 1332272125, 1332272037, 1332271956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.9237539768219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:18:32.497575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/37/image_28012025_05_37_45_9432.jpg', '/home/pi/Desktop/images/28012025/05/37/image_28012025_05_37_56_10356.jpg', '/home/pi/Desktop/images/28012025/05/37/image_28012025_05_38_06_10361.jpg', '/home/pi/Desktop/images/28012025/05/38/image_28012025_05_38_15_9436.jpg', '/home/pi/Desktop/images/28012025/05/38/image_28012025_05_38_26_10365.jpg', '/home/pi/Desktop/images/28012025/05/38/image_28012025_05_38_35_9458.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/37/image_28012025_05_37_45_9432.jpg
/home/pi/Desktop/images/28012025/05/37/image_28012025_05_37_56_10356.jpg
/home/pi/Desktop/images/28012025/05/37/image_28012025_05_38_06_10361.jpg
/home/pi/Desktop/images/28012025/05/38/image_28012025_05_38_15_9436.jpg
/home/pi/Desktop/images/28012025/05/38/image_28012025_05_38_26_10365.jpg
/home/pi/Desktop/images/28012025/05/38/image_28012025_05_38_35_9458.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332272180","1332272162","1332272156","1332272237","1332272207","1332272152"],"photo_ids_order":["1332272152","1332272156","1332272162","1332272180","1332272207","1332272237"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4c365f5de419242b0a4f6a773dde722d.jpg","text":"TemporaryFile(/tmp/multipartBody7816909287243590121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063173506,"filename":"image_28012025_05_38_15_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8a67d7704cf72d8193180c901f56aa57.jpg","text":"TemporaryFile(/tmp/multipartBody6369797197752011207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063173506,"filename":"image_28012025_05_38_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/1/28/687a6069d209933a32dde01ccb4f7f95.jpg","text":"TemporaryFile(/tmp/multipartBody7916640160570873246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063173506,"filename":"image_28012025_05_37_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2f06593ed68917495a05ac948e8cc8fa.jpg","text":"TemporaryFile(/tmp/multipartBody4273527303886629053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063173506,"filename":"image_28012025_05_38_35_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a39875611feb5d81261ee69ac4ccc71c.jpg","text":"TemporaryFile(/tmp/multipartBody1633828834457071191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063173506,"filename":"image_28012025_05_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/1/28/b5ecb45208d74ac6abbd305c6b7a7f36.jpg","text":"TemporaryFile(/tmp/multipartBody6784282232034073017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063173506,"filename":"image_28012025_05_37_45_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332272162","file1":"1332272156","file0":"1332272152","file4":"1332272207","file5":"1332272237","file3":"1332272180"},"map_files_photo_id_array":[{"photo_id":"1332272237","filename":"file5"},{"photo_id":"1332272162","filename":"file2"},{"photo_id":"1332272207","filename":"file4"},{"photo_id":"1332272156","filename":"file1"},{"photo_id":"1332272152","filename":"file0"},{"photo_id":"1332272180","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332272180":["hashtag1","hashtag2"]},{"1332272162":["hashtag1","hashtag2"]},{"1332272156":["hashtag1","hashtag2"]},{"1332272237":["hashtag1","hashtag2"]},{"1332272207":["hashtag1","hashtag2"]},{"1332272152":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332272180, 1332272162, 1332272156, 1332272237, 1332272207, 1332272152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.70511984825134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:19:32.767110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/38/image_28012025_05_38_46_10353.jpg', '/home/pi/Desktop/images/28012025/05/38/image_28012025_05_38_56_10455.jpg', '/home/pi/Desktop/images/28012025/05/38/image_28012025_05_39_06_9403.jpg', '/home/pi/Desktop/images/28012025/05/39/image_28012025_05_39_16_10342.jpg', '/home/pi/Desktop/images/28012025/05/39/image_28012025_05_39_25_9472.jpg', '/home/pi/Desktop/images/28012025/05/39/image_28012025_05_39_36_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/38/image_28012025_05_38_46_10353.jpg
/home/pi/Desktop/images/28012025/05/38/image_28012025_05_38_56_10455.jpg
/home/pi/Desktop/images/28012025/05/38/image_28012025_05_39_06_9403.jpg
/home/pi/Desktop/images/28012025/05/39/image_28012025_05_39_16_10342.jpg
/home/pi/Desktop/images/28012025/05/39/image_28012025_05_39_25_9472.jpg
/home/pi/Desktop/images/28012025/05/39/image_28012025_05_39_36_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332272264","1332272309","1332272260","1332272311","1332272268","1332272349"],"photo_ids_order":["1332272260","1332272264","1332272268","1332272309","1332272311","1332272349"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/416940ad96c016aa229b69fc95117786.jpg","text":"TemporaryFile(/tmp/multipartBody3977124279251961027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063233791,"filename":"image_28012025_05_38_56_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6b6e579841c25eed77f201b4ccb1b1e9.jpg","text":"TemporaryFile(/tmp/multipartBody7955762407545110593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063233791,"filename":"image_28012025_05_39_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/1/28/f369e0fb433dcaedd2d60f2adaf1b3db.jpg","text":"TemporaryFile(/tmp/multipartBody6821223239140791004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063233791,"filename":"image_28012025_05_38_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/1/28/21904f039fa1a75750bb7230c2aecd95.jpg","text":"TemporaryFile(/tmp/multipartBody3183586659992218234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063233791,"filename":"image_28012025_05_39_25_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7251d235489cfd5d6f672195aaf301ac.jpg","text":"TemporaryFile(/tmp/multipartBody7079816464281683833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063233791,"filename":"image_28012025_05_39_06_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/437b1ca95f84f8de8bb2a8982642d042.jpg","text":"TemporaryFile(/tmp/multipartBody2070611168399082542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063233791,"filename":"image_28012025_05_39_36_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332272268","file1":"1332272264","file0":"1332272260","file4":"1332272311","file5":"1332272349","file3":"1332272309"},"map_files_photo_id_array":[{"photo_id":"1332272349","filename":"file5"},{"photo_id":"1332272268","filename":"file2"},{"photo_id":"1332272311","filename":"file4"},{"photo_id":"1332272264","filename":"file1"},{"photo_id":"1332272260","filename":"file0"},{"photo_id":"1332272309","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332272264":["hashtag1","hashtag2"]},{"1332272309":["hashtag1","hashtag2"]},{"1332272260":["hashtag1","hashtag2"]},{"1332272311":["hashtag1","hashtag2"]},{"1332272268":["hashtag1","hashtag2"]},{"1332272349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332272264, 1332272309, 1332272260, 1332272311, 1332272268, 1332272349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.21615719795227 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:20:33.150825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/39/image_28012025_05_39_46_10366.jpg', '/home/pi/Desktop/images/28012025/05/39/image_28012025_05_39_55_9431.jpg', '/home/pi/Desktop/images/28012025/05/39/image_28012025_05_40_06_10341.jpg', '/home/pi/Desktop/images/28012025/05/40/image_28012025_05_40_15_9452.jpg', '/home/pi/Desktop/images/28012025/05/40/image_28012025_05_40_26_10457.jpg', '/home/pi/Desktop/images/28012025/05/40/image_28012025_05_40_36_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/39/image_28012025_05_39_46_10366.jpg
/home/pi/Desktop/images/28012025/05/39/image_28012025_05_39_55_9431.jpg
/home/pi/Desktop/images/28012025/05/39/image_28012025_05_40_06_10341.jpg
/home/pi/Desktop/images/28012025/05/40/image_28012025_05_40_15_9452.jpg
/home/pi/Desktop/images/28012025/05/40/image_28012025_05_40_26_10457.jpg
/home/pi/Desktop/images/28012025/05/40/image_28012025_05_40_36_10353.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5922234058380127 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 12:20:43.164436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/39/image_28012025_05_39_46_10366.jpg', '/home/pi/Desktop/images/28012025/05/39/image_28012025_05_39_55_9431.jpg', '/home/pi/Desktop/images/28012025/05/39/image_28012025_05_40_06_10341.jpg', '/home/pi/Desktop/images/28012025/05/40/image_28012025_05_40_15_9452.jpg', '/home/pi/Desktop/images/28012025/05/40/image_28012025_05_40_26_10457.jpg', '/home/pi/Desktop/images/28012025/05/40/image_28012025_05_40_36_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/39/image_28012025_05_39_46_10366.jpg
/home/pi/Desktop/images/28012025/05/39/image_28012025_05_39_55_9431.jpg
/home/pi/Desktop/images/28012025/05/39/image_28012025_05_40_06_10341.jpg
/home/pi/Desktop/images/28012025/05/40/image_28012025_05_40_15_9452.jpg
/home/pi/Desktop/images/28012025/05/40/image_28012025_05_40_26_10457.jpg
/home/pi/Desktop/images/28012025/05/40/image_28012025_05_40_36_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332273181","1332273118","1332273112","1332273171","1332273156","1332273182"],"photo_ids_order":["1332273112","1332273118","1332273156","1332273171","1332273181","1332273182"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/30bfd76a9a634b15e971b6402d6bfed8.jpg","text":"TemporaryFile(/tmp/multipartBody8881252627139212642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063304086,"filename":"image_28012025_05_40_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/1/28/27105358d576d337fc920bc3083d5ee5.jpg","text":"TemporaryFile(/tmp/multipartBody5314195646295604900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063304086,"filename":"image_28012025_05_39_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/1/28/fbebc5a2beb51b85c55e12af3c592909.jpg","text":"TemporaryFile(/tmp/multipartBody5968468073214275802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063304086,"filename":"image_28012025_05_39_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/1/28/534ec781536000adb03b0fc74ccbfe4d.jpg","text":"TemporaryFile(/tmp/multipartBody1448734672220896346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063304086,"filename":"image_28012025_05_40_15_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/619a62d02bc1bd4400f5a9ebeda1ab51.jpg","text":"TemporaryFile(/tmp/multipartBody4045448675147556485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063304086,"filename":"image_28012025_05_40_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/1/28/ee543fc5c28aa32fc5f44d7bf7d04491.jpg","text":"TemporaryFile(/tmp/multipartBody6096672110265845245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063304086,"filename":"image_28012025_05_40_36_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332273156","file1":"1332273118","file0":"1332273112","file4":"1332273181","file5":"1332273182","file3":"1332273171"},"map_files_photo_id_array":[{"photo_id":"1332273182","filename":"file5"},{"photo_id":"1332273156","filename":"file2"},{"photo_id":"1332273181","filename":"file4"},{"photo_id":"1332273118","filename":"file1"},{"photo_id":"1332273112","filename":"file0"},{"photo_id":"1332273171","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332273181":["hashtag1","hashtag2"]},{"1332273118":["hashtag1","hashtag2"]},{"1332273112":["hashtag1","hashtag2"]},{"1332273171":["hashtag1","hashtag2"]},{"1332273156":["hashtag1","hashtag2"]},{"1332273182":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332273181, 1332273118, 1332273112, 1332273171, 1332273156, 1332273182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03610348701477 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:21:32.388285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/40/image_28012025_05_40_46_9486.jpg', '/home/pi/Desktop/images/28012025/05/40/image_28012025_05_40_56_10351.jpg', '/home/pi/Desktop/images/28012025/05/40/image_28012025_05_41_05_9413.jpg', '/home/pi/Desktop/images/28012025/05/41/image_28012025_05_41_16_10349.jpg', '/home/pi/Desktop/images/28012025/05/41/image_28012025_05_41_26_10368.jpg', '/home/pi/Desktop/images/28012025/05/41/image_28012025_05_41_35_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/40/image_28012025_05_40_46_9486.jpg
/home/pi/Desktop/images/28012025/05/40/image_28012025_05_40_56_10351.jpg
/home/pi/Desktop/images/28012025/05/40/image_28012025_05_41_05_9413.jpg
/home/pi/Desktop/images/28012025/05/41/image_28012025_05_41_16_10349.jpg
/home/pi/Desktop/images/28012025/05/41/image_28012025_05_41_26_10368.jpg
/home/pi/Desktop/images/28012025/05/41/image_28012025_05_41_35_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332273265","1332273274","1332273253","1332273276","1332273270","1332273260"],"photo_ids_order":["1332273253","1332273260","1332273265","1332273270","1332273274","1332273276"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a097231eb79a8544ac788f6372919d9b.jpg","text":"TemporaryFile(/tmp/multipartBody6916198676712670921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063353428,"filename":"image_28012025_05_41_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/1/28/b2fe5d3b354f23a7dd7007d63dbaa58d.jpg","text":"TemporaryFile(/tmp/multipartBody9073574959681483063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063353428,"filename":"image_28012025_05_41_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/1/28/c9f447ed3d6391b0852dd0700ea5ab8f.jpg","text":"TemporaryFile(/tmp/multipartBody6592117887731119060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063353428,"filename":"image_28012025_05_40_46_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f36868918634671bdd02c951d11b6d04.jpg","text":"TemporaryFile(/tmp/multipartBody8560794806489206238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063353428,"filename":"image_28012025_05_41_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/1/28/b051b526b984526b7f24a888abfc0f0b.jpg","text":"TemporaryFile(/tmp/multipartBody571248327648032765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063353428,"filename":"image_28012025_05_41_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/1/28/de9b888eb5b93b3e214a99959a0ab2ee.jpg","text":"TemporaryFile(/tmp/multipartBody7321819382438609870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063353428,"filename":"image_28012025_05_40_56_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332273265","file1":"1332273260","file0":"1332273253","file4":"1332273274","file5":"1332273276","file3":"1332273270"},"map_files_photo_id_array":[{"photo_id":"1332273276","filename":"file5"},{"photo_id":"1332273265","filename":"file2"},{"photo_id":"1332273274","filename":"file4"},{"photo_id":"1332273260","filename":"file1"},{"photo_id":"1332273253","filename":"file0"},{"photo_id":"1332273270","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332273265":["hashtag1","hashtag2"]},{"1332273274":["hashtag1","hashtag2"]},{"1332273253":["hashtag1","hashtag2"]},{"1332273276":["hashtag1","hashtag2"]},{"1332273270":["hashtag1","hashtag2"]},{"1332273260":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332273265, 1332273274, 1332273253, 1332273276, 1332273270, 1332273260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00085139274597 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:22:32.588155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/41/image_28012025_05_41_46_10373.jpg', '/home/pi/Desktop/images/28012025/05/41/image_28012025_05_41_56_10343.jpg', '/home/pi/Desktop/images/28012025/05/41/image_28012025_05_42_05_9351.jpg', '/home/pi/Desktop/images/28012025/05/42/image_28012025_05_42_16_10364.jpg', '/home/pi/Desktop/images/28012025/05/42/image_28012025_05_42_25_9475.jpg', '/home/pi/Desktop/images/28012025/05/42/image_28012025_05_42_36_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/41/image_28012025_05_41_46_10373.jpg
/home/pi/Desktop/images/28012025/05/41/image_28012025_05_41_56_10343.jpg
/home/pi/Desktop/images/28012025/05/41/image_28012025_05_42_05_9351.jpg
/home/pi/Desktop/images/28012025/05/42/image_28012025_05_42_16_10364.jpg
/home/pi/Desktop/images/28012025/05/42/image_28012025_05_42_25_9475.jpg
/home/pi/Desktop/images/28012025/05/42/image_28012025_05_42_36_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":["1332274333","1332274009","1332274458","1332273768","1332274215","1332273900"],"photo_ids_order":["1332273768","1332273900","1332274009","1332274215","1332274333","1332274458"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/43a5d8cb893a47178dbf072f1cda7600.jpg","text":"TemporaryFile(/tmp/multipartBody6486420471685146497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063413615,"filename":"image_28012025_05_42_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/1/28/65debf59357cdd47cd04604d1252af1a.jpg","text":"TemporaryFile(/tmp/multipartBody5127269023435740321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063413615,"filename":"image_28012025_05_42_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/1/28/02abd4247e330b4430058ec2202c4c6e.jpg","text":"TemporaryFile(/tmp/multipartBody3786409951109686109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063413615,"filename":"image_28012025_05_42_36_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cf3fc19a532b22819a5ac6979aa987a0.jpg","text":"TemporaryFile(/tmp/multipartBody7402261141996562250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063413615,"filename":"image_28012025_05_41_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/1/28/80666f049e40b3925edf9bbaa5cf3362.jpg","text":"TemporaryFile(/tmp/multipartBody2035695739460701095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063413615,"filename":"image_28012025_05_42_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/1/28/71cd42c0432871282461e4418479005b.jpg","text":"TemporaryFile(/tmp/multipartBody809085804988434661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063413615,"filename":"image_28012025_05_41_56_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332274009","file1":"1332273900","file0":"1332273768","file4":"1332274333","file5":"1332274458","file3":"1332274215"},"map_files_photo_id_array":[{"photo_id":"1332274458","filename":"file5"},{"photo_id":"1332274009","filename":"file2"},{"photo_id":"1332274333","filename":"file4"},{"photo_id":"1332273900","filename":"file1"},{"photo_id":"1332273768","filename":"file0"},{"photo_id":"1332274215","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332274333":["hashtag1","hashtag2"]},{"1332274009":["hashtag1","hashtag2"]},{"1332274458":["hashtag1","hashtag2"]},{"1332273768":["hashtag1","hashtag2"]},{"1332274215":["hashtag1","hashtag2"]},{"1332273900":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332274333, 1332274009, 1332274458, 1332273768, 1332274215, 1332273900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.666532039642334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:23:32.821431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/42/image_28012025_05_42_46_10358.jpg', '/home/pi/Desktop/images/28012025/05/42/image_28012025_05_42_55_9358.jpg', '/home/pi/Desktop/images/28012025/05/42/image_28012025_05_43_06_10347.jpg', '/home/pi/Desktop/images/28012025/05/43/image_28012025_05_43_16_10350.jpg', '/home/pi/Desktop/images/28012025/05/43/image_28012025_05_43_26_9419.jpg', '/home/pi/Desktop/images/28012025/05/43/image_28012025_05_43_36_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/42/image_28012025_05_42_46_10358.jpg
/home/pi/Desktop/images/28012025/05/42/image_28012025_05_42_55_9358.jpg
/home/pi/Desktop/images/28012025/05/42/image_28012025_05_43_06_10347.jpg
/home/pi/Desktop/images/28012025/05/43/image_28012025_05_43_16_10350.jpg
/home/pi/Desktop/images/28012025/05/43/image_28012025_05_43_26_9419.jpg
/home/pi/Desktop/images/28012025/05/43/image_28012025_05_43_36_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":["1332274610","1332274594","1332274606","1332274613","1332274616","1332274601"],"photo_ids_order":["1332274594","1332274601","1332274606","1332274610","1332274613","1332274616"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ece8e7061990176ee3800216cc2a2040.jpg","text":"TemporaryFile(/tmp/multipartBody7325445662621684357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063473826,"filename":"image_28012025_05_43_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/1/28/116fd44d4d02b198081ab1ed6c49a5e4.jpg","text":"TemporaryFile(/tmp/multipartBody116611287768215520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063473826,"filename":"image_28012025_05_42_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/1/28/55d1af5df36d1841c34981d3e4aca47f.jpg","text":"TemporaryFile(/tmp/multipartBody9170988612243857522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063473826,"filename":"image_28012025_05_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/1/28/0f469aef70098cc4ece466b4e27f2050.jpg","text":"TemporaryFile(/tmp/multipartBody1532901751064044578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063473826,"filename":"image_28012025_05_43_26_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6c31de7498b2fedc4d10ddc348552ce0.jpg","text":"TemporaryFile(/tmp/multipartBody177424495296824948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063473826,"filename":"image_28012025_05_43_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/1/28/c01b67e869953dedb304c75f52546cec.jpg","text":"TemporaryFile(/tmp/multipartBody5103131795833586849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063473826,"filename":"image_28012025_05_42_55_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332274606","file1":"1332274601","file0":"1332274594","file4":"1332274613","file5":"1332274616","file3":"1332274610"},"map_files_photo_id_array":[{"photo_id":"1332274616","filename":"file5"},{"photo_id":"1332274606","filename":"file2"},{"photo_id":"1332274613","filename":"file4"},{"photo_id":"1332274601","filename":"file1"},{"photo_id":"1332274594","filename":"file0"},{"photo_id":"1332274610","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332274610":["hashtag1","hashtag2"]},{"1332274594":["hashtag1","hashtag2"]},{"1332274606":["hashtag1","hashtag2"]},{"1332274613":["hashtag1","hashtag2"]},{"1332274616":["hashtag1","hashtag2"]},{"1332274601":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332274610, 1332274594, 1332274606, 1332274613, 1332274616, 1332274601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.32103896141052 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:24:32.921605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/43/image_28012025_05_43_45_9408.jpg', '/home/pi/Desktop/images/28012025/05/43/image_28012025_05_43_56_10360.jpg', '/home/pi/Desktop/images/28012025/05/43/image_28012025_05_44_06_10351.jpg', '/home/pi/Desktop/images/28012025/05/44/image_28012025_05_44_15_9381.jpg', '/home/pi/Desktop/images/28012025/05/44/image_28012025_05_44_26_10358.jpg', '/home/pi/Desktop/images/28012025/05/44/image_28012025_05_44_46_9424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/43/image_28012025_05_43_45_9408.jpg
/home/pi/Desktop/images/28012025/05/43/image_28012025_05_43_56_10360.jpg
/home/pi/Desktop/images/28012025/05/43/image_28012025_05_44_06_10351.jpg
/home/pi/Desktop/images/28012025/05/44/image_28012025_05_44_15_9381.jpg
/home/pi/Desktop/images/28012025/05/44/image_28012025_05_44_26_10358.jpg
/home/pi/Desktop/images/28012025/05/44/image_28012025_05_44_46_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":["1332275032","1332274990","1332275008","1332274939","1332274960","1332275018"],"photo_ids_order":["1332274939","1332274960","1332274990","1332275008","1332275018","1332275032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4f9e2c3bb97dc77a2920cf4b9f6a4e5d.jpg","text":"TemporaryFile(/tmp/multipartBody2023425363667103211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063533919,"filename":"image_28012025_05_44_46_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ea786b04a3a4840e0f6a091018beedce.jpg","text":"TemporaryFile(/tmp/multipartBody48732300487635051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063533919,"filename":"image_28012025_05_44_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/1/28/885e2017487d90467392e52d2d367616.jpg","text":"TemporaryFile(/tmp/multipartBody4496477740015537739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063533919,"filename":"image_28012025_05_44_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/1/28/e8f02117b3f175a51bd3cc8bd5e1fe08.jpg","text":"TemporaryFile(/tmp/multipartBody1801155718009930541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063533919,"filename":"image_28012025_05_43_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/1/28/7321d37b227b569a60584b876f112719.jpg","text":"TemporaryFile(/tmp/multipartBody6118259532931206297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063533919,"filename":"image_28012025_05_43_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/1/28/3157ee69fbfe932b42fdcb9799462c86.jpg","text":"TemporaryFile(/tmp/multipartBody7319845667083110331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063533919,"filename":"image_28012025_05_44_26_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332274990","file1":"1332274960","file0":"1332274939","file4":"1332275018","file5":"1332275032","file3":"1332275008"},"map_files_photo_id_array":[{"photo_id":"1332275032","filename":"file5"},{"photo_id":"1332274990","filename":"file2"},{"photo_id":"1332275018","filename":"file4"},{"photo_id":"1332274960","filename":"file1"},{"photo_id":"1332274939","filename":"file0"},{"photo_id":"1332275008","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332275032":["hashtag1","hashtag2"]},{"1332274990":["hashtag1","hashtag2"]},{"1332275008":["hashtag1","hashtag2"]},{"1332274939":["hashtag1","hashtag2"]},{"1332274960":["hashtag1","hashtag2"]},{"1332275018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332275032, 1332274990, 1332275008, 1332274939, 1332274960, 1332275018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.04364371299744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:25:33.213835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/44/image_28012025_05_44_56_10369.jpg', '/home/pi/Desktop/images/28012025/05/44/image_28012025_05_45_05_9500.jpg', '/home/pi/Desktop/images/28012025/05/45/image_28012025_05_45_16_10442.jpg', '/home/pi/Desktop/images/28012025/05/45/image_28012025_05_45_25_9478.jpg', '/home/pi/Desktop/images/28012025/05/45/image_28012025_05_45_36_10345.jpg', '/home/pi/Desktop/images/28012025/05/45/image_28012025_05_45_46_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/44/image_28012025_05_44_56_10369.jpg
/home/pi/Desktop/images/28012025/05/44/image_28012025_05_45_05_9500.jpg
/home/pi/Desktop/images/28012025/05/45/image_28012025_05_45_16_10442.jpg
/home/pi/Desktop/images/28012025/05/45/image_28012025_05_45_25_9478.jpg
/home/pi/Desktop/images/28012025/05/45/image_28012025_05_45_36_10345.jpg
/home/pi/Desktop/images/28012025/05/45/image_28012025_05_45_46_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332275344","1332275347","1332275294","1332275351","1332275162","1332275353"],"photo_ids_order":["1332275162","1332275294","1332275344","1332275347","1332275351","1332275353"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/67d40c97237f28d1610718852f22d916.jpg","text":"TemporaryFile(/tmp/multipartBody5485734753225990267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063594231,"filename":"image_28012025_05_45_16_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/29e497378d90f104fcc8ddcac068c390.jpg","text":"TemporaryFile(/tmp/multipartBody3201801399402458740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063594231,"filename":"image_28012025_05_45_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/1/28/911a719ff1a80c340da04d736642ff5a.jpg","text":"TemporaryFile(/tmp/multipartBody1221801145120623360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063594231,"filename":"image_28012025_05_45_05_9500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bffdd2c0cea3acb60d2d25c391dcf150.jpg","text":"TemporaryFile(/tmp/multipartBody7100886328282051620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063594231,"filename":"image_28012025_05_45_36_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/52c1c108b34a6236965e236824c6437a.jpg","text":"TemporaryFile(/tmp/multipartBody4648582345236230413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063594231,"filename":"image_28012025_05_44_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/1/28/d0d768cf35bfe655b06d8158fc5cd7d9.jpg","text":"TemporaryFile(/tmp/multipartBody8448364964080053478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063594231,"filename":"image_28012025_05_45_46_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332275344","file1":"1332275294","file0":"1332275162","file4":"1332275351","file5":"1332275353","file3":"1332275347"},"map_files_photo_id_array":[{"photo_id":"1332275353","filename":"file5"},{"photo_id":"1332275344","filename":"file2"},{"photo_id":"1332275351","filename":"file4"},{"photo_id":"1332275294","filename":"file1"},{"photo_id":"1332275162","filename":"file0"},{"photo_id":"1332275347","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332275344":["hashtag1","hashtag2"]},{"1332275347":["hashtag1","hashtag2"]},{"1332275294":["hashtag1","hashtag2"]},{"1332275351":["hashtag1","hashtag2"]},{"1332275162":["hashtag1","hashtag2"]},{"1332275353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332275344, 1332275347, 1332275294, 1332275351, 1332275162, 1332275353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.315120458602905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:26:32.385536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/45/image_28012025_05_45_55_9377.jpg', '/home/pi/Desktop/images/28012025/05/46/image_28012025_05_46_16_10395.jpg', '/home/pi/Desktop/images/28012025/05/46/image_28012025_05_46_25_9340.jpg', '/home/pi/Desktop/images/28012025/05/46/image_28012025_05_46_36_10391.jpg', '/home/pi/Desktop/images/28012025/05/46/image_28012025_05_46_56_10352.jpg', '/home/pi/Desktop/images/28012025/05/46/image_28012025_05_47_06_10435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/45/image_28012025_05_45_55_9377.jpg
/home/pi/Desktop/images/28012025/05/46/image_28012025_05_46_16_10395.jpg
/home/pi/Desktop/images/28012025/05/46/image_28012025_05_46_25_9340.jpg
/home/pi/Desktop/images/28012025/05/46/image_28012025_05_46_36_10391.jpg
/home/pi/Desktop/images/28012025/05/46/image_28012025_05_46_56_10352.jpg
/home/pi/Desktop/images/28012025/05/46/image_28012025_05_47_06_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332275640","1332275648","1332275651","1332275645","1332275552","1332275606"],"photo_ids_order":["1332275552","1332275606","1332275640","1332275645","1332275648","1332275651"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4ff1b9c0f1b60a6236a0484d3ed3cdc8.jpg","text":"TemporaryFile(/tmp/multipartBody4083416953269583092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063653424,"filename":"image_28012025_05_46_25_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d811f17b04c3515c7ea0ff3636340520.jpg","text":"TemporaryFile(/tmp/multipartBody5512513701463139453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063653424,"filename":"image_28012025_05_46_56_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cb4d6a0c43e6735e7684443595d7f263.jpg","text":"TemporaryFile(/tmp/multipartBody2247722844164310279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063653424,"filename":"image_28012025_05_47_06_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1e96306586093e43067f6e3543f29899.jpg","text":"TemporaryFile(/tmp/multipartBody6841418334345516694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063653424,"filename":"image_28012025_05_46_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/1/28/9a77431bd812331a95a20a8aba0376c7.jpg","text":"TemporaryFile(/tmp/multipartBody8071491474643250889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063653424,"filename":"image_28012025_05_45_55_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/903c53d17a3b491c6d4dfd077bd6ef7e.jpg","text":"TemporaryFile(/tmp/multipartBody217822937215734669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063653424,"filename":"image_28012025_05_46_16_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332275640","file1":"1332275606","file0":"1332275552","file4":"1332275648","file5":"1332275651","file3":"1332275645"},"map_files_photo_id_array":[{"photo_id":"1332275651","filename":"file5"},{"photo_id":"1332275640","filename":"file2"},{"photo_id":"1332275648","filename":"file4"},{"photo_id":"1332275606","filename":"file1"},{"photo_id":"1332275552","filename":"file0"},{"photo_id":"1332275645","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332275640":["hashtag1","hashtag2"]},{"1332275648":["hashtag1","hashtag2"]},{"1332275651":["hashtag1","hashtag2"]},{"1332275645":["hashtag1","hashtag2"]},{"1332275552":["hashtag1","hashtag2"]},{"1332275606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332275640, 1332275648, 1332275651, 1332275645, 1332275552, 1332275606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.11773204803467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:27:32.714460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/47/image_28012025_05_47_15_9339.jpg', '/home/pi/Desktop/images/28012025/05/47/image_28012025_05_47_26_10363.jpg', '/home/pi/Desktop/images/28012025/05/47/image_28012025_05_47_46_10362.jpg', '/home/pi/Desktop/images/28012025/05/47/image_28012025_05_47_56_10354.jpg', '/home/pi/Desktop/images/28012025/05/47/image_28012025_05_48_05_9336.jpg', '/home/pi/Desktop/images/28012025/05/48/image_28012025_05_48_16_10412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/47/image_28012025_05_47_15_9339.jpg
/home/pi/Desktop/images/28012025/05/47/image_28012025_05_47_26_10363.jpg
/home/pi/Desktop/images/28012025/05/47/image_28012025_05_47_46_10362.jpg
/home/pi/Desktop/images/28012025/05/47/image_28012025_05_47_56_10354.jpg
/home/pi/Desktop/images/28012025/05/47/image_28012025_05_48_05_9336.jpg
/home/pi/Desktop/images/28012025/05/48/image_28012025_05_48_16_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":["1332275728","1332275722","1332275747","1332275741","1332275735","1332275744"],"photo_ids_order":["1332275722","1332275728","1332275735","1332275741","1332275744","1332275747"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/56491545eac77425bd53e387aa045918.jpg","text":"TemporaryFile(/tmp/multipartBody1543335334562398804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063713728,"filename":"image_28012025_05_47_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/1/28/612ee05afcedabb25ad0f50151d74ba6.jpg","text":"TemporaryFile(/tmp/multipartBody147075448182066171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063713728,"filename":"image_28012025_05_47_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/1/28/60ad65e4ce6d8d85223b43ab8c88f504.jpg","text":"TemporaryFile(/tmp/multipartBody3577427124136168179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063713728,"filename":"image_28012025_05_48_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/1/28/49f11b49fdfefec550ef18f953770e9b.jpg","text":"TemporaryFile(/tmp/multipartBody7223962761403314930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063713728,"filename":"image_28012025_05_47_56_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0628bec586a2e597c1feca6b1e78c5d3.jpg","text":"TemporaryFile(/tmp/multipartBody5097753287193260497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063713728,"filename":"image_28012025_05_47_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/1/28/f089afbb06510834f791709afa3b6a9b.jpg","text":"TemporaryFile(/tmp/multipartBody4430824304662749726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063713728,"filename":"image_28012025_05_48_05_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332275735","file1":"1332275728","file0":"1332275722","file4":"1332275744","file5":"1332275747","file3":"1332275741"},"map_files_photo_id_array":[{"photo_id":"1332275747","filename":"file5"},{"photo_id":"1332275735","filename":"file2"},{"photo_id":"1332275744","filename":"file4"},{"photo_id":"1332275728","filename":"file1"},{"photo_id":"1332275722","filename":"file0"},{"photo_id":"1332275741","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332275728":["hashtag1","hashtag2"]},{"1332275722":["hashtag1","hashtag2"]},{"1332275747":["hashtag1","hashtag2"]},{"1332275741":["hashtag1","hashtag2"]},{"1332275735":["hashtag1","hashtag2"]},{"1332275744":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332275728, 1332275722, 1332275747, 1332275741, 1332275735, 1332275744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.33847093582153 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:28:32.936558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/48/image_28012025_05_48_36_10360.jpg', '/home/pi/Desktop/images/28012025/05/48/image_28012025_05_48_46_10461.jpg', '/home/pi/Desktop/images/28012025/05/48/image_28012025_05_48_56_9413.jpg', '/home/pi/Desktop/images/28012025/05/48/image_28012025_05_49_06_10354.jpg', '/home/pi/Desktop/images/28012025/05/49/image_28012025_05_49_15_9436.jpg', '/home/pi/Desktop/images/28012025/05/49/image_28012025_05_49_26_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/48/image_28012025_05_48_36_10360.jpg
/home/pi/Desktop/images/28012025/05/48/image_28012025_05_48_46_10461.jpg
/home/pi/Desktop/images/28012025/05/48/image_28012025_05_48_56_9413.jpg
/home/pi/Desktop/images/28012025/05/48/image_28012025_05_49_06_10354.jpg
/home/pi/Desktop/images/28012025/05/49/image_28012025_05_49_15_9436.jpg
/home/pi/Desktop/images/28012025/05/49/image_28012025_05_49_26_10365.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6267640590667725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 12:28:43.050679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/48/image_28012025_05_48_36_10360.jpg', '/home/pi/Desktop/images/28012025/05/48/image_28012025_05_48_46_10461.jpg', '/home/pi/Desktop/images/28012025/05/48/image_28012025_05_48_56_9413.jpg', '/home/pi/Desktop/images/28012025/05/48/image_28012025_05_49_06_10354.jpg', '/home/pi/Desktop/images/28012025/05/49/image_28012025_05_49_15_9436.jpg', '/home/pi/Desktop/images/28012025/05/49/image_28012025_05_49_26_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/48/image_28012025_05_48_36_10360.jpg
/home/pi/Desktop/images/28012025/05/48/image_28012025_05_48_46_10461.jpg
/home/pi/Desktop/images/28012025/05/48/image_28012025_05_48_56_9413.jpg
/home/pi/Desktop/images/28012025/05/48/image_28012025_05_49_06_10354.jpg
/home/pi/Desktop/images/28012025/05/49/image_28012025_05_49_15_9436.jpg
/home/pi/Desktop/images/28012025/05/49/image_28012025_05_49_26_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332275854","1332275874","1332275856","1332275879","1332275851","1332275845"],"photo_ids_order":["1332275845","1332275851","1332275854","1332275856","1332275874","1332275879"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/298e8ad58487d41acc1b8f960d9584e3.jpg","text":"TemporaryFile(/tmp/multipartBody5392591231239167415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063783990,"filename":"image_28012025_05_48_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/1/28/b02533b9fa581ac153d8e2ef13fc5630.jpg","text":"TemporaryFile(/tmp/multipartBody8892335036516859582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063783990,"filename":"image_28012025_05_49_15_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d22b332df7189aaff2b818cd46a2c22d.jpg","text":"TemporaryFile(/tmp/multipartBody2824859636071656559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063783990,"filename":"image_28012025_05_49_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/1/28/7406938ee3366964cbadccf33f5d87bc.jpg","text":"TemporaryFile(/tmp/multipartBody4059540286458668875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063783990,"filename":"image_28012025_05_49_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/1/28/4eac46c6357f1b2b398affdd6ef97f51.jpg","text":"TemporaryFile(/tmp/multipartBody6662777746197643200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063783990,"filename":"image_28012025_05_48_46_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/45ff8f1c8024462ad1faf9d042088b8c.jpg","text":"TemporaryFile(/tmp/multipartBody3465204274064139948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063783990,"filename":"image_28012025_05_48_36_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332275854","file1":"1332275851","file0":"1332275845","file4":"1332275874","file5":"1332275879","file3":"1332275856"},"map_files_photo_id_array":[{"photo_id":"1332275879","filename":"file5"},{"photo_id":"1332275854","filename":"file2"},{"photo_id":"1332275874","filename":"file4"},{"photo_id":"1332275851","filename":"file1"},{"photo_id":"1332275845","filename":"file0"},{"photo_id":"1332275856","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332275854":["hashtag1","hashtag2"]},{"1332275874":["hashtag1","hashtag2"]},{"1332275856":["hashtag1","hashtag2"]},{"1332275879":["hashtag1","hashtag2"]},{"1332275851":["hashtag1","hashtag2"]},{"1332275845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332275854, 1332275874, 1332275856, 1332275879, 1332275851, 1332275845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.28550052642822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:29:32.212614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/49/image_28012025_05_49_46_9482.jpg', '/home/pi/Desktop/images/28012025/05/49/image_28012025_05_49_56_10418.jpg', '/home/pi/Desktop/images/28012025/05/49/image_28012025_05_50_05_9443.jpg', '/home/pi/Desktop/images/28012025/05/50/image_28012025_05_50_16_10341.jpg', '/home/pi/Desktop/images/28012025/05/50/image_28012025_05_50_26_10421.jpg', '/home/pi/Desktop/images/28012025/05/50/image_28012025_05_50_36_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/49/image_28012025_05_49_46_9482.jpg
/home/pi/Desktop/images/28012025/05/49/image_28012025_05_49_56_10418.jpg
/home/pi/Desktop/images/28012025/05/49/image_28012025_05_50_05_9443.jpg
/home/pi/Desktop/images/28012025/05/50/image_28012025_05_50_16_10341.jpg
/home/pi/Desktop/images/28012025/05/50/image_28012025_05_50_26_10421.jpg
/home/pi/Desktop/images/28012025/05/50/image_28012025_05_50_36_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332275905","1332275908","1332275902","1332275894","1332275897","1332275890"],"photo_ids_order":["1332275890","1332275894","1332275897","1332275902","1332275905","1332275908"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7c0fd481ea7ca026e12946f4d331de56.jpg","text":"TemporaryFile(/tmp/multipartBody7150664339722629767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063833232,"filename":"image_28012025_05_50_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/1/28/3204bc8b8811bbb4c0c902392c633aff.jpg","text":"TemporaryFile(/tmp/multipartBody4264453896015329437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063833232,"filename":"image_28012025_05_50_36_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/38987fe28292d87dc4cad02046014261.jpg","text":"TemporaryFile(/tmp/multipartBody5981904343567769770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063833232,"filename":"image_28012025_05_50_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/1/28/4109481b95572db2dcbbbe9dffb3267d.jpg","text":"TemporaryFile(/tmp/multipartBody2251356437390291047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063833232,"filename":"image_28012025_05_49_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/1/28/e73e19fb887cdf2b4550a5e41f2d4b3a.jpg","text":"TemporaryFile(/tmp/multipartBody7083120474783485381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063833232,"filename":"image_28012025_05_50_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/1/28/94cd734b79ad7efb8a2c358f5eca046d.jpg","text":"TemporaryFile(/tmp/multipartBody49893887874395736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063833232,"filename":"image_28012025_05_49_46_9482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332275897","file1":"1332275894","file0":"1332275890","file4":"1332275905","file5":"1332275908","file3":"1332275902"},"map_files_photo_id_array":[{"photo_id":"1332275908","filename":"file5"},{"photo_id":"1332275897","filename":"file2"},{"photo_id":"1332275905","filename":"file4"},{"photo_id":"1332275894","filename":"file1"},{"photo_id":"1332275890","filename":"file0"},{"photo_id":"1332275902","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332275905":["hashtag1","hashtag2"]},{"1332275908":["hashtag1","hashtag2"]},{"1332275902":["hashtag1","hashtag2"]},{"1332275894":["hashtag1","hashtag2"]},{"1332275897":["hashtag1","hashtag2"]},{"1332275890":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332275905, 1332275908, 1332275902, 1332275894, 1332275897, 1332275890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.39617443084717 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:30:35.369274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/50/image_28012025_05_50_55_9433.jpg', '/home/pi/Desktop/images/28012025/05/50/image_28012025_05_51_06_10353.jpg', '/home/pi/Desktop/images/28012025/05/51/image_28012025_05_51_16_10351.jpg', '/home/pi/Desktop/images/28012025/05/51/image_28012025_05_51_36_10371.jpg', '/home/pi/Desktop/images/28012025/05/51/image_28012025_05_51_46_10358.jpg', '/home/pi/Desktop/images/28012025/05/51/image_28012025_05_51_55_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/50/image_28012025_05_50_55_9433.jpg
/home/pi/Desktop/images/28012025/05/50/image_28012025_05_51_06_10353.jpg
/home/pi/Desktop/images/28012025/05/51/image_28012025_05_51_16_10351.jpg
/home/pi/Desktop/images/28012025/05/51/image_28012025_05_51_36_10371.jpg
/home/pi/Desktop/images/28012025/05/51/image_28012025_05_51_46_10358.jpg
/home/pi/Desktop/images/28012025/05/51/image_28012025_05_51_55_9338.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.2656171321868896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 12:30:42.507907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/50/image_28012025_05_50_55_9433.jpg', '/home/pi/Desktop/images/28012025/05/50/image_28012025_05_51_06_10353.jpg', '/home/pi/Desktop/images/28012025/05/51/image_28012025_05_51_16_10351.jpg', '/home/pi/Desktop/images/28012025/05/51/image_28012025_05_51_36_10371.jpg', '/home/pi/Desktop/images/28012025/05/51/image_28012025_05_51_46_10358.jpg', '/home/pi/Desktop/images/28012025/05/51/image_28012025_05_51_55_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/50/image_28012025_05_50_55_9433.jpg
/home/pi/Desktop/images/28012025/05/50/image_28012025_05_51_06_10353.jpg
/home/pi/Desktop/images/28012025/05/51/image_28012025_05_51_16_10351.jpg
/home/pi/Desktop/images/28012025/05/51/image_28012025_05_51_36_10371.jpg
/home/pi/Desktop/images/28012025/05/51/image_28012025_05_51_46_10358.jpg
/home/pi/Desktop/images/28012025/05/51/image_28012025_05_51_55_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332276135","1332276137","1332276113","1332275939","1332276022","1332275944"],"photo_ids_order":["1332275939","1332275944","1332276022","1332276113","1332276135","1332276137"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ce97e84e7e6a743a78bc3c4a83adfb6d.jpg","text":"TemporaryFile(/tmp/multipartBody5253606232210536445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063903464,"filename":"image_28012025_05_51_46_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0105118a5fbe93712304f4d8c9ea3194.jpg","text":"TemporaryFile(/tmp/multipartBody3345117575309108078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063903464,"filename":"image_28012025_05_51_55_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9c2699c855c2ce3df4628d32980fb42f.jpg","text":"TemporaryFile(/tmp/multipartBody2673830937508489869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063903464,"filename":"image_28012025_05_51_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/1/28/0e81ced9c08e1dd6e69549a305d0e72c.jpg","text":"TemporaryFile(/tmp/multipartBody3697428763528844907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063903464,"filename":"image_28012025_05_50_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/1/28/091ec438adc8482c8f2ecd34bc7ee52e.jpg","text":"TemporaryFile(/tmp/multipartBody4022082481778789869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063903464,"filename":"image_28012025_05_51_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/1/28/243a7726f5003b9ded5574e4d2fc0c20.jpg","text":"TemporaryFile(/tmp/multipartBody1398921565255171858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063903464,"filename":"image_28012025_05_51_06_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332276022","file1":"1332275944","file0":"1332275939","file4":"1332276135","file5":"1332276137","file3":"1332276113"},"map_files_photo_id_array":[{"photo_id":"1332276137","filename":"file5"},{"photo_id":"1332276022","filename":"file2"},{"photo_id":"1332276135","filename":"file4"},{"photo_id":"1332275944","filename":"file1"},{"photo_id":"1332275939","filename":"file0"},{"photo_id":"1332276113","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332276135":["hashtag1","hashtag2"]},{"1332276137":["hashtag1","hashtag2"]},{"1332276113":["hashtag1","hashtag2"]},{"1332275939":["hashtag1","hashtag2"]},{"1332276022":["hashtag1","hashtag2"]},{"1332275944":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332276135, 1332276137, 1332276113, 1332275939, 1332276022, 1332275944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.93737196922302 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:31:32.770873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/51/image_28012025_05_52_06_10375.jpg', '/home/pi/Desktop/images/28012025/05/52/image_28012025_05_52_16_10376.jpg', '/home/pi/Desktop/images/28012025/05/52/image_28012025_05_52_26_9357.jpg', '/home/pi/Desktop/images/28012025/05/52/image_28012025_05_53_06_10368.jpg', '/home/pi/Desktop/images/28012025/05/53/image_28012025_05_53_16_9444.jpg', '/home/pi/Desktop/images/28012025/05/53/image_28012025_05_53_26_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/51/image_28012025_05_52_06_10375.jpg
/home/pi/Desktop/images/28012025/05/52/image_28012025_05_52_16_10376.jpg
/home/pi/Desktop/images/28012025/05/52/image_28012025_05_52_26_9357.jpg
/home/pi/Desktop/images/28012025/05/52/image_28012025_05_53_06_10368.jpg
/home/pi/Desktop/images/28012025/05/53/image_28012025_05_53_16_9444.jpg
/home/pi/Desktop/images/28012025/05/53/image_28012025_05_53_26_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":["1332276285","1332276300","1332276295","1332276248","1332276298","1332276292"],"photo_ids_order":["1332276248","1332276285","1332276292","1332276295","1332276298","1332276300"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/610bf45af4de493b020a2579247c5fd9.jpg","text":"TemporaryFile(/tmp/multipartBody6923813894158714164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063953828,"filename":"image_28012025_05_52_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/1/28/f8955c9efb52f7564139e7583fadf72a.jpg","text":"TemporaryFile(/tmp/multipartBody2767589319973122739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063953828,"filename":"image_28012025_05_53_26_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b2b46e49b2d1f1d4e8f892a0b14fad24.jpg","text":"TemporaryFile(/tmp/multipartBody3608339644062743833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063953828,"filename":"image_28012025_05_53_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/1/28/1948b388c603cda71fb67e3afc47b6d2.jpg","text":"TemporaryFile(/tmp/multipartBody8837793512912363579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063953828,"filename":"image_28012025_05_52_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/1/28/328bad4b2568ecf1e30f57e190f1f2e3.jpg","text":"TemporaryFile(/tmp/multipartBody5518479142457559905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063953828,"filename":"image_28012025_05_53_16_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4905c2a6f6542ed417b91e7f7f44d258.jpg","text":"TemporaryFile(/tmp/multipartBody7549051768312914749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738063953828,"filename":"image_28012025_05_52_26_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332276292","file1":"1332276285","file0":"1332276248","file4":"1332276298","file5":"1332276300","file3":"1332276295"},"map_files_photo_id_array":[{"photo_id":"1332276300","filename":"file5"},{"photo_id":"1332276292","filename":"file2"},{"photo_id":"1332276298","filename":"file4"},{"photo_id":"1332276285","filename":"file1"},{"photo_id":"1332276248","filename":"file0"},{"photo_id":"1332276295","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332276285":["hashtag1","hashtag2"]},{"1332276300":["hashtag1","hashtag2"]},{"1332276295":["hashtag1","hashtag2"]},{"1332276248":["hashtag1","hashtag2"]},{"1332276298":["hashtag1","hashtag2"]},{"1332276292":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332276285, 1332276300, 1332276295, 1332276248, 1332276298, 1332276292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.26952266693115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:32:33.002780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/53/image_28012025_05_53_35_9510.jpg', '/home/pi/Desktop/images/28012025/05/53/image_28012025_05_53_46_10383.jpg', '/home/pi/Desktop/images/28012025/05/53/image_28012025_05_53_56_10350.jpg', '/home/pi/Desktop/images/28012025/05/54/image_28012025_05_54_16_10350.jpg', '/home/pi/Desktop/images/28012025/05/54/image_28012025_05_54_25_9464.jpg', '/home/pi/Desktop/images/28012025/05/54/image_28012025_05_54_46_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/53/image_28012025_05_53_35_9510.jpg
/home/pi/Desktop/images/28012025/05/53/image_28012025_05_53_46_10383.jpg
/home/pi/Desktop/images/28012025/05/53/image_28012025_05_53_56_10350.jpg
/home/pi/Desktop/images/28012025/05/54/image_28012025_05_54_16_10350.jpg
/home/pi/Desktop/images/28012025/05/54/image_28012025_05_54_25_9464.jpg
/home/pi/Desktop/images/28012025/05/54/image_28012025_05_54_46_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332276489","1332276491","1332276467","1332276454","1332276427","1332276349"],"photo_ids_order":["1332276349","1332276427","1332276454","1332276467","1332276489","1332276491"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1ecce40c5b0f090c642ee344500322dc.jpg","text":"TemporaryFile(/tmp/multipartBody3351878000895933062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064014030,"filename":"image_28012025_05_54_25_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0358ba4e0c2a03bf278e6d4b275251f3.jpg","text":"TemporaryFile(/tmp/multipartBody6381962986138025416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064014030,"filename":"image_28012025_05_54_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/1/28/51c5587452fceb7135c578cfc32a67d9.jpg","text":"TemporaryFile(/tmp/multipartBody8679927830356177332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064014030,"filename":"image_28012025_05_54_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/1/28/51ceab6bd5941de33d9d36b88d1071be.jpg","text":"TemporaryFile(/tmp/multipartBody6849737022324010919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064014030,"filename":"image_28012025_05_53_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/1/28/8744470e58a4747d3773c66e4c4f9acc.jpg","text":"TemporaryFile(/tmp/multipartBody7721145245402625711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064014030,"filename":"image_28012025_05_53_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/1/28/1160b34b7239bb2f09719ca4d96139a8.jpg","text":"TemporaryFile(/tmp/multipartBody1554881516515033302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064014030,"filename":"image_28012025_05_53_35_9510.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332276454","file1":"1332276427","file0":"1332276349","file4":"1332276489","file5":"1332276491","file3":"1332276467"},"map_files_photo_id_array":[{"photo_id":"1332276491","filename":"file5"},{"photo_id":"1332276454","filename":"file2"},{"photo_id":"1332276489","filename":"file4"},{"photo_id":"1332276427","filename":"file1"},{"photo_id":"1332276349","filename":"file0"},{"photo_id":"1332276467","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332276489":["hashtag1","hashtag2"]},{"1332276491":["hashtag1","hashtag2"]},{"1332276467":["hashtag1","hashtag2"]},{"1332276454":["hashtag1","hashtag2"]},{"1332276427":["hashtag1","hashtag2"]},{"1332276349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332276489, 1332276491, 1332276467, 1332276454, 1332276427, 1332276349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.32150602340698 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:33:33.147399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/54/image_28012025_05_54_56_9420.jpg', '/home/pi/Desktop/images/28012025/05/54/image_28012025_05_55_06_10429.jpg', '/home/pi/Desktop/images/28012025/05/55/image_28012025_05_55_46_10363.jpg', '/home/pi/Desktop/images/28012025/05/56/image_28012025_05_56_16_10329.jpg', '/home/pi/Desktop/images/28012025/05/56/image_28012025_05_56_26_10360.jpg', '/home/pi/Desktop/images/28012025/05/56/image_28012025_05_56_35_9442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/54/image_28012025_05_54_56_9420.jpg
/home/pi/Desktop/images/28012025/05/54/image_28012025_05_55_06_10429.jpg
/home/pi/Desktop/images/28012025/05/55/image_28012025_05_55_46_10363.jpg
/home/pi/Desktop/images/28012025/05/56/image_28012025_05_56_16_10329.jpg
/home/pi/Desktop/images/28012025/05/56/image_28012025_05_56_26_10360.jpg
/home/pi/Desktop/images/28012025/05/56/image_28012025_05_56_35_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":["1332276564","1332276522","1332276581","1332276530","1332276514","1332276508"],"photo_ids_order":["1332276508","1332276514","1332276522","1332276530","1332276564","1332276581"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dcd3b0bc8c7497756c69fc2d35ddce64.jpg","text":"TemporaryFile(/tmp/multipartBody6027191050838106604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064074171,"filename":"image_28012025_05_56_26_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/59c3f03cbe82891b80a6cc4a2b27d1d2.jpg","text":"TemporaryFile(/tmp/multipartBody2433593883548627650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064074171,"filename":"image_28012025_05_55_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/1/28/b114bff2aab90065d91eeae824fb9fa3.jpg","text":"TemporaryFile(/tmp/multipartBody8276915262347048484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064074171,"filename":"image_28012025_05_56_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/1/28/5cfe80d42400967f08cd0f53219d6730.jpg","text":"TemporaryFile(/tmp/multipartBody4209935314371115235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064074171,"filename":"image_28012025_05_56_16_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6c4888f939ccb6d3469143e7cb7bbbd4.jpg","text":"TemporaryFile(/tmp/multipartBody965272409102227966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064074171,"filename":"image_28012025_05_55_06_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7990f2e4268ea125cda9c00cc1f08140.jpg","text":"TemporaryFile(/tmp/multipartBody342978194236168624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064074171,"filename":"image_28012025_05_54_56_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332276522","file1":"1332276514","file0":"1332276508","file4":"1332276564","file5":"1332276581","file3":"1332276530"},"map_files_photo_id_array":[{"photo_id":"1332276581","filename":"file5"},{"photo_id":"1332276522","filename":"file2"},{"photo_id":"1332276564","filename":"file4"},{"photo_id":"1332276514","filename":"file1"},{"photo_id":"1332276508","filename":"file0"},{"photo_id":"1332276530","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332276564":["hashtag1","hashtag2"]},{"1332276522":["hashtag1","hashtag2"]},{"1332276581":["hashtag1","hashtag2"]},{"1332276530":["hashtag1","hashtag2"]},{"1332276514":["hashtag1","hashtag2"]},{"1332276508":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332276564, 1332276522, 1332276581, 1332276530, 1332276514, 1332276508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.329150915145874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:34:32.317158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/56/image_28012025_05_56_46_10357.jpg', '/home/pi/Desktop/images/28012025/05/56/image_28012025_05_56_55_9470.jpg', '/home/pi/Desktop/images/28012025/05/57/image_28012025_05_57_16_10337.jpg', '/home/pi/Desktop/images/28012025/05/57/image_28012025_05_57_25_9380.jpg', '/home/pi/Desktop/images/28012025/05/57/image_28012025_05_57_36_10368.jpg', '/home/pi/Desktop/images/28012025/05/57/image_28012025_05_57_46_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/56/image_28012025_05_56_46_10357.jpg
/home/pi/Desktop/images/28012025/05/56/image_28012025_05_56_55_9470.jpg
/home/pi/Desktop/images/28012025/05/57/image_28012025_05_57_16_10337.jpg
/home/pi/Desktop/images/28012025/05/57/image_28012025_05_57_25_9380.jpg
/home/pi/Desktop/images/28012025/05/57/image_28012025_05_57_36_10368.jpg
/home/pi/Desktop/images/28012025/05/57/image_28012025_05_57_46_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":["1332277196","1332277190","1332277181","1332277174","1332277153","1332277158"],"photo_ids_order":["1332277153","1332277158","1332277174","1332277181","1332277190","1332277196"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/30ef614d831a04a4a05db23950defdb1.jpg","text":"TemporaryFile(/tmp/multipartBody2225954844193694040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064133341,"filename":"image_28012025_05_57_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/1/28/0fc1890a5d11b0196fbfea0306df267a.jpg","text":"TemporaryFile(/tmp/multipartBody6665895532133422767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064133341,"filename":"image_28012025_05_57_36_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/36e9534a39b220641828ca22b022c41b.jpg","text":"TemporaryFile(/tmp/multipartBody5231149822868599720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064133341,"filename":"image_28012025_05_57_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/1/28/ec1cd4954fad3b9d2c141e36891ac7d2.jpg","text":"TemporaryFile(/tmp/multipartBody4544690068595608928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064133341,"filename":"image_28012025_05_57_16_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9674dcb8650a7aaf8b2f06dbd1a78689.jpg","text":"TemporaryFile(/tmp/multipartBody6238125683979695437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064133341,"filename":"image_28012025_05_56_46_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d49fe6bf73c7c71b56f0c86918814153.jpg","text":"TemporaryFile(/tmp/multipartBody1692392709676704905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064133341,"filename":"image_28012025_05_56_55_9470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332277174","file1":"1332277158","file0":"1332277153","file4":"1332277190","file5":"1332277196","file3":"1332277181"},"map_files_photo_id_array":[{"photo_id":"1332277196","filename":"file5"},{"photo_id":"1332277174","filename":"file2"},{"photo_id":"1332277190","filename":"file4"},{"photo_id":"1332277158","filename":"file1"},{"photo_id":"1332277153","filename":"file0"},{"photo_id":"1332277181","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332277196":["hashtag1","hashtag2"]},{"1332277190":["hashtag1","hashtag2"]},{"1332277181":["hashtag1","hashtag2"]},{"1332277174":["hashtag1","hashtag2"]},{"1332277153":["hashtag1","hashtag2"]},{"1332277158":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332277196, 1332277190, 1332277181, 1332277174, 1332277153, 1332277158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.083107233047485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:35:32.538930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/57/image_28012025_05_58_06_10363.jpg', '/home/pi/Desktop/images/28012025/05/58/image_28012025_05_58_15_9441.jpg', '/home/pi/Desktop/images/28012025/05/58/image_28012025_05_58_26_10367.jpg', '/home/pi/Desktop/images/28012025/05/58/image_28012025_05_58_36_10362.jpg', '/home/pi/Desktop/images/28012025/05/58/image_28012025_05_58_46_9594.jpg', '/home/pi/Desktop/images/28012025/05/58/image_28012025_05_58_56_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/57/image_28012025_05_58_06_10363.jpg
/home/pi/Desktop/images/28012025/05/58/image_28012025_05_58_15_9441.jpg
/home/pi/Desktop/images/28012025/05/58/image_28012025_05_58_26_10367.jpg
/home/pi/Desktop/images/28012025/05/58/image_28012025_05_58_36_10362.jpg
/home/pi/Desktop/images/28012025/05/58/image_28012025_05_58_46_9594.jpg
/home/pi/Desktop/images/28012025/05/58/image_28012025_05_58_56_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332277518","1332277475","1332277522","1332277471","1332277525","1332277527"],"photo_ids_order":["1332277471","1332277475","1332277518","1332277522","1332277525","1332277527"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cdcd065c3b971f65cb692bc372895b13.jpg","text":"TemporaryFile(/tmp/multipartBody4752699277823535036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064193590,"filename":"image_28012025_05_58_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/1/28/38c93c820448310c2338abcfe9e1357d.jpg","text":"TemporaryFile(/tmp/multipartBody4092789492785932918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064193590,"filename":"image_28012025_05_58_15_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/831388525e50a1175e69bb7fc813cec8.jpg","text":"TemporaryFile(/tmp/multipartBody1159142011569255461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064193590,"filename":"image_28012025_05_58_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/1/28/6424beac0e1130e23ac2c723bebe62e3.jpg","text":"TemporaryFile(/tmp/multipartBody473141532000768064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064193590,"filename":"image_28012025_05_58_06_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c191fc95abd3dd5788520835fc1474c5.jpg","text":"TemporaryFile(/tmp/multipartBody6401286322884118904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064193590,"filename":"image_28012025_05_58_46_9594.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/acf503fe80bbd601c5b10bc10cc6b5f2.jpg","text":"TemporaryFile(/tmp/multipartBody1153193543336711263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064193590,"filename":"image_28012025_05_58_56_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332277518","file1":"1332277475","file0":"1332277471","file4":"1332277525","file5":"1332277527","file3":"1332277522"},"map_files_photo_id_array":[{"photo_id":"1332277527","filename":"file5"},{"photo_id":"1332277518","filename":"file2"},{"photo_id":"1332277525","filename":"file4"},{"photo_id":"1332277475","filename":"file1"},{"photo_id":"1332277471","filename":"file0"},{"photo_id":"1332277522","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332277518":["hashtag1","hashtag2"]},{"1332277475":["hashtag1","hashtag2"]},{"1332277522":["hashtag1","hashtag2"]},{"1332277471":["hashtag1","hashtag2"]},{"1332277525":["hashtag1","hashtag2"]},{"1332277527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332277518, 1332277475, 1332277522, 1332277471, 1332277525, 1332277527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2317054271698 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:36:32.951503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/05/59/image_28012025_05_59_16_10437.jpg', '/home/pi/Desktop/images/28012025/05/59/image_28012025_05_59_25_9392.jpg', '/home/pi/Desktop/images/28012025/05/59/image_28012025_05_59_36_10446.jpg', '/home/pi/Desktop/images/28012025/05/59/image_28012025_05_59_46_10361.jpg', '/home/pi/Desktop/images/28012025/05/59/image_28012025_05_59_55_9357.jpg', '/home/pi/Desktop/images/28012025/06/00/image_28012025_06_00_16_10080.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/05/59/image_28012025_05_59_16_10437.jpg
/home/pi/Desktop/images/28012025/05/59/image_28012025_05_59_25_9392.jpg
/home/pi/Desktop/images/28012025/05/59/image_28012025_05_59_36_10446.jpg
/home/pi/Desktop/images/28012025/05/59/image_28012025_05_59_46_10361.jpg
/home/pi/Desktop/images/28012025/05/59/image_28012025_05_59_55_9357.jpg
/home/pi/Desktop/images/28012025/06/00/image_28012025_06_00_16_10080.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332277556","1332277550","1332277544","1332277567","1332277540","1332277563"],"photo_ids_order":["1332277540","1332277544","1332277550","1332277556","1332277563","1332277567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b0a3bf64d023cbc731d53747d4efdded.jpg","text":"TemporaryFile(/tmp/multipartBody220072402224188989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064253971,"filename":"image_28012025_05_59_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/1/28/1a3a73a351012da0d04fb9bc39b129c3.jpg","text":"TemporaryFile(/tmp/multipartBody3626790687015487248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064253971,"filename":"image_28012025_05_59_36_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b1914d0b01d2a19259529310801cd00b.jpg","text":"TemporaryFile(/tmp/multipartBody4551157346867454782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064253971,"filename":"image_28012025_05_59_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/1/28/7a2ed523865a4945ea69ad671e0edd28.jpg","text":"TemporaryFile(/tmp/multipartBody1257738415802562520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064253971,"filename":"image_28012025_06_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/1/28/20032bfeb657e220a696db231b07318f.jpg","text":"TemporaryFile(/tmp/multipartBody7144415479242042565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064253971,"filename":"image_28012025_05_59_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/1/28/6ff156d407b916d6e1089867544682c3.jpg","text":"TemporaryFile(/tmp/multipartBody2506003259030318868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064253971,"filename":"image_28012025_05_59_55_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332277550","file1":"1332277544","file0":"1332277540","file4":"1332277563","file5":"1332277567","file3":"1332277556"},"map_files_photo_id_array":[{"photo_id":"1332277567","filename":"file5"},{"photo_id":"1332277550","filename":"file2"},{"photo_id":"1332277563","filename":"file4"},{"photo_id":"1332277544","filename":"file1"},{"photo_id":"1332277540","filename":"file0"},{"photo_id":"1332277556","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332277556":["hashtag1","hashtag2"]},{"1332277550":["hashtag1","hashtag2"]},{"1332277544":["hashtag1","hashtag2"]},{"1332277567":["hashtag1","hashtag2"]},{"1332277540":["hashtag1","hashtag2"]},{"1332277563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332277556, 1332277550, 1332277544, 1332277567, 1332277540, 1332277563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.89454388618469 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:37:33.064898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/00/image_28012025_06_00_26_10363.jpg', '/home/pi/Desktop/images/28012025/06/00/image_28012025_06_00_37_10468.jpg', '/home/pi/Desktop/images/28012025/06/00/image_28012025_06_00_46_9422.jpg', '/home/pi/Desktop/images/28012025/06/00/image_28012025_06_00_56_10359.jpg', '/home/pi/Desktop/images/28012025/06/00/image_28012025_06_01_06_9364.jpg', '/home/pi/Desktop/images/28012025/06/01/image_28012025_06_01_16_10383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/00/image_28012025_06_00_26_10363.jpg
/home/pi/Desktop/images/28012025/06/00/image_28012025_06_00_37_10468.jpg
/home/pi/Desktop/images/28012025/06/00/image_28012025_06_00_46_9422.jpg
/home/pi/Desktop/images/28012025/06/00/image_28012025_06_00_56_10359.jpg
/home/pi/Desktop/images/28012025/06/00/image_28012025_06_01_06_9364.jpg
/home/pi/Desktop/images/28012025/06/01/image_28012025_06_01_16_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":["1332277734","1332277763","1332277742","1332277751","1332277747","1332277729"],"photo_ids_order":["1332277729","1332277734","1332277742","1332277747","1332277751","1332277763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0228a2ce4e0a97b279fbdf0b3017e1e7.jpg","text":"TemporaryFile(/tmp/multipartBody741794644737741443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064314094,"filename":"image_28012025_06_00_37_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9d43a6329cf5f2c1a38a9ba5c700096b.jpg","text":"TemporaryFile(/tmp/multipartBody5530769242058657750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064314094,"filename":"image_28012025_06_01_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/1/28/6afdbba55cfc218b2c9b0c54f79db2f8.jpg","text":"TemporaryFile(/tmp/multipartBody369204575066871990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064314094,"filename":"image_28012025_06_00_46_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c5c00716d215b31b69a094fce00403a1.jpg","text":"TemporaryFile(/tmp/multipartBody909860876311408924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064314094,"filename":"image_28012025_06_01_06_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c209ca5d9b8f5db4590278ca9d2e2c92.jpg","text":"TemporaryFile(/tmp/multipartBody3513301358959456103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064314094,"filename":"image_28012025_06_00_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/1/28/7a8c709845607db42f42355090b568d1.jpg","text":"TemporaryFile(/tmp/multipartBody7892986178467368624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064314094,"filename":"image_28012025_06_00_26_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332277742","file1":"1332277734","file0":"1332277729","file4":"1332277751","file5":"1332277763","file3":"1332277747"},"map_files_photo_id_array":[{"photo_id":"1332277763","filename":"file5"},{"photo_id":"1332277742","filename":"file2"},{"photo_id":"1332277751","filename":"file4"},{"photo_id":"1332277734","filename":"file1"},{"photo_id":"1332277729","filename":"file0"},{"photo_id":"1332277747","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332277734":["hashtag1","hashtag2"]},{"1332277763":["hashtag1","hashtag2"]},{"1332277742":["hashtag1","hashtag2"]},{"1332277751":["hashtag1","hashtag2"]},{"1332277747":["hashtag1","hashtag2"]},{"1332277729":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332277734, 1332277763, 1332277742, 1332277751, 1332277747, 1332277729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.036678075790405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:38:32.380914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/01/image_28012025_06_01_27_10451.jpg', '/home/pi/Desktop/images/28012025/06/01/image_28012025_06_01_36_9355.jpg', '/home/pi/Desktop/images/28012025/06/01/image_28012025_06_01_46_10426.jpg', '/home/pi/Desktop/images/28012025/06/01/image_28012025_06_01_56_9422.jpg', '/home/pi/Desktop/images/28012025/06/01/image_28012025_06_02_06_10462.jpg', '/home/pi/Desktop/images/28012025/06/02/image_28012025_06_02_17_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/01/image_28012025_06_01_27_10451.jpg
/home/pi/Desktop/images/28012025/06/01/image_28012025_06_01_36_9355.jpg
/home/pi/Desktop/images/28012025/06/01/image_28012025_06_01_46_10426.jpg
/home/pi/Desktop/images/28012025/06/01/image_28012025_06_01_56_9422.jpg
/home/pi/Desktop/images/28012025/06/01/image_28012025_06_02_06_10462.jpg
/home/pi/Desktop/images/28012025/06/02/image_28012025_06_02_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":["1332277814","1332277789","1332277849","1332277801","1332277794","1332277807"],"photo_ids_order":["1332277789","1332277794","1332277801","1332277807","1332277814","1332277849"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/49c330d2a6780cd4f32f7831b092e5f7.jpg","text":"TemporaryFile(/tmp/multipartBody5904924434111508172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064373384,"filename":"image_28012025_06_02_06_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/acc3d0e4b2e79472b9a5c21562819168.jpg","text":"TemporaryFile(/tmp/multipartBody360267725208542392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064373384,"filename":"image_28012025_06_01_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/1/28/c95b2f420b931ff980485641619c6739.jpg","text":"TemporaryFile(/tmp/multipartBody7916940646848656573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064373384,"filename":"image_28012025_06_02_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/1/28/5c6f9450a717dc9f955bbe85561e4d24.jpg","text":"TemporaryFile(/tmp/multipartBody5527447182838913222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064373384,"filename":"image_28012025_06_01_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/1/28/2ecadcf3888d4dde951bff3fcf4868fc.jpg","text":"TemporaryFile(/tmp/multipartBody358584718004158056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064373384,"filename":"image_28012025_06_01_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/1/28/f08e05d890c0db5e6643069773f92f2d.jpg","text":"TemporaryFile(/tmp/multipartBody1810158600649223137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064373384,"filename":"image_28012025_06_01_56_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332277801","file1":"1332277794","file0":"1332277789","file4":"1332277814","file5":"1332277849","file3":"1332277807"},"map_files_photo_id_array":[{"photo_id":"1332277849","filename":"file5"},{"photo_id":"1332277801","filename":"file2"},{"photo_id":"1332277814","filename":"file4"},{"photo_id":"1332277794","filename":"file1"},{"photo_id":"1332277789","filename":"file0"},{"photo_id":"1332277807","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332277814":["hashtag1","hashtag2"]},{"1332277789":["hashtag1","hashtag2"]},{"1332277849":["hashtag1","hashtag2"]},{"1332277801":["hashtag1","hashtag2"]},{"1332277794":["hashtag1","hashtag2"]},{"1332277807":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332277814, 1332277789, 1332277849, 1332277801, 1332277794, 1332277807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.68139696121216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:39:32.492289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/02/image_28012025_06_02_26_9404.jpg', '/home/pi/Desktop/images/28012025/06/02/image_28012025_06_02_36_10361.jpg', '/home/pi/Desktop/images/28012025/06/02/image_28012025_06_02_46_9426.jpg', '/home/pi/Desktop/images/28012025/06/02/image_28012025_06_02_56_10340.jpg', '/home/pi/Desktop/images/28012025/06/03/image_28012025_06_03_16_9364.jpg', '/home/pi/Desktop/images/28012025/06/03/image_28012025_06_03_26_10442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/02/image_28012025_06_02_26_9404.jpg
/home/pi/Desktop/images/28012025/06/02/image_28012025_06_02_36_10361.jpg
/home/pi/Desktop/images/28012025/06/02/image_28012025_06_02_46_9426.jpg
/home/pi/Desktop/images/28012025/06/02/image_28012025_06_02_56_10340.jpg
/home/pi/Desktop/images/28012025/06/03/image_28012025_06_03_16_9364.jpg
/home/pi/Desktop/images/28012025/06/03/image_28012025_06_03_26_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":["1332278651","1332278411","1332278528","1332278647","1332278640","1332278288"],"photo_ids_order":["1332278288","1332278411","1332278528","1332278640","1332278647","1332278651"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7d00639a0f9892f703c83b31ba91b941.jpg","text":"TemporaryFile(/tmp/multipartBody9113584544580215430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064433544,"filename":"image_28012025_06_03_26_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/027c6deb4bac2b8fbc59c5e66ebe39d0.jpg","text":"TemporaryFile(/tmp/multipartBody8384919598632821363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064433544,"filename":"image_28012025_06_02_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/1/28/856794d88cae555dbf59536d7dac597e.jpg","text":"TemporaryFile(/tmp/multipartBody3695453325109613223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064433544,"filename":"image_28012025_06_02_46_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e425eac273603e704d87293ea01edd62.jpg","text":"TemporaryFile(/tmp/multipartBody1366827236848093986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064433544,"filename":"image_28012025_06_03_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/1/28/22d1becdd77d4060a9ca47170d34f20e.jpg","text":"TemporaryFile(/tmp/multipartBody6024843581682371810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064433544,"filename":"image_28012025_06_02_56_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8701cd4b2578b7e9699b410afd5b3052.jpg","text":"TemporaryFile(/tmp/multipartBody7826341891262027467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064433544,"filename":"image_28012025_06_02_26_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332278528","file1":"1332278411","file0":"1332278288","file4":"1332278647","file5":"1332278651","file3":"1332278640"},"map_files_photo_id_array":[{"photo_id":"1332278651","filename":"file5"},{"photo_id":"1332278528","filename":"file2"},{"photo_id":"1332278647","filename":"file4"},{"photo_id":"1332278411","filename":"file1"},{"photo_id":"1332278288","filename":"file0"},{"photo_id":"1332278640","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332278651":["hashtag1","hashtag2"]},{"1332278411":["hashtag1","hashtag2"]},{"1332278528":["hashtag1","hashtag2"]},{"1332278647":["hashtag1","hashtag2"]},{"1332278640":["hashtag1","hashtag2"]},{"1332278288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332278651, 1332278411, 1332278528, 1332278647, 1332278640, 1332278288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48854327201843 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:40:32.822456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/03/image_28012025_06_03_37_10371.jpg', '/home/pi/Desktop/images/28012025/06/03/image_28012025_06_03_57_10333.jpg', '/home/pi/Desktop/images/28012025/06/03/image_28012025_06_04_06_9348.jpg', '/home/pi/Desktop/images/28012025/06/04/image_28012025_06_04_16_10392.jpg', '/home/pi/Desktop/images/28012025/06/04/image_28012025_06_04_27_10384.jpg', '/home/pi/Desktop/images/28012025/06/04/image_28012025_06_04_36_9424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/03/image_28012025_06_03_37_10371.jpg
/home/pi/Desktop/images/28012025/06/03/image_28012025_06_03_57_10333.jpg
/home/pi/Desktop/images/28012025/06/03/image_28012025_06_04_06_9348.jpg
/home/pi/Desktop/images/28012025/06/04/image_28012025_06_04_16_10392.jpg
/home/pi/Desktop/images/28012025/06/04/image_28012025_06_04_27_10384.jpg
/home/pi/Desktop/images/28012025/06/04/image_28012025_06_04_36_9424.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6269838809967041 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 12:40:42.814262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/03/image_28012025_06_03_37_10371.jpg', '/home/pi/Desktop/images/28012025/06/03/image_28012025_06_03_57_10333.jpg', '/home/pi/Desktop/images/28012025/06/03/image_28012025_06_04_06_9348.jpg', '/home/pi/Desktop/images/28012025/06/04/image_28012025_06_04_16_10392.jpg', '/home/pi/Desktop/images/28012025/06/04/image_28012025_06_04_27_10384.jpg', '/home/pi/Desktop/images/28012025/06/04/image_28012025_06_04_36_9424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/03/image_28012025_06_03_37_10371.jpg
/home/pi/Desktop/images/28012025/06/03/image_28012025_06_03_57_10333.jpg
/home/pi/Desktop/images/28012025/06/03/image_28012025_06_04_06_9348.jpg
/home/pi/Desktop/images/28012025/06/04/image_28012025_06_04_16_10392.jpg
/home/pi/Desktop/images/28012025/06/04/image_28012025_06_04_27_10384.jpg
/home/pi/Desktop/images/28012025/06/04/image_28012025_06_04_36_9424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332278810","1332279157","1332279025","1332278905","1332279168","1332279170"],"photo_ids_order":["1332278810","1332278905","1332279025","1332279157","1332279168","1332279170"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/97fa33d0184bd8163820d35dfbca6b92.jpg","text":"TemporaryFile(/tmp/multipartBody1005002011527596505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064503776,"filename":"image_28012025_06_03_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/1/28/26f1b710e4a20396e33db75f1b706ca1.jpg","text":"TemporaryFile(/tmp/multipartBody1088560753986645660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064503776,"filename":"image_28012025_06_04_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/1/28/90efb8de631d5e430663239a4520ee92.jpg","text":"TemporaryFile(/tmp/multipartBody681958212089423195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064503776,"filename":"image_28012025_06_04_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/1/28/b09ead1dc81dee4d7f6667e6be8f4407.jpg","text":"TemporaryFile(/tmp/multipartBody2156804892965484678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064503776,"filename":"image_28012025_06_03_57_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/692b36478210b68cfcdc943ebb591233.jpg","text":"TemporaryFile(/tmp/multipartBody8310602723007713967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064503776,"filename":"image_28012025_06_04_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/1/28/d0364bdeeb28bc09451e7704af6080e2.jpg","text":"TemporaryFile(/tmp/multipartBody8479284036664807830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064503776,"filename":"image_28012025_06_04_36_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332279025","file1":"1332278905","file0":"1332278810","file4":"1332279168","file5":"1332279170","file3":"1332279157"},"map_files_photo_id_array":[{"photo_id":"1332279170","filename":"file5"},{"photo_id":"1332279025","filename":"file2"},{"photo_id":"1332279168","filename":"file4"},{"photo_id":"1332278905","filename":"file1"},{"photo_id":"1332278810","filename":"file0"},{"photo_id":"1332279157","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332278810":["hashtag1","hashtag2"]},{"1332279157":["hashtag1","hashtag2"]},{"1332279025":["hashtag1","hashtag2"]},{"1332278905":["hashtag1","hashtag2"]},{"1332279168":["hashtag1","hashtag2"]},{"1332279170":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332278810, 1332279157, 1332279025, 1332278905, 1332279168, 1332279170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61859202384949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:41:33.085418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/04/image_28012025_06_04_46_10424.jpg', '/home/pi/Desktop/images/28012025/06/04/image_28012025_06_04_56_9343.jpg', '/home/pi/Desktop/images/28012025/06/04/image_28012025_06_05_06_10352.jpg', '/home/pi/Desktop/images/28012025/06/05/image_28012025_06_05_17_10428.jpg', '/home/pi/Desktop/images/28012025/06/05/image_28012025_06_05_26_9344.jpg', '/home/pi/Desktop/images/28012025/06/05/image_28012025_06_05_36_10439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/04/image_28012025_06_04_46_10424.jpg
/home/pi/Desktop/images/28012025/06/04/image_28012025_06_04_56_9343.jpg
/home/pi/Desktop/images/28012025/06/04/image_28012025_06_05_06_10352.jpg
/home/pi/Desktop/images/28012025/06/05/image_28012025_06_05_17_10428.jpg
/home/pi/Desktop/images/28012025/06/05/image_28012025_06_05_26_9344.jpg
/home/pi/Desktop/images/28012025/06/05/image_28012025_06_05_36_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":["1332279317","1332279364","1332279361","1332279328","1332279333","1332279356"],"photo_ids_order":["1332279317","1332279328","1332279333","1332279356","1332279361","1332279364"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d57cd90034970c3110b8f53afe375194.jpg","text":"TemporaryFile(/tmp/multipartBody4997080301982225546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064554200,"filename":"image_28012025_06_04_46_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/21b7aa831d052eedfc27726aa76a07e9.jpg","text":"TemporaryFile(/tmp/multipartBody2409689478359145939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064554200,"filename":"image_28012025_06_05_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/1/28/1f3d866a79bc7c22de4b61fa619c77b4.jpg","text":"TemporaryFile(/tmp/multipartBody8073844243662120979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064554200,"filename":"image_28012025_06_05_26_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/516a4ba81fa1f4d60ddf8c5add45506c.jpg","text":"TemporaryFile(/tmp/multipartBody3392537468701267597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064554200,"filename":"image_28012025_06_04_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/1/28/bb0acc6bf19dbb428014e623eea2ed5f.jpg","text":"TemporaryFile(/tmp/multipartBody7131985421757509274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064554200,"filename":"image_28012025_06_05_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/1/28/ec710b70c320a23d0a027b0742bf6ee6.jpg","text":"TemporaryFile(/tmp/multipartBody6828836784835278598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064554200,"filename":"image_28012025_06_05_17_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332279333","file1":"1332279328","file0":"1332279317","file4":"1332279361","file5":"1332279364","file3":"1332279356"},"map_files_photo_id_array":[{"photo_id":"1332279364","filename":"file5"},{"photo_id":"1332279333","filename":"file2"},{"photo_id":"1332279361","filename":"file4"},{"photo_id":"1332279328","filename":"file1"},{"photo_id":"1332279317","filename":"file0"},{"photo_id":"1332279356","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332279317":["hashtag1","hashtag2"]},{"1332279364":["hashtag1","hashtag2"]},{"1332279361":["hashtag1","hashtag2"]},{"1332279328":["hashtag1","hashtag2"]},{"1332279333":["hashtag1","hashtag2"]},{"1332279356":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332279317, 1332279364, 1332279361, 1332279328, 1332279333, 1332279356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.484187841415405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:42:32.318329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/05/image_28012025_06_05_46_9347.jpg', '/home/pi/Desktop/images/28012025/06/05/image_28012025_06_05_56_10356.jpg', '/home/pi/Desktop/images/28012025/06/05/image_28012025_06_06_06_10366.jpg', '/home/pi/Desktop/images/28012025/06/06/image_28012025_06_06_16_9337.jpg', '/home/pi/Desktop/images/28012025/06/06/image_28012025_06_06_26_10351.jpg', '/home/pi/Desktop/images/28012025/06/06/image_28012025_06_06_37_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/05/image_28012025_06_05_46_9347.jpg
/home/pi/Desktop/images/28012025/06/05/image_28012025_06_05_56_10356.jpg
/home/pi/Desktop/images/28012025/06/05/image_28012025_06_06_06_10366.jpg
/home/pi/Desktop/images/28012025/06/06/image_28012025_06_06_16_9337.jpg
/home/pi/Desktop/images/28012025/06/06/image_28012025_06_06_26_10351.jpg
/home/pi/Desktop/images/28012025/06/06/image_28012025_06_06_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":["1332279694","1332279688","1332279697","1332279598","1332279594","1332279683"],"photo_ids_order":["1332279594","1332279598","1332279683","1332279688","1332279694","1332279697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/581b48794c832e1893981e2ed64d7950.jpg","text":"TemporaryFile(/tmp/multipartBody5273762339026084591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064613329,"filename":"image_28012025_06_06_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/1/28/5fb7129f03d52bcae766d88172b64c69.jpg","text":"TemporaryFile(/tmp/multipartBody1625264574228094454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064613329,"filename":"image_28012025_06_06_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/1/28/e09df44705e80c6e7eef70d46e719956.jpg","text":"TemporaryFile(/tmp/multipartBody3989531572631343412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064613329,"filename":"image_28012025_06_06_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/1/28/c5e8ef25c94b6f8dba743d930af2cb04.jpg","text":"TemporaryFile(/tmp/multipartBody3714861769227867686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064613329,"filename":"image_28012025_06_05_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2fb9d1a43fbdb26b774361d6d8111dc0.jpg","text":"TemporaryFile(/tmp/multipartBody5120002034477096904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064613329,"filename":"image_28012025_06_05_46_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9ea5bb0579d515bfa1c50f7e2d74269a.jpg","text":"TemporaryFile(/tmp/multipartBody1303005490460041224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064613329,"filename":"image_28012025_06_06_06_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332279683","file1":"1332279598","file0":"1332279594","file4":"1332279694","file5":"1332279697","file3":"1332279688"},"map_files_photo_id_array":[{"photo_id":"1332279697","filename":"file5"},{"photo_id":"1332279683","filename":"file2"},{"photo_id":"1332279694","filename":"file4"},{"photo_id":"1332279598","filename":"file1"},{"photo_id":"1332279594","filename":"file0"},{"photo_id":"1332279688","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332279694":["hashtag1","hashtag2"]},{"1332279688":["hashtag1","hashtag2"]},{"1332279697":["hashtag1","hashtag2"]},{"1332279598":["hashtag1","hashtag2"]},{"1332279594":["hashtag1","hashtag2"]},{"1332279683":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332279694, 1332279688, 1332279697, 1332279598, 1332279594, 1332279683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.69064378738403 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:43:32.557253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/06/image_28012025_06_06_46_9345.jpg', '/home/pi/Desktop/images/28012025/06/06/image_28012025_06_06_56_10431.jpg', '/home/pi/Desktop/images/28012025/06/06/image_28012025_06_07_07_10356.jpg', '/home/pi/Desktop/images/28012025/06/07/image_28012025_06_07_16_9356.jpg', '/home/pi/Desktop/images/28012025/06/07/image_28012025_06_07_26_10392.jpg', '/home/pi/Desktop/images/28012025/06/07/image_28012025_06_07_36_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/06/image_28012025_06_06_46_9345.jpg
/home/pi/Desktop/images/28012025/06/06/image_28012025_06_06_56_10431.jpg
/home/pi/Desktop/images/28012025/06/06/image_28012025_06_07_07_10356.jpg
/home/pi/Desktop/images/28012025/06/07/image_28012025_06_07_16_9356.jpg
/home/pi/Desktop/images/28012025/06/07/image_28012025_06_07_26_10392.jpg
/home/pi/Desktop/images/28012025/06/07/image_28012025_06_07_36_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332279722","1332279772","1332279768","1332279747","1332279726","1332279752"],"photo_ids_order":["1332279722","1332279726","1332279747","1332279752","1332279768","1332279772"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/09f9c9545c9a7ad22fc68a6a799906e5.jpg","text":"TemporaryFile(/tmp/multipartBody7882851507169465878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064673592,"filename":"image_28012025_06_06_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/1/28/1cdd34198c26f2cdecbb1ffc6a1770ea.jpg","text":"TemporaryFile(/tmp/multipartBody5143756848087242277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064673592,"filename":"image_28012025_06_07_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/1/28/3016e5bc32cce72c5ff38a77cdd435ff.jpg","text":"TemporaryFile(/tmp/multipartBody4699859308451333624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064673592,"filename":"image_28012025_06_07_26_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0735776320da195fd99f712e55be6acc.jpg","text":"TemporaryFile(/tmp/multipartBody4507328781125968646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064673592,"filename":"image_28012025_06_07_07_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/94c6a982426305cd4f0a1dd07c2563a5.jpg","text":"TemporaryFile(/tmp/multipartBody5929435890712525376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064673592,"filename":"image_28012025_06_06_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/1/28/08b1ed6e8b10cfc9f280b5b68c77fa65.jpg","text":"TemporaryFile(/tmp/multipartBody8853185861901681477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064673592,"filename":"image_28012025_06_07_16_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332279747","file1":"1332279726","file0":"1332279722","file4":"1332279768","file5":"1332279772","file3":"1332279752"},"map_files_photo_id_array":[{"photo_id":"1332279772","filename":"file5"},{"photo_id":"1332279747","filename":"file2"},{"photo_id":"1332279768","filename":"file4"},{"photo_id":"1332279726","filename":"file1"},{"photo_id":"1332279722","filename":"file0"},{"photo_id":"1332279752","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332279722":["hashtag1","hashtag2"]},{"1332279772":["hashtag1","hashtag2"]},{"1332279768":["hashtag1","hashtag2"]},{"1332279747":["hashtag1","hashtag2"]},{"1332279726":["hashtag1","hashtag2"]},{"1332279752":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332279722, 1332279772, 1332279768, 1332279747, 1332279726, 1332279752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.549718618392944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:44:32.826383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/07/image_28012025_06_07_46_10401.jpg', '/home/pi/Desktop/images/28012025/06/07/image_28012025_06_07_57_10439.jpg', '/home/pi/Desktop/images/28012025/06/07/image_28012025_06_08_06_9344.jpg', '/home/pi/Desktop/images/28012025/06/08/image_28012025_06_08_16_10476.jpg', '/home/pi/Desktop/images/28012025/06/08/image_28012025_06_08_26_9370.jpg', '/home/pi/Desktop/images/28012025/06/08/image_28012025_06_08_36_10451.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/07/image_28012025_06_07_46_10401.jpg
/home/pi/Desktop/images/28012025/06/07/image_28012025_06_07_57_10439.jpg
/home/pi/Desktop/images/28012025/06/07/image_28012025_06_08_06_9344.jpg
/home/pi/Desktop/images/28012025/06/08/image_28012025_06_08_16_10476.jpg
/home/pi/Desktop/images/28012025/06/08/image_28012025_06_08_26_9370.jpg
/home/pi/Desktop/images/28012025/06/08/image_28012025_06_08_36_10451.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6014659404754639 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 12:44:42.823202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/07/image_28012025_06_07_46_10401.jpg', '/home/pi/Desktop/images/28012025/06/07/image_28012025_06_07_57_10439.jpg', '/home/pi/Desktop/images/28012025/06/07/image_28012025_06_08_06_9344.jpg', '/home/pi/Desktop/images/28012025/06/08/image_28012025_06_08_16_10476.jpg', '/home/pi/Desktop/images/28012025/06/08/image_28012025_06_08_26_9370.jpg', '/home/pi/Desktop/images/28012025/06/08/image_28012025_06_08_36_10451.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/07/image_28012025_06_07_46_10401.jpg
/home/pi/Desktop/images/28012025/06/07/image_28012025_06_07_57_10439.jpg
/home/pi/Desktop/images/28012025/06/07/image_28012025_06_08_06_9344.jpg
/home/pi/Desktop/images/28012025/06/08/image_28012025_06_08_16_10476.jpg
/home/pi/Desktop/images/28012025/06/08/image_28012025_06_08_26_9370.jpg
/home/pi/Desktop/images/28012025/06/08/image_28012025_06_08_36_10451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332279848","1332279832","1332279858","1332279852","1332279855","1332279825"],"photo_ids_order":["1332279825","1332279832","1332279848","1332279852","1332279855","1332279858"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7f986afb139a4a77beb1c072d2bdd5c7.jpg","text":"TemporaryFile(/tmp/multipartBody2621267462667319951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064743786,"filename":"image_28012025_06_08_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/1/28/dfe37962a949a50f7e0cebdf5f627066.jpg","text":"TemporaryFile(/tmp/multipartBody5294587846703509906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064743786,"filename":"image_28012025_06_07_57_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4868180b374d7f363d13d528acb3a75f.jpg","text":"TemporaryFile(/tmp/multipartBody2889750063907392861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064743786,"filename":"image_28012025_06_08_36_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6ddd7549925f27411955880f0878f675.jpg","text":"TemporaryFile(/tmp/multipartBody4485256791882942711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064743786,"filename":"image_28012025_06_08_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/1/28/700714babe81b51cd67cf19cb4a885de.jpg","text":"TemporaryFile(/tmp/multipartBody3782269211256096993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064743786,"filename":"image_28012025_06_08_26_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4fdfb3893e878946bb4b90d3b7ecbcb0.jpg","text":"TemporaryFile(/tmp/multipartBody5518293594123206992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064743786,"filename":"image_28012025_06_07_46_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332279848","file1":"1332279832","file0":"1332279825","file4":"1332279855","file5":"1332279858","file3":"1332279852"},"map_files_photo_id_array":[{"photo_id":"1332279858","filename":"file5"},{"photo_id":"1332279848","filename":"file2"},{"photo_id":"1332279855","filename":"file4"},{"photo_id":"1332279832","filename":"file1"},{"photo_id":"1332279825","filename":"file0"},{"photo_id":"1332279852","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332279848":["hashtag1","hashtag2"]},{"1332279832":["hashtag1","hashtag2"]},{"1332279858":["hashtag1","hashtag2"]},{"1332279852":["hashtag1","hashtag2"]},{"1332279855":["hashtag1","hashtag2"]},{"1332279825":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332279848, 1332279832, 1332279858, 1332279852, 1332279855, 1332279825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32129621505737 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:45:33.085774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/08/image_28012025_06_08_47_10376.jpg', '/home/pi/Desktop/images/28012025/06/08/image_28012025_06_08_56_9345.jpg', '/home/pi/Desktop/images/28012025/06/09/image_28012025_06_09_26_10358.jpg', '/home/pi/Desktop/images/28012025/06/09/image_28012025_06_09_37_10457.jpg', '/home/pi/Desktop/images/28012025/06/09/image_28012025_06_09_46_9356.jpg', '/home/pi/Desktop/images/28012025/06/09/image_28012025_06_09_56_10535.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/08/image_28012025_06_08_47_10376.jpg
/home/pi/Desktop/images/28012025/06/08/image_28012025_06_08_56_9345.jpg
/home/pi/Desktop/images/28012025/06/09/image_28012025_06_09_26_10358.jpg
/home/pi/Desktop/images/28012025/06/09/image_28012025_06_09_37_10457.jpg
/home/pi/Desktop/images/28012025/06/09/image_28012025_06_09_46_9356.jpg
/home/pi/Desktop/images/28012025/06/09/image_28012025_06_09_56_10535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332279994","1332280031","1332280021","1332279951","1332280027","1332279974"],"photo_ids_order":["1332279951","1332279974","1332279994","1332280021","1332280027","1332280031"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/86e6b1e95cd5380caa14b753724f53fb.jpg","text":"TemporaryFile(/tmp/multipartBody2603892606628800678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064794105,"filename":"image_28012025_06_09_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/1/28/dde81133f53ef08cdc925c22fc8ef0b0.jpg","text":"TemporaryFile(/tmp/multipartBody154531341282719189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064794105,"filename":"image_28012025_06_09_56_10535.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2078bf33665f72e78a4027aa023f8052.jpg","text":"TemporaryFile(/tmp/multipartBody4915436871325073323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064794105,"filename":"image_28012025_06_09_37_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3355d60ca0e3dbc563f2753f3266ac40.jpg","text":"TemporaryFile(/tmp/multipartBody2267168449025891674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064794105,"filename":"image_28012025_06_08_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/1/28/0313b616836aeecfbf8a0e74c39a8321.jpg","text":"TemporaryFile(/tmp/multipartBody7878194993043467078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064794105,"filename":"image_28012025_06_09_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/1/28/e4595630aab720daa073872248209e2f.jpg","text":"TemporaryFile(/tmp/multipartBody1107884034814383244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064794105,"filename":"image_28012025_06_08_56_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332279994","file1":"1332279974","file0":"1332279951","file4":"1332280027","file5":"1332280031","file3":"1332280021"},"map_files_photo_id_array":[{"photo_id":"1332280031","filename":"file5"},{"photo_id":"1332279994","filename":"file2"},{"photo_id":"1332280027","filename":"file4"},{"photo_id":"1332279974","filename":"file1"},{"photo_id":"1332279951","filename":"file0"},{"photo_id":"1332280021","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332279994":["hashtag1","hashtag2"]},{"1332280031":["hashtag1","hashtag2"]},{"1332280021":["hashtag1","hashtag2"]},{"1332279951":["hashtag1","hashtag2"]},{"1332280027":["hashtag1","hashtag2"]},{"1332279974":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332279994, 1332280031, 1332280021, 1332279951, 1332280027, 1332279974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.07638216018677 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:46:32.512768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/09/image_28012025_06_10_06_9340.jpg', '/home/pi/Desktop/images/28012025/06/10/image_28012025_06_10_16_10399.jpg', '/home/pi/Desktop/images/28012025/06/10/image_28012025_06_10_27_10381.jpg', '/home/pi/Desktop/images/28012025/06/10/image_28012025_06_10_36_9342.jpg', '/home/pi/Desktop/images/28012025/06/10/image_28012025_06_11_06_10343.jpg', '/home/pi/Desktop/images/28012025/06/11/image_28012025_06_11_16_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/09/image_28012025_06_10_06_9340.jpg
/home/pi/Desktop/images/28012025/06/10/image_28012025_06_10_16_10399.jpg
/home/pi/Desktop/images/28012025/06/10/image_28012025_06_10_27_10381.jpg
/home/pi/Desktop/images/28012025/06/10/image_28012025_06_10_36_9342.jpg
/home/pi/Desktop/images/28012025/06/10/image_28012025_06_11_06_10343.jpg
/home/pi/Desktop/images/28012025/06/11/image_28012025_06_11_16_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332280082","1332280076","1332280070","1332280064","1332280081","1332280057"],"photo_ids_order":["1332280057","1332280064","1332280070","1332280076","1332280081","1332280082"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1ae5ddaafdf0497f5e5daf977a77e056.jpg","text":"TemporaryFile(/tmp/multipartBody5918796910838074268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064853545,"filename":"image_28012025_06_11_16_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a0aef01fa3f9bad12605d44fe20cca7c.jpg","text":"TemporaryFile(/tmp/multipartBody6776864478963335610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064853545,"filename":"image_28012025_06_10_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/1/28/1f06f344a795132478d56be3461b4318.jpg","text":"TemporaryFile(/tmp/multipartBody9111395572730536951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064853545,"filename":"image_28012025_06_10_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/1/28/82725b6b0f56ddfbda893184cf1e7c09.jpg","text":"TemporaryFile(/tmp/multipartBody5043850919902316084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064853545,"filename":"image_28012025_06_10_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/1/28/cf436ea6f52e728b913cdec77e4df04b.jpg","text":"TemporaryFile(/tmp/multipartBody7415615686336054716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064853545,"filename":"image_28012025_06_11_06_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/516052826e0da356b986db3d037f80bb.jpg","text":"TemporaryFile(/tmp/multipartBody4974193927103580503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064853545,"filename":"image_28012025_06_10_06_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332280070","file1":"1332280064","file0":"1332280057","file4":"1332280081","file5":"1332280082","file3":"1332280076"},"map_files_photo_id_array":[{"photo_id":"1332280082","filename":"file5"},{"photo_id":"1332280070","filename":"file2"},{"photo_id":"1332280081","filename":"file4"},{"photo_id":"1332280064","filename":"file1"},{"photo_id":"1332280057","filename":"file0"},{"photo_id":"1332280076","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332280082":["hashtag1","hashtag2"]},{"1332280076":["hashtag1","hashtag2"]},{"1332280070":["hashtag1","hashtag2"]},{"1332280064":["hashtag1","hashtag2"]},{"1332280081":["hashtag1","hashtag2"]},{"1332280057":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332280082, 1332280076, 1332280070, 1332280064, 1332280081, 1332280057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76803255081177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:47:32.840450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/11/image_28012025_06_11_26_9435.jpg', '/home/pi/Desktop/images/28012025/06/11/image_28012025_06_11_36_10500.jpg', '/home/pi/Desktop/images/28012025/06/11/image_28012025_06_11_46_9360.jpg', '/home/pi/Desktop/images/28012025/06/11/image_28012025_06_11_56_10360.jpg', '/home/pi/Desktop/images/28012025/06/12/image_28012025_06_12_16_9389.jpg', '/home/pi/Desktop/images/28012025/06/12/image_28012025_06_12_26_10402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/11/image_28012025_06_11_26_9435.jpg
/home/pi/Desktop/images/28012025/06/11/image_28012025_06_11_36_10500.jpg
/home/pi/Desktop/images/28012025/06/11/image_28012025_06_11_46_9360.jpg
/home/pi/Desktop/images/28012025/06/11/image_28012025_06_11_56_10360.jpg
/home/pi/Desktop/images/28012025/06/12/image_28012025_06_12_16_9389.jpg
/home/pi/Desktop/images/28012025/06/12/image_28012025_06_12_26_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332280118","1332280096","1332280102","1332280113","1332280107","1332280116"],"photo_ids_order":["1332280096","1332280102","1332280107","1332280113","1332280116","1332280118"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6f81ba788ae586f53c3d17db22aa21a3.jpg","text":"TemporaryFile(/tmp/multipartBody612523516422794995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064913857,"filename":"image_28012025_06_12_26_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/37eb847c06487c96da8ed22ded1c585a.jpg","text":"TemporaryFile(/tmp/multipartBody6607622862850810473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064913857,"filename":"image_28012025_06_11_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/1/28/24e40562b7bd7fa5018ba47ca95925f3.jpg","text":"TemporaryFile(/tmp/multipartBody5199723071039972365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064913857,"filename":"image_28012025_06_11_36_10500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b6f0d0230c6c63f41ad770b2082fb683.jpg","text":"TemporaryFile(/tmp/multipartBody6886238335784642513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064913857,"filename":"image_28012025_06_11_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/1/28/cffc0fe49617b4c7a071d7e3eadc300b.jpg","text":"TemporaryFile(/tmp/multipartBody6295864507285438348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064913857,"filename":"image_28012025_06_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/1/28/3eb0bf293b327bfc78d29b90b8a95f96.jpg","text":"TemporaryFile(/tmp/multipartBody7809304694996686109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064913857,"filename":"image_28012025_06_12_16_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332280107","file1":"1332280102","file0":"1332280096","file4":"1332280116","file5":"1332280118","file3":"1332280113"},"map_files_photo_id_array":[{"photo_id":"1332280118","filename":"file5"},{"photo_id":"1332280107","filename":"file2"},{"photo_id":"1332280116","filename":"file4"},{"photo_id":"1332280102","filename":"file1"},{"photo_id":"1332280096","filename":"file0"},{"photo_id":"1332280113","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332280118":["hashtag1","hashtag2"]},{"1332280096":["hashtag1","hashtag2"]},{"1332280102":["hashtag1","hashtag2"]},{"1332280113":["hashtag1","hashtag2"]},{"1332280107":["hashtag1","hashtag2"]},{"1332280116":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332280118, 1332280096, 1332280102, 1332280113, 1332280107, 1332280116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.9171359539032 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:48:32.931931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/12/image_28012025_06_12_37_10358.jpg', '/home/pi/Desktop/images/28012025/06/12/image_28012025_06_12_46_9328.jpg', '/home/pi/Desktop/images/28012025/06/12/image_28012025_06_12_56_10343.jpg', '/home/pi/Desktop/images/28012025/06/12/image_28012025_06_13_06_9411.jpg', '/home/pi/Desktop/images/28012025/06/13/image_28012025_06_13_16_10479.jpg', '/home/pi/Desktop/images/28012025/06/13/image_28012025_06_13_26_9452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/12/image_28012025_06_12_37_10358.jpg
/home/pi/Desktop/images/28012025/06/12/image_28012025_06_12_46_9328.jpg
/home/pi/Desktop/images/28012025/06/12/image_28012025_06_12_56_10343.jpg
/home/pi/Desktop/images/28012025/06/12/image_28012025_06_13_06_9411.jpg
/home/pi/Desktop/images/28012025/06/13/image_28012025_06_13_16_10479.jpg
/home/pi/Desktop/images/28012025/06/13/image_28012025_06_13_26_9452.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6178932189941406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 12:48:43.023392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/12/image_28012025_06_12_37_10358.jpg', '/home/pi/Desktop/images/28012025/06/12/image_28012025_06_12_46_9328.jpg', '/home/pi/Desktop/images/28012025/06/12/image_28012025_06_12_56_10343.jpg', '/home/pi/Desktop/images/28012025/06/12/image_28012025_06_13_06_9411.jpg', '/home/pi/Desktop/images/28012025/06/13/image_28012025_06_13_16_10479.jpg', '/home/pi/Desktop/images/28012025/06/13/image_28012025_06_13_26_9452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/12/image_28012025_06_12_37_10358.jpg
/home/pi/Desktop/images/28012025/06/12/image_28012025_06_12_46_9328.jpg
/home/pi/Desktop/images/28012025/06/12/image_28012025_06_12_56_10343.jpg
/home/pi/Desktop/images/28012025/06/12/image_28012025_06_13_06_9411.jpg
/home/pi/Desktop/images/28012025/06/13/image_28012025_06_13_16_10479.jpg
/home/pi/Desktop/images/28012025/06/13/image_28012025_06_13_26_9452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332280241","1332280208","1332280222","1332280224","1332280218","1332280196"],"photo_ids_order":["1332280196","1332280208","1332280218","1332280222","1332280224","1332280241"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a72ee58413628f97052c2ed7523c1f16.jpg","text":"TemporaryFile(/tmp/multipartBody4858145070857613038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064983978,"filename":"image_28012025_06_13_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/1/28/f19282e3098ee8d85d1f7ee3013d19f8.jpg","text":"TemporaryFile(/tmp/multipartBody2450574906954537927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064983978,"filename":"image_28012025_06_12_46_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/433077c4f7d913293ff8ec0f9acbc5f2.jpg","text":"TemporaryFile(/tmp/multipartBody2852463019492814603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064983978,"filename":"image_28012025_06_13_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/1/28/60533444bf5cf5a66fc0b0f94c1900a7.jpg","text":"TemporaryFile(/tmp/multipartBody8883014087601235162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064983978,"filename":"image_28012025_06_13_16_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/637e09d7a28e0957c2022977b67c3e9b.jpg","text":"TemporaryFile(/tmp/multipartBody8216659360414208582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064983978,"filename":"image_28012025_06_12_56_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d9e9e634ee45b0d08c6838a0458b4416.jpg","text":"TemporaryFile(/tmp/multipartBody525445156604916396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738064983978,"filename":"image_28012025_06_12_37_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332280218","file1":"1332280208","file0":"1332280196","file4":"1332280224","file5":"1332280241","file3":"1332280222"},"map_files_photo_id_array":[{"photo_id":"1332280241","filename":"file5"},{"photo_id":"1332280218","filename":"file2"},{"photo_id":"1332280224","filename":"file4"},{"photo_id":"1332280208","filename":"file1"},{"photo_id":"1332280196","filename":"file0"},{"photo_id":"1332280222","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332280241":["hashtag1","hashtag2"]},{"1332280208":["hashtag1","hashtag2"]},{"1332280222":["hashtag1","hashtag2"]},{"1332280224":["hashtag1","hashtag2"]},{"1332280218":["hashtag1","hashtag2"]},{"1332280196":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332280241, 1332280208, 1332280222, 1332280224, 1332280218, 1332280196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.90795683860779 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:49:33.285813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/13/image_28012025_06_13_36_10400.jpg', '/home/pi/Desktop/images/28012025/06/13/image_28012025_06_13_47_10367.jpg', '/home/pi/Desktop/images/28012025/06/13/image_28012025_06_13_56_9375.jpg', '/home/pi/Desktop/images/28012025/06/13/image_28012025_06_14_06_10460.jpg', '/home/pi/Desktop/images/28012025/06/14/image_28012025_06_14_17_10348.jpg', '/home/pi/Desktop/images/28012025/06/14/image_28012025_06_14_26_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/13/image_28012025_06_13_36_10400.jpg
/home/pi/Desktop/images/28012025/06/13/image_28012025_06_13_47_10367.jpg
/home/pi/Desktop/images/28012025/06/13/image_28012025_06_13_56_9375.jpg
/home/pi/Desktop/images/28012025/06/13/image_28012025_06_14_06_10460.jpg
/home/pi/Desktop/images/28012025/06/14/image_28012025_06_14_17_10348.jpg
/home/pi/Desktop/images/28012025/06/14/image_28012025_06_14_26_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":["1332280265","1332280328","1332280279","1332280258","1332280272","1332280332"],"photo_ids_order":["1332280258","1332280265","1332280272","1332280279","1332280328","1332280332"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5c7db7c6a3fab65626262bad78cf4a5f.jpg","text":"TemporaryFile(/tmp/multipartBody214068660836979478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065034326,"filename":"image_28012025_06_13_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/1/28/70bfa127fed3ec747cacb6d56a45ffdd.jpg","text":"TemporaryFile(/tmp/multipartBody8320350940810599172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065034326,"filename":"image_28012025_06_14_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/1/28/c5824892a2471bfed346962646095f84.jpg","text":"TemporaryFile(/tmp/multipartBody7287071326136643072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065034326,"filename":"image_28012025_06_14_06_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2c85c2bc3320e66e2b75356fc90dee44.jpg","text":"TemporaryFile(/tmp/multipartBody8075587211719356550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065034326,"filename":"image_28012025_06_13_36_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/15664893c53f537b3ce915640e9896ad.jpg","text":"TemporaryFile(/tmp/multipartBody1688830835688600635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065034326,"filename":"image_28012025_06_13_56_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9c451abe8fe8925e080cda810a3ac919.jpg","text":"TemporaryFile(/tmp/multipartBody4700876709432269280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065034326,"filename":"image_28012025_06_14_26_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332280272","file1":"1332280265","file0":"1332280258","file4":"1332280328","file5":"1332280332","file3":"1332280279"},"map_files_photo_id_array":[{"photo_id":"1332280332","filename":"file5"},{"photo_id":"1332280272","filename":"file2"},{"photo_id":"1332280328","filename":"file4"},{"photo_id":"1332280265","filename":"file1"},{"photo_id":"1332280258","filename":"file0"},{"photo_id":"1332280279","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332280265":["hashtag1","hashtag2"]},{"1332280328":["hashtag1","hashtag2"]},{"1332280279":["hashtag1","hashtag2"]},{"1332280258":["hashtag1","hashtag2"]},{"1332280272":["hashtag1","hashtag2"]},{"1332280332":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332280265, 1332280328, 1332280279, 1332280258, 1332280272, 1332280332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.341495513916016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:50:32.360482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/14/image_28012025_06_14_36_10453.jpg', '/home/pi/Desktop/images/28012025/06/14/image_28012025_06_14_46_9351.jpg', '/home/pi/Desktop/images/28012025/06/14/image_28012025_06_14_56_10413.jpg', '/home/pi/Desktop/images/28012025/06/14/image_28012025_06_15_07_10352.jpg', '/home/pi/Desktop/images/28012025/06/15/image_28012025_06_15_16_9350.jpg', '/home/pi/Desktop/images/28012025/06/15/image_28012025_06_15_26_10444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/14/image_28012025_06_14_36_10453.jpg
/home/pi/Desktop/images/28012025/06/14/image_28012025_06_14_46_9351.jpg
/home/pi/Desktop/images/28012025/06/14/image_28012025_06_14_56_10413.jpg
/home/pi/Desktop/images/28012025/06/14/image_28012025_06_15_07_10352.jpg
/home/pi/Desktop/images/28012025/06/15/image_28012025_06_15_16_9350.jpg
/home/pi/Desktop/images/28012025/06/15/image_28012025_06_15_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":["1332280379","1332280370","1332280349","1332280343","1332280356","1332280382"],"photo_ids_order":["1332280343","1332280349","1332280356","1332280370","1332280379","1332280382"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4e3e440df84b7d47f22c622b251a15c6.jpg","text":"TemporaryFile(/tmp/multipartBody169235025285110514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065093412,"filename":"image_28012025_06_15_16_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e0e311eb744c6e5b9a4edaa8b56285f5.jpg","text":"TemporaryFile(/tmp/multipartBody502793316119389952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065093412,"filename":"image_28012025_06_15_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/1/28/7d3efdab5eee3e95395f808f9553604b.jpg","text":"TemporaryFile(/tmp/multipartBody4376877752989446204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065093412,"filename":"image_28012025_06_14_46_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8dcd23bf28fc37d16aff9917eaa133ec.jpg","text":"TemporaryFile(/tmp/multipartBody5487408149247158226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065093412,"filename":"image_28012025_06_14_36_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c04f14dbd9ee2478e0a27ce7ee10f1d7.jpg","text":"TemporaryFile(/tmp/multipartBody7423475383729600264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065093412,"filename":"image_28012025_06_14_56_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/14d81eaabf9c3289f8944cda79cc1af7.jpg","text":"TemporaryFile(/tmp/multipartBody7386897457036901753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065093412,"filename":"image_28012025_06_15_26_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332280356","file1":"1332280349","file0":"1332280343","file4":"1332280379","file5":"1332280382","file3":"1332280370"},"map_files_photo_id_array":[{"photo_id":"1332280382","filename":"file5"},{"photo_id":"1332280356","filename":"file2"},{"photo_id":"1332280379","filename":"file4"},{"photo_id":"1332280349","filename":"file1"},{"photo_id":"1332280343","filename":"file0"},{"photo_id":"1332280370","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332280379":["hashtag1","hashtag2"]},{"1332280370":["hashtag1","hashtag2"]},{"1332280349":["hashtag1","hashtag2"]},{"1332280343":["hashtag1","hashtag2"]},{"1332280356":["hashtag1","hashtag2"]},{"1332280382":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332280379, 1332280370, 1332280349, 1332280343, 1332280356, 1332280382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.512415647506714 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:51:32.644643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/15/image_28012025_06_15_36_9340.jpg', '/home/pi/Desktop/images/28012025/06/15/image_28012025_06_15_46_10349.jpg', '/home/pi/Desktop/images/28012025/06/15/image_28012025_06_15_56_10353.jpg', '/home/pi/Desktop/images/28012025/06/16/image_28012025_06_16_46_10434.jpg', '/home/pi/Desktop/images/28012025/06/16/image_28012025_06_16_56_9340.jpg', '/home/pi/Desktop/images/28012025/06/16/image_28012025_06_17_06_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/15/image_28012025_06_15_36_9340.jpg
/home/pi/Desktop/images/28012025/06/15/image_28012025_06_15_46_10349.jpg
/home/pi/Desktop/images/28012025/06/15/image_28012025_06_15_56_10353.jpg
/home/pi/Desktop/images/28012025/06/16/image_28012025_06_16_46_10434.jpg
/home/pi/Desktop/images/28012025/06/16/image_28012025_06_16_56_9340.jpg
/home/pi/Desktop/images/28012025/06/16/image_28012025_06_17_06_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332280433","1332280427","1332280436","1332280421","1332280415","1332280409"],"photo_ids_order":["1332280409","1332280415","1332280421","1332280427","1332280433","1332280436"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/99240e8f52c3cd741ace0cd8705668c7.jpg","text":"TemporaryFile(/tmp/multipartBody3118031280009424213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065153668,"filename":"image_28012025_06_16_56_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/988a08e3b8ed4816400e20fe39c4fec7.jpg","text":"TemporaryFile(/tmp/multipartBody3459592349363267219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065153668,"filename":"image_28012025_06_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/1/28/fb19ace2f5cbb535f2dcb8fa7ee1354f.jpg","text":"TemporaryFile(/tmp/multipartBody3352750900261231835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065153668,"filename":"image_28012025_06_17_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/1/28/cabd0c5f8f664472b13aa6441b80f24f.jpg","text":"TemporaryFile(/tmp/multipartBody7970633040461700833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065153668,"filename":"image_28012025_06_15_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/1/28/bc546de4b616a71dc03b1cf41bd4703b.jpg","text":"TemporaryFile(/tmp/multipartBody1265683483679535926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065153668,"filename":"image_28012025_06_15_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/1/28/c479c016c0e00768faa83fac6574b452.jpg","text":"TemporaryFile(/tmp/multipartBody8792660024203481651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065153668,"filename":"image_28012025_06_15_36_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332280421","file1":"1332280415","file0":"1332280409","file4":"1332280433","file5":"1332280436","file3":"1332280427"},"map_files_photo_id_array":[{"photo_id":"1332280436","filename":"file5"},{"photo_id":"1332280421","filename":"file2"},{"photo_id":"1332280433","filename":"file4"},{"photo_id":"1332280415","filename":"file1"},{"photo_id":"1332280409","filename":"file0"},{"photo_id":"1332280427","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332280433":["hashtag1","hashtag2"]},{"1332280427":["hashtag1","hashtag2"]},{"1332280436":["hashtag1","hashtag2"]},{"1332280421":["hashtag1","hashtag2"]},{"1332280415":["hashtag1","hashtag2"]},{"1332280409":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332280433, 1332280427, 1332280436, 1332280421, 1332280415, 1332280409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.39760231971741 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:52:32.902199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/17/image_28012025_06_17_17_10426.jpg', '/home/pi/Desktop/images/28012025/06/17/image_28012025_06_17_36_10457.jpg', '/home/pi/Desktop/images/28012025/06/17/image_28012025_06_17_47_10359.jpg', '/home/pi/Desktop/images/28012025/06/17/image_28012025_06_17_56_9329.jpg', '/home/pi/Desktop/images/28012025/06/17/image_28012025_06_18_06_10406.jpg', '/home/pi/Desktop/images/28012025/06/18/image_28012025_06_18_16_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/17/image_28012025_06_17_17_10426.jpg
/home/pi/Desktop/images/28012025/06/17/image_28012025_06_17_36_10457.jpg
/home/pi/Desktop/images/28012025/06/17/image_28012025_06_17_47_10359.jpg
/home/pi/Desktop/images/28012025/06/17/image_28012025_06_17_56_9329.jpg
/home/pi/Desktop/images/28012025/06/17/image_28012025_06_18_06_10406.jpg
/home/pi/Desktop/images/28012025/06/18/image_28012025_06_18_16_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332280490","1332280520","1332280462","1332280485","1332280515","1332280518"],"photo_ids_order":["1332280462","1332280485","1332280490","1332280515","1332280518","1332280520"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2bd39a0e9c5b6c77ff3e3b01835748d5.jpg","text":"TemporaryFile(/tmp/multipartBody4262820640835056891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065214013,"filename":"image_28012025_06_17_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/1/28/8ed427a036549072a9c57bd68bd9733a.jpg","text":"TemporaryFile(/tmp/multipartBody5200081196891344212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065214013,"filename":"image_28012025_06_18_16_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6b76f9ecb4f3cc1c087faef56e9c7186.jpg","text":"TemporaryFile(/tmp/multipartBody5236193645597967835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065214013,"filename":"image_28012025_06_17_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/1/28/0133fbb4e951dbfc5ae0cefdf94a2f3d.jpg","text":"TemporaryFile(/tmp/multipartBody29881969316826832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065214013,"filename":"image_28012025_06_17_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/1/28/2f04fb8da01270860378f39a4b9d269a.jpg","text":"TemporaryFile(/tmp/multipartBody6616183589298235117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065214013,"filename":"image_28012025_06_17_56_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e1395e40991b366df7357fa97fc1b50e.jpg","text":"TemporaryFile(/tmp/multipartBody8361179853342550725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065214013,"filename":"image_28012025_06_18_06_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332280490","file1":"1332280485","file0":"1332280462","file4":"1332280518","file5":"1332280520","file3":"1332280515"},"map_files_photo_id_array":[{"photo_id":"1332280520","filename":"file5"},{"photo_id":"1332280490","filename":"file2"},{"photo_id":"1332280518","filename":"file4"},{"photo_id":"1332280485","filename":"file1"},{"photo_id":"1332280462","filename":"file0"},{"photo_id":"1332280515","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332280490":["hashtag1","hashtag2"]},{"1332280520":["hashtag1","hashtag2"]},{"1332280462":["hashtag1","hashtag2"]},{"1332280485":["hashtag1","hashtag2"]},{"1332280515":["hashtag1","hashtag2"]},{"1332280518":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332280490, 1332280520, 1332280462, 1332280485, 1332280515, 1332280518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.16723823547363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:53:33.024987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/18/image_28012025_06_18_26_10359.jpg', '/home/pi/Desktop/images/28012025/06/18/image_28012025_06_18_37_10423.jpg', '/home/pi/Desktop/images/28012025/06/18/image_28012025_06_18_46_9377.jpg', '/home/pi/Desktop/images/28012025/06/19/image_28012025_06_19_16_9391.jpg', '/home/pi/Desktop/images/28012025/06/19/image_28012025_06_19_26_10424.jpg', '/home/pi/Desktop/images/28012025/06/19/image_28012025_06_19_46_10489.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/18/image_28012025_06_18_26_10359.jpg
/home/pi/Desktop/images/28012025/06/18/image_28012025_06_18_37_10423.jpg
/home/pi/Desktop/images/28012025/06/18/image_28012025_06_18_46_9377.jpg
/home/pi/Desktop/images/28012025/06/19/image_28012025_06_19_16_9391.jpg
/home/pi/Desktop/images/28012025/06/19/image_28012025_06_19_26_10424.jpg
/home/pi/Desktop/images/28012025/06/19/image_28012025_06_19_46_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":["1332280598","1332280622","1332280604","1332280621","1332280609","1332280593"],"photo_ids_order":["1332280593","1332280598","1332280604","1332280609","1332280621","1332280622"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/55115be2e3d3a65e34c56b20739b24d1.jpg","text":"TemporaryFile(/tmp/multipartBody8164754333542904341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065274041,"filename":"image_28012025_06_18_37_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b7cc9044b1bec56625172a615e779dfa.jpg","text":"TemporaryFile(/tmp/multipartBody6748532166079563866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065274041,"filename":"image_28012025_06_19_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/1/28/dbe94d6e2fc865951eee450f588c7a18.jpg","text":"TemporaryFile(/tmp/multipartBody3269801628923179485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065274041,"filename":"image_28012025_06_18_46_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/04d0a9c26dbe99409041642d70e110e6.jpg","text":"TemporaryFile(/tmp/multipartBody124815171627965416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065274041,"filename":"image_28012025_06_19_26_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/463994fd9f88a005aee393ae1faadae2.jpg","text":"TemporaryFile(/tmp/multipartBody9041873031598323367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065274041,"filename":"image_28012025_06_19_16_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e8deac40b7b54750609e4881bde51df6.jpg","text":"TemporaryFile(/tmp/multipartBody3089185275766205381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065274041,"filename":"image_28012025_06_18_26_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332280604","file1":"1332280598","file0":"1332280593","file4":"1332280621","file5":"1332280622","file3":"1332280609"},"map_files_photo_id_array":[{"photo_id":"1332280622","filename":"file5"},{"photo_id":"1332280604","filename":"file2"},{"photo_id":"1332280621","filename":"file4"},{"photo_id":"1332280598","filename":"file1"},{"photo_id":"1332280593","filename":"file0"},{"photo_id":"1332280609","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332280598":["hashtag1","hashtag2"]},{"1332280622":["hashtag1","hashtag2"]},{"1332280604":["hashtag1","hashtag2"]},{"1332280621":["hashtag1","hashtag2"]},{"1332280609":["hashtag1","hashtag2"]},{"1332280593":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332280598, 1332280622, 1332280604, 1332280621, 1332280609, 1332280593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32946491241455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:54:32.371436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/19/image_28012025_06_19_56_9389.jpg', '/home/pi/Desktop/images/28012025/06/19/image_28012025_06_20_06_10338.jpg', '/home/pi/Desktop/images/28012025/06/20/image_28012025_06_20_16_10340.jpg', '/home/pi/Desktop/images/28012025/06/20/image_28012025_06_20_36_10373.jpg', '/home/pi/Desktop/images/28012025/06/20/image_28012025_06_20_46_10348.jpg', '/home/pi/Desktop/images/28012025/06/20/image_28012025_06_20_56_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/19/image_28012025_06_19_56_9389.jpg
/home/pi/Desktop/images/28012025/06/19/image_28012025_06_20_06_10338.jpg
/home/pi/Desktop/images/28012025/06/20/image_28012025_06_20_16_10340.jpg
/home/pi/Desktop/images/28012025/06/20/image_28012025_06_20_36_10373.jpg
/home/pi/Desktop/images/28012025/06/20/image_28012025_06_20_46_10348.jpg
/home/pi/Desktop/images/28012025/06/20/image_28012025_06_20_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":["1332280675","1332280660","1332280680","1332280683","1332280668","1332280653"],"photo_ids_order":["1332280653","1332280660","1332280668","1332280675","1332280680","1332280683"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e5dd9067c3629feec303aeda6c2d5c23.jpg","text":"TemporaryFile(/tmp/multipartBody8986963654958494117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065333391,"filename":"image_28012025_06_20_36_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/757b67ed6c82004906359aad45b6401a.jpg","text":"TemporaryFile(/tmp/multipartBody8791254149974138968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065333391,"filename":"image_28012025_06_20_06_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/698db9722abaf392e1e34c4ff9f8f300.jpg","text":"TemporaryFile(/tmp/multipartBody9094035563328918327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065333391,"filename":"image_28012025_06_20_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/1/28/085172bcba23974a9cf7b1e694588c58.jpg","text":"TemporaryFile(/tmp/multipartBody7990896221935403594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065333391,"filename":"image_28012025_06_20_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/1/28/5da0dbe0961197d400e8b7d9571a7d07.jpg","text":"TemporaryFile(/tmp/multipartBody3101743753116809578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065333391,"filename":"image_28012025_06_20_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/1/28/2f46136d6d53035eb114fe4c694f15d2.jpg","text":"TemporaryFile(/tmp/multipartBody4029246036331046236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065333391,"filename":"image_28012025_06_19_56_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332280668","file1":"1332280660","file0":"1332280653","file4":"1332280680","file5":"1332280683","file3":"1332280675"},"map_files_photo_id_array":[{"photo_id":"1332280683","filename":"file5"},{"photo_id":"1332280668","filename":"file2"},{"photo_id":"1332280680","filename":"file4"},{"photo_id":"1332280660","filename":"file1"},{"photo_id":"1332280653","filename":"file0"},{"photo_id":"1332280675","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332280675":["hashtag1","hashtag2"]},{"1332280660":["hashtag1","hashtag2"]},{"1332280680":["hashtag1","hashtag2"]},{"1332280683":["hashtag1","hashtag2"]},{"1332280668":["hashtag1","hashtag2"]},{"1332280653":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332280675, 1332280660, 1332280680, 1332280683, 1332280668, 1332280653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69490337371826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:55:32.607974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/21/image_28012025_06_21_16_9432.jpg', '/home/pi/Desktop/images/28012025/06/21/image_28012025_06_21_26_10420.jpg', '/home/pi/Desktop/images/28012025/06/21/image_28012025_06_21_37_10390.jpg', '/home/pi/Desktop/images/28012025/06/21/image_28012025_06_21_46_9353.jpg', '/home/pi/Desktop/images/28012025/06/21/image_28012025_06_21_56_10451.jpg', '/home/pi/Desktop/images/28012025/06/21/image_28012025_06_22_07_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/21/image_28012025_06_21_16_9432.jpg
/home/pi/Desktop/images/28012025/06/21/image_28012025_06_21_26_10420.jpg
/home/pi/Desktop/images/28012025/06/21/image_28012025_06_21_37_10390.jpg
/home/pi/Desktop/images/28012025/06/21/image_28012025_06_21_46_9353.jpg
/home/pi/Desktop/images/28012025/06/21/image_28012025_06_21_56_10451.jpg
/home/pi/Desktop/images/28012025/06/21/image_28012025_06_22_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":["1332280754","1332280759","1332280747","1332280735","1332280761","1332280740"],"photo_ids_order":["1332280735","1332280740","1332280747","1332280754","1332280759","1332280761"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a7ea52226ba046dd2f8c2d2c51bb1e16.jpg","text":"TemporaryFile(/tmp/multipartBody1425112367483012665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065393641,"filename":"image_28012025_06_21_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/1/28/2ecacff012c058fec0bdc52c77a2a4e7.jpg","text":"TemporaryFile(/tmp/multipartBody7676026937112160001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065393641,"filename":"image_28012025_06_21_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/1/28/4f7fc9f16f5c1e602cfc554c4cf5052a.jpg","text":"TemporaryFile(/tmp/multipartBody4158264000895825855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065393641,"filename":"image_28012025_06_21_37_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dc3f795feceb1779ec126100e41bc015.jpg","text":"TemporaryFile(/tmp/multipartBody6348580907013537675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065393641,"filename":"image_28012025_06_21_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/1/28/dc4990bc0517a25248b1c2be7a5096de.jpg","text":"TemporaryFile(/tmp/multipartBody8174337748506226440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065393641,"filename":"image_28012025_06_22_07_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b32f3bcd96229668897a044dfffd7e87.jpg","text":"TemporaryFile(/tmp/multipartBody6450638966555374679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065393641,"filename":"image_28012025_06_21_26_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332280747","file1":"1332280740","file0":"1332280735","file4":"1332280759","file5":"1332280761","file3":"1332280754"},"map_files_photo_id_array":[{"photo_id":"1332280761","filename":"file5"},{"photo_id":"1332280747","filename":"file2"},{"photo_id":"1332280759","filename":"file4"},{"photo_id":"1332280740","filename":"file1"},{"photo_id":"1332280735","filename":"file0"},{"photo_id":"1332280754","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332280754":["hashtag1","hashtag2"]},{"1332280759":["hashtag1","hashtag2"]},{"1332280747":["hashtag1","hashtag2"]},{"1332280735":["hashtag1","hashtag2"]},{"1332280761":["hashtag1","hashtag2"]},{"1332280740":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332280754, 1332280759, 1332280747, 1332280735, 1332280761, 1332280740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.94810461997986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:56:32.890952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/22/image_28012025_06_22_16_9335.jpg', '/home/pi/Desktop/images/28012025/06/22/image_28012025_06_22_37_10340.jpg', '/home/pi/Desktop/images/28012025/06/22/image_28012025_06_22_46_9343.jpg', '/home/pi/Desktop/images/28012025/06/22/image_28012025_06_22_57_10445.jpg', '/home/pi/Desktop/images/28012025/06/23/image_28012025_06_23_16_10443.jpg', '/home/pi/Desktop/images/28012025/06/23/image_28012025_06_23_27_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/22/image_28012025_06_22_16_9335.jpg
/home/pi/Desktop/images/28012025/06/22/image_28012025_06_22_37_10340.jpg
/home/pi/Desktop/images/28012025/06/22/image_28012025_06_22_46_9343.jpg
/home/pi/Desktop/images/28012025/06/22/image_28012025_06_22_57_10445.jpg
/home/pi/Desktop/images/28012025/06/23/image_28012025_06_23_16_10443.jpg
/home/pi/Desktop/images/28012025/06/23/image_28012025_06_23_27_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":["1332280832","1332280798","1332280822","1332280830","1332280827","1332280793"],"photo_ids_order":["1332280793","1332280798","1332280822","1332280827","1332280830","1332280832"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d27b6a1d802c25c0661548382eceaba1.jpg","text":"TemporaryFile(/tmp/multipartBody6800689979950038610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065453920,"filename":"image_28012025_06_23_27_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d9bf177902996be8589252e55c256a8d.jpg","text":"TemporaryFile(/tmp/multipartBody8847264940994458273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065453920,"filename":"image_28012025_06_22_37_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1c4938bffa76e5c1d257b99eea3af40a.jpg","text":"TemporaryFile(/tmp/multipartBody6609708456890695724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065453920,"filename":"image_28012025_06_22_46_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c35e05a6559daa6215a91bd449238351.jpg","text":"TemporaryFile(/tmp/multipartBody5767199518619921625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065453920,"filename":"image_28012025_06_23_16_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6b665f0f65ec8a63ac52d20542bae1c6.jpg","text":"TemporaryFile(/tmp/multipartBody6229101650467646091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065453920,"filename":"image_28012025_06_22_57_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/476e37908377a3c560a395352861f38d.jpg","text":"TemporaryFile(/tmp/multipartBody3169706925406729819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065453920,"filename":"image_28012025_06_22_16_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332280822","file1":"1332280798","file0":"1332280793","file4":"1332280830","file5":"1332280832","file3":"1332280827"},"map_files_photo_id_array":[{"photo_id":"1332280832","filename":"file5"},{"photo_id":"1332280822","filename":"file2"},{"photo_id":"1332280830","filename":"file4"},{"photo_id":"1332280798","filename":"file1"},{"photo_id":"1332280793","filename":"file0"},{"photo_id":"1332280827","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332280832":["hashtag1","hashtag2"]},{"1332280798":["hashtag1","hashtag2"]},{"1332280822":["hashtag1","hashtag2"]},{"1332280830":["hashtag1","hashtag2"]},{"1332280827":["hashtag1","hashtag2"]},{"1332280793":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332280832, 1332280798, 1332280822, 1332280830, 1332280827, 1332280793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.633172035217285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 12:57:33.110604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/23/image_28012025_06_23_36_9424.jpg', '/home/pi/Desktop/images/28012025/06/23/image_28012025_06_23_47_10503.jpg', '/home/pi/Desktop/images/28012025/06/23/image_28012025_06_23_56_9328.jpg', '/home/pi/Desktop/images/28012025/06/23/image_28012025_06_24_06_10458.jpg', '/home/pi/Desktop/images/28012025/06/24/image_28012025_06_24_16_9420.jpg', '/home/pi/Desktop/images/28012025/06/24/image_28012025_06_24_26_10474.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/23/image_28012025_06_23_36_9424.jpg
/home/pi/Desktop/images/28012025/06/23/image_28012025_06_23_47_10503.jpg
/home/pi/Desktop/images/28012025/06/23/image_28012025_06_23_56_9328.jpg
/home/pi/Desktop/images/28012025/06/23/image_28012025_06_24_06_10458.jpg
/home/pi/Desktop/images/28012025/06/24/image_28012025_06_24_16_9420.jpg
/home/pi/Desktop/images/28012025/06/24/image_28012025_06_24_26_10474.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 www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 12:59:04.231473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/23/image_28012025_06_23_36_9424.jpg', '/home/pi/Desktop/images/28012025/06/23/image_28012025_06_23_47_10503.jpg', '/home/pi/Desktop/images/28012025/06/23/image_28012025_06_23_56_9328.jpg', '/home/pi/Desktop/images/28012025/06/23/image_28012025_06_24_06_10458.jpg', '/home/pi/Desktop/images/28012025/06/24/image_28012025_06_24_16_9420.jpg', '/home/pi/Desktop/images/28012025/06/24/image_28012025_06_24_26_10474.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/23/image_28012025_06_23_36_9424.jpg
/home/pi/Desktop/images/28012025/06/23/image_28012025_06_23_47_10503.jpg
/home/pi/Desktop/images/28012025/06/23/image_28012025_06_23_56_9328.jpg
/home/pi/Desktop/images/28012025/06/23/image_28012025_06_24_06_10458.jpg
/home/pi/Desktop/images/28012025/06/24/image_28012025_06_24_16_9420.jpg
/home/pi/Desktop/images/28012025/06/24/image_28012025_06_24_26_10474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332281236","1332281239","1332281221","1332281226","1332281096","1332281231"],"photo_ids_order":["1332281096","1332281221","1332281226","1332281231","1332281236","1332281239"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/32cc95d9e26cc79f5e1d6eaaba20787c.jpg","text":"TemporaryFile(/tmp/multipartBody7798661465250282991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065605327,"filename":"image_28012025_06_24_16_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/87ecbf8b57f2b5989d61f3bf631b16b0.jpg","text":"TemporaryFile(/tmp/multipartBody8571409184147018912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065605327,"filename":"image_28012025_06_24_26_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a5ff41bc5150928fe1c3195e4d676f40.jpg","text":"TemporaryFile(/tmp/multipartBody4751819094930845212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065605327,"filename":"image_28012025_06_23_47_10503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e8672c3a12098a728e59adddf6c82705.jpg","text":"TemporaryFile(/tmp/multipartBody9001395389306276486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065605327,"filename":"image_28012025_06_23_56_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dede00a4da43517296896ab1e3b216cc.jpg","text":"TemporaryFile(/tmp/multipartBody6423107516087461692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065605327,"filename":"image_28012025_06_23_36_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c122b5f27e3a493b231db4881e4328d6.jpg","text":"TemporaryFile(/tmp/multipartBody3326856737164359277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065605327,"filename":"image_28012025_06_24_06_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332281226","file1":"1332281221","file0":"1332281096","file4":"1332281236","file5":"1332281239","file3":"1332281231"},"map_files_photo_id_array":[{"photo_id":"1332281239","filename":"file5"},{"photo_id":"1332281226","filename":"file2"},{"photo_id":"1332281236","filename":"file4"},{"photo_id":"1332281221","filename":"file1"},{"photo_id":"1332281096","filename":"file0"},{"photo_id":"1332281231","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332281236":["hashtag1","hashtag2"]},{"1332281239":["hashtag1","hashtag2"]},{"1332281221":["hashtag1","hashtag2"]},{"1332281226":["hashtag1","hashtag2"]},{"1332281096":["hashtag1","hashtag2"]},{"1332281231":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332281236, 1332281239, 1332281221, 1332281226, 1332281096, 1332281231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.88641929626465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 12:59:52.834172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/20/image_23012025_23_20_27_10350.jpg', '/home/pi/Desktop/images/23012025/23/20/image_23012025_23_20_36_9456.jpg', '/home/pi/Desktop/images/23012025/23/20/image_23012025_23_20_46_10345.jpg', '/home/pi/Desktop/images/23012025/23/20/image_23012025_23_20_56_9357.jpg', '/home/pi/Desktop/images/23012025/23/20/image_23012025_23_21_06_10358.jpg', '/home/pi/Desktop/images/23012025/23/21/image_23012025_23_21_16_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/20/image_23012025_23_20_27_10350.jpg
/home/pi/Desktop/images/23012025/23/20/image_23012025_23_20_36_9456.jpg
/home/pi/Desktop/images/23012025/23/20/image_23012025_23_20_46_10345.jpg
/home/pi/Desktop/images/23012025/23/20/image_23012025_23_20_56_9357.jpg
/home/pi/Desktop/images/23012025/23/20/image_23012025_23_21_06_10358.jpg
/home/pi/Desktop/images/23012025/23/21/image_23012025_23_21_16_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332281347","1332281260","1332281341","1332281335","1332281345","1332281330"],"photo_ids_order":["1332281260","1332281330","1332281335","1332281341","1332281345","1332281347"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9063ad2810c4f0c153e87b834d2923c4.jpg","text":"TemporaryFile(/tmp/multipartBody7377067039424356629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065654963,"filename":"image_23012025_23_21_16_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7262bded6736f9895339e07e898f3649.jpg","text":"TemporaryFile(/tmp/multipartBody2725296057266873114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065654963,"filename":"image_23012025_23_20_27_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ec12cec62cfc50b4e5fc31fc8cc40129.jpg","text":"TemporaryFile(/tmp/multipartBody1511786226823213459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065654963,"filename":"image_23012025_23_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/1/28/461bfe03c74be46515b8d45fb620c947.jpg","text":"TemporaryFile(/tmp/multipartBody811645688883672062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065654963,"filename":"image_23012025_23_20_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/1/28/44c3bc72efcc8a963278031cf9868c7d.jpg","text":"TemporaryFile(/tmp/multipartBody3554459376516664868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065654963,"filename":"image_23012025_23_21_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/1/28/1f7e95652b32413924cef355676267e8.jpg","text":"TemporaryFile(/tmp/multipartBody6894525707803491939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065654963,"filename":"image_23012025_23_20_36_9456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332281335","file1":"1332281330","file0":"1332281260","file4":"1332281345","file5":"1332281347","file3":"1332281341"},"map_files_photo_id_array":[{"photo_id":"1332281347","filename":"file5"},{"photo_id":"1332281335","filename":"file2"},{"photo_id":"1332281345","filename":"file4"},{"photo_id":"1332281330","filename":"file1"},{"photo_id":"1332281260","filename":"file0"},{"photo_id":"1332281341","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332281347":["hashtag1","hashtag2"]},{"1332281260":["hashtag1","hashtag2"]},{"1332281341":["hashtag1","hashtag2"]},{"1332281335":["hashtag1","hashtag2"]},{"1332281345":["hashtag1","hashtag2"]},{"1332281330":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332281347, 1332281260, 1332281341, 1332281335, 1332281345, 1332281330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.342533826828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 13:00:43.101949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/24/image_28012025_06_24_37_10358.jpg', '/home/pi/Desktop/images/28012025/06/24/image_28012025_06_24_46_9344.jpg', '/home/pi/Desktop/images/28012025/06/24/image_28012025_06_24_56_10386.jpg', '/home/pi/Desktop/images/28012025/06/24/image_28012025_06_25_06_9451.jpg', '/home/pi/Desktop/images/28012025/06/25/image_28012025_06_25_16_10357.jpg', '/home/pi/Desktop/images/28012025/06/25/image_28012025_06_25_27_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/24/image_28012025_06_24_37_10358.jpg
/home/pi/Desktop/images/28012025/06/24/image_28012025_06_24_46_9344.jpg
/home/pi/Desktop/images/28012025/06/24/image_28012025_06_24_56_10386.jpg
/home/pi/Desktop/images/28012025/06/24/image_28012025_06_25_06_9451.jpg
/home/pi/Desktop/images/28012025/06/25/image_28012025_06_25_16_10357.jpg
/home/pi/Desktop/images/28012025/06/25/image_28012025_06_25_27_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":["1332281365","1332281380","1332281374","1332281368","1332281360","1332281363"],"photo_ids_order":["1332281360","1332281363","1332281365","1332281368","1332281374","1332281380"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7cba27b15e4b9ed0d8beaade8311d41d.jpg","text":"TemporaryFile(/tmp/multipartBody4285545831945606387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065704134,"filename":"image_28012025_06_24_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/1/28/8a3a3155d027e0535a9520f673a241c6.jpg","text":"TemporaryFile(/tmp/multipartBody4543233972529729643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065704134,"filename":"image_28012025_06_25_27_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/42674c4df59caf266ba59ef12b230017.jpg","text":"TemporaryFile(/tmp/multipartBody5274934416074580153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065704134,"filename":"image_28012025_06_25_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/1/28/ebed9b6db86220547a27ddda52167222.jpg","text":"TemporaryFile(/tmp/multipartBody2913754659226692128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065704134,"filename":"image_28012025_06_25_06_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9c6c740ef558279fe320a5480d72634e.jpg","text":"TemporaryFile(/tmp/multipartBody2323626507500789417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065704134,"filename":"image_28012025_06_24_37_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/224b4edb1d116ac049bcf9df0fc7b3b8.jpg","text":"TemporaryFile(/tmp/multipartBody6626693833353318293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065704134,"filename":"image_28012025_06_24_46_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332281365","file1":"1332281363","file0":"1332281360","file4":"1332281374","file5":"1332281380","file3":"1332281368"},"map_files_photo_id_array":[{"photo_id":"1332281380","filename":"file5"},{"photo_id":"1332281365","filename":"file2"},{"photo_id":"1332281374","filename":"file4"},{"photo_id":"1332281363","filename":"file1"},{"photo_id":"1332281360","filename":"file0"},{"photo_id":"1332281368","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332281365":["hashtag1","hashtag2"]},{"1332281380":["hashtag1","hashtag2"]},{"1332281374":["hashtag1","hashtag2"]},{"1332281368":["hashtag1","hashtag2"]},{"1332281360":["hashtag1","hashtag2"]},{"1332281363":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332281365, 1332281380, 1332281374, 1332281368, 1332281360, 1332281363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.25186109542847 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:01:32.280028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/25/image_28012025_06_25_36_9329.jpg', '/home/pi/Desktop/images/28012025/06/25/image_28012025_06_25_46_10532.jpg', '/home/pi/Desktop/images/28012025/06/25/image_28012025_06_25_57_10337.jpg', '/home/pi/Desktop/images/28012025/06/25/image_28012025_06_26_06_9331.jpg', '/home/pi/Desktop/images/28012025/06/26/image_28012025_06_26_16_10341.jpg', '/home/pi/Desktop/images/28012025/06/26/image_28012025_06_26_26_9424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/25/image_28012025_06_25_36_9329.jpg
/home/pi/Desktop/images/28012025/06/25/image_28012025_06_25_46_10532.jpg
/home/pi/Desktop/images/28012025/06/25/image_28012025_06_25_57_10337.jpg
/home/pi/Desktop/images/28012025/06/25/image_28012025_06_26_06_9331.jpg
/home/pi/Desktop/images/28012025/06/26/image_28012025_06_26_16_10341.jpg
/home/pi/Desktop/images/28012025/06/26/image_28012025_06_26_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":["1332281491","1332281569","1332281524","1332281499","1332281487","1332281483"],"photo_ids_order":["1332281483","1332281487","1332281491","1332281499","1332281524","1332281569"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/04283377d2a6bf6863165c70e258e136.jpg","text":"TemporaryFile(/tmp/multipartBody1595687994254383992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065753311,"filename":"image_28012025_06_25_57_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7959f2cb6ea63597d06ac06f5dd843dd.jpg","text":"TemporaryFile(/tmp/multipartBody6015959677682575962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065753311,"filename":"image_28012025_06_26_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/1/28/fce5df04de6bd723d055050a7b0d1404.jpg","text":"TemporaryFile(/tmp/multipartBody9156985749811548301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065753311,"filename":"image_28012025_06_26_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/1/28/b8b2a54a7d30cc0a6981af64a13478e0.jpg","text":"TemporaryFile(/tmp/multipartBody8100274678041698721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065753311,"filename":"image_28012025_06_26_06_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b5d70258b8ecba7b65f3afcc51a5f63f.jpg","text":"TemporaryFile(/tmp/multipartBody5873314953262202849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065753311,"filename":"image_28012025_06_25_46_10532.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bc7f390ad5e6ac06dbe2ecfb2f8a6fa6.jpg","text":"TemporaryFile(/tmp/multipartBody2762597481695383388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065753311,"filename":"image_28012025_06_25_36_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332281491","file1":"1332281487","file0":"1332281483","file4":"1332281524","file5":"1332281569","file3":"1332281499"},"map_files_photo_id_array":[{"photo_id":"1332281569","filename":"file5"},{"photo_id":"1332281491","filename":"file2"},{"photo_id":"1332281524","filename":"file4"},{"photo_id":"1332281487","filename":"file1"},{"photo_id":"1332281483","filename":"file0"},{"photo_id":"1332281499","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332281491":["hashtag1","hashtag2"]},{"1332281569":["hashtag1","hashtag2"]},{"1332281524":["hashtag1","hashtag2"]},{"1332281499":["hashtag1","hashtag2"]},{"1332281487":["hashtag1","hashtag2"]},{"1332281483":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332281491, 1332281569, 1332281524, 1332281499, 1332281487, 1332281483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.73981070518494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:02:32.603571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/26/image_28012025_06_26_36_10451.jpg', '/home/pi/Desktop/images/28012025/06/26/image_28012025_06_26_47_10416.jpg', '/home/pi/Desktop/images/28012025/06/26/image_28012025_06_26_56_9362.jpg', '/home/pi/Desktop/images/28012025/06/26/image_28012025_06_27_06_10350.jpg', '/home/pi/Desktop/images/28012025/06/27/image_28012025_06_27_16_9336.jpg', '/home/pi/Desktop/images/28012025/06/27/image_28012025_06_27_26_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/26/image_28012025_06_26_36_10451.jpg
/home/pi/Desktop/images/28012025/06/26/image_28012025_06_26_47_10416.jpg
/home/pi/Desktop/images/28012025/06/26/image_28012025_06_26_56_9362.jpg
/home/pi/Desktop/images/28012025/06/26/image_28012025_06_27_06_10350.jpg
/home/pi/Desktop/images/28012025/06/27/image_28012025_06_27_16_9336.jpg
/home/pi/Desktop/images/28012025/06/27/image_28012025_06_27_26_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":["1332282868","1332282877","1332282820","1332282698","1332282440","1332282320"],"photo_ids_order":["1332282320","1332282440","1332282698","1332282820","1332282868","1332282877"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5337bcdf91249082d513649a3ff1f9c1.jpg","text":"TemporaryFile(/tmp/multipartBody4933752078333884918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065813642,"filename":"image_28012025_06_27_16_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/37db0c585d36e1879ace5c446f99c064.jpg","text":"TemporaryFile(/tmp/multipartBody1883934596212676594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065813642,"filename":"image_28012025_06_27_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/1/28/e52d4ba675e0b9234e82e3b8f8d73113.jpg","text":"TemporaryFile(/tmp/multipartBody6393898080765134429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065813642,"filename":"image_28012025_06_27_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/1/28/9a62676b68ec74879e565fd52ccf7696.jpg","text":"TemporaryFile(/tmp/multipartBody3583536593828705642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065813642,"filename":"image_28012025_06_26_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/1/28/26a6cead0b7d31764bdce747394e5a28.jpg","text":"TemporaryFile(/tmp/multipartBody9091558922611846439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065813642,"filename":"image_28012025_06_26_47_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c929ec5a6c54127a63f05d825b922116.jpg","text":"TemporaryFile(/tmp/multipartBody6476449520757169908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065813642,"filename":"image_28012025_06_26_36_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332282698","file1":"1332282440","file0":"1332282320","file4":"1332282868","file5":"1332282877","file3":"1332282820"},"map_files_photo_id_array":[{"photo_id":"1332282877","filename":"file5"},{"photo_id":"1332282698","filename":"file2"},{"photo_id":"1332282868","filename":"file4"},{"photo_id":"1332282440","filename":"file1"},{"photo_id":"1332282320","filename":"file0"},{"photo_id":"1332282820","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332282868":["hashtag1","hashtag2"]},{"1332282877":["hashtag1","hashtag2"]},{"1332282820":["hashtag1","hashtag2"]},{"1332282698":["hashtag1","hashtag2"]},{"1332282440":["hashtag1","hashtag2"]},{"1332282320":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332282868, 1332282877, 1332282820, 1332282698, 1332282440, 1332282320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.96834754943848 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:03:32.812368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/27/image_28012025_06_27_37_10456.jpg', '/home/pi/Desktop/images/28012025/06/27/image_28012025_06_27_46_9334.jpg', '/home/pi/Desktop/images/28012025/06/27/image_28012025_06_27_56_10401.jpg', '/home/pi/Desktop/images/28012025/06/27/image_28012025_06_28_07_10356.jpg', '/home/pi/Desktop/images/28012025/06/28/image_28012025_06_28_16_9364.jpg', '/home/pi/Desktop/images/28012025/06/28/image_28012025_06_28_26_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/27/image_28012025_06_27_37_10456.jpg
/home/pi/Desktop/images/28012025/06/27/image_28012025_06_27_46_9334.jpg
/home/pi/Desktop/images/28012025/06/27/image_28012025_06_27_56_10401.jpg
/home/pi/Desktop/images/28012025/06/27/image_28012025_06_28_07_10356.jpg
/home/pi/Desktop/images/28012025/06/28/image_28012025_06_28_16_9364.jpg
/home/pi/Desktop/images/28012025/06/28/image_28012025_06_28_26_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332282976","1332282939","1332283094","1332283229","1332282947","1332282929"],"photo_ids_order":["1332282929","1332282939","1332282947","1332282976","1332283094","1332283229"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1f2153b7d763d5daf3254d84afb3f8bb.jpg","text":"TemporaryFile(/tmp/multipartBody6099886107538213113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065873843,"filename":"image_28012025_06_28_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/1/28/ab0656aa236dae1635a341791c139bf3.jpg","text":"TemporaryFile(/tmp/multipartBody2675510660077844896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065873843,"filename":"image_28012025_06_27_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/1/28/27cf8159fdc6f84dfbe371d293573cba.jpg","text":"TemporaryFile(/tmp/multipartBody2112017713133296702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065873843,"filename":"image_28012025_06_28_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/1/28/d2eb568efc0cec30d2043cf6368fdbc6.jpg","text":"TemporaryFile(/tmp/multipartBody6175085915513884461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065873843,"filename":"image_28012025_06_28_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/1/28/833068cab403b18d1a513514cc23d4a3.jpg","text":"TemporaryFile(/tmp/multipartBody1306641526615827406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065873843,"filename":"image_28012025_06_27_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/1/28/4433feb28d209d96d5feec61ed71ef1e.jpg","text":"TemporaryFile(/tmp/multipartBody739965692329064683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065873843,"filename":"image_28012025_06_27_37_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332282947","file1":"1332282939","file0":"1332282929","file4":"1332283094","file5":"1332283229","file3":"1332282976"},"map_files_photo_id_array":[{"photo_id":"1332283229","filename":"file5"},{"photo_id":"1332282947","filename":"file2"},{"photo_id":"1332283094","filename":"file4"},{"photo_id":"1332282939","filename":"file1"},{"photo_id":"1332282929","filename":"file0"},{"photo_id":"1332282976","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332282976":["hashtag1","hashtag2"]},{"1332282939":["hashtag1","hashtag2"]},{"1332283094":["hashtag1","hashtag2"]},{"1332283229":["hashtag1","hashtag2"]},{"1332282947":["hashtag1","hashtag2"]},{"1332282929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332282976, 1332282939, 1332283094, 1332283229, 1332282947, 1332282929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.51623034477234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:04:32.244371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/28/image_28012025_06_28_36_9440.jpg', '/home/pi/Desktop/images/28012025/06/28/image_28012025_06_28_57_10361.jpg', '/home/pi/Desktop/images/28012025/06/28/image_28012025_06_29_06_9321.jpg', '/home/pi/Desktop/images/28012025/06/29/image_28012025_06_29_16_10348.jpg', '/home/pi/Desktop/images/28012025/06/29/image_28012025_06_29_46_10406.jpg', '/home/pi/Desktop/images/28012025/06/29/image_28012025_06_29_56_9431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/28/image_28012025_06_28_36_9440.jpg
/home/pi/Desktop/images/28012025/06/28/image_28012025_06_28_57_10361.jpg
/home/pi/Desktop/images/28012025/06/28/image_28012025_06_29_06_9321.jpg
/home/pi/Desktop/images/28012025/06/29/image_28012025_06_29_16_10348.jpg
/home/pi/Desktop/images/28012025/06/29/image_28012025_06_29_46_10406.jpg
/home/pi/Desktop/images/28012025/06/29/image_28012025_06_29_56_9431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332283533","1332283734","1332283592","1332283370","1332283387","1332283396"],"photo_ids_order":["1332283370","1332283387","1332283396","1332283533","1332283592","1332283734"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/648962e8e9ad3607bc111f6353ececb6.jpg","text":"TemporaryFile(/tmp/multipartBody6124515351221141783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065933280,"filename":"image_28012025_06_29_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/1/28/588f17f7ce35d519b780882b18058c05.jpg","text":"TemporaryFile(/tmp/multipartBody1422016659786203909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065933280,"filename":"image_28012025_06_29_56_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/280677dd1fa4fbf9f96192e4451d5b22.jpg","text":"TemporaryFile(/tmp/multipartBody3794189821285950494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065933280,"filename":"image_28012025_06_29_46_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/68aae6f88d236b9630b42e3e81f52348.jpg","text":"TemporaryFile(/tmp/multipartBody5191027363973466892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065933280,"filename":"image_28012025_06_28_36_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/420ba834e4f344b4adcec68a56249128.jpg","text":"TemporaryFile(/tmp/multipartBody3958627301881038364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065933280,"filename":"image_28012025_06_28_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/1/28/43c98701b2cd1d39845c173c81aafa2f.jpg","text":"TemporaryFile(/tmp/multipartBody6666379251015414180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065933280,"filename":"image_28012025_06_29_06_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332283396","file1":"1332283387","file0":"1332283370","file4":"1332283592","file5":"1332283734","file3":"1332283533"},"map_files_photo_id_array":[{"photo_id":"1332283734","filename":"file5"},{"photo_id":"1332283396","filename":"file2"},{"photo_id":"1332283592","filename":"file4"},{"photo_id":"1332283387","filename":"file1"},{"photo_id":"1332283370","filename":"file0"},{"photo_id":"1332283533","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332283533":["hashtag1","hashtag2"]},{"1332283734":["hashtag1","hashtag2"]},{"1332283592":["hashtag1","hashtag2"]},{"1332283370":["hashtag1","hashtag2"]},{"1332283387":["hashtag1","hashtag2"]},{"1332283396":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332283533, 1332283734, 1332283592, 1332283370, 1332283387, 1332283396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.90430188179016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:05:32.472131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/29/image_28012025_06_30_06_10414.jpg', '/home/pi/Desktop/images/28012025/06/30/image_28012025_06_30_17_10404.jpg', '/home/pi/Desktop/images/28012025/06/30/image_28012025_06_30_36_10457.jpg', '/home/pi/Desktop/images/28012025/06/30/image_28012025_06_30_47_10354.jpg', '/home/pi/Desktop/images/28012025/06/30/image_28012025_06_30_56_9389.jpg', '/home/pi/Desktop/images/28012025/06/30/image_28012025_06_31_07_10428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/29/image_28012025_06_30_06_10414.jpg
/home/pi/Desktop/images/28012025/06/30/image_28012025_06_30_17_10404.jpg
/home/pi/Desktop/images/28012025/06/30/image_28012025_06_30_36_10457.jpg
/home/pi/Desktop/images/28012025/06/30/image_28012025_06_30_47_10354.jpg
/home/pi/Desktop/images/28012025/06/30/image_28012025_06_30_56_9389.jpg
/home/pi/Desktop/images/28012025/06/30/image_28012025_06_31_07_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":["1332283797","1332284078","1332284039","1332283920","1332283781","1332283786"],"photo_ids_order":["1332283781","1332283786","1332283797","1332283920","1332284039","1332284078"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ecf3271116ade25c4169efe4d53d00b6.jpg","text":"TemporaryFile(/tmp/multipartBody1258082195010151641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065993521,"filename":"image_28012025_06_30_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/1/28/c2d1cc3110bfdf91a568a9d6fe3d28f1.jpg","text":"TemporaryFile(/tmp/multipartBody8650162930529493653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065993521,"filename":"image_28012025_06_31_07_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7dffde894b92410e7b96e6cbc44bd55d.jpg","text":"TemporaryFile(/tmp/multipartBody325421101639019979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065993521,"filename":"image_28012025_06_30_56_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5ca6a7b9ed2edf4052b96478b513d105.jpg","text":"TemporaryFile(/tmp/multipartBody4031498868257747579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065993521,"filename":"image_28012025_06_30_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/1/28/ea9af74ed5c60ff8d3a5b646a0af7c21.jpg","text":"TemporaryFile(/tmp/multipartBody7538201664141077000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065993521,"filename":"image_28012025_06_30_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/1/28/caef0abb4c15b085cd8a43ae068b0f1f.jpg","text":"TemporaryFile(/tmp/multipartBody9142636136179045132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738065993521,"filename":"image_28012025_06_30_17_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332283797","file1":"1332283786","file0":"1332283781","file4":"1332284039","file5":"1332284078","file3":"1332283920"},"map_files_photo_id_array":[{"photo_id":"1332284078","filename":"file5"},{"photo_id":"1332283797","filename":"file2"},{"photo_id":"1332284039","filename":"file4"},{"photo_id":"1332283786","filename":"file1"},{"photo_id":"1332283781","filename":"file0"},{"photo_id":"1332283920","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332283797":["hashtag1","hashtag2"]},{"1332284078":["hashtag1","hashtag2"]},{"1332284039":["hashtag1","hashtag2"]},{"1332283920":["hashtag1","hashtag2"]},{"1332283781":["hashtag1","hashtag2"]},{"1332283786":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332283797, 1332284078, 1332284039, 1332283920, 1332283781, 1332283786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.55512619018555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:06:32.549095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/31/image_28012025_06_31_16_9319.jpg', '/home/pi/Desktop/images/28012025/06/31/image_28012025_06_31_26_10483.jpg', '/home/pi/Desktop/images/28012025/06/31/image_28012025_06_31_37_10350.jpg', '/home/pi/Desktop/images/28012025/06/31/image_28012025_06_31_46_9337.jpg', '/home/pi/Desktop/images/28012025/06/31/image_28012025_06_31_56_10350.jpg', '/home/pi/Desktop/images/28012025/06/31/image_28012025_06_32_06_9378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/31/image_28012025_06_31_16_9319.jpg
/home/pi/Desktop/images/28012025/06/31/image_28012025_06_31_26_10483.jpg
/home/pi/Desktop/images/28012025/06/31/image_28012025_06_31_37_10350.jpg
/home/pi/Desktop/images/28012025/06/31/image_28012025_06_31_46_9337.jpg
/home/pi/Desktop/images/28012025/06/31/image_28012025_06_31_56_10350.jpg
/home/pi/Desktop/images/28012025/06/31/image_28012025_06_32_06_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":["1332284127","1332284141","1332284135","1332284137","1332284122","1332284131"],"photo_ids_order":["1332284122","1332284127","1332284131","1332284135","1332284137","1332284141"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1c0dd1051774ac8799ea13ba5ac70e06.jpg","text":"TemporaryFile(/tmp/multipartBody3089565101637120034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066053595,"filename":"image_28012025_06_31_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/1/28/d3ad38586a7ea5ba2094524c8bd764d4.jpg","text":"TemporaryFile(/tmp/multipartBody3431600136843010618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066053595,"filename":"image_28012025_06_32_06_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/43f82e88a46c23b31016b3bee01e689c.jpg","text":"TemporaryFile(/tmp/multipartBody2020587581388658439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066053595,"filename":"image_28012025_06_31_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/1/28/6b7513a5c5907969e96889eb31711fd8.jpg","text":"TemporaryFile(/tmp/multipartBody6047879256143258006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066053595,"filename":"image_28012025_06_31_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/1/28/1aa3a4f6723ef8d542aa40e8b73a6504.jpg","text":"TemporaryFile(/tmp/multipartBody2946809243557497207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066053595,"filename":"image_28012025_06_31_16_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/faf81e9b06ce2c69281eba1ba825ce25.jpg","text":"TemporaryFile(/tmp/multipartBody167087072204851310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066053595,"filename":"image_28012025_06_31_37_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332284131","file1":"1332284127","file0":"1332284122","file4":"1332284137","file5":"1332284141","file3":"1332284135"},"map_files_photo_id_array":[{"photo_id":"1332284141","filename":"file5"},{"photo_id":"1332284131","filename":"file2"},{"photo_id":"1332284137","filename":"file4"},{"photo_id":"1332284127","filename":"file1"},{"photo_id":"1332284122","filename":"file0"},{"photo_id":"1332284135","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332284127":["hashtag1","hashtag2"]},{"1332284141":["hashtag1","hashtag2"]},{"1332284135":["hashtag1","hashtag2"]},{"1332284137":["hashtag1","hashtag2"]},{"1332284122":["hashtag1","hashtag2"]},{"1332284131":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332284127, 1332284141, 1332284135, 1332284137, 1332284122, 1332284131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.314626693725586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:07:32.788608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/32/image_28012025_06_32_16_10336.jpg', '/home/pi/Desktop/images/28012025/06/32/image_28012025_06_32_27_10427.jpg', '/home/pi/Desktop/images/28012025/06/32/image_28012025_06_32_36_9342.jpg', '/home/pi/Desktop/images/28012025/06/32/image_28012025_06_32_46_10433.jpg', '/home/pi/Desktop/images/28012025/06/32/image_28012025_06_32_57_10366.jpg', '/home/pi/Desktop/images/28012025/06/32/image_28012025_06_33_06_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/32/image_28012025_06_32_16_10336.jpg
/home/pi/Desktop/images/28012025/06/32/image_28012025_06_32_27_10427.jpg
/home/pi/Desktop/images/28012025/06/32/image_28012025_06_32_36_9342.jpg
/home/pi/Desktop/images/28012025/06/32/image_28012025_06_32_46_10433.jpg
/home/pi/Desktop/images/28012025/06/32/image_28012025_06_32_57_10366.jpg
/home/pi/Desktop/images/28012025/06/32/image_28012025_06_33_06_9346.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5935220718383789 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 13:07:42.852864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/32/image_28012025_06_32_16_10336.jpg', '/home/pi/Desktop/images/28012025/06/32/image_28012025_06_32_27_10427.jpg', '/home/pi/Desktop/images/28012025/06/32/image_28012025_06_32_36_9342.jpg', '/home/pi/Desktop/images/28012025/06/32/image_28012025_06_32_46_10433.jpg', '/home/pi/Desktop/images/28012025/06/32/image_28012025_06_32_57_10366.jpg', '/home/pi/Desktop/images/28012025/06/32/image_28012025_06_33_06_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/32/image_28012025_06_32_16_10336.jpg
/home/pi/Desktop/images/28012025/06/32/image_28012025_06_32_27_10427.jpg
/home/pi/Desktop/images/28012025/06/32/image_28012025_06_32_36_9342.jpg
/home/pi/Desktop/images/28012025/06/32/image_28012025_06_32_46_10433.jpg
/home/pi/Desktop/images/28012025/06/32/image_28012025_06_32_57_10366.jpg
/home/pi/Desktop/images/28012025/06/32/image_28012025_06_33_06_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332285089","1332285080","1332285083","1332285056","1332285061","1332285066"],"photo_ids_order":["1332285056","1332285061","1332285066","1332285080","1332285083","1332285089"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1025840ad9c94a1005fbda69cfeb56d2.jpg","text":"TemporaryFile(/tmp/multipartBody6565787793884329717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066123837,"filename":"image_28012025_06_33_06_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0688e2891eb26e77393e9a985f070629.jpg","text":"TemporaryFile(/tmp/multipartBody4370913050984313089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066123837,"filename":"image_28012025_06_32_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/1/28/e2e1c681ed7fe3dad8023a3c907faed1.jpg","text":"TemporaryFile(/tmp/multipartBody5522418251385495936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066123837,"filename":"image_28012025_06_32_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/1/28/b38a6cbce8ff74f0e0d247a2e7b81cb4.jpg","text":"TemporaryFile(/tmp/multipartBody4716293987432064256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066123837,"filename":"image_28012025_06_32_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/1/28/b9c646f81501d46e49698847403cff92.jpg","text":"TemporaryFile(/tmp/multipartBody6199175093138987576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066123837,"filename":"image_28012025_06_32_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/1/28/7112bf945970d4d5843d0be2978903f2.jpg","text":"TemporaryFile(/tmp/multipartBody40248678787204751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066123837,"filename":"image_28012025_06_32_36_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332285066","file1":"1332285061","file0":"1332285056","file4":"1332285083","file5":"1332285089","file3":"1332285080"},"map_files_photo_id_array":[{"photo_id":"1332285089","filename":"file5"},{"photo_id":"1332285066","filename":"file2"},{"photo_id":"1332285083","filename":"file4"},{"photo_id":"1332285061","filename":"file1"},{"photo_id":"1332285056","filename":"file0"},{"photo_id":"1332285080","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332285089":["hashtag1","hashtag2"]},{"1332285080":["hashtag1","hashtag2"]},{"1332285083":["hashtag1","hashtag2"]},{"1332285056":["hashtag1","hashtag2"]},{"1332285061":["hashtag1","hashtag2"]},{"1332285066":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332285089, 1332285080, 1332285083, 1332285056, 1332285061, 1332285066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59138798713684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:08:33.071704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/33/image_28012025_06_33_16_10428.jpg', '/home/pi/Desktop/images/28012025/06/33/image_28012025_06_33_26_9442.jpg', '/home/pi/Desktop/images/28012025/06/33/image_28012025_06_33_36_10445.jpg', '/home/pi/Desktop/images/28012025/06/33/image_28012025_06_33_47_10355.jpg', '/home/pi/Desktop/images/28012025/06/33/image_28012025_06_33_56_9324.jpg', '/home/pi/Desktop/images/28012025/06/34/image_28012025_06_34_16_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/33/image_28012025_06_33_16_10428.jpg
/home/pi/Desktop/images/28012025/06/33/image_28012025_06_33_26_9442.jpg
/home/pi/Desktop/images/28012025/06/33/image_28012025_06_33_36_10445.jpg
/home/pi/Desktop/images/28012025/06/33/image_28012025_06_33_47_10355.jpg
/home/pi/Desktop/images/28012025/06/33/image_28012025_06_33_56_9324.jpg
/home/pi/Desktop/images/28012025/06/34/image_28012025_06_34_16_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332285447","1332285420","1332285415","1332285546","1332285462","1332285423"],"photo_ids_order":["1332285415","1332285420","1332285423","1332285447","1332285462","1332285546"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dc9c97a31a3c825f8ad7728de255998d.jpg","text":"TemporaryFile(/tmp/multipartBody4318269893441575980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066174119,"filename":"image_28012025_06_33_47_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5e0a53ebe392a6ab7395679b86954aac.jpg","text":"TemporaryFile(/tmp/multipartBody3340295066654521010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066174119,"filename":"image_28012025_06_33_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/1/28/4d2156f5c144dde69c28cca697d9b117.jpg","text":"TemporaryFile(/tmp/multipartBody5509716415959497493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066174119,"filename":"image_28012025_06_33_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/1/28/35106da77a7862e994c120ad480d7209.jpg","text":"TemporaryFile(/tmp/multipartBody8456984037299631557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066174119,"filename":"image_28012025_06_34_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/1/28/f818677bad079f89a817972a5d02dd6f.jpg","text":"TemporaryFile(/tmp/multipartBody7578872863775826500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066174119,"filename":"image_28012025_06_33_56_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3fcb0495ab391d1bd4cd35b0fc35e619.jpg","text":"TemporaryFile(/tmp/multipartBody3974255890114056244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066174119,"filename":"image_28012025_06_33_36_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332285423","file1":"1332285420","file0":"1332285415","file4":"1332285462","file5":"1332285546","file3":"1332285447"},"map_files_photo_id_array":[{"photo_id":"1332285546","filename":"file5"},{"photo_id":"1332285423","filename":"file2"},{"photo_id":"1332285462","filename":"file4"},{"photo_id":"1332285420","filename":"file1"},{"photo_id":"1332285415","filename":"file0"},{"photo_id":"1332285447","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332285447":["hashtag1","hashtag2"]},{"1332285420":["hashtag1","hashtag2"]},{"1332285415":["hashtag1","hashtag2"]},{"1332285546":["hashtag1","hashtag2"]},{"1332285462":["hashtag1","hashtag2"]},{"1332285423":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332285447, 1332285420, 1332285415, 1332285546, 1332285462, 1332285423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.083146810531616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:09:32.338709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/34/image_28012025_06_34_26_10336.jpg', '/home/pi/Desktop/images/28012025/06/34/image_28012025_06_34_37_10416.jpg', '/home/pi/Desktop/images/28012025/06/34/image_28012025_06_34_46_9339.jpg', '/home/pi/Desktop/images/28012025/06/34/image_28012025_06_34_56_10431.jpg', '/home/pi/Desktop/images/28012025/06/35/image_28012025_06_35_26_10457.jpg', '/home/pi/Desktop/images/28012025/06/35/image_28012025_06_35_36_9425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/34/image_28012025_06_34_26_10336.jpg
/home/pi/Desktop/images/28012025/06/34/image_28012025_06_34_37_10416.jpg
/home/pi/Desktop/images/28012025/06/34/image_28012025_06_34_46_9339.jpg
/home/pi/Desktop/images/28012025/06/34/image_28012025_06_34_56_10431.jpg
/home/pi/Desktop/images/28012025/06/35/image_28012025_06_35_26_10457.jpg
/home/pi/Desktop/images/28012025/06/35/image_28012025_06_35_36_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":["1332285723","1332285728","1332285713","1332285790","1332285793","1332285795"],"photo_ids_order":["1332285713","1332285723","1332285728","1332285790","1332285793","1332285795"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b80d7f69837cf4f9de89b2e24079d9b4.jpg","text":"TemporaryFile(/tmp/multipartBody7731626919008258049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066233382,"filename":"image_28012025_06_34_37_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/95561a8658e6bab9418d42170bb3fb4e.jpg","text":"TemporaryFile(/tmp/multipartBody3182726300847571535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066233382,"filename":"image_28012025_06_34_46_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1f17ee071e59c12be9068b0827493755.jpg","text":"TemporaryFile(/tmp/multipartBody8029730232860618867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066233382,"filename":"image_28012025_06_34_26_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/87de34a7c019f6ac37796e20fad4068d.jpg","text":"TemporaryFile(/tmp/multipartBody3591676554987796947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066233382,"filename":"image_28012025_06_34_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/1/28/cfd9a25c8d0d29607fadd75d02844f4c.jpg","text":"TemporaryFile(/tmp/multipartBody3822049877820664061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066233382,"filename":"image_28012025_06_35_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/1/28/c4ea4ba7e2a1964bed6e75ab489996e8.jpg","text":"TemporaryFile(/tmp/multipartBody2081431938799945663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066233382,"filename":"image_28012025_06_35_36_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332285728","file1":"1332285723","file0":"1332285713","file4":"1332285793","file5":"1332285795","file3":"1332285790"},"map_files_photo_id_array":[{"photo_id":"1332285795","filename":"file5"},{"photo_id":"1332285728","filename":"file2"},{"photo_id":"1332285793","filename":"file4"},{"photo_id":"1332285723","filename":"file1"},{"photo_id":"1332285713","filename":"file0"},{"photo_id":"1332285790","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332285723":["hashtag1","hashtag2"]},{"1332285728":["hashtag1","hashtag2"]},{"1332285713":["hashtag1","hashtag2"]},{"1332285790":["hashtag1","hashtag2"]},{"1332285793":["hashtag1","hashtag2"]},{"1332285795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332285723, 1332285728, 1332285713, 1332285790, 1332285793, 1332285795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.353588581085205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:10:32.612766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/35/image_28012025_06_35_46_10441.jpg', '/home/pi/Desktop/images/28012025/06/35/image_28012025_06_35_57_10357.jpg', '/home/pi/Desktop/images/28012025/06/35/image_28012025_06_36_06_9566.jpg', '/home/pi/Desktop/images/28012025/06/36/image_28012025_06_36_17_10355.jpg', '/home/pi/Desktop/images/28012025/06/36/image_28012025_06_36_26_9353.jpg', '/home/pi/Desktop/images/28012025/06/36/image_28012025_06_36_36_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/35/image_28012025_06_35_46_10441.jpg
/home/pi/Desktop/images/28012025/06/35/image_28012025_06_35_57_10357.jpg
/home/pi/Desktop/images/28012025/06/35/image_28012025_06_36_06_9566.jpg
/home/pi/Desktop/images/28012025/06/36/image_28012025_06_36_17_10355.jpg
/home/pi/Desktop/images/28012025/06/36/image_28012025_06_36_26_9353.jpg
/home/pi/Desktop/images/28012025/06/36/image_28012025_06_36_36_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332285875","1332285854","1332285851","1332285865","1332285862","1332285858"],"photo_ids_order":["1332285851","1332285854","1332285858","1332285862","1332285865","1332285875"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0a6010ca9b8b43b0f2ee62cc060bbb8b.jpg","text":"TemporaryFile(/tmp/multipartBody6806229159354250236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066293657,"filename":"image_28012025_06_36_36_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2c445257943641e2808cfcd00fbb3f1d.jpg","text":"TemporaryFile(/tmp/multipartBody7776041295276983231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066293657,"filename":"image_28012025_06_35_57_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6eb8b437adc937e2eed91d92c8d5f892.jpg","text":"TemporaryFile(/tmp/multipartBody3869794205819482162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066293657,"filename":"image_28012025_06_35_46_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/20f0bcc98a4029163e50d62d09649e70.jpg","text":"TemporaryFile(/tmp/multipartBody5004365098953626257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066293657,"filename":"image_28012025_06_36_26_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e36b37e31c24c9a4e7cb285969fdd64c.jpg","text":"TemporaryFile(/tmp/multipartBody3011243657324534179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066293657,"filename":"image_28012025_06_36_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/1/28/76420f26afebbfe4a5c056a9b127251b.jpg","text":"TemporaryFile(/tmp/multipartBody8724786532458998068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066293657,"filename":"image_28012025_06_36_06_9566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332285858","file1":"1332285854","file0":"1332285851","file4":"1332285865","file5":"1332285875","file3":"1332285862"},"map_files_photo_id_array":[{"photo_id":"1332285875","filename":"file5"},{"photo_id":"1332285858","filename":"file2"},{"photo_id":"1332285865","filename":"file4"},{"photo_id":"1332285854","filename":"file1"},{"photo_id":"1332285851","filename":"file0"},{"photo_id":"1332285862","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332285875":["hashtag1","hashtag2"]},{"1332285854":["hashtag1","hashtag2"]},{"1332285851":["hashtag1","hashtag2"]},{"1332285865":["hashtag1","hashtag2"]},{"1332285862":["hashtag1","hashtag2"]},{"1332285858":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332285875, 1332285854, 1332285851, 1332285865, 1332285862, 1332285858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.273616790771484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:11:32.842627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/36/image_28012025_06_36_47_10356.jpg', '/home/pi/Desktop/images/28012025/06/36/image_28012025_06_36_56_9372.jpg', '/home/pi/Desktop/images/28012025/06/36/image_28012025_06_37_06_10364.jpg', '/home/pi/Desktop/images/28012025/06/37/image_28012025_06_37_16_9324.jpg', '/home/pi/Desktop/images/28012025/06/37/image_28012025_06_37_37_10400.jpg', '/home/pi/Desktop/images/28012025/06/37/image_28012025_06_37_46_9421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/36/image_28012025_06_36_47_10356.jpg
/home/pi/Desktop/images/28012025/06/36/image_28012025_06_36_56_9372.jpg
/home/pi/Desktop/images/28012025/06/36/image_28012025_06_37_06_10364.jpg
/home/pi/Desktop/images/28012025/06/37/image_28012025_06_37_16_9324.jpg
/home/pi/Desktop/images/28012025/06/37/image_28012025_06_37_37_10400.jpg
/home/pi/Desktop/images/28012025/06/37/image_28012025_06_37_46_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":["1332285995","1332285964","1332285996","1332285969","1332285984","1332285957"],"photo_ids_order":["1332285957","1332285964","1332285969","1332285984","1332285995","1332285996"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a1ba0be0a9fc330ec16b4904efb4eb82.jpg","text":"TemporaryFile(/tmp/multipartBody9051448970602993807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066353877,"filename":"image_28012025_06_37_37_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d7e951835e1f20e9da81d26525b1ddd1.jpg","text":"TemporaryFile(/tmp/multipartBody3746619527373360430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066353877,"filename":"image_28012025_06_36_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/1/28/3038c8ca3222ff68a02a54474a35f97d.jpg","text":"TemporaryFile(/tmp/multipartBody2270737341310001593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066353877,"filename":"image_28012025_06_37_46_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/53b71c3d8ab11a0fbb20810fc636d1ad.jpg","text":"TemporaryFile(/tmp/multipartBody8405119653820736978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066353877,"filename":"image_28012025_06_37_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/1/28/5bfe2491109414e8a15692bbf6842464.jpg","text":"TemporaryFile(/tmp/multipartBody5100407849333636189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066353877,"filename":"image_28012025_06_37_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/1/28/9d475f70f930b3f79250fb362e658766.jpg","text":"TemporaryFile(/tmp/multipartBody3746404395119575866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066353877,"filename":"image_28012025_06_36_47_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332285969","file1":"1332285964","file0":"1332285957","file4":"1332285995","file5":"1332285996","file3":"1332285984"},"map_files_photo_id_array":[{"photo_id":"1332285996","filename":"file5"},{"photo_id":"1332285969","filename":"file2"},{"photo_id":"1332285995","filename":"file4"},{"photo_id":"1332285964","filename":"file1"},{"photo_id":"1332285957","filename":"file0"},{"photo_id":"1332285984","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332285995":["hashtag1","hashtag2"]},{"1332285964":["hashtag1","hashtag2"]},{"1332285996":["hashtag1","hashtag2"]},{"1332285969":["hashtag1","hashtag2"]},{"1332285984":["hashtag1","hashtag2"]},{"1332285957":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332285995, 1332285964, 1332285996, 1332285969, 1332285984, 1332285957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.351009130477905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:12:33.118040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/37/image_28012025_06_37_56_10500.jpg', '/home/pi/Desktop/images/28012025/06/37/image_28012025_06_38_06_9356.jpg', '/home/pi/Desktop/images/28012025/06/38/image_28012025_06_38_16_10363.jpg', '/home/pi/Desktop/images/28012025/06/38/image_28012025_06_38_27_10408.jpg', '/home/pi/Desktop/images/28012025/06/38/image_28012025_06_38_36_9386.jpg', '/home/pi/Desktop/images/28012025/06/38/image_28012025_06_38_46_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/37/image_28012025_06_37_56_10500.jpg
/home/pi/Desktop/images/28012025/06/37/image_28012025_06_38_06_9356.jpg
/home/pi/Desktop/images/28012025/06/38/image_28012025_06_38_16_10363.jpg
/home/pi/Desktop/images/28012025/06/38/image_28012025_06_38_27_10408.jpg
/home/pi/Desktop/images/28012025/06/38/image_28012025_06_38_36_9386.jpg
/home/pi/Desktop/images/28012025/06/38/image_28012025_06_38_46_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332286022","1332286013","1332286021","1332286015","1332286018","1332286023"],"photo_ids_order":["1332286013","1332286015","1332286018","1332286021","1332286022","1332286023"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/17f069881d0110d80e448567bc842034.jpg","text":"TemporaryFile(/tmp/multipartBody7274664516681939647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066414133,"filename":"image_28012025_06_38_36_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3d954be2d24a338005f4a5e100a80e8c.jpg","text":"TemporaryFile(/tmp/multipartBody2922293984980398267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066414133,"filename":"image_28012025_06_37_56_10500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bf70e948361b29492c64b58a2069e052.jpg","text":"TemporaryFile(/tmp/multipartBody557808233841054888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066414133,"filename":"image_28012025_06_38_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/1/28/106381c8160575dfb455672296598042.jpg","text":"TemporaryFile(/tmp/multipartBody2218932427424693745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066414133,"filename":"image_28012025_06_38_06_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c4c34f97362ba0f44b1beaebd39d0bd0.jpg","text":"TemporaryFile(/tmp/multipartBody6661411884402178510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066414133,"filename":"image_28012025_06_38_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/1/28/2ac9a2d17748f9d9d8132463b024496c.jpg","text":"TemporaryFile(/tmp/multipartBody3527119126147109555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066414133,"filename":"image_28012025_06_38_46_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332286018","file1":"1332286015","file0":"1332286013","file4":"1332286022","file5":"1332286023","file3":"1332286021"},"map_files_photo_id_array":[{"photo_id":"1332286023","filename":"file5"},{"photo_id":"1332286018","filename":"file2"},{"photo_id":"1332286022","filename":"file4"},{"photo_id":"1332286015","filename":"file1"},{"photo_id":"1332286013","filename":"file0"},{"photo_id":"1332286021","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332286022":["hashtag1","hashtag2"]},{"1332286013":["hashtag1","hashtag2"]},{"1332286021":["hashtag1","hashtag2"]},{"1332286015":["hashtag1","hashtag2"]},{"1332286018":["hashtag1","hashtag2"]},{"1332286023":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332286022, 1332286013, 1332286021, 1332286015, 1332286018, 1332286023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.407604694366455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:13:32.365027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/38/image_28012025_06_38_57_10351.jpg', '/home/pi/Desktop/images/28012025/06/39/image_28012025_06_39_16_10351.jpg', '/home/pi/Desktop/images/28012025/06/39/image_28012025_06_39_26_9380.jpg', '/home/pi/Desktop/images/28012025/06/39/image_28012025_06_39_36_10379.jpg', '/home/pi/Desktop/images/28012025/06/39/image_28012025_06_39_47_10498.jpg', '/home/pi/Desktop/images/28012025/06/39/image_28012025_06_39_56_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/38/image_28012025_06_38_57_10351.jpg
/home/pi/Desktop/images/28012025/06/39/image_28012025_06_39_16_10351.jpg
/home/pi/Desktop/images/28012025/06/39/image_28012025_06_39_26_9380.jpg
/home/pi/Desktop/images/28012025/06/39/image_28012025_06_39_36_10379.jpg
/home/pi/Desktop/images/28012025/06/39/image_28012025_06_39_47_10498.jpg
/home/pi/Desktop/images/28012025/06/39/image_28012025_06_39_56_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332286076","1332286081","1332286086","1332286071","1332286065","1332286085"],"photo_ids_order":["1332286065","1332286071","1332286076","1332286081","1332286085","1332286086"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9ca021a8ca9f7b44616576943703faec.jpg","text":"TemporaryFile(/tmp/multipartBody3339616605276089026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066473385,"filename":"image_28012025_06_39_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/1/28/e7afbc7440294cc63eaa90175c9c6108.jpg","text":"TemporaryFile(/tmp/multipartBody1911435824518320977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066473385,"filename":"image_28012025_06_39_36_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0e8fc114a4c48796fc2d1ac8d3ba38ba.jpg","text":"TemporaryFile(/tmp/multipartBody5249304578763657596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066473385,"filename":"image_28012025_06_39_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/1/28/5a3d2ccda66ee73e78394b8e34080ee2.jpg","text":"TemporaryFile(/tmp/multipartBody2473691044445750431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066473385,"filename":"image_28012025_06_39_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/1/28/86b80857ae3e8ec295810de361661a38.jpg","text":"TemporaryFile(/tmp/multipartBody5860911524954307981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066473385,"filename":"image_28012025_06_38_57_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a775fa5b7bad5b16848034578159eaee.jpg","text":"TemporaryFile(/tmp/multipartBody699308818283627843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066473385,"filename":"image_28012025_06_39_47_10498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332286076","file1":"1332286071","file0":"1332286065","file4":"1332286085","file5":"1332286086","file3":"1332286081"},"map_files_photo_id_array":[{"photo_id":"1332286086","filename":"file5"},{"photo_id":"1332286076","filename":"file2"},{"photo_id":"1332286085","filename":"file4"},{"photo_id":"1332286071","filename":"file1"},{"photo_id":"1332286065","filename":"file0"},{"photo_id":"1332286081","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332286076":["hashtag1","hashtag2"]},{"1332286081":["hashtag1","hashtag2"]},{"1332286086":["hashtag1","hashtag2"]},{"1332286071":["hashtag1","hashtag2"]},{"1332286065":["hashtag1","hashtag2"]},{"1332286085":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332286076, 1332286081, 1332286086, 1332286071, 1332286065, 1332286085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.21394324302673 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:14:32.550387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/39/image_28012025_06_40_06_10432.jpg', '/home/pi/Desktop/images/28012025/06/40/image_28012025_06_40_16_9372.jpg', '/home/pi/Desktop/images/28012025/06/40/image_28012025_06_40_26_10540.jpg', '/home/pi/Desktop/images/28012025/06/40/image_28012025_06_40_37_10352.jpg', '/home/pi/Desktop/images/28012025/06/40/image_28012025_06_40_46_9345.jpg', '/home/pi/Desktop/images/28012025/06/40/image_28012025_06_40_56_10325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/39/image_28012025_06_40_06_10432.jpg
/home/pi/Desktop/images/28012025/06/40/image_28012025_06_40_16_9372.jpg
/home/pi/Desktop/images/28012025/06/40/image_28012025_06_40_26_10540.jpg
/home/pi/Desktop/images/28012025/06/40/image_28012025_06_40_37_10352.jpg
/home/pi/Desktop/images/28012025/06/40/image_28012025_06_40_46_9345.jpg
/home/pi/Desktop/images/28012025/06/40/image_28012025_06_40_56_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":["1332286151","1332286142","1332286156","1332286203","1332286146","1332286199"],"photo_ids_order":["1332286142","1332286146","1332286151","1332286156","1332286199","1332286203"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/743f3f06f8939d5be5c9c8b12a17e355.jpg","text":"TemporaryFile(/tmp/multipartBody5573403231157955625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066533618,"filename":"image_28012025_06_40_26_10540.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e618f61f15b6cc355c14f851d477b9a9.jpg","text":"TemporaryFile(/tmp/multipartBody8680414898145337929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066533618,"filename":"image_28012025_06_40_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/1/28/ef3a43f1ba3b5f5ba3a88d299fc6f740.jpg","text":"TemporaryFile(/tmp/multipartBody1521141582653996394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066533618,"filename":"image_28012025_06_40_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/1/28/1a8adcd336087fd19134359122dd2406.jpg","text":"TemporaryFile(/tmp/multipartBody1839615950865017486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066533618,"filename":"image_28012025_06_40_56_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3afb2115a6759b19bc02fa0e33e74863.jpg","text":"TemporaryFile(/tmp/multipartBody5898525619515737366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066533618,"filename":"image_28012025_06_40_16_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7c4dcb2b68233a69e4d8fb47365e6618.jpg","text":"TemporaryFile(/tmp/multipartBody7900073142374511762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066533618,"filename":"image_28012025_06_40_46_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332286151","file1":"1332286146","file0":"1332286142","file4":"1332286199","file5":"1332286203","file3":"1332286156"},"map_files_photo_id_array":[{"photo_id":"1332286203","filename":"file5"},{"photo_id":"1332286151","filename":"file2"},{"photo_id":"1332286199","filename":"file4"},{"photo_id":"1332286146","filename":"file1"},{"photo_id":"1332286142","filename":"file0"},{"photo_id":"1332286156","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332286151":["hashtag1","hashtag2"]},{"1332286142":["hashtag1","hashtag2"]},{"1332286156":["hashtag1","hashtag2"]},{"1332286203":["hashtag1","hashtag2"]},{"1332286146":["hashtag1","hashtag2"]},{"1332286199":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332286151, 1332286142, 1332286156, 1332286203, 1332286146, 1332286199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.644972801208496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:15:32.942972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/40/image_28012025_06_41_07_10355.jpg', '/home/pi/Desktop/images/28012025/06/41/image_28012025_06_41_16_9391.jpg', '/home/pi/Desktop/images/28012025/06/41/image_28012025_06_41_26_10366.jpg', '/home/pi/Desktop/images/28012025/06/41/image_28012025_06_41_36_9390.jpg', '/home/pi/Desktop/images/28012025/06/41/image_28012025_06_41_46_10472.jpg', '/home/pi/Desktop/images/28012025/06/41/image_28012025_06_41_57_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/40/image_28012025_06_41_07_10355.jpg
/home/pi/Desktop/images/28012025/06/41/image_28012025_06_41_16_9391.jpg
/home/pi/Desktop/images/28012025/06/41/image_28012025_06_41_26_10366.jpg
/home/pi/Desktop/images/28012025/06/41/image_28012025_06_41_36_9390.jpg
/home/pi/Desktop/images/28012025/06/41/image_28012025_06_41_46_10472.jpg
/home/pi/Desktop/images/28012025/06/41/image_28012025_06_41_57_10347.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6238458156585693 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 13:15:42.832883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/40/image_28012025_06_41_07_10355.jpg', '/home/pi/Desktop/images/28012025/06/41/image_28012025_06_41_16_9391.jpg', '/home/pi/Desktop/images/28012025/06/41/image_28012025_06_41_26_10366.jpg', '/home/pi/Desktop/images/28012025/06/41/image_28012025_06_41_36_9390.jpg', '/home/pi/Desktop/images/28012025/06/41/image_28012025_06_41_46_10472.jpg', '/home/pi/Desktop/images/28012025/06/41/image_28012025_06_41_57_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/40/image_28012025_06_41_07_10355.jpg
/home/pi/Desktop/images/28012025/06/41/image_28012025_06_41_16_9391.jpg
/home/pi/Desktop/images/28012025/06/41/image_28012025_06_41_26_10366.jpg
/home/pi/Desktop/images/28012025/06/41/image_28012025_06_41_36_9390.jpg
/home/pi/Desktop/images/28012025/06/41/image_28012025_06_41_46_10472.jpg
/home/pi/Desktop/images/28012025/06/41/image_28012025_06_41_57_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":["1332286424","1332286421","1332286453","1332286441","1332286450","1332286410"],"photo_ids_order":["1332286410","1332286421","1332286424","1332286441","1332286450","1332286453"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/94efc08911650e5d1065956ef7809737.jpg","text":"TemporaryFile(/tmp/multipartBody1069482367981062890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066603786,"filename":"image_28012025_06_41_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/1/28/c61b67442626f3d21decc8228ebaa5a4.jpg","text":"TemporaryFile(/tmp/multipartBody2842795373861409752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066603786,"filename":"image_28012025_06_41_16_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/73fec5e09ab1d21608b02278dd7afd7c.jpg","text":"TemporaryFile(/tmp/multipartBody460608360187615581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066603786,"filename":"image_28012025_06_41_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/1/28/144ea42d18817ed0b7072e233ec26c0b.jpg","text":"TemporaryFile(/tmp/multipartBody3803930059051777403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066603786,"filename":"image_28012025_06_41_36_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/04349c2fb88199cb7c59a57714c952c0.jpg","text":"TemporaryFile(/tmp/multipartBody1035781072833275282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066603786,"filename":"image_28012025_06_41_46_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/13c92a65b7e19349aab89f3788be8844.jpg","text":"TemporaryFile(/tmp/multipartBody7189547062330323063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066603786,"filename":"image_28012025_06_41_07_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332286424","file1":"1332286421","file0":"1332286410","file4":"1332286450","file5":"1332286453","file3":"1332286441"},"map_files_photo_id_array":[{"photo_id":"1332286453","filename":"file5"},{"photo_id":"1332286424","filename":"file2"},{"photo_id":"1332286450","filename":"file4"},{"photo_id":"1332286421","filename":"file1"},{"photo_id":"1332286410","filename":"file0"},{"photo_id":"1332286441","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332286424":["hashtag1","hashtag2"]},{"1332286421":["hashtag1","hashtag2"]},{"1332286453":["hashtag1","hashtag2"]},{"1332286441":["hashtag1","hashtag2"]},{"1332286450":["hashtag1","hashtag2"]},{"1332286410":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332286424, 1332286421, 1332286453, 1332286441, 1332286450, 1332286410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10826635360718 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:16:33.068174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/41/image_28012025_06_42_06_9353.jpg', '/home/pi/Desktop/images/28012025/06/42/image_28012025_06_42_16_10332.jpg', '/home/pi/Desktop/images/28012025/06/42/image_28012025_06_42_26_9427.jpg', '/home/pi/Desktop/images/28012025/06/42/image_28012025_06_42_36_10370.jpg', '/home/pi/Desktop/images/28012025/06/42/image_28012025_06_42_47_10398.jpg', '/home/pi/Desktop/images/28012025/06/42/image_28012025_06_42_56_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/41/image_28012025_06_42_06_9353.jpg
/home/pi/Desktop/images/28012025/06/42/image_28012025_06_42_16_10332.jpg
/home/pi/Desktop/images/28012025/06/42/image_28012025_06_42_26_9427.jpg
/home/pi/Desktop/images/28012025/06/42/image_28012025_06_42_36_10370.jpg
/home/pi/Desktop/images/28012025/06/42/image_28012025_06_42_47_10398.jpg
/home/pi/Desktop/images/28012025/06/42/image_28012025_06_42_56_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":["1332286597","1332286582","1332286570","1332286588","1332286615","1332286592"],"photo_ids_order":["1332286570","1332286582","1332286588","1332286592","1332286597","1332286615"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fb1f818f2b63704713a657dc410238c6.jpg","text":"TemporaryFile(/tmp/multipartBody1260595176379067641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066654084,"filename":"image_28012025_06_42_47_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/86531ee1788822021693ea0f9953f42d.jpg","text":"TemporaryFile(/tmp/multipartBody487804232434182532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066654084,"filename":"image_28012025_06_42_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/1/28/2092f098f6501a6a7c6a41cd16e2617f.jpg","text":"TemporaryFile(/tmp/multipartBody6798299508756066360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066654084,"filename":"image_28012025_06_42_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/1/28/478c987ffabe01adf15a4129b56d9007.jpg","text":"TemporaryFile(/tmp/multipartBody7500302006889177258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066654084,"filename":"image_28012025_06_42_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/1/28/d4c4237d66bbe2aa80718bcf4f201b55.jpg","text":"TemporaryFile(/tmp/multipartBody2642811152201275813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066654084,"filename":"image_28012025_06_42_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/1/28/c000c5defe463316aa9ff7977e877f95.jpg","text":"TemporaryFile(/tmp/multipartBody5778844932427089215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066654084,"filename":"image_28012025_06_42_36_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332286588","file1":"1332286582","file0":"1332286570","file4":"1332286597","file5":"1332286615","file3":"1332286592"},"map_files_photo_id_array":[{"photo_id":"1332286615","filename":"file5"},{"photo_id":"1332286588","filename":"file2"},{"photo_id":"1332286597","filename":"file4"},{"photo_id":"1332286582","filename":"file1"},{"photo_id":"1332286570","filename":"file0"},{"photo_id":"1332286592","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332286597":["hashtag1","hashtag2"]},{"1332286582":["hashtag1","hashtag2"]},{"1332286570":["hashtag1","hashtag2"]},{"1332286588":["hashtag1","hashtag2"]},{"1332286615":["hashtag1","hashtag2"]},{"1332286592":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332286597, 1332286582, 1332286570, 1332286588, 1332286615, 1332286592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.666558265686035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:17:32.337351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/42/image_28012025_06_43_06_10433.jpg', '/home/pi/Desktop/images/28012025/06/43/image_28012025_06_43_26_9327.jpg', '/home/pi/Desktop/images/28012025/06/43/image_28012025_06_43_36_10410.jpg', '/home/pi/Desktop/images/28012025/06/43/image_28012025_06_43_46_9437.jpg', '/home/pi/Desktop/images/28012025/06/43/image_28012025_06_44_06_9335.jpg', '/home/pi/Desktop/images/28012025/06/44/image_28012025_06_44_16_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/42/image_28012025_06_43_06_10433.jpg
/home/pi/Desktop/images/28012025/06/43/image_28012025_06_43_26_9327.jpg
/home/pi/Desktop/images/28012025/06/43/image_28012025_06_43_36_10410.jpg
/home/pi/Desktop/images/28012025/06/43/image_28012025_06_43_46_9437.jpg
/home/pi/Desktop/images/28012025/06/43/image_28012025_06_44_06_9335.jpg
/home/pi/Desktop/images/28012025/06/44/image_28012025_06_44_16_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332287108","1332287105","1332287109","1332286848","1332286962","1332287075"],"photo_ids_order":["1332286848","1332286962","1332287075","1332287105","1332287108","1332287109"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8b838dc535e36e0dd15429e514681805.jpg","text":"TemporaryFile(/tmp/multipartBody8886972531016563933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066713353,"filename":"image_28012025_06_44_06_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/62afb96f4dcf01d91cba4ed7eba9f9dd.jpg","text":"TemporaryFile(/tmp/multipartBody2568733113792703966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066713353,"filename":"image_28012025_06_43_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/1/28/ecb99b8bd2156df8f3d2b533b4ccbf2a.jpg","text":"TemporaryFile(/tmp/multipartBody4215333245517979522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066713353,"filename":"image_28012025_06_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/1/28/994f20e0ee9a621ac5524bb39e186d3b.jpg","text":"TemporaryFile(/tmp/multipartBody7766177073420229208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066713353,"filename":"image_28012025_06_43_06_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f6cdc9f8b2b9f6ebd9f00790eb20ac93.jpg","text":"TemporaryFile(/tmp/multipartBody355644936949945718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066713353,"filename":"image_28012025_06_43_26_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/45f25438b7e45176c330774822bd8ae3.jpg","text":"TemporaryFile(/tmp/multipartBody6059607351218862691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066713353,"filename":"image_28012025_06_43_36_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332287075","file1":"1332286962","file0":"1332286848","file4":"1332287108","file5":"1332287109","file3":"1332287105"},"map_files_photo_id_array":[{"photo_id":"1332287109","filename":"file5"},{"photo_id":"1332287075","filename":"file2"},{"photo_id":"1332287108","filename":"file4"},{"photo_id":"1332286962","filename":"file1"},{"photo_id":"1332286848","filename":"file0"},{"photo_id":"1332287105","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332287108":["hashtag1","hashtag2"]},{"1332287105":["hashtag1","hashtag2"]},{"1332287109":["hashtag1","hashtag2"]},{"1332286848":["hashtag1","hashtag2"]},{"1332286962":["hashtag1","hashtag2"]},{"1332287075":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332287108, 1332287105, 1332287109, 1332286848, 1332286962, 1332287075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.754605531692505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:18:32.577739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/44/image_28012025_06_44_27_10361.jpg', '/home/pi/Desktop/images/28012025/06/44/image_28012025_06_44_36_9419.jpg', '/home/pi/Desktop/images/28012025/06/44/image_28012025_06_44_47_10436.jpg', '/home/pi/Desktop/images/28012025/06/44/image_28012025_06_44_56_9322.jpg', '/home/pi/Desktop/images/28012025/06/44/image_28012025_06_45_06_10415.jpg', '/home/pi/Desktop/images/28012025/06/45/image_28012025_06_45_17_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/44/image_28012025_06_44_27_10361.jpg
/home/pi/Desktop/images/28012025/06/44/image_28012025_06_44_36_9419.jpg
/home/pi/Desktop/images/28012025/06/44/image_28012025_06_44_47_10436.jpg
/home/pi/Desktop/images/28012025/06/44/image_28012025_06_44_56_9322.jpg
/home/pi/Desktop/images/28012025/06/44/image_28012025_06_45_06_10415.jpg
/home/pi/Desktop/images/28012025/06/45/image_28012025_06_45_17_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332287395","1332287356","1332287390","1332287393","1332287387","1332287381"],"photo_ids_order":["1332287356","1332287381","1332287387","1332287390","1332287393","1332287395"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/01967de9b92542863c14acebee9c9f51.jpg","text":"TemporaryFile(/tmp/multipartBody3933869316769413872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066773633,"filename":"image_28012025_06_45_17_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cd5fa225d49bcf570168384368db7994.jpg","text":"TemporaryFile(/tmp/multipartBody2037241258142398383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066773633,"filename":"image_28012025_06_44_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/1/28/fde291e3e504c88beac50229cb1afb6a.jpg","text":"TemporaryFile(/tmp/multipartBody6031167137856563574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066773633,"filename":"image_28012025_06_44_56_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/06c0a73bfe2c2d90523f28fb94e1293f.jpg","text":"TemporaryFile(/tmp/multipartBody143110149200916834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066773633,"filename":"image_28012025_06_45_06_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cb1f8387d94f4145e81cee935d1cfe9b.jpg","text":"TemporaryFile(/tmp/multipartBody7842076880196544795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066773633,"filename":"image_28012025_06_44_47_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8112c4ab49add912fb6a84f8b5b10d16.jpg","text":"TemporaryFile(/tmp/multipartBody7479708825591663500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066773633,"filename":"image_28012025_06_44_36_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332287387","file1":"1332287381","file0":"1332287356","file4":"1332287393","file5":"1332287395","file3":"1332287390"},"map_files_photo_id_array":[{"photo_id":"1332287395","filename":"file5"},{"photo_id":"1332287387","filename":"file2"},{"photo_id":"1332287393","filename":"file4"},{"photo_id":"1332287381","filename":"file1"},{"photo_id":"1332287356","filename":"file0"},{"photo_id":"1332287390","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332287395":["hashtag1","hashtag2"]},{"1332287356":["hashtag1","hashtag2"]},{"1332287390":["hashtag1","hashtag2"]},{"1332287393":["hashtag1","hashtag2"]},{"1332287387":["hashtag1","hashtag2"]},{"1332287381":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332287395, 1332287356, 1332287390, 1332287393, 1332287387, 1332287381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.98407292366028 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:19:32.789881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/45/image_28012025_06_45_26_9409.jpg', '/home/pi/Desktop/images/28012025/06/45/image_28012025_06_45_36_10354.jpg', '/home/pi/Desktop/images/28012025/06/45/image_28012025_06_45_46_9372.jpg', '/home/pi/Desktop/images/28012025/06/45/image_28012025_06_45_56_10465.jpg', '/home/pi/Desktop/images/28012025/06/45/image_28012025_06_46_07_10353.jpg', '/home/pi/Desktop/images/28012025/06/46/image_28012025_06_46_16_9382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/45/image_28012025_06_45_26_9409.jpg
/home/pi/Desktop/images/28012025/06/45/image_28012025_06_45_36_10354.jpg
/home/pi/Desktop/images/28012025/06/45/image_28012025_06_45_46_9372.jpg
/home/pi/Desktop/images/28012025/06/45/image_28012025_06_45_56_10465.jpg
/home/pi/Desktop/images/28012025/06/45/image_28012025_06_46_07_10353.jpg
/home/pi/Desktop/images/28012025/06/46/image_28012025_06_46_16_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":["1332287569","1332287590","1332287542","1332287577","1332287588","1332287549"],"photo_ids_order":["1332287542","1332287549","1332287569","1332287577","1332287588","1332287590"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ebc4b6ed40539970ab9a10dde26a2777.jpg","text":"TemporaryFile(/tmp/multipartBody4791206074160582047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066833800,"filename":"image_28012025_06_45_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/1/28/f298d6971991931091251cc2fc4c27bb.jpg","text":"TemporaryFile(/tmp/multipartBody8337052573522959736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066833800,"filename":"image_28012025_06_46_16_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/189f8cfa26ad0830e81eb5d6fba04eea.jpg","text":"TemporaryFile(/tmp/multipartBody9203408003062376932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066833800,"filename":"image_28012025_06_45_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/1/28/3f9798ad8de264003b886865ed810c8a.jpg","text":"TemporaryFile(/tmp/multipartBody6873676877806625138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066833800,"filename":"image_28012025_06_45_56_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a0f306d525292019152649127d4e28c5.jpg","text":"TemporaryFile(/tmp/multipartBody8836161432416513655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066833800,"filename":"image_28012025_06_46_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/1/28/96cd576ed7493a8db0a14189b99b0e67.jpg","text":"TemporaryFile(/tmp/multipartBody4698244747222723700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066833800,"filename":"image_28012025_06_45_36_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332287569","file1":"1332287549","file0":"1332287542","file4":"1332287588","file5":"1332287590","file3":"1332287577"},"map_files_photo_id_array":[{"photo_id":"1332287590","filename":"file5"},{"photo_id":"1332287569","filename":"file2"},{"photo_id":"1332287588","filename":"file4"},{"photo_id":"1332287549","filename":"file1"},{"photo_id":"1332287542","filename":"file0"},{"photo_id":"1332287577","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332287569":["hashtag1","hashtag2"]},{"1332287590":["hashtag1","hashtag2"]},{"1332287542":["hashtag1","hashtag2"]},{"1332287577":["hashtag1","hashtag2"]},{"1332287588":["hashtag1","hashtag2"]},{"1332287549":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332287569, 1332287590, 1332287542, 1332287577, 1332287588, 1332287549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.58147072792053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:20:32.704105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/46/image_28012025_06_46_26_10438.jpg', '/home/pi/Desktop/images/28012025/06/46/image_28012025_06_46_46_10456.jpg', '/home/pi/Desktop/images/28012025/06/46/image_28012025_06_46_57_10356.jpg', '/home/pi/Desktop/images/28012025/06/47/image_28012025_06_47_36_9341.jpg', '/home/pi/Desktop/images/28012025/06/47/image_28012025_06_47_46_10436.jpg', '/home/pi/Desktop/images/28012025/06/47/image_28012025_06_47_56_9421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/46/image_28012025_06_46_26_10438.jpg
/home/pi/Desktop/images/28012025/06/46/image_28012025_06_46_46_10456.jpg
/home/pi/Desktop/images/28012025/06/46/image_28012025_06_46_57_10356.jpg
/home/pi/Desktop/images/28012025/06/47/image_28012025_06_47_36_9341.jpg
/home/pi/Desktop/images/28012025/06/47/image_28012025_06_47_46_10436.jpg
/home/pi/Desktop/images/28012025/06/47/image_28012025_06_47_56_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":["1332288577","1332288706","1332288678","1332288522","1332288624","1332288697"],"photo_ids_order":["1332288522","1332288577","1332288624","1332288678","1332288697","1332288706"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/08ad88c1da3a0e576360dac9bcea36dc.jpg","text":"TemporaryFile(/tmp/multipartBody2922608938997874165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066894341,"filename":"image_28012025_06_46_46_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/85e5563250bf89605578b6680e229d7c.jpg","text":"TemporaryFile(/tmp/multipartBody7610191033505557838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066894341,"filename":"image_28012025_06_47_56_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5e2e7e9c21330e35c57b715714fca1a8.jpg","text":"TemporaryFile(/tmp/multipartBody8105557808092157889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066894341,"filename":"image_28012025_06_47_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/1/28/d307d06cd7b41066627629d69d285011.jpg","text":"TemporaryFile(/tmp/multipartBody851540696508064688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066894341,"filename":"image_28012025_06_46_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/1/28/221904bb674183bb68d855198aa5fe95.jpg","text":"TemporaryFile(/tmp/multipartBody1524314668731987903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066894341,"filename":"image_28012025_06_46_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/1/28/c3075788b59bb4db5c47cfd66c1b89ab.jpg","text":"TemporaryFile(/tmp/multipartBody4142318515012762504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066894341,"filename":"image_28012025_06_47_46_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332288624","file1":"1332288577","file0":"1332288522","file4":"1332288697","file5":"1332288706","file3":"1332288678"},"map_files_photo_id_array":[{"photo_id":"1332288706","filename":"file5"},{"photo_id":"1332288624","filename":"file2"},{"photo_id":"1332288697","filename":"file4"},{"photo_id":"1332288577","filename":"file1"},{"photo_id":"1332288522","filename":"file0"},{"photo_id":"1332288678","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332288577":["hashtag1","hashtag2"]},{"1332288706":["hashtag1","hashtag2"]},{"1332288678":["hashtag1","hashtag2"]},{"1332288522":["hashtag1","hashtag2"]},{"1332288624":["hashtag1","hashtag2"]},{"1332288697":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332288577, 1332288706, 1332288678, 1332288522, 1332288624, 1332288697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.85300898551941 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:21:32.863370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/47/image_28012025_06_48_06_10425.jpg', '/home/pi/Desktop/images/28012025/06/48/image_28012025_06_48_17_10356.jpg', '/home/pi/Desktop/images/28012025/06/48/image_28012025_06_48_26_9375.jpg', '/home/pi/Desktop/images/28012025/06/48/image_28012025_06_48_36_10345.jpg', '/home/pi/Desktop/images/28012025/06/48/image_28012025_06_48_46_9357.jpg', '/home/pi/Desktop/images/28012025/06/48/image_28012025_06_48_56_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/47/image_28012025_06_48_06_10425.jpg
/home/pi/Desktop/images/28012025/06/48/image_28012025_06_48_17_10356.jpg
/home/pi/Desktop/images/28012025/06/48/image_28012025_06_48_26_9375.jpg
/home/pi/Desktop/images/28012025/06/48/image_28012025_06_48_36_10345.jpg
/home/pi/Desktop/images/28012025/06/48/image_28012025_06_48_46_9357.jpg
/home/pi/Desktop/images/28012025/06/48/image_28012025_06_48_56_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332289315","1332289221","1332289023","1332289262","1332289319","1332289435"],"photo_ids_order":["1332289023","1332289221","1332289262","1332289315","1332289319","1332289435"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3c19189fa0cfa614369ce8c8510f9341.jpg","text":"TemporaryFile(/tmp/multipartBody2101625096148300972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066953863,"filename":"image_28012025_06_48_36_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7c742b097052d8a3a6461d5ada5048c1.jpg","text":"TemporaryFile(/tmp/multipartBody7713017342740210083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066953863,"filename":"image_28012025_06_48_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/1/28/50a20939ce4555d53d10309ef2d34b4e.jpg","text":"TemporaryFile(/tmp/multipartBody592954715793638047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066953863,"filename":"image_28012025_06_48_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/1/28/6dd95edaa5ddc47d2de5f99b682eb386.jpg","text":"TemporaryFile(/tmp/multipartBody7194584673155738619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066953863,"filename":"image_28012025_06_48_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/1/28/41845f723312db07bf83b7f1a0b52de1.jpg","text":"TemporaryFile(/tmp/multipartBody7585139359314073009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066953863,"filename":"image_28012025_06_48_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/1/28/5f7d55163d0facad3b6c26f0c17664f3.jpg","text":"TemporaryFile(/tmp/multipartBody8769993689387968475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738066953863,"filename":"image_28012025_06_48_56_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332289262","file1":"1332289221","file0":"1332289023","file4":"1332289319","file5":"1332289435","file3":"1332289315"},"map_files_photo_id_array":[{"photo_id":"1332289435","filename":"file5"},{"photo_id":"1332289262","filename":"file2"},{"photo_id":"1332289319","filename":"file4"},{"photo_id":"1332289221","filename":"file1"},{"photo_id":"1332289023","filename":"file0"},{"photo_id":"1332289315","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332289315":["hashtag1","hashtag2"]},{"1332289221":["hashtag1","hashtag2"]},{"1332289023":["hashtag1","hashtag2"]},{"1332289262":["hashtag1","hashtag2"]},{"1332289319":["hashtag1","hashtag2"]},{"1332289435":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332289315, 1332289221, 1332289023, 1332289262, 1332289319, 1332289435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.0607750415802 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:22:32.221631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/48/image_28012025_06_49_07_10521.jpg', '/home/pi/Desktop/images/28012025/06/49/image_28012025_06_49_16_9365.jpg', '/home/pi/Desktop/images/28012025/06/49/image_28012025_06_49_26_10454.jpg', '/home/pi/Desktop/images/28012025/06/49/image_28012025_06_49_36_9331.jpg', '/home/pi/Desktop/images/28012025/06/49/image_28012025_06_49_46_10464.jpg', '/home/pi/Desktop/images/28012025/06/49/image_28012025_06_49_57_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/48/image_28012025_06_49_07_10521.jpg
/home/pi/Desktop/images/28012025/06/49/image_28012025_06_49_16_9365.jpg
/home/pi/Desktop/images/28012025/06/49/image_28012025_06_49_26_10454.jpg
/home/pi/Desktop/images/28012025/06/49/image_28012025_06_49_36_9331.jpg
/home/pi/Desktop/images/28012025/06/49/image_28012025_06_49_46_10464.jpg
/home/pi/Desktop/images/28012025/06/49/image_28012025_06_49_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":["1332289653","1332289647","1332289667","1332289664","1332289625","1332289660"],"photo_ids_order":["1332289625","1332289647","1332289653","1332289660","1332289664","1332289667"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e644dcaee72cda0f13355ffe3f421dca.jpg","text":"TemporaryFile(/tmp/multipartBody6419035271491088021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067013232,"filename":"image_28012025_06_49_26_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9da56b5c78282e21ee342cd75cb63e3a.jpg","text":"TemporaryFile(/tmp/multipartBody6229959932631416340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067013232,"filename":"image_28012025_06_49_16_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b220621eba4d49a424c2ba8697f30723.jpg","text":"TemporaryFile(/tmp/multipartBody5733597030396002613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067013232,"filename":"image_28012025_06_49_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/1/28/3b10d87575eee6cad9bae90b70849341.jpg","text":"TemporaryFile(/tmp/multipartBody7542771068311088978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067013232,"filename":"image_28012025_06_49_46_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7cb4f7e14091146cb99c3798b02e5313.jpg","text":"TemporaryFile(/tmp/multipartBody4243942472610808188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067013232,"filename":"image_28012025_06_49_07_10521.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/84aaaf40b0786b2df78685aa8c79f089.jpg","text":"TemporaryFile(/tmp/multipartBody302543156626764411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067013232,"filename":"image_28012025_06_49_36_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332289653","file1":"1332289647","file0":"1332289625","file4":"1332289664","file5":"1332289667","file3":"1332289660"},"map_files_photo_id_array":[{"photo_id":"1332289667","filename":"file5"},{"photo_id":"1332289653","filename":"file2"},{"photo_id":"1332289664","filename":"file4"},{"photo_id":"1332289647","filename":"file1"},{"photo_id":"1332289625","filename":"file0"},{"photo_id":"1332289660","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332289653":["hashtag1","hashtag2"]},{"1332289647":["hashtag1","hashtag2"]},{"1332289667":["hashtag1","hashtag2"]},{"1332289664":["hashtag1","hashtag2"]},{"1332289625":["hashtag1","hashtag2"]},{"1332289660":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332289653, 1332289647, 1332289667, 1332289664, 1332289625, 1332289660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.62406635284424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:23:32.487078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/49/image_28012025_06_50_06_9351.jpg', '/home/pi/Desktop/images/28012025/06/50/image_28012025_06_50_16_10338.jpg', '/home/pi/Desktop/images/28012025/06/50/image_28012025_06_50_36_9433.jpg', '/home/pi/Desktop/images/28012025/06/50/image_28012025_06_50_46_10368.jpg', '/home/pi/Desktop/images/28012025/06/50/image_28012025_06_50_56_9342.jpg', '/home/pi/Desktop/images/28012025/06/50/image_28012025_06_51_06_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/49/image_28012025_06_50_06_9351.jpg
/home/pi/Desktop/images/28012025/06/50/image_28012025_06_50_16_10338.jpg
/home/pi/Desktop/images/28012025/06/50/image_28012025_06_50_36_9433.jpg
/home/pi/Desktop/images/28012025/06/50/image_28012025_06_50_46_10368.jpg
/home/pi/Desktop/images/28012025/06/50/image_28012025_06_50_56_9342.jpg
/home/pi/Desktop/images/28012025/06/50/image_28012025_06_51_06_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":["1332289848","1332289845","1332289824","1332289833","1332289840","1332289807"],"photo_ids_order":["1332289807","1332289824","1332289833","1332289840","1332289845","1332289848"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0d24495bd5111c3b74b46f784c0f3244.jpg","text":"TemporaryFile(/tmp/multipartBody2843700598522408581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067073496,"filename":"image_28012025_06_51_06_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b8a4cb97d104fb081c01a52456a63975.jpg","text":"TemporaryFile(/tmp/multipartBody500739273850924994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067073496,"filename":"image_28012025_06_50_56_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1442f07e1bba1300cb216a490cda78b1.jpg","text":"TemporaryFile(/tmp/multipartBody345653271752198032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067073496,"filename":"image_28012025_06_50_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/1/28/84d47dddd566cec3d0b08b0a4311e59e.jpg","text":"TemporaryFile(/tmp/multipartBody3743253768464477560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067073496,"filename":"image_28012025_06_50_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/1/28/ec9aeecca4a98cbc493981e1e743e2fe.jpg","text":"TemporaryFile(/tmp/multipartBody6282933433129746052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067073496,"filename":"image_28012025_06_50_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/1/28/376395584f8a4ca00dfd6bd421c27747.jpg","text":"TemporaryFile(/tmp/multipartBody2448791163224189242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067073496,"filename":"image_28012025_06_50_06_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332289833","file1":"1332289824","file0":"1332289807","file4":"1332289845","file5":"1332289848","file3":"1332289840"},"map_files_photo_id_array":[{"photo_id":"1332289848","filename":"file5"},{"photo_id":"1332289833","filename":"file2"},{"photo_id":"1332289845","filename":"file4"},{"photo_id":"1332289824","filename":"file1"},{"photo_id":"1332289807","filename":"file0"},{"photo_id":"1332289840","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332289848":["hashtag1","hashtag2"]},{"1332289845":["hashtag1","hashtag2"]},{"1332289824":["hashtag1","hashtag2"]},{"1332289833":["hashtag1","hashtag2"]},{"1332289840":["hashtag1","hashtag2"]},{"1332289807":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332289848, 1332289845, 1332289824, 1332289833, 1332289840, 1332289807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.58014392852783 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:24:33.619865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/51/image_28012025_06_51_17_10364.jpg', '/home/pi/Desktop/images/28012025/06/51/image_28012025_06_51_46_9345.jpg', '/home/pi/Desktop/images/28012025/06/51/image_28012025_06_52_07_10431.jpg', '/home/pi/Desktop/images/28012025/06/52/image_28012025_06_52_26_10428.jpg', '/home/pi/Desktop/images/28012025/06/52/image_28012025_06_52_37_10357.jpg', '/home/pi/Desktop/images/28012025/06/52/image_28012025_06_52_46_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/51/image_28012025_06_51_17_10364.jpg
/home/pi/Desktop/images/28012025/06/51/image_28012025_06_51_46_9345.jpg
/home/pi/Desktop/images/28012025/06/51/image_28012025_06_52_07_10431.jpg
/home/pi/Desktop/images/28012025/06/52/image_28012025_06_52_26_10428.jpg
/home/pi/Desktop/images/28012025/06/52/image_28012025_06_52_37_10357.jpg
/home/pi/Desktop/images/28012025/06/52/image_28012025_06_52_46_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332289900","1332289860","1332289892","1332289904","1332289876","1332289906"],"photo_ids_order":["1332289860","1332289876","1332289892","1332289900","1332289904","1332289906"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8f39ac82208d4435191892762d4b6e97.jpg","text":"TemporaryFile(/tmp/multipartBody695109515090866180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067134642,"filename":"image_28012025_06_52_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/1/28/265f9fea1fa9e4ecec3006444481ece8.jpg","text":"TemporaryFile(/tmp/multipartBody861174053936547101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067134642,"filename":"image_28012025_06_51_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/1/28/e66ad6ea60a3f80f2f4bee62a462d044.jpg","text":"TemporaryFile(/tmp/multipartBody8194711569755645291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067134642,"filename":"image_28012025_06_52_07_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dcc9c8d73799630cdfbf3605e2bc7297.jpg","text":"TemporaryFile(/tmp/multipartBody2337958037755070576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067134642,"filename":"image_28012025_06_52_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/1/28/81944335873043081715562f1ec260b5.jpg","text":"TemporaryFile(/tmp/multipartBody4258209957525096785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067134642,"filename":"image_28012025_06_51_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/1/28/57036195ae974f338ac204591913f8f9.jpg","text":"TemporaryFile(/tmp/multipartBody1991674717552927030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067134642,"filename":"image_28012025_06_52_46_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332289892","file1":"1332289876","file0":"1332289860","file4":"1332289904","file5":"1332289906","file3":"1332289900"},"map_files_photo_id_array":[{"photo_id":"1332289906","filename":"file5"},{"photo_id":"1332289892","filename":"file2"},{"photo_id":"1332289904","filename":"file4"},{"photo_id":"1332289876","filename":"file1"},{"photo_id":"1332289860","filename":"file0"},{"photo_id":"1332289900","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332289900":["hashtag1","hashtag2"]},{"1332289860":["hashtag1","hashtag2"]},{"1332289892":["hashtag1","hashtag2"]},{"1332289904":["hashtag1","hashtag2"]},{"1332289876":["hashtag1","hashtag2"]},{"1332289906":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332289900, 1332289860, 1332289892, 1332289904, 1332289876, 1332289906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38971662521362 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:25:32.671660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/52/image_28012025_06_52_56_10468.jpg', '/home/pi/Desktop/images/28012025/06/52/image_28012025_06_53_06_9335.jpg', '/home/pi/Desktop/images/28012025/06/53/image_28012025_06_53_36_9387.jpg', '/home/pi/Desktop/images/28012025/06/53/image_28012025_06_53_46_10468.jpg', '/home/pi/Desktop/images/28012025/06/53/image_28012025_06_54_06_10473.jpg', '/home/pi/Desktop/images/28012025/06/54/image_28012025_06_54_26_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/52/image_28012025_06_52_56_10468.jpg
/home/pi/Desktop/images/28012025/06/52/image_28012025_06_53_06_9335.jpg
/home/pi/Desktop/images/28012025/06/53/image_28012025_06_53_36_9387.jpg
/home/pi/Desktop/images/28012025/06/53/image_28012025_06_53_46_10468.jpg
/home/pi/Desktop/images/28012025/06/53/image_28012025_06_54_06_10473.jpg
/home/pi/Desktop/images/28012025/06/54/image_28012025_06_54_26_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":["1332289992","1332289962","1332290002","1332289917","1332289952","1332289999"],"photo_ids_order":["1332289917","1332289952","1332289962","1332289992","1332289999","1332290002"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/348476ef2525c7aea5f8c7d25ff11475.jpg","text":"TemporaryFile(/tmp/multipartBody2321007336872618508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067193704,"filename":"image_28012025_06_53_46_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cf1f6fd05dbac21d8d97c928e2146f3a.jpg","text":"TemporaryFile(/tmp/multipartBody9073932504148824217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067193704,"filename":"image_28012025_06_53_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/1/28/fb367f55cba8d908b7968d472931b3e3.jpg","text":"TemporaryFile(/tmp/multipartBody1156567509632717425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067193704,"filename":"image_28012025_06_54_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/1/28/f1c34730a0e68293dca1e00093b96e81.jpg","text":"TemporaryFile(/tmp/multipartBody4629394711164491039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067193704,"filename":"image_28012025_06_52_56_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4b526d1061e9616c2afe722e239a918d.jpg","text":"TemporaryFile(/tmp/multipartBody1634656918710271433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067193704,"filename":"image_28012025_06_53_06_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c08ed9cfa0266558330b433cb9447509.jpg","text":"TemporaryFile(/tmp/multipartBody1015115171459752427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067193704,"filename":"image_28012025_06_54_06_10473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332289962","file1":"1332289952","file0":"1332289917","file4":"1332289999","file5":"1332290002","file3":"1332289992"},"map_files_photo_id_array":[{"photo_id":"1332290002","filename":"file5"},{"photo_id":"1332289962","filename":"file2"},{"photo_id":"1332289999","filename":"file4"},{"photo_id":"1332289952","filename":"file1"},{"photo_id":"1332289917","filename":"file0"},{"photo_id":"1332289992","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332289992":["hashtag1","hashtag2"]},{"1332289962":["hashtag1","hashtag2"]},{"1332290002":["hashtag1","hashtag2"]},{"1332289917":["hashtag1","hashtag2"]},{"1332289952":["hashtag1","hashtag2"]},{"1332289999":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332289992, 1332289962, 1332290002, 1332289917, 1332289952, 1332289999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.25998830795288 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:26:32.926674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/54/image_28012025_06_54_36_10430.jpg', '/home/pi/Desktop/images/28012025/06/54/image_28012025_06_54_46_9366.jpg', '/home/pi/Desktop/images/28012025/06/54/image_28012025_06_54_56_10353.jpg', '/home/pi/Desktop/images/28012025/06/54/image_28012025_06_55_07_10442.jpg', '/home/pi/Desktop/images/28012025/06/55/image_28012025_06_55_16_9335.jpg', '/home/pi/Desktop/images/28012025/06/55/image_28012025_06_55_37_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/54/image_28012025_06_54_36_10430.jpg
/home/pi/Desktop/images/28012025/06/54/image_28012025_06_54_46_9366.jpg
/home/pi/Desktop/images/28012025/06/54/image_28012025_06_54_56_10353.jpg
/home/pi/Desktop/images/28012025/06/54/image_28012025_06_55_07_10442.jpg
/home/pi/Desktop/images/28012025/06/55/image_28012025_06_55_16_9335.jpg
/home/pi/Desktop/images/28012025/06/55/image_28012025_06_55_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":["1332290038","1332290020","1332290014","1332290081","1332290033","1332290027"],"photo_ids_order":["1332290014","1332290020","1332290027","1332290033","1332290038","1332290081"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fcf3e911d9e839b36fe4cbce9629153f.jpg","text":"TemporaryFile(/tmp/multipartBody1084087422524581515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067253942,"filename":"image_28012025_06_55_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/1/28/37337f314bdcf2168408a051287e2e00.jpg","text":"TemporaryFile(/tmp/multipartBody7039959621782160061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067253942,"filename":"image_28012025_06_54_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/1/28/fe9a765d8c93c855de76ae5f67d08cc4.jpg","text":"TemporaryFile(/tmp/multipartBody1365215003133839642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067253942,"filename":"image_28012025_06_54_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/1/28/938deed9f6800b2a81f4999ed27f018e.jpg","text":"TemporaryFile(/tmp/multipartBody5073421598518084892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067253942,"filename":"image_28012025_06_55_37_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/22752b12c11da17c2106af44e1ca0f00.jpg","text":"TemporaryFile(/tmp/multipartBody2189446908663581006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067253942,"filename":"image_28012025_06_55_07_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b1e51b67126207789658bb2b7eb98a18.jpg","text":"TemporaryFile(/tmp/multipartBody6057249246658746523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067253942,"filename":"image_28012025_06_54_56_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332290027","file1":"1332290020","file0":"1332290014","file4":"1332290038","file5":"1332290081","file3":"1332290033"},"map_files_photo_id_array":[{"photo_id":"1332290081","filename":"file5"},{"photo_id":"1332290027","filename":"file2"},{"photo_id":"1332290038","filename":"file4"},{"photo_id":"1332290020","filename":"file1"},{"photo_id":"1332290014","filename":"file0"},{"photo_id":"1332290033","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332290038":["hashtag1","hashtag2"]},{"1332290020":["hashtag1","hashtag2"]},{"1332290014":["hashtag1","hashtag2"]},{"1332290081":["hashtag1","hashtag2"]},{"1332290033":["hashtag1","hashtag2"]},{"1332290027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332290038, 1332290020, 1332290014, 1332290081, 1332290033, 1332290027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.949158906936646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:27:32.267288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/55/image_28012025_06_55_46_9383.jpg', '/home/pi/Desktop/images/28012025/06/55/image_28012025_06_55_56_10366.jpg', '/home/pi/Desktop/images/28012025/06/55/image_28012025_06_56_06_9362.jpg', '/home/pi/Desktop/images/28012025/06/56/image_28012025_06_56_16_10338.jpg', '/home/pi/Desktop/images/28012025/06/56/image_28012025_06_56_36_9378.jpg', '/home/pi/Desktop/images/28012025/06/56/image_28012025_06_56_46_10458.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/55/image_28012025_06_55_46_9383.jpg
/home/pi/Desktop/images/28012025/06/55/image_28012025_06_55_56_10366.jpg
/home/pi/Desktop/images/28012025/06/55/image_28012025_06_56_06_9362.jpg
/home/pi/Desktop/images/28012025/06/56/image_28012025_06_56_16_10338.jpg
/home/pi/Desktop/images/28012025/06/56/image_28012025_06_56_36_9378.jpg
/home/pi/Desktop/images/28012025/06/56/image_28012025_06_56_46_10458.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332290653","1332290592","1332290586","1332290595","1332290541","1332290474"],"photo_ids_order":["1332290474","1332290541","1332290586","1332290592","1332290595","1332290653"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e2bfe5b8930e61e4db202e492a9c9ff8.jpg","text":"TemporaryFile(/tmp/multipartBody3104013078877294513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067313309,"filename":"image_28012025_06_56_46_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7d3aae203302ec4d7d864db81af324fb.jpg","text":"TemporaryFile(/tmp/multipartBody2341139712464767077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067313309,"filename":"image_28012025_06_56_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/1/28/278bf880a8fa5a924e371cfb853c808c.jpg","text":"TemporaryFile(/tmp/multipartBody7188783092400020848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067313309,"filename":"image_28012025_06_56_06_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a8e7ba0801b5d70777732153b102d00a.jpg","text":"TemporaryFile(/tmp/multipartBody1183090067959068107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067313309,"filename":"image_28012025_06_56_36_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2a0449137ac098eb85f34cca15995e61.jpg","text":"TemporaryFile(/tmp/multipartBody3168328083113273953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067313309,"filename":"image_28012025_06_55_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/1/28/2ff04866e3434ebc9b6db4c85fe19e86.jpg","text":"TemporaryFile(/tmp/multipartBody5307605222131769801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067313309,"filename":"image_28012025_06_55_46_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332290586","file1":"1332290541","file0":"1332290474","file4":"1332290595","file5":"1332290653","file3":"1332290592"},"map_files_photo_id_array":[{"photo_id":"1332290653","filename":"file5"},{"photo_id":"1332290586","filename":"file2"},{"photo_id":"1332290595","filename":"file4"},{"photo_id":"1332290541","filename":"file1"},{"photo_id":"1332290474","filename":"file0"},{"photo_id":"1332290592","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332290653":["hashtag1","hashtag2"]},{"1332290592":["hashtag1","hashtag2"]},{"1332290586":["hashtag1","hashtag2"]},{"1332290595":["hashtag1","hashtag2"]},{"1332290541":["hashtag1","hashtag2"]},{"1332290474":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332290653, 1332290592, 1332290586, 1332290595, 1332290541, 1332290474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.7017776966095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:28:32.491877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/56/image_28012025_06_56_56_9341.jpg', '/home/pi/Desktop/images/28012025/06/57/image_28012025_06_57_17_10381.jpg', '/home/pi/Desktop/images/28012025/06/57/image_28012025_06_57_26_9337.jpg', '/home/pi/Desktop/images/28012025/06/57/image_28012025_06_57_36_10454.jpg', '/home/pi/Desktop/images/28012025/06/57/image_28012025_06_57_47_10384.jpg', '/home/pi/Desktop/images/28012025/06/57/image_28012025_06_57_56_9372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/56/image_28012025_06_56_56_9341.jpg
/home/pi/Desktop/images/28012025/06/57/image_28012025_06_57_17_10381.jpg
/home/pi/Desktop/images/28012025/06/57/image_28012025_06_57_26_9337.jpg
/home/pi/Desktop/images/28012025/06/57/image_28012025_06_57_36_10454.jpg
/home/pi/Desktop/images/28012025/06/57/image_28012025_06_57_47_10384.jpg
/home/pi/Desktop/images/28012025/06/57/image_28012025_06_57_56_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":["1332290941","1332290842","1332290871","1332290913","1332290927","1332290900"],"photo_ids_order":["1332290842","1332290871","1332290900","1332290913","1332290927","1332290941"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/12e03650a5c479f1d4a89de214783eb2.jpg","text":"TemporaryFile(/tmp/multipartBody6799608039643521463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067373516,"filename":"image_28012025_06_57_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/1/28/a52161aad9ec111802f230801e41fcc2.jpg","text":"TemporaryFile(/tmp/multipartBody752917719002394534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067373516,"filename":"image_28012025_06_56_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/1/28/e7f6393c5d313cfc5f7d5da76022ba8b.jpg","text":"TemporaryFile(/tmp/multipartBody4186638088594277751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067373516,"filename":"image_28012025_06_57_17_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/44abd25bf9f144a2c276b593a148f411.jpg","text":"TemporaryFile(/tmp/multipartBody5903146951258092593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067373516,"filename":"image_28012025_06_57_36_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0578a227412cf6cf219bdacf35a6c5d3.jpg","text":"TemporaryFile(/tmp/multipartBody4817074554620218579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067373516,"filename":"image_28012025_06_57_47_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/25b291260a611f32281d61ee0d14d9d8.jpg","text":"TemporaryFile(/tmp/multipartBody1432823207711939895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067373516,"filename":"image_28012025_06_57_26_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332290900","file1":"1332290871","file0":"1332290842","file4":"1332290927","file5":"1332290941","file3":"1332290913"},"map_files_photo_id_array":[{"photo_id":"1332290941","filename":"file5"},{"photo_id":"1332290900","filename":"file2"},{"photo_id":"1332290927","filename":"file4"},{"photo_id":"1332290871","filename":"file1"},{"photo_id":"1332290842","filename":"file0"},{"photo_id":"1332290913","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332290941":["hashtag1","hashtag2"]},{"1332290842":["hashtag1","hashtag2"]},{"1332290871":["hashtag1","hashtag2"]},{"1332290913":["hashtag1","hashtag2"]},{"1332290927":["hashtag1","hashtag2"]},{"1332290900":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332290941, 1332290842, 1332290871, 1332290913, 1332290927, 1332290900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.81621837615967 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:29:32.823508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/57/image_28012025_06_58_06_10430.jpg', '/home/pi/Desktop/images/28012025/06/58/image_28012025_06_58_16_9357.jpg', '/home/pi/Desktop/images/28012025/06/58/image_28012025_06_58_26_10453.jpg', '/home/pi/Desktop/images/28012025/06/58/image_28012025_06_58_37_10363.jpg', '/home/pi/Desktop/images/28012025/06/58/image_28012025_06_58_46_9428.jpg', '/home/pi/Desktop/images/28012025/06/58/image_28012025_06_58_57_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/57/image_28012025_06_58_06_10430.jpg
/home/pi/Desktop/images/28012025/06/58/image_28012025_06_58_16_9357.jpg
/home/pi/Desktop/images/28012025/06/58/image_28012025_06_58_26_10453.jpg
/home/pi/Desktop/images/28012025/06/58/image_28012025_06_58_37_10363.jpg
/home/pi/Desktop/images/28012025/06/58/image_28012025_06_58_46_9428.jpg
/home/pi/Desktop/images/28012025/06/58/image_28012025_06_58_57_10413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332290997","1332291000","1332291003","1332291006","1332291005","1332290992"],"photo_ids_order":["1332290992","1332290997","1332291000","1332291003","1332291005","1332291006"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/19bdb6ff8a621507400aea6c1ce8248a.jpg","text":"TemporaryFile(/tmp/multipartBody7139903581725918743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067433826,"filename":"image_28012025_06_58_16_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c1d3ef6903dc7bca556ce0c666b1abaf.jpg","text":"TemporaryFile(/tmp/multipartBody873253063806722860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067433826,"filename":"image_28012025_06_58_26_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b0de21ce71d78f2edd097da2733e942d.jpg","text":"TemporaryFile(/tmp/multipartBody8292794703968335054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067433826,"filename":"image_28012025_06_58_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/1/28/708afff1f45368d942a7e4392e1e1e30.jpg","text":"TemporaryFile(/tmp/multipartBody8111362530380002412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067433826,"filename":"image_28012025_06_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/1/28/820d721f813e91c9d781cdef329b4060.jpg","text":"TemporaryFile(/tmp/multipartBody410216428065044585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067433826,"filename":"image_28012025_06_58_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/1/28/e71e231011e9af0984ce76473d6ab60f.jpg","text":"TemporaryFile(/tmp/multipartBody7535980704934511329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067433826,"filename":"image_28012025_06_58_06_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332291000","file1":"1332290997","file0":"1332290992","file4":"1332291005","file5":"1332291006","file3":"1332291003"},"map_files_photo_id_array":[{"photo_id":"1332291006","filename":"file5"},{"photo_id":"1332291000","filename":"file2"},{"photo_id":"1332291005","filename":"file4"},{"photo_id":"1332290997","filename":"file1"},{"photo_id":"1332290992","filename":"file0"},{"photo_id":"1332291003","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332290997":["hashtag1","hashtag2"]},{"1332291000":["hashtag1","hashtag2"]},{"1332291003":["hashtag1","hashtag2"]},{"1332291006":["hashtag1","hashtag2"]},{"1332291005":["hashtag1","hashtag2"]},{"1332290992":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332290997, 1332291000, 1332291003, 1332291006, 1332291005, 1332290992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22552299499512 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:30:33.047926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/06/58/image_28012025_06_59_06_9427.jpg', '/home/pi/Desktop/images/28012025/06/59/image_28012025_06_59_16_10451.jpg', '/home/pi/Desktop/images/28012025/06/59/image_28012025_06_59_26_9344.jpg', '/home/pi/Desktop/images/28012025/06/59/image_28012025_06_59_36_10366.jpg', '/home/pi/Desktop/images/28012025/06/59/image_28012025_06_59_46_10351.jpg', '/home/pi/Desktop/images/28012025/06/59/image_28012025_06_59_56_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/06/58/image_28012025_06_59_06_9427.jpg
/home/pi/Desktop/images/28012025/06/59/image_28012025_06_59_16_10451.jpg
/home/pi/Desktop/images/28012025/06/59/image_28012025_06_59_26_9344.jpg
/home/pi/Desktop/images/28012025/06/59/image_28012025_06_59_36_10366.jpg
/home/pi/Desktop/images/28012025/06/59/image_28012025_06_59_46_10351.jpg
/home/pi/Desktop/images/28012025/06/59/image_28012025_06_59_56_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332291019","1332291038","1332291023","1332291029","1332291040","1332291034"],"photo_ids_order":["1332291019","1332291023","1332291029","1332291034","1332291038","1332291040"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e8108074ff295125b92b1aaf1cf830f2.jpg","text":"TemporaryFile(/tmp/multipartBody7007360778537048587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067494058,"filename":"image_28012025_06_59_06_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b34052e35342e11cde26a3995b08de96.jpg","text":"TemporaryFile(/tmp/multipartBody1070344790942050525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067494058,"filename":"image_28012025_06_59_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/1/28/5c3d5b119fd2d722377468d76cc4bc17.jpg","text":"TemporaryFile(/tmp/multipartBody2364101863702265402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067494058,"filename":"image_28012025_06_59_16_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/79d6afc1a690abed07d835d29cdfb3d3.jpg","text":"TemporaryFile(/tmp/multipartBody2641684957444206883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067494058,"filename":"image_28012025_06_59_26_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/049d71cf6da502eeb63ee0976354087d.jpg","text":"TemporaryFile(/tmp/multipartBody4353123446662758791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067494058,"filename":"image_28012025_06_59_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/1/28/b498faed9b659976735e0cfa83dea9eb.jpg","text":"TemporaryFile(/tmp/multipartBody744228944755160723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067494058,"filename":"image_28012025_06_59_36_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332291029","file1":"1332291023","file0":"1332291019","file4":"1332291038","file5":"1332291040","file3":"1332291034"},"map_files_photo_id_array":[{"photo_id":"1332291040","filename":"file5"},{"photo_id":"1332291029","filename":"file2"},{"photo_id":"1332291038","filename":"file4"},{"photo_id":"1332291023","filename":"file1"},{"photo_id":"1332291019","filename":"file0"},{"photo_id":"1332291034","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332291019":["hashtag1","hashtag2"]},{"1332291038":["hashtag1","hashtag2"]},{"1332291023":["hashtag1","hashtag2"]},{"1332291029":["hashtag1","hashtag2"]},{"1332291040":["hashtag1","hashtag2"]},{"1332291034":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332291019, 1332291038, 1332291023, 1332291029, 1332291040, 1332291034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.59113001823425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:31:32.274765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/00/image_28012025_07_00_16_10081.jpg', '/home/pi/Desktop/images/28012025/07/00/image_28012025_07_00_37_10374.jpg', '/home/pi/Desktop/images/28012025/07/00/image_28012025_07_00_46_9428.jpg', '/home/pi/Desktop/images/28012025/07/00/image_28012025_07_00_57_10361.jpg', '/home/pi/Desktop/images/28012025/07/00/image_28012025_07_01_07_10349.jpg', '/home/pi/Desktop/images/28012025/07/01/image_28012025_07_01_16_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/00/image_28012025_07_00_16_10081.jpg
/home/pi/Desktop/images/28012025/07/00/image_28012025_07_00_37_10374.jpg
/home/pi/Desktop/images/28012025/07/00/image_28012025_07_00_46_9428.jpg
/home/pi/Desktop/images/28012025/07/00/image_28012025_07_00_57_10361.jpg
/home/pi/Desktop/images/28012025/07/00/image_28012025_07_01_07_10349.jpg
/home/pi/Desktop/images/28012025/07/01/image_28012025_07_01_16_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":["1332291080","1332291077","1332291073","1332291067","1332291061","1332291058"],"photo_ids_order":["1332291058","1332291061","1332291067","1332291073","1332291077","1332291080"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/29044e3ffb54398e6296003f6e8a9468.jpg","text":"TemporaryFile(/tmp/multipartBody5973240995688884968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067553285,"filename":"image_28012025_07_01_16_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6a1e359a0bdae5304699c850c0417a05.jpg","text":"TemporaryFile(/tmp/multipartBody131149907372522681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067553285,"filename":"image_28012025_07_01_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/1/28/04025a6e0508264ad44402d8fc7c5899.jpg","text":"TemporaryFile(/tmp/multipartBody3327995207582544728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067553285,"filename":"image_28012025_07_00_57_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/50db0ecd3cd260087c85092dc97526c6.jpg","text":"TemporaryFile(/tmp/multipartBody1073071615756212142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067553285,"filename":"image_28012025_07_00_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/1/28/f74c496e796b90371c9bad92a62b0a0a.jpg","text":"TemporaryFile(/tmp/multipartBody6299820568574303811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067553285,"filename":"image_28012025_07_00_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/1/28/0fd783454ac0377c914f0dacaa47e517.jpg","text":"TemporaryFile(/tmp/multipartBody6552931862513283653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067553285,"filename":"image_28012025_07_00_16_10081.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332291067","file1":"1332291061","file0":"1332291058","file4":"1332291077","file5":"1332291080","file3":"1332291073"},"map_files_photo_id_array":[{"photo_id":"1332291080","filename":"file5"},{"photo_id":"1332291067","filename":"file2"},{"photo_id":"1332291077","filename":"file4"},{"photo_id":"1332291061","filename":"file1"},{"photo_id":"1332291058","filename":"file0"},{"photo_id":"1332291073","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332291080":["hashtag1","hashtag2"]},{"1332291077":["hashtag1","hashtag2"]},{"1332291073":["hashtag1","hashtag2"]},{"1332291067":["hashtag1","hashtag2"]},{"1332291061":["hashtag1","hashtag2"]},{"1332291058":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332291080, 1332291077, 1332291073, 1332291067, 1332291061, 1332291058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.93500232696533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:32:32.449247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/01/image_28012025_07_01_27_10363.jpg', '/home/pi/Desktop/images/28012025/07/01/image_28012025_07_01_36_9419.jpg', '/home/pi/Desktop/images/28012025/07/01/image_28012025_07_01_47_10441.jpg', '/home/pi/Desktop/images/28012025/07/01/image_28012025_07_01_56_9509.jpg', '/home/pi/Desktop/images/28012025/07/01/image_28012025_07_02_06_10417.jpg', '/home/pi/Desktop/images/28012025/07/02/image_28012025_07_02_26_9459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/01/image_28012025_07_01_27_10363.jpg
/home/pi/Desktop/images/28012025/07/01/image_28012025_07_01_36_9419.jpg
/home/pi/Desktop/images/28012025/07/01/image_28012025_07_01_47_10441.jpg
/home/pi/Desktop/images/28012025/07/01/image_28012025_07_01_56_9509.jpg
/home/pi/Desktop/images/28012025/07/01/image_28012025_07_02_06_10417.jpg
/home/pi/Desktop/images/28012025/07/02/image_28012025_07_02_26_9459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332291139","1332291106","1332291162","1332291134","1332291145","1332291121"],"photo_ids_order":["1332291106","1332291121","1332291134","1332291139","1332291145","1332291162"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d3b9eaddf8877229c95988062883ccf9.jpg","text":"TemporaryFile(/tmp/multipartBody4844623951572244541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067613453,"filename":"image_28012025_07_01_56_9509.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/94decff21da96b7aa06b5ac9fcbb4631.jpg","text":"TemporaryFile(/tmp/multipartBody6471400058211290320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067613453,"filename":"image_28012025_07_01_27_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0348763cbc06709507ab7ff60501f1d7.jpg","text":"TemporaryFile(/tmp/multipartBody758501874080999424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067613453,"filename":"image_28012025_07_02_26_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1a4ee43a2c316202244df17ac22461c2.jpg","text":"TemporaryFile(/tmp/multipartBody7657561796172353361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067613453,"filename":"image_28012025_07_01_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/1/28/c5eff05f704b4593902a11966f94763e.jpg","text":"TemporaryFile(/tmp/multipartBody8611560871463908791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067613453,"filename":"image_28012025_07_02_06_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/22f4ed709abb0bae564802e305d9b97a.jpg","text":"TemporaryFile(/tmp/multipartBody1433480093843534213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067613453,"filename":"image_28012025_07_01_36_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332291134","file1":"1332291121","file0":"1332291106","file4":"1332291145","file5":"1332291162","file3":"1332291139"},"map_files_photo_id_array":[{"photo_id":"1332291162","filename":"file5"},{"photo_id":"1332291134","filename":"file2"},{"photo_id":"1332291145","filename":"file4"},{"photo_id":"1332291121","filename":"file1"},{"photo_id":"1332291106","filename":"file0"},{"photo_id":"1332291139","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332291139":["hashtag1","hashtag2"]},{"1332291106":["hashtag1","hashtag2"]},{"1332291162":["hashtag1","hashtag2"]},{"1332291134":["hashtag1","hashtag2"]},{"1332291145":["hashtag1","hashtag2"]},{"1332291121":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332291139, 1332291106, 1332291162, 1332291134, 1332291145, 1332291121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62024164199829 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:33:32.651729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/02/image_28012025_07_02_37_10360.jpg', '/home/pi/Desktop/images/28012025/07/02/image_28012025_07_02_46_9740.jpg', '/home/pi/Desktop/images/28012025/07/02/image_28012025_07_02_57_10332.jpg', '/home/pi/Desktop/images/28012025/07/02/image_28012025_07_03_06_9513.jpg', '/home/pi/Desktop/images/28012025/07/03/image_28012025_07_03_17_10356.jpg', '/home/pi/Desktop/images/28012025/07/03/image_28012025_07_03_47_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/02/image_28012025_07_02_37_10360.jpg
/home/pi/Desktop/images/28012025/07/02/image_28012025_07_02_46_9740.jpg
/home/pi/Desktop/images/28012025/07/02/image_28012025_07_02_57_10332.jpg
/home/pi/Desktop/images/28012025/07/02/image_28012025_07_03_06_9513.jpg
/home/pi/Desktop/images/28012025/07/03/image_28012025_07_03_17_10356.jpg
/home/pi/Desktop/images/28012025/07/03/image_28012025_07_03_47_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332291192","1332291186","1332291180","1332291176","1332291221","1332291346"],"photo_ids_order":["1332291176","1332291180","1332291186","1332291192","1332291221","1332291346"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c222aca086d055e4b4f0725592bce1bf.jpg","text":"TemporaryFile(/tmp/multipartBody799902456933789388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067673670,"filename":"image_28012025_07_03_06_9513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/503901d635f102c42973fec3533cbb76.jpg","text":"TemporaryFile(/tmp/multipartBody3678741095834933972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067673670,"filename":"image_28012025_07_02_57_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ef648e437cc1071d49d44c5341181e1f.jpg","text":"TemporaryFile(/tmp/multipartBody327165215741119038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067673670,"filename":"image_28012025_07_02_46_9740.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e6e44259ec36e6182f128cd4e519831c.jpg","text":"TemporaryFile(/tmp/multipartBody1015371896775556989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067673670,"filename":"image_28012025_07_02_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/1/28/8f03e53ec158c541612ff88de58f465a.jpg","text":"TemporaryFile(/tmp/multipartBody8147966362572683948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067673670,"filename":"image_28012025_07_03_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/1/28/278559f67446b5e88b58185be64456b1.jpg","text":"TemporaryFile(/tmp/multipartBody5702716935559870510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067673670,"filename":"image_28012025_07_03_47_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332291186","file1":"1332291180","file0":"1332291176","file4":"1332291221","file5":"1332291346","file3":"1332291192"},"map_files_photo_id_array":[{"photo_id":"1332291346","filename":"file5"},{"photo_id":"1332291186","filename":"file2"},{"photo_id":"1332291221","filename":"file4"},{"photo_id":"1332291180","filename":"file1"},{"photo_id":"1332291176","filename":"file0"},{"photo_id":"1332291192","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332291192":["hashtag1","hashtag2"]},{"1332291186":["hashtag1","hashtag2"]},{"1332291180":["hashtag1","hashtag2"]},{"1332291176":["hashtag1","hashtag2"]},{"1332291221":["hashtag1","hashtag2"]},{"1332291346":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332291192, 1332291186, 1332291180, 1332291176, 1332291221, 1332291346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62409448623657 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:34:32.941029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/03/image_28012025_07_03_56_9345.jpg', '/home/pi/Desktop/images/28012025/07/03/image_28012025_07_04_07_10390.jpg', '/home/pi/Desktop/images/28012025/07/04/image_28012025_07_04_17_10337.jpg', '/home/pi/Desktop/images/28012025/07/04/image_28012025_07_04_26_9439.jpg', '/home/pi/Desktop/images/28012025/07/04/image_28012025_07_04_37_10363.jpg', '/home/pi/Desktop/images/28012025/07/04/image_28012025_07_04_46_9394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/03/image_28012025_07_03_56_9345.jpg
/home/pi/Desktop/images/28012025/07/03/image_28012025_07_04_07_10390.jpg
/home/pi/Desktop/images/28012025/07/04/image_28012025_07_04_17_10337.jpg
/home/pi/Desktop/images/28012025/07/04/image_28012025_07_04_26_9439.jpg
/home/pi/Desktop/images/28012025/07/04/image_28012025_07_04_37_10363.jpg
/home/pi/Desktop/images/28012025/07/04/image_28012025_07_04_46_9394.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5981860160827637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 13:34:42.919611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/03/image_28012025_07_03_56_9345.jpg', '/home/pi/Desktop/images/28012025/07/03/image_28012025_07_04_07_10390.jpg', '/home/pi/Desktop/images/28012025/07/04/image_28012025_07_04_17_10337.jpg', '/home/pi/Desktop/images/28012025/07/04/image_28012025_07_04_26_9439.jpg', '/home/pi/Desktop/images/28012025/07/04/image_28012025_07_04_37_10363.jpg', '/home/pi/Desktop/images/28012025/07/04/image_28012025_07_04_46_9394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/03/image_28012025_07_03_56_9345.jpg
/home/pi/Desktop/images/28012025/07/03/image_28012025_07_04_07_10390.jpg
/home/pi/Desktop/images/28012025/07/04/image_28012025_07_04_17_10337.jpg
/home/pi/Desktop/images/28012025/07/04/image_28012025_07_04_26_9439.jpg
/home/pi/Desktop/images/28012025/07/04/image_28012025_07_04_37_10363.jpg
/home/pi/Desktop/images/28012025/07/04/image_28012025_07_04_46_9394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332292871","1332292868","1332292856","1332292942","1332292864","1332293196"],"photo_ids_order":["1332292856","1332292864","1332292868","1332292871","1332292942","1332293196"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9b30da2d42c506f4656d04079a2085b8.jpg","text":"TemporaryFile(/tmp/multipartBody3760722293472257603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067743870,"filename":"image_28012025_07_04_26_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9735efcef2d063f0b856f9d9531f3c5e.jpg","text":"TemporaryFile(/tmp/multipartBody2093201852829257591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067743870,"filename":"image_28012025_07_04_17_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/28ff410191ae3cd709d220439748324a.jpg","text":"TemporaryFile(/tmp/multipartBody7684408703844254615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067743870,"filename":"image_28012025_07_03_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/1/28/49a0526aef271e8710464c92aaa68597.jpg","text":"TemporaryFile(/tmp/multipartBody6870015384685689557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067743870,"filename":"image_28012025_07_04_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/1/28/81cebfaa978dd596813b86e660b80017.jpg","text":"TemporaryFile(/tmp/multipartBody6935049833428062300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067743870,"filename":"image_28012025_07_04_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/1/28/ff9b2e7685d8503ff777d2d592604e40.jpg","text":"TemporaryFile(/tmp/multipartBody5151953482098399612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067743870,"filename":"image_28012025_07_04_46_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332292868","file1":"1332292864","file0":"1332292856","file4":"1332292942","file5":"1332293196","file3":"1332292871"},"map_files_photo_id_array":[{"photo_id":"1332293196","filename":"file5"},{"photo_id":"1332292868","filename":"file2"},{"photo_id":"1332292942","filename":"file4"},{"photo_id":"1332292864","filename":"file1"},{"photo_id":"1332292856","filename":"file0"},{"photo_id":"1332292871","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332292871":["hashtag1","hashtag2"]},{"1332292868":["hashtag1","hashtag2"]},{"1332292856":["hashtag1","hashtag2"]},{"1332292942":["hashtag1","hashtag2"]},{"1332292864":["hashtag1","hashtag2"]},{"1332293196":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332292871, 1332292868, 1332292856, 1332292942, 1332292864, 1332293196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.92562532424927 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:35:33.038039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/04/image_28012025_07_04_56_10440.jpg', '/home/pi/Desktop/images/28012025/07/04/image_28012025_07_05_07_10383.jpg', '/home/pi/Desktop/images/28012025/07/05/image_28012025_07_05_16_9399.jpg', '/home/pi/Desktop/images/28012025/07/05/image_28012025_07_05_27_10431.jpg', '/home/pi/Desktop/images/28012025/07/05/image_28012025_07_05_36_9344.jpg', '/home/pi/Desktop/images/28012025/07/05/image_28012025_07_05_46_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/04/image_28012025_07_04_56_10440.jpg
/home/pi/Desktop/images/28012025/07/04/image_28012025_07_05_07_10383.jpg
/home/pi/Desktop/images/28012025/07/05/image_28012025_07_05_16_9399.jpg
/home/pi/Desktop/images/28012025/07/05/image_28012025_07_05_27_10431.jpg
/home/pi/Desktop/images/28012025/07/05/image_28012025_07_05_36_9344.jpg
/home/pi/Desktop/images/28012025/07/05/image_28012025_07_05_46_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":["1332293304","1332293249","1332293476","1332293308","1332293437","1332293475"],"photo_ids_order":["1332293249","1332293304","1332293308","1332293437","1332293475","1332293476"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/35c196922b15280b5edbd7003d84eb43.jpg","text":"TemporaryFile(/tmp/multipartBody7167911909001855543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067794047,"filename":"image_28012025_07_05_07_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c3d37b2ec7512bd3b0aec0279cf62f4e.jpg","text":"TemporaryFile(/tmp/multipartBody5918231290467892872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067794047,"filename":"image_28012025_07_04_56_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/866eaaa940e319a2497293c1f4a6ec92.jpg","text":"TemporaryFile(/tmp/multipartBody6831166410810009481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067794047,"filename":"image_28012025_07_05_46_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d078f7d54485d15b703f94a888216ec2.jpg","text":"TemporaryFile(/tmp/multipartBody8193893027739009687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067794047,"filename":"image_28012025_07_05_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/1/28/fe786f121e56ab8b56b8fdcce10c98e2.jpg","text":"TemporaryFile(/tmp/multipartBody492099812240639016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067794047,"filename":"image_28012025_07_05_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/1/28/bc57bdcf5152197d57733c53c4706fff.jpg","text":"TemporaryFile(/tmp/multipartBody5057397889841652551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067794047,"filename":"image_28012025_07_05_36_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332293308","file1":"1332293304","file0":"1332293249","file4":"1332293475","file5":"1332293476","file3":"1332293437"},"map_files_photo_id_array":[{"photo_id":"1332293476","filename":"file5"},{"photo_id":"1332293308","filename":"file2"},{"photo_id":"1332293475","filename":"file4"},{"photo_id":"1332293304","filename":"file1"},{"photo_id":"1332293249","filename":"file0"},{"photo_id":"1332293437","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332293304":["hashtag1","hashtag2"]},{"1332293249":["hashtag1","hashtag2"]},{"1332293476":["hashtag1","hashtag2"]},{"1332293308":["hashtag1","hashtag2"]},{"1332293437":["hashtag1","hashtag2"]},{"1332293475":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332293304, 1332293249, 1332293476, 1332293308, 1332293437, 1332293475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.35577988624573 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:36:32.400949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/05/image_28012025_07_05_57_10343.jpg', '/home/pi/Desktop/images/28012025/07/05/image_28012025_07_06_06_9466.jpg', '/home/pi/Desktop/images/28012025/07/06/image_28012025_07_06_17_10410.jpg', '/home/pi/Desktop/images/28012025/07/06/image_28012025_07_06_26_9350.jpg', '/home/pi/Desktop/images/28012025/07/06/image_28012025_07_06_36_10370.jpg', '/home/pi/Desktop/images/28012025/07/06/image_28012025_07_06_47_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/05/image_28012025_07_05_57_10343.jpg
/home/pi/Desktop/images/28012025/07/05/image_28012025_07_06_06_9466.jpg
/home/pi/Desktop/images/28012025/07/06/image_28012025_07_06_17_10410.jpg
/home/pi/Desktop/images/28012025/07/06/image_28012025_07_06_26_9350.jpg
/home/pi/Desktop/images/28012025/07/06/image_28012025_07_06_36_10370.jpg
/home/pi/Desktop/images/28012025/07/06/image_28012025_07_06_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":["1332293732","1332293749","1332293665","1332293796","1332293793","1332293553"],"photo_ids_order":["1332293553","1332293665","1332293732","1332293749","1332293793","1332293796"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/41fd19576bc0070eda0db8f70ef85d4b.jpg","text":"TemporaryFile(/tmp/multipartBody4306997365934342059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067853415,"filename":"image_28012025_07_06_17_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d0341ef9e9c4147e6ca526315577bb95.jpg","text":"TemporaryFile(/tmp/multipartBody4182729194920631418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067853415,"filename":"image_28012025_07_06_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/1/28/806ecaaff93badf167136d34269a9dee.jpg","text":"TemporaryFile(/tmp/multipartBody1552876517541454411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067853415,"filename":"image_28012025_07_06_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/1/28/48edc459e6462905f64f02358367a7a2.jpg","text":"TemporaryFile(/tmp/multipartBody8603462561994110234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067853415,"filename":"image_28012025_07_06_47_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ec5da64290e07fca3c7566945d532d0c.jpg","text":"TemporaryFile(/tmp/multipartBody2525864829668458135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067853415,"filename":"image_28012025_07_06_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/1/28/b9ea70cc0ee809353daeef8a7d228b2b.jpg","text":"TemporaryFile(/tmp/multipartBody5673280528226442348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067853415,"filename":"image_28012025_07_05_57_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332293732","file1":"1332293665","file0":"1332293553","file4":"1332293793","file5":"1332293796","file3":"1332293749"},"map_files_photo_id_array":[{"photo_id":"1332293796","filename":"file5"},{"photo_id":"1332293732","filename":"file2"},{"photo_id":"1332293793","filename":"file4"},{"photo_id":"1332293665","filename":"file1"},{"photo_id":"1332293553","filename":"file0"},{"photo_id":"1332293749","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332293732":["hashtag1","hashtag2"]},{"1332293749":["hashtag1","hashtag2"]},{"1332293665":["hashtag1","hashtag2"]},{"1332293796":["hashtag1","hashtag2"]},{"1332293793":["hashtag1","hashtag2"]},{"1332293553":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332293732, 1332293749, 1332293665, 1332293796, 1332293793, 1332293553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.87828254699707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:37:32.676833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/06/image_28012025_07_06_56_9372.jpg', '/home/pi/Desktop/images/28012025/07/06/image_28012025_07_07_07_10350.jpg', '/home/pi/Desktop/images/28012025/07/07/image_28012025_07_07_17_10407.jpg', '/home/pi/Desktop/images/28012025/07/07/image_28012025_07_07_37_10354.jpg', '/home/pi/Desktop/images/28012025/07/07/image_28012025_07_07_46_9386.jpg', '/home/pi/Desktop/images/28012025/07/07/image_28012025_07_07_56_10403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/06/image_28012025_07_06_56_9372.jpg
/home/pi/Desktop/images/28012025/07/06/image_28012025_07_07_07_10350.jpg
/home/pi/Desktop/images/28012025/07/07/image_28012025_07_07_17_10407.jpg
/home/pi/Desktop/images/28012025/07/07/image_28012025_07_07_37_10354.jpg
/home/pi/Desktop/images/28012025/07/07/image_28012025_07_07_46_9386.jpg
/home/pi/Desktop/images/28012025/07/07/image_28012025_07_07_56_10403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332293837","1332293816","1332293821","1332293827","1332293832","1332293835"],"photo_ids_order":["1332293816","1332293821","1332293827","1332293832","1332293835","1332293837"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/86be75ba293dd021077c7ac49c9fc706.jpg","text":"TemporaryFile(/tmp/multipartBody4645875194399969179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067913679,"filename":"image_28012025_07_07_56_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1910dded8b2ac7649d797c340164bd1e.jpg","text":"TemporaryFile(/tmp/multipartBody7315391262447424770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067913679,"filename":"image_28012025_07_06_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/1/28/2680512e67292c564526f133b26aa2e5.jpg","text":"TemporaryFile(/tmp/multipartBody6196291838662988679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067913679,"filename":"image_28012025_07_07_07_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d494f8c1e09a013ac3f6c54c4bcd8603.jpg","text":"TemporaryFile(/tmp/multipartBody1331639243869014702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067913679,"filename":"image_28012025_07_07_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/1/28/e880a5d2882f0c93e398da0494c7fbbb.jpg","text":"TemporaryFile(/tmp/multipartBody9087433116024811315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067913679,"filename":"image_28012025_07_07_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/1/28/3e3c0dad4d934af890566138d0fee408.jpg","text":"TemporaryFile(/tmp/multipartBody5477859866547068148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067913679,"filename":"image_28012025_07_07_46_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332293827","file1":"1332293821","file0":"1332293816","file4":"1332293835","file5":"1332293837","file3":"1332293832"},"map_files_photo_id_array":[{"photo_id":"1332293837","filename":"file5"},{"photo_id":"1332293827","filename":"file2"},{"photo_id":"1332293835","filename":"file4"},{"photo_id":"1332293821","filename":"file1"},{"photo_id":"1332293816","filename":"file0"},{"photo_id":"1332293832","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332293837":["hashtag1","hashtag2"]},{"1332293816":["hashtag1","hashtag2"]},{"1332293821":["hashtag1","hashtag2"]},{"1332293827":["hashtag1","hashtag2"]},{"1332293832":["hashtag1","hashtag2"]},{"1332293835":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332293837, 1332293816, 1332293821, 1332293827, 1332293832, 1332293835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.83103013038635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:38:33.405916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/07/image_28012025_07_08_07_10347.jpg', '/home/pi/Desktop/images/28012025/07/08/image_28012025_07_08_16_9418.jpg', '/home/pi/Desktop/images/28012025/07/08/image_28012025_07_08_27_10449.jpg', '/home/pi/Desktop/images/28012025/07/08/image_28012025_07_08_36_9355.jpg', '/home/pi/Desktop/images/28012025/07/08/image_28012025_07_08_46_10379.jpg', '/home/pi/Desktop/images/28012025/07/08/image_28012025_07_08_57_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/07/image_28012025_07_08_07_10347.jpg
/home/pi/Desktop/images/28012025/07/08/image_28012025_07_08_16_9418.jpg
/home/pi/Desktop/images/28012025/07/08/image_28012025_07_08_27_10449.jpg
/home/pi/Desktop/images/28012025/07/08/image_28012025_07_08_36_9355.jpg
/home/pi/Desktop/images/28012025/07/08/image_28012025_07_08_46_10379.jpg
/home/pi/Desktop/images/28012025/07/08/image_28012025_07_08_57_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":["1332293885","1332293879","1332293920","1332293917","1332293911","1332293871"],"photo_ids_order":["1332293871","1332293879","1332293885","1332293911","1332293917","1332293920"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e5d9da7653060d25b9c68a10ec3cf219.jpg","text":"TemporaryFile(/tmp/multipartBody8073740372420081960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067974425,"filename":"image_28012025_07_08_27_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/181440d929ca01da3f64e50c0623ffe8.jpg","text":"TemporaryFile(/tmp/multipartBody1293411677987767590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067974425,"filename":"image_28012025_07_08_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/1/28/e1b8c5ef038e86363e9573c55ac28ca1.jpg","text":"TemporaryFile(/tmp/multipartBody5277656359484030693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067974425,"filename":"image_28012025_07_08_57_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7e197c26169ff866a785536b719b4dd9.jpg","text":"TemporaryFile(/tmp/multipartBody8241310071895162077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067974425,"filename":"image_28012025_07_08_46_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/927d4a17613bb84b70a52c9958a9ef2f.jpg","text":"TemporaryFile(/tmp/multipartBody523086826652602043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067974425,"filename":"image_28012025_07_08_36_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3acfaad0584c784c0eec9fc9e1dbc115.jpg","text":"TemporaryFile(/tmp/multipartBody1426509012782037233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738067974425,"filename":"image_28012025_07_08_07_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332293885","file1":"1332293879","file0":"1332293871","file4":"1332293917","file5":"1332293920","file3":"1332293911"},"map_files_photo_id_array":[{"photo_id":"1332293920","filename":"file5"},{"photo_id":"1332293885","filename":"file2"},{"photo_id":"1332293917","filename":"file4"},{"photo_id":"1332293879","filename":"file1"},{"photo_id":"1332293871","filename":"file0"},{"photo_id":"1332293911","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332293885":["hashtag1","hashtag2"]},{"1332293879":["hashtag1","hashtag2"]},{"1332293920":["hashtag1","hashtag2"]},{"1332293917":["hashtag1","hashtag2"]},{"1332293911":["hashtag1","hashtag2"]},{"1332293871":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332293885, 1332293879, 1332293920, 1332293917, 1332293911, 1332293871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.887412548065186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:39:32.614805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/08/image_28012025_07_09_06_9355.jpg', '/home/pi/Desktop/images/28012025/07/09/image_28012025_07_09_16_10344.jpg', '/home/pi/Desktop/images/28012025/07/09/image_28012025_07_09_27_10421.jpg', '/home/pi/Desktop/images/28012025/07/09/image_28012025_07_09_36_9410.jpg', '/home/pi/Desktop/images/28012025/07/09/image_28012025_07_09_47_10351.jpg', '/home/pi/Desktop/images/28012025/07/09/image_28012025_07_09_57_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/08/image_28012025_07_09_06_9355.jpg
/home/pi/Desktop/images/28012025/07/09/image_28012025_07_09_16_10344.jpg
/home/pi/Desktop/images/28012025/07/09/image_28012025_07_09_27_10421.jpg
/home/pi/Desktop/images/28012025/07/09/image_28012025_07_09_36_9410.jpg
/home/pi/Desktop/images/28012025/07/09/image_28012025_07_09_47_10351.jpg
/home/pi/Desktop/images/28012025/07/09/image_28012025_07_09_57_10332.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6097023487091064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 13:39:42.684314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/08/image_28012025_07_09_06_9355.jpg', '/home/pi/Desktop/images/28012025/07/09/image_28012025_07_09_16_10344.jpg', '/home/pi/Desktop/images/28012025/07/09/image_28012025_07_09_27_10421.jpg', '/home/pi/Desktop/images/28012025/07/09/image_28012025_07_09_36_9410.jpg', '/home/pi/Desktop/images/28012025/07/09/image_28012025_07_09_47_10351.jpg', '/home/pi/Desktop/images/28012025/07/09/image_28012025_07_09_57_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/08/image_28012025_07_09_06_9355.jpg
/home/pi/Desktop/images/28012025/07/09/image_28012025_07_09_16_10344.jpg
/home/pi/Desktop/images/28012025/07/09/image_28012025_07_09_27_10421.jpg
/home/pi/Desktop/images/28012025/07/09/image_28012025_07_09_36_9410.jpg
/home/pi/Desktop/images/28012025/07/09/image_28012025_07_09_47_10351.jpg
/home/pi/Desktop/images/28012025/07/09/image_28012025_07_09_57_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332293969","1332293960","1332293963","1332293957","1332293966","1332293952"],"photo_ids_order":["1332293952","1332293957","1332293960","1332293963","1332293966","1332293969"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c38e132e91e2cc6aa679796b1290a380.jpg","text":"TemporaryFile(/tmp/multipartBody8226560769353793666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068043616,"filename":"image_28012025_07_09_57_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/16e3355bc8720739c1319d8fb7339bc9.jpg","text":"TemporaryFile(/tmp/multipartBody5708560688389090000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068043616,"filename":"image_28012025_07_09_27_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e52faca6cc0c59c46d95ecb30d51934b.jpg","text":"TemporaryFile(/tmp/multipartBody8485650626886367963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068043616,"filename":"image_28012025_07_09_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/1/28/0a310452e8386876cd2a1c9cd3dcbbd3.jpg","text":"TemporaryFile(/tmp/multipartBody3795605274855431460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068043616,"filename":"image_28012025_07_09_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/1/28/2b8b6eaf4148fd4617cf38cb94454839.jpg","text":"TemporaryFile(/tmp/multipartBody8185501789386426041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068043616,"filename":"image_28012025_07_09_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/1/28/c3da269f4d1f911f9cba188484118545.jpg","text":"TemporaryFile(/tmp/multipartBody3555984337887077943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068043616,"filename":"image_28012025_07_09_06_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332293960","file1":"1332293957","file0":"1332293952","file4":"1332293966","file5":"1332293969","file3":"1332293963"},"map_files_photo_id_array":[{"photo_id":"1332293969","filename":"file5"},{"photo_id":"1332293960","filename":"file2"},{"photo_id":"1332293966","filename":"file4"},{"photo_id":"1332293957","filename":"file1"},{"photo_id":"1332293952","filename":"file0"},{"photo_id":"1332293963","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332293969":["hashtag1","hashtag2"]},{"1332293960":["hashtag1","hashtag2"]},{"1332293963":["hashtag1","hashtag2"]},{"1332293957":["hashtag1","hashtag2"]},{"1332293966":["hashtag1","hashtag2"]},{"1332293952":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332293969, 1332293960, 1332293963, 1332293957, 1332293966, 1332293952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.55648970603943 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:40:32.839091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/10/image_28012025_07_10_17_10380.jpg', '/home/pi/Desktop/images/28012025/07/10/image_28012025_07_10_26_9352.jpg', '/home/pi/Desktop/images/28012025/07/10/image_28012025_07_10_37_10429.jpg', '/home/pi/Desktop/images/28012025/07/10/image_28012025_07_10_47_10339.jpg', '/home/pi/Desktop/images/28012025/07/10/image_28012025_07_10_56_9380.jpg', '/home/pi/Desktop/images/28012025/07/10/image_28012025_07_11_07_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/10/image_28012025_07_10_17_10380.jpg
/home/pi/Desktop/images/28012025/07/10/image_28012025_07_10_26_9352.jpg
/home/pi/Desktop/images/28012025/07/10/image_28012025_07_10_37_10429.jpg
/home/pi/Desktop/images/28012025/07/10/image_28012025_07_10_47_10339.jpg
/home/pi/Desktop/images/28012025/07/10/image_28012025_07_10_56_9380.jpg
/home/pi/Desktop/images/28012025/07/10/image_28012025_07_11_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":["1332294215","1332294023","1332294199","1332294109","1332294031","1332294019"],"photo_ids_order":["1332294019","1332294023","1332294031","1332294109","1332294199","1332294215"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d3cc99ea17079107c5d27330c08a34d9.jpg","text":"TemporaryFile(/tmp/multipartBody7831765914740361762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068093877,"filename":"image_28012025_07_11_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/1/28/94fe2dc0c6b3a8f9c391c90696f800e8.jpg","text":"TemporaryFile(/tmp/multipartBody6851870030730360932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068093877,"filename":"image_28012025_07_10_26_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/93ead41377004c7e5c58abc2a74106b2.jpg","text":"TemporaryFile(/tmp/multipartBody6834831579159730818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068093877,"filename":"image_28012025_07_10_56_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/01723a504dd63d171c682a6e68daf179.jpg","text":"TemporaryFile(/tmp/multipartBody6090841056744036231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068093877,"filename":"image_28012025_07_10_47_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/328fbf3386b9637d3f6c3f8f26dcbd5c.jpg","text":"TemporaryFile(/tmp/multipartBody7252744182619231893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068093877,"filename":"image_28012025_07_10_37_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4b68110a03c701652d148ca3847727b4.jpg","text":"TemporaryFile(/tmp/multipartBody6529670268392001182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068093877,"filename":"image_28012025_07_10_17_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332294031","file1":"1332294023","file0":"1332294019","file4":"1332294199","file5":"1332294215","file3":"1332294109"},"map_files_photo_id_array":[{"photo_id":"1332294215","filename":"file5"},{"photo_id":"1332294031","filename":"file2"},{"photo_id":"1332294199","filename":"file4"},{"photo_id":"1332294023","filename":"file1"},{"photo_id":"1332294019","filename":"file0"},{"photo_id":"1332294109","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332294215":["hashtag1","hashtag2"]},{"1332294023":["hashtag1","hashtag2"]},{"1332294199":["hashtag1","hashtag2"]},{"1332294109":["hashtag1","hashtag2"]},{"1332294031":["hashtag1","hashtag2"]},{"1332294019":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332294215, 1332294023, 1332294199, 1332294109, 1332294031, 1332294019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.010010719299316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:41:33.224990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/11/image_28012025_07_11_17_10344.jpg', '/home/pi/Desktop/images/28012025/07/11/image_28012025_07_11_26_9437.jpg', '/home/pi/Desktop/images/28012025/07/11/image_28012025_07_11_37_10363.jpg', '/home/pi/Desktop/images/28012025/07/11/image_28012025_07_11_46_9350.jpg', '/home/pi/Desktop/images/28012025/07/11/image_28012025_07_11_57_10428.jpg', '/home/pi/Desktop/images/28012025/07/11/image_28012025_07_12_07_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/11/image_28012025_07_11_17_10344.jpg
/home/pi/Desktop/images/28012025/07/11/image_28012025_07_11_26_9437.jpg
/home/pi/Desktop/images/28012025/07/11/image_28012025_07_11_37_10363.jpg
/home/pi/Desktop/images/28012025/07/11/image_28012025_07_11_46_9350.jpg
/home/pi/Desktop/images/28012025/07/11/image_28012025_07_11_57_10428.jpg
/home/pi/Desktop/images/28012025/07/11/image_28012025_07_12_07_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":["1332294583","1332294388","1332294373","1332294379","1332294360","1332294753"],"photo_ids_order":["1332294360","1332294373","1332294379","1332294388","1332294583","1332294753"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/14201e9e54d13e924e540bf21ca7b120.jpg","text":"TemporaryFile(/tmp/multipartBody7037804231803923761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068154244,"filename":"image_28012025_07_11_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/1/28/62a229288ce9a1a86ce6979ef3e6b8a4.jpg","text":"TemporaryFile(/tmp/multipartBody6314556859465972801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068154244,"filename":"image_28012025_07_11_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/1/28/9dcb232cc53400ea60eab15b1808530c.jpg","text":"TemporaryFile(/tmp/multipartBody3867521152167788866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068154244,"filename":"image_28012025_07_11_26_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2777fc3973421f57f133be549abfafeb.jpg","text":"TemporaryFile(/tmp/multipartBody3135679324708655883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068154244,"filename":"image_28012025_07_11_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/1/28/449668e970d53dcdbad39ebf781dace4.jpg","text":"TemporaryFile(/tmp/multipartBody7286343035006525927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068154244,"filename":"image_28012025_07_11_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/1/28/a2bd3f66773e6543c644318ac15008b9.jpg","text":"TemporaryFile(/tmp/multipartBody966773671497883432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068154244,"filename":"image_28012025_07_12_07_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332294379","file1":"1332294373","file0":"1332294360","file4":"1332294583","file5":"1332294753","file3":"1332294388"},"map_files_photo_id_array":[{"photo_id":"1332294753","filename":"file5"},{"photo_id":"1332294379","filename":"file2"},{"photo_id":"1332294583","filename":"file4"},{"photo_id":"1332294373","filename":"file1"},{"photo_id":"1332294360","filename":"file0"},{"photo_id":"1332294388","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332294583":["hashtag1","hashtag2"]},{"1332294388":["hashtag1","hashtag2"]},{"1332294373":["hashtag1","hashtag2"]},{"1332294379":["hashtag1","hashtag2"]},{"1332294360":["hashtag1","hashtag2"]},{"1332294753":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332294583, 1332294388, 1332294373, 1332294379, 1332294360, 1332294753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.59217691421509 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:42:32.311498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/12/image_28012025_07_12_16_9390.jpg', '/home/pi/Desktop/images/28012025/07/12/image_28012025_07_12_26_10150.jpg', '/home/pi/Desktop/images/28012025/07/12/image_28012025_07_12_37_10377.jpg', '/home/pi/Desktop/images/28012025/07/12/image_28012025_07_12_46_9470.jpg', '/home/pi/Desktop/images/28012025/07/12/image_28012025_07_13_07_10337.jpg', '/home/pi/Desktop/images/28012025/07/13/image_28012025_07_13_16_9430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/12/image_28012025_07_12_16_9390.jpg
/home/pi/Desktop/images/28012025/07/12/image_28012025_07_12_26_10150.jpg
/home/pi/Desktop/images/28012025/07/12/image_28012025_07_12_37_10377.jpg
/home/pi/Desktop/images/28012025/07/12/image_28012025_07_12_46_9470.jpg
/home/pi/Desktop/images/28012025/07/12/image_28012025_07_13_07_10337.jpg
/home/pi/Desktop/images/28012025/07/13/image_28012025_07_13_16_9430.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5939140319824219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 13:42:42.300712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/12/image_28012025_07_12_16_9390.jpg', '/home/pi/Desktop/images/28012025/07/12/image_28012025_07_12_26_10150.jpg', '/home/pi/Desktop/images/28012025/07/12/image_28012025_07_12_37_10377.jpg', '/home/pi/Desktop/images/28012025/07/12/image_28012025_07_12_46_9470.jpg', '/home/pi/Desktop/images/28012025/07/12/image_28012025_07_13_07_10337.jpg', '/home/pi/Desktop/images/28012025/07/13/image_28012025_07_13_16_9430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/12/image_28012025_07_12_16_9390.jpg
/home/pi/Desktop/images/28012025/07/12/image_28012025_07_12_26_10150.jpg
/home/pi/Desktop/images/28012025/07/12/image_28012025_07_12_37_10377.jpg
/home/pi/Desktop/images/28012025/07/12/image_28012025_07_12_46_9470.jpg
/home/pi/Desktop/images/28012025/07/12/image_28012025_07_13_07_10337.jpg
/home/pi/Desktop/images/28012025/07/13/image_28012025_07_13_16_9430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332295816","1332295804","1332295812","1332295826","1332295808","1332295730"],"photo_ids_order":["1332295730","1332295804","1332295808","1332295812","1332295816","1332295826"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/df94a84af89d2c9f0a797a08698260b0.jpg","text":"TemporaryFile(/tmp/multipartBody2389710415069834310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068223230,"filename":"image_28012025_07_13_07_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a18808bf791460ea3500c03d651c0bb9.jpg","text":"TemporaryFile(/tmp/multipartBody9067677323763963130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068223230,"filename":"image_28012025_07_12_26_10150.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5b94678882c6f5596793979ecb3bd56a.jpg","text":"TemporaryFile(/tmp/multipartBody5846053039515646361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068223230,"filename":"image_28012025_07_12_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/1/28/8a10a5891b941caf16db354a5c268b22.jpg","text":"TemporaryFile(/tmp/multipartBody298667601029463843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068223230,"filename":"image_28012025_07_13_16_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5fc0c42a696ca082428bf58cabf6114a.jpg","text":"TemporaryFile(/tmp/multipartBody5210295494553080127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068223230,"filename":"image_28012025_07_12_37_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f7b9e441ea3fafd8ca5b73fa0a376bcf.jpg","text":"TemporaryFile(/tmp/multipartBody8917028899294577535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068223230,"filename":"image_28012025_07_12_16_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332295808","file1":"1332295804","file0":"1332295730","file4":"1332295816","file5":"1332295826","file3":"1332295812"},"map_files_photo_id_array":[{"photo_id":"1332295826","filename":"file5"},{"photo_id":"1332295808","filename":"file2"},{"photo_id":"1332295816","filename":"file4"},{"photo_id":"1332295804","filename":"file1"},{"photo_id":"1332295730","filename":"file0"},{"photo_id":"1332295812","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332295816":["hashtag1","hashtag2"]},{"1332295804":["hashtag1","hashtag2"]},{"1332295812":["hashtag1","hashtag2"]},{"1332295826":["hashtag1","hashtag2"]},{"1332295808":["hashtag1","hashtag2"]},{"1332295730":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332295816, 1332295804, 1332295812, 1332295826, 1332295808, 1332295730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.598270654678345 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:43:32.566798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/13/image_28012025_07_13_27_10412.jpg', '/home/pi/Desktop/images/28012025/07/13/image_28012025_07_13_56_9383.jpg', '/home/pi/Desktop/images/28012025/07/13/image_28012025_07_14_06_10337.jpg', '/home/pi/Desktop/images/28012025/07/14/image_28012025_07_14_17_10395.jpg', '/home/pi/Desktop/images/28012025/07/14/image_28012025_07_14_26_9451.jpg', '/home/pi/Desktop/images/28012025/07/14/image_28012025_07_14_37_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/13/image_28012025_07_13_27_10412.jpg
/home/pi/Desktop/images/28012025/07/13/image_28012025_07_13_56_9383.jpg
/home/pi/Desktop/images/28012025/07/13/image_28012025_07_14_06_10337.jpg
/home/pi/Desktop/images/28012025/07/14/image_28012025_07_14_17_10395.jpg
/home/pi/Desktop/images/28012025/07/14/image_28012025_07_14_26_9451.jpg
/home/pi/Desktop/images/28012025/07/14/image_28012025_07_14_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":["1332296059","1332295942","1332296121","1332295848","1332296168","1332296146"],"photo_ids_order":["1332295848","1332295942","1332296059","1332296121","1332296146","1332296168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f6d7f810b161bf63e8d789b37eaeb431.jpg","text":"TemporaryFile(/tmp/multipartBody2667853095366895814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068273610,"filename":"image_28012025_07_14_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/1/28/21f089bb0b27cdd7b429703ccbfc61f4.jpg","text":"TemporaryFile(/tmp/multipartBody1568772652289018566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068273610,"filename":"image_28012025_07_13_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/1/28/d8a243aab6825b5aba4a4c4efa047c35.jpg","text":"TemporaryFile(/tmp/multipartBody6458168653756392433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068273610,"filename":"image_28012025_07_14_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/1/28/8d05a74113c705e3ad998b884c62025d.jpg","text":"TemporaryFile(/tmp/multipartBody3459078748002366534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068273610,"filename":"image_28012025_07_13_27_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bb078b6584d25f5e740d77c61b172a98.jpg","text":"TemporaryFile(/tmp/multipartBody2599314466312811813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068273610,"filename":"image_28012025_07_14_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/1/28/a0fecba70380902c72aa39f042541cfb.jpg","text":"TemporaryFile(/tmp/multipartBody6505687184204409208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068273610,"filename":"image_28012025_07_14_26_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332296059","file1":"1332295942","file0":"1332295848","file4":"1332296146","file5":"1332296168","file3":"1332296121"},"map_files_photo_id_array":[{"photo_id":"1332296168","filename":"file5"},{"photo_id":"1332296059","filename":"file2"},{"photo_id":"1332296146","filename":"file4"},{"photo_id":"1332295942","filename":"file1"},{"photo_id":"1332295848","filename":"file0"},{"photo_id":"1332296121","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332296059":["hashtag1","hashtag2"]},{"1332295942":["hashtag1","hashtag2"]},{"1332296121":["hashtag1","hashtag2"]},{"1332295848":["hashtag1","hashtag2"]},{"1332296168":["hashtag1","hashtag2"]},{"1332296146":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332296059, 1332295942, 1332296121, 1332295848, 1332296168, 1332296146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.66418981552124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:44:32.878470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/14/image_28012025_07_14_47_10345.jpg', '/home/pi/Desktop/images/28012025/07/14/image_28012025_07_14_56_9338.jpg', '/home/pi/Desktop/images/28012025/07/14/image_28012025_07_15_07_10374.jpg', '/home/pi/Desktop/images/28012025/07/15/image_28012025_07_15_16_9343.jpg', '/home/pi/Desktop/images/28012025/07/15/image_28012025_07_15_26_10358.jpg', '/home/pi/Desktop/images/28012025/07/15/image_28012025_07_15_37_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/14/image_28012025_07_14_47_10345.jpg
/home/pi/Desktop/images/28012025/07/14/image_28012025_07_14_56_9338.jpg
/home/pi/Desktop/images/28012025/07/14/image_28012025_07_15_07_10374.jpg
/home/pi/Desktop/images/28012025/07/15/image_28012025_07_15_16_9343.jpg
/home/pi/Desktop/images/28012025/07/15/image_28012025_07_15_26_10358.jpg
/home/pi/Desktop/images/28012025/07/15/image_28012025_07_15_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":["1332296341","1332296343","1332296337","1332296334","1332296330","1332296324"],"photo_ids_order":["1332296324","1332296330","1332296334","1332296337","1332296341","1332296343"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/feab6a14da3077d9489aca1343f8ecb6.jpg","text":"TemporaryFile(/tmp/multipartBody7061465358862345159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068333895,"filename":"image_28012025_07_15_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/1/28/c1feac4c8e02ce1b17d058676ae14084.jpg","text":"TemporaryFile(/tmp/multipartBody6128331791878020628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068333895,"filename":"image_28012025_07_15_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/1/28/1b47332f7c2dc58eb1ab1d36fd72e1f5.jpg","text":"TemporaryFile(/tmp/multipartBody4374666017375999681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068333895,"filename":"image_28012025_07_15_16_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0ce1cdfb2279af1a2e82a7a113daf081.jpg","text":"TemporaryFile(/tmp/multipartBody3677398176223239216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068333895,"filename":"image_28012025_07_15_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/1/28/ea57d91e1a2546b9169fec75aad412aa.jpg","text":"TemporaryFile(/tmp/multipartBody2963230842435289351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068333895,"filename":"image_28012025_07_14_56_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/75e2ec98c0eb9d4bdd64b38c4d03a738.jpg","text":"TemporaryFile(/tmp/multipartBody1255444705018221255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068333895,"filename":"image_28012025_07_14_47_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332296334","file1":"1332296330","file0":"1332296324","file4":"1332296341","file5":"1332296343","file3":"1332296337"},"map_files_photo_id_array":[{"photo_id":"1332296343","filename":"file5"},{"photo_id":"1332296334","filename":"file2"},{"photo_id":"1332296341","filename":"file4"},{"photo_id":"1332296330","filename":"file1"},{"photo_id":"1332296324","filename":"file0"},{"photo_id":"1332296337","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332296341":["hashtag1","hashtag2"]},{"1332296343":["hashtag1","hashtag2"]},{"1332296337":["hashtag1","hashtag2"]},{"1332296334":["hashtag1","hashtag2"]},{"1332296330":["hashtag1","hashtag2"]},{"1332296324":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332296341, 1332296343, 1332296337, 1332296334, 1332296330, 1332296324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.68832230567932 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:45:33.113293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/15/image_28012025_07_15_46_9359.jpg', '/home/pi/Desktop/images/28012025/07/15/image_28012025_07_15_56_10359.jpg', '/home/pi/Desktop/images/28012025/07/16/image_28012025_07_16_27_10363.jpg', '/home/pi/Desktop/images/28012025/07/16/image_28012025_07_16_37_10452.jpg', '/home/pi/Desktop/images/28012025/07/16/image_28012025_07_16_46_9407.jpg', '/home/pi/Desktop/images/28012025/07/16/image_28012025_07_16_57_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/15/image_28012025_07_15_46_9359.jpg
/home/pi/Desktop/images/28012025/07/15/image_28012025_07_15_56_10359.jpg
/home/pi/Desktop/images/28012025/07/16/image_28012025_07_16_27_10363.jpg
/home/pi/Desktop/images/28012025/07/16/image_28012025_07_16_37_10452.jpg
/home/pi/Desktop/images/28012025/07/16/image_28012025_07_16_46_9407.jpg
/home/pi/Desktop/images/28012025/07/16/image_28012025_07_16_57_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":["1332296839","1332296548","1332296894","1332296690","1332296896","1332296875"],"photo_ids_order":["1332296548","1332296690","1332296839","1332296875","1332296894","1332296896"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/91bc56802805dd9a8a631a2ca593067f.jpg","text":"TemporaryFile(/tmp/multipartBody412160863943815484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068394121,"filename":"image_28012025_07_16_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/1/28/6ab74f4018e14d99c87f3d80bac4a136.jpg","text":"TemporaryFile(/tmp/multipartBody7082817742859511082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068394121,"filename":"image_28012025_07_15_46_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c34da8cbb2e4dbe8fd6893e041174ccf.jpg","text":"TemporaryFile(/tmp/multipartBody8023166821711703493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068394121,"filename":"image_28012025_07_16_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/1/28/dc6888cae2fcc9309fd405e5902cf96c.jpg","text":"TemporaryFile(/tmp/multipartBody6696898878333920380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068394121,"filename":"image_28012025_07_15_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/1/28/85161573bcaf7261c68f65c47c5d8ae1.jpg","text":"TemporaryFile(/tmp/multipartBody3753288998130312794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068394121,"filename":"image_28012025_07_16_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/1/28/6406c4892adcc1657955e6de236607d6.jpg","text":"TemporaryFile(/tmp/multipartBody7922474345759057161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068394121,"filename":"image_28012025_07_16_37_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332296839","file1":"1332296690","file0":"1332296548","file4":"1332296894","file5":"1332296896","file3":"1332296875"},"map_files_photo_id_array":[{"photo_id":"1332296896","filename":"file5"},{"photo_id":"1332296839","filename":"file2"},{"photo_id":"1332296894","filename":"file4"},{"photo_id":"1332296690","filename":"file1"},{"photo_id":"1332296548","filename":"file0"},{"photo_id":"1332296875","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332296839":["hashtag1","hashtag2"]},{"1332296548":["hashtag1","hashtag2"]},{"1332296894":["hashtag1","hashtag2"]},{"1332296690":["hashtag1","hashtag2"]},{"1332296896":["hashtag1","hashtag2"]},{"1332296875":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332296839, 1332296548, 1332296894, 1332296690, 1332296896, 1332296875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.72608423233032 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:46:32.285262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/16/image_28012025_07_17_06_9337.jpg', '/home/pi/Desktop/images/28012025/07/17/image_28012025_07_17_17_10450.jpg', '/home/pi/Desktop/images/28012025/07/17/image_28012025_07_17_36_9501.jpg', '/home/pi/Desktop/images/28012025/07/17/image_28012025_07_17_47_10339.jpg', '/home/pi/Desktop/images/28012025/07/17/image_28012025_07_17_56_9361.jpg', '/home/pi/Desktop/images/28012025/07/17/image_28012025_07_18_07_10402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/16/image_28012025_07_17_06_9337.jpg
/home/pi/Desktop/images/28012025/07/17/image_28012025_07_17_17_10450.jpg
/home/pi/Desktop/images/28012025/07/17/image_28012025_07_17_36_9501.jpg
/home/pi/Desktop/images/28012025/07/17/image_28012025_07_17_47_10339.jpg
/home/pi/Desktop/images/28012025/07/17/image_28012025_07_17_56_9361.jpg
/home/pi/Desktop/images/28012025/07/17/image_28012025_07_18_07_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":["1332297062","1332297076","1332297079","1332297031","1332297055","1332297037"],"photo_ids_order":["1332297031","1332297037","1332297055","1332297062","1332297076","1332297079"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6d3027209f1316b36cc0fec94a10c1f5.jpg","text":"TemporaryFile(/tmp/multipartBody5481067997983357448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068453314,"filename":"image_28012025_07_17_47_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/88b8e182cda8cfc1b85a14a308023422.jpg","text":"TemporaryFile(/tmp/multipartBody2699793422951589896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068453314,"filename":"image_28012025_07_17_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/1/28/91fb0538d1435251f6aef6024424f54f.jpg","text":"TemporaryFile(/tmp/multipartBody7405673833251963335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068453314,"filename":"image_28012025_07_18_07_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a006f536ea811b41817da516b31d57d7.jpg","text":"TemporaryFile(/tmp/multipartBody3384351671085996289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068453314,"filename":"image_28012025_07_17_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/1/28/ff6cf38a4be76f88a38a07bf8fd86984.jpg","text":"TemporaryFile(/tmp/multipartBody2040128999955222599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068453314,"filename":"image_28012025_07_17_36_9501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/80e130f607006c23df3c4e0163aab7e6.jpg","text":"TemporaryFile(/tmp/multipartBody2374601444703293681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068453314,"filename":"image_28012025_07_17_17_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332297055","file1":"1332297037","file0":"1332297031","file4":"1332297076","file5":"1332297079","file3":"1332297062"},"map_files_photo_id_array":[{"photo_id":"1332297079","filename":"file5"},{"photo_id":"1332297055","filename":"file2"},{"photo_id":"1332297076","filename":"file4"},{"photo_id":"1332297037","filename":"file1"},{"photo_id":"1332297031","filename":"file0"},{"photo_id":"1332297062","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332297062":["hashtag1","hashtag2"]},{"1332297076":["hashtag1","hashtag2"]},{"1332297079":["hashtag1","hashtag2"]},{"1332297031":["hashtag1","hashtag2"]},{"1332297055":["hashtag1","hashtag2"]},{"1332297037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332297062, 1332297076, 1332297079, 1332297031, 1332297055, 1332297037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.06203293800354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:47:32.506463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/18/image_28012025_07_18_17_10404.jpg', '/home/pi/Desktop/images/28012025/07/18/image_28012025_07_18_26_9393.jpg', '/home/pi/Desktop/images/28012025/07/18/image_28012025_07_18_56_10445.jpg', '/home/pi/Desktop/images/28012025/07/18/image_28012025_07_19_07_10354.jpg', '/home/pi/Desktop/images/28012025/07/19/image_28012025_07_19_27_10433.jpg', '/home/pi/Desktop/images/28012025/07/19/image_28012025_07_20_06_9412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/18/image_28012025_07_18_17_10404.jpg
/home/pi/Desktop/images/28012025/07/18/image_28012025_07_18_26_9393.jpg
/home/pi/Desktop/images/28012025/07/18/image_28012025_07_18_56_10445.jpg
/home/pi/Desktop/images/28012025/07/18/image_28012025_07_19_07_10354.jpg
/home/pi/Desktop/images/28012025/07/19/image_28012025_07_19_27_10433.jpg
/home/pi/Desktop/images/28012025/07/19/image_28012025_07_20_06_9412.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.602118968963623 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 13:47:42.446963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/18/image_28012025_07_18_17_10404.jpg', '/home/pi/Desktop/images/28012025/07/18/image_28012025_07_18_26_9393.jpg', '/home/pi/Desktop/images/28012025/07/18/image_28012025_07_18_56_10445.jpg', '/home/pi/Desktop/images/28012025/07/18/image_28012025_07_19_07_10354.jpg', '/home/pi/Desktop/images/28012025/07/19/image_28012025_07_19_27_10433.jpg', '/home/pi/Desktop/images/28012025/07/19/image_28012025_07_20_06_9412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/18/image_28012025_07_18_17_10404.jpg
/home/pi/Desktop/images/28012025/07/18/image_28012025_07_18_26_9393.jpg
/home/pi/Desktop/images/28012025/07/18/image_28012025_07_18_56_10445.jpg
/home/pi/Desktop/images/28012025/07/18/image_28012025_07_19_07_10354.jpg
/home/pi/Desktop/images/28012025/07/19/image_28012025_07_19_27_10433.jpg
/home/pi/Desktop/images/28012025/07/19/image_28012025_07_20_06_9412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332297118","1332297138","1332297123","1332297126","1332297134","1332297130"],"photo_ids_order":["1332297118","1332297123","1332297126","1332297130","1332297134","1332297138"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/739194652d3b16e14bce4bf7f6fc210b.jpg","text":"TemporaryFile(/tmp/multipartBody2149581426093342468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068523384,"filename":"image_28012025_07_18_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/1/28/038427f0e0079f43f3d204c66640fe3d.jpg","text":"TemporaryFile(/tmp/multipartBody9042852675083233677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068523384,"filename":"image_28012025_07_20_06_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/65e84f0c3507e0aff94c9ca25aa9db03.jpg","text":"TemporaryFile(/tmp/multipartBody20777506622815753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068523384,"filename":"image_28012025_07_18_26_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/32952b3e54d935cd9d7a30c78ff5cba2.jpg","text":"TemporaryFile(/tmp/multipartBody7625084151641185354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068523384,"filename":"image_28012025_07_18_56_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/de74e1e5659d324aa2c27650baea2e6a.jpg","text":"TemporaryFile(/tmp/multipartBody3730979670125035156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068523384,"filename":"image_28012025_07_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/1/28/5426e8faf866a6bedd2a26ae6ccf6fbc.jpg","text":"TemporaryFile(/tmp/multipartBody5347480543891529689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068523384,"filename":"image_28012025_07_19_07_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332297126","file1":"1332297123","file0":"1332297118","file4":"1332297134","file5":"1332297138","file3":"1332297130"},"map_files_photo_id_array":[{"photo_id":"1332297138","filename":"file5"},{"photo_id":"1332297126","filename":"file2"},{"photo_id":"1332297134","filename":"file4"},{"photo_id":"1332297123","filename":"file1"},{"photo_id":"1332297118","filename":"file0"},{"photo_id":"1332297130","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332297118":["hashtag1","hashtag2"]},{"1332297138":["hashtag1","hashtag2"]},{"1332297123":["hashtag1","hashtag2"]},{"1332297126":["hashtag1","hashtag2"]},{"1332297134":["hashtag1","hashtag2"]},{"1332297130":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332297118, 1332297138, 1332297123, 1332297126, 1332297134, 1332297130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93892025947571 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:48:32.806754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/20/image_28012025_07_20_16_10347.jpg', '/home/pi/Desktop/images/28012025/07/20/image_28012025_07_20_27_10362.jpg', '/home/pi/Desktop/images/28012025/07/20/image_28012025_07_20_36_9431.jpg', '/home/pi/Desktop/images/28012025/07/20/image_28012025_07_20_47_10376.jpg', '/home/pi/Desktop/images/28012025/07/20/image_28012025_07_20_57_10351.jpg', '/home/pi/Desktop/images/28012025/07/20/image_28012025_07_21_06_9384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/20/image_28012025_07_20_16_10347.jpg
/home/pi/Desktop/images/28012025/07/20/image_28012025_07_20_27_10362.jpg
/home/pi/Desktop/images/28012025/07/20/image_28012025_07_20_36_9431.jpg
/home/pi/Desktop/images/28012025/07/20/image_28012025_07_20_47_10376.jpg
/home/pi/Desktop/images/28012025/07/20/image_28012025_07_20_57_10351.jpg
/home/pi/Desktop/images/28012025/07/20/image_28012025_07_21_06_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":["1332297168","1332297156","1332297175","1332297163","1332297172","1332297151"],"photo_ids_order":["1332297151","1332297156","1332297163","1332297168","1332297172","1332297175"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7631ccc93edabc7f1f02bdcbdb07067d.jpg","text":"TemporaryFile(/tmp/multipartBody2513872573758361809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068573849,"filename":"image_28012025_07_20_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/1/28/a94fb6a10079d2a786d1b888d6896598.jpg","text":"TemporaryFile(/tmp/multipartBody6035220278764718665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068573849,"filename":"image_28012025_07_20_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/1/28/c3d8c14acdeb58b9b3ca63ed5b4c5615.jpg","text":"TemporaryFile(/tmp/multipartBody1083092964588311531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068573849,"filename":"image_28012025_07_21_06_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/78d59d36c685880d30d458d2edd670ad.jpg","text":"TemporaryFile(/tmp/multipartBody2283348814117410706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068573849,"filename":"image_28012025_07_20_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/1/28/49860b996376772fb4a0b3dc11ac7ad0.jpg","text":"TemporaryFile(/tmp/multipartBody2608037555032040233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068573849,"filename":"image_28012025_07_20_57_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5b25fc6078c01c5a790a4587ad5b39e4.jpg","text":"TemporaryFile(/tmp/multipartBody7856563235019334449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068573849,"filename":"image_28012025_07_20_16_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332297163","file1":"1332297156","file0":"1332297151","file4":"1332297172","file5":"1332297175","file3":"1332297168"},"map_files_photo_id_array":[{"photo_id":"1332297175","filename":"file5"},{"photo_id":"1332297163","filename":"file2"},{"photo_id":"1332297172","filename":"file4"},{"photo_id":"1332297156","filename":"file1"},{"photo_id":"1332297151","filename":"file0"},{"photo_id":"1332297168","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332297168":["hashtag1","hashtag2"]},{"1332297156":["hashtag1","hashtag2"]},{"1332297175":["hashtag1","hashtag2"]},{"1332297163":["hashtag1","hashtag2"]},{"1332297172":["hashtag1","hashtag2"]},{"1332297151":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332297168, 1332297156, 1332297175, 1332297163, 1332297172, 1332297151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37948393821716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:49:33.090523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/21/image_28012025_07_21_17_10365.jpg', '/home/pi/Desktop/images/28012025/07/21/image_28012025_07_21_26_9429.jpg', '/home/pi/Desktop/images/28012025/07/21/image_28012025_07_21_37_10417.jpg', '/home/pi/Desktop/images/28012025/07/21/image_28012025_07_21_47_10352.jpg', '/home/pi/Desktop/images/28012025/07/21/image_28012025_07_21_56_9376.jpg', '/home/pi/Desktop/images/28012025/07/21/image_28012025_07_22_07_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/21/image_28012025_07_21_17_10365.jpg
/home/pi/Desktop/images/28012025/07/21/image_28012025_07_21_26_9429.jpg
/home/pi/Desktop/images/28012025/07/21/image_28012025_07_21_37_10417.jpg
/home/pi/Desktop/images/28012025/07/21/image_28012025_07_21_47_10352.jpg
/home/pi/Desktop/images/28012025/07/21/image_28012025_07_21_56_9376.jpg
/home/pi/Desktop/images/28012025/07/21/image_28012025_07_22_07_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":["1332297210","1332297207","1332297201","1332297194","1332297188","1332297212"],"photo_ids_order":["1332297188","1332297194","1332297201","1332297207","1332297210","1332297212"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e1dee2b9d546d931f9554bcc53e98391.jpg","text":"TemporaryFile(/tmp/multipartBody4546374447243498652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068634089,"filename":"image_28012025_07_21_56_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/eca36ff0a38c7dd98fc739a1e27e8a02.jpg","text":"TemporaryFile(/tmp/multipartBody2456710147303108940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068634089,"filename":"image_28012025_07_21_47_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b7852edcbbb225366575270a275659c3.jpg","text":"TemporaryFile(/tmp/multipartBody4103258427288490836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068634089,"filename":"image_28012025_07_21_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/1/28/f7ff3a57fa0213bd064306c1e3944021.jpg","text":"TemporaryFile(/tmp/multipartBody855285930839532997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068634089,"filename":"image_28012025_07_21_26_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/71cd4bfc9cdd9d0f1024099acbee9050.jpg","text":"TemporaryFile(/tmp/multipartBody7348872495198442738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068634089,"filename":"image_28012025_07_21_17_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2745318c2b7689085161824f963662bd.jpg","text":"TemporaryFile(/tmp/multipartBody4365170965849004863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068634089,"filename":"image_28012025_07_22_07_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332297201","file1":"1332297194","file0":"1332297188","file4":"1332297210","file5":"1332297212","file3":"1332297207"},"map_files_photo_id_array":[{"photo_id":"1332297212","filename":"file5"},{"photo_id":"1332297201","filename":"file2"},{"photo_id":"1332297210","filename":"file4"},{"photo_id":"1332297194","filename":"file1"},{"photo_id":"1332297188","filename":"file0"},{"photo_id":"1332297207","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332297210":["hashtag1","hashtag2"]},{"1332297207":["hashtag1","hashtag2"]},{"1332297201":["hashtag1","hashtag2"]},{"1332297194":["hashtag1","hashtag2"]},{"1332297188":["hashtag1","hashtag2"]},{"1332297212":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332297210, 1332297207, 1332297201, 1332297194, 1332297188, 1332297212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.953346729278564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:50:32.283558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/22/image_28012025_07_22_16_9434.jpg', '/home/pi/Desktop/images/28012025/07/22/image_28012025_07_22_27_10431.jpg', '/home/pi/Desktop/images/28012025/07/22/image_28012025_07_22_46_9383.jpg', '/home/pi/Desktop/images/28012025/07/22/image_28012025_07_22_57_10464.jpg', '/home/pi/Desktop/images/28012025/07/22/image_28012025_07_23_06_9326.jpg', '/home/pi/Desktop/images/28012025/07/23/image_28012025_07_23_16_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/22/image_28012025_07_22_16_9434.jpg
/home/pi/Desktop/images/28012025/07/22/image_28012025_07_22_27_10431.jpg
/home/pi/Desktop/images/28012025/07/22/image_28012025_07_22_46_9383.jpg
/home/pi/Desktop/images/28012025/07/22/image_28012025_07_22_57_10464.jpg
/home/pi/Desktop/images/28012025/07/22/image_28012025_07_23_06_9326.jpg
/home/pi/Desktop/images/28012025/07/23/image_28012025_07_23_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":["1332297377","1332297391","1332297404","1332297280","1332297382","1332297226"],"photo_ids_order":["1332297226","1332297280","1332297377","1332297382","1332297391","1332297404"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cdd7f4d64fd018b114c335de904b03a9.jpg","text":"TemporaryFile(/tmp/multipartBody5058871008205994791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068693279,"filename":"image_28012025_07_22_46_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1c5d194987e055050e0b892f583bc735.jpg","text":"TemporaryFile(/tmp/multipartBody1724197089788141720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068693279,"filename":"image_28012025_07_23_06_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/10369cb07a086edf64228067796acdf9.jpg","text":"TemporaryFile(/tmp/multipartBody425324736438594335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068693279,"filename":"image_28012025_07_23_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/1/28/7d3c51027acdb40bd6a99e1ae6259d11.jpg","text":"TemporaryFile(/tmp/multipartBody7999104904769351059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068693279,"filename":"image_28012025_07_22_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/1/28/17b176b8a56267a1ff1bb70f0dca5e9b.jpg","text":"TemporaryFile(/tmp/multipartBody3583572917693180207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068693279,"filename":"image_28012025_07_22_57_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/93b4a8ae31cc34354b5d9276376512fd.jpg","text":"TemporaryFile(/tmp/multipartBody4926000803704852937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068693279,"filename":"image_28012025_07_22_16_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332297377","file1":"1332297280","file0":"1332297226","file4":"1332297391","file5":"1332297404","file3":"1332297382"},"map_files_photo_id_array":[{"photo_id":"1332297404","filename":"file5"},{"photo_id":"1332297377","filename":"file2"},{"photo_id":"1332297391","filename":"file4"},{"photo_id":"1332297280","filename":"file1"},{"photo_id":"1332297226","filename":"file0"},{"photo_id":"1332297382","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332297377":["hashtag1","hashtag2"]},{"1332297391":["hashtag1","hashtag2"]},{"1332297404":["hashtag1","hashtag2"]},{"1332297280":["hashtag1","hashtag2"]},{"1332297382":["hashtag1","hashtag2"]},{"1332297226":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332297377, 1332297391, 1332297404, 1332297280, 1332297382, 1332297226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.22618889808655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:51:32.506964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/23/image_28012025_07_23_27_10413.jpg', '/home/pi/Desktop/images/28012025/07/23/image_28012025_07_23_36_9480.jpg', '/home/pi/Desktop/images/28012025/07/23/image_28012025_07_23_47_10351.jpg', '/home/pi/Desktop/images/28012025/07/23/image_28012025_07_23_56_9361.jpg', '/home/pi/Desktop/images/28012025/07/23/image_28012025_07_24_07_10430.jpg', '/home/pi/Desktop/images/28012025/07/24/image_28012025_07_24_17_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/23/image_28012025_07_23_27_10413.jpg
/home/pi/Desktop/images/28012025/07/23/image_28012025_07_23_36_9480.jpg
/home/pi/Desktop/images/28012025/07/23/image_28012025_07_23_47_10351.jpg
/home/pi/Desktop/images/28012025/07/23/image_28012025_07_23_56_9361.jpg
/home/pi/Desktop/images/28012025/07/23/image_28012025_07_24_07_10430.jpg
/home/pi/Desktop/images/28012025/07/24/image_28012025_07_24_17_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332297450","1332297491","1332297737","1332297611","1332297445","1332297891"],"photo_ids_order":["1332297445","1332297450","1332297491","1332297611","1332297737","1332297891"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/62e596beb6ac0776e05d14fcc923494b.jpg","text":"TemporaryFile(/tmp/multipartBody9113486226713509753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068753513,"filename":"image_28012025_07_23_36_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7eecdcd21232fc9d648720e5f94f7db7.jpg","text":"TemporaryFile(/tmp/multipartBody5430621375848014793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068753513,"filename":"image_28012025_07_23_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/1/28/596ef2e682c257118bcbc07c9556b10e.jpg","text":"TemporaryFile(/tmp/multipartBody6003937705039158212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068753513,"filename":"image_28012025_07_24_07_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/eb76c5966af33f5e313a1eecf68e953b.jpg","text":"TemporaryFile(/tmp/multipartBody4048701388657697893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068753513,"filename":"image_28012025_07_23_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/1/28/8bbe45204aa5d5fcc355ed57450585e3.jpg","text":"TemporaryFile(/tmp/multipartBody383866243413482218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068753513,"filename":"image_28012025_07_23_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/1/28/4e8c0f3c18526bae4c34cc962a6a196a.jpg","text":"TemporaryFile(/tmp/multipartBody2755150226410845545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068753513,"filename":"image_28012025_07_24_17_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332297491","file1":"1332297450","file0":"1332297445","file4":"1332297737","file5":"1332297891","file3":"1332297611"},"map_files_photo_id_array":[{"photo_id":"1332297891","filename":"file5"},{"photo_id":"1332297491","filename":"file2"},{"photo_id":"1332297737","filename":"file4"},{"photo_id":"1332297450","filename":"file1"},{"photo_id":"1332297445","filename":"file0"},{"photo_id":"1332297611","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332297450":["hashtag1","hashtag2"]},{"1332297491":["hashtag1","hashtag2"]},{"1332297737":["hashtag1","hashtag2"]},{"1332297611":["hashtag1","hashtag2"]},{"1332297445":["hashtag1","hashtag2"]},{"1332297891":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332297450, 1332297491, 1332297737, 1332297611, 1332297445, 1332297891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.348376750946045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:52:32.775929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/24/image_28012025_07_24_26_9435.jpg', '/home/pi/Desktop/images/28012025/07/24/image_28012025_07_24_56_10394.jpg', '/home/pi/Desktop/images/28012025/07/24/image_28012025_07_25_07_10349.jpg', '/home/pi/Desktop/images/28012025/07/25/image_28012025_07_25_16_9352.jpg', '/home/pi/Desktop/images/28012025/07/25/image_28012025_07_25_27_10358.jpg', '/home/pi/Desktop/images/28012025/07/25/image_28012025_07_25_37_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/24/image_28012025_07_24_26_9435.jpg
/home/pi/Desktop/images/28012025/07/24/image_28012025_07_24_56_10394.jpg
/home/pi/Desktop/images/28012025/07/24/image_28012025_07_25_07_10349.jpg
/home/pi/Desktop/images/28012025/07/25/image_28012025_07_25_16_9352.jpg
/home/pi/Desktop/images/28012025/07/25/image_28012025_07_25_27_10358.jpg
/home/pi/Desktop/images/28012025/07/25/image_28012025_07_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":["1332298733","1332299017","1332298896","1332299130","1332299124","1332299127"],"photo_ids_order":["1332298733","1332298896","1332299017","1332299124","1332299127","1332299130"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/61f1013f6dfcd14a4936db20e6219e43.jpg","text":"TemporaryFile(/tmp/multipartBody8565125609708349751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068813781,"filename":"image_28012025_07_24_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/1/28/0620f389970adf5adabb4cab9118f5e9.jpg","text":"TemporaryFile(/tmp/multipartBody2364152315118598697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068813781,"filename":"image_28012025_07_25_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/1/28/b8c88df4f2a26fe3291802f6655cdc6b.jpg","text":"TemporaryFile(/tmp/multipartBody7836690087132085164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068813781,"filename":"image_28012025_07_24_56_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bad6ba8b8b8f738d837387689ebf23f7.jpg","text":"TemporaryFile(/tmp/multipartBody3632537316909980105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068813781,"filename":"image_28012025_07_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/1/28/e013a5cb33b8230040ae519d4a5a06fa.jpg","text":"TemporaryFile(/tmp/multipartBody3944896144696815082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068813781,"filename":"image_28012025_07_25_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/1/28/2f4d08991075cc24bbfb094cf6168870.jpg","text":"TemporaryFile(/tmp/multipartBody7403453562341983568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068813781,"filename":"image_28012025_07_25_27_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332299017","file1":"1332298896","file0":"1332298733","file4":"1332299127","file5":"1332299130","file3":"1332299124"},"map_files_photo_id_array":[{"photo_id":"1332299130","filename":"file5"},{"photo_id":"1332299017","filename":"file2"},{"photo_id":"1332299127","filename":"file4"},{"photo_id":"1332298896","filename":"file1"},{"photo_id":"1332298733","filename":"file0"},{"photo_id":"1332299124","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332298733":["hashtag1","hashtag2"]},{"1332299017":["hashtag1","hashtag2"]},{"1332298896":["hashtag1","hashtag2"]},{"1332299130":["hashtag1","hashtag2"]},{"1332299124":["hashtag1","hashtag2"]},{"1332299127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332298733, 1332299017, 1332298896, 1332299130, 1332299124, 1332299127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51406812667847 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:53:32.886459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/25/image_28012025_07_25_46_9506.jpg', '/home/pi/Desktop/images/28012025/07/25/image_28012025_07_25_57_10434.jpg', '/home/pi/Desktop/images/28012025/07/26/image_28012025_07_26_17_10350.jpg', '/home/pi/Desktop/images/28012025/07/26/image_28012025_07_26_27_9868.jpg', '/home/pi/Desktop/images/28012025/07/26/image_28012025_07_26_37_10420.jpg', '/home/pi/Desktop/images/28012025/07/26/image_28012025_07_26_46_9425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/25/image_28012025_07_25_46_9506.jpg
/home/pi/Desktop/images/28012025/07/25/image_28012025_07_25_57_10434.jpg
/home/pi/Desktop/images/28012025/07/26/image_28012025_07_26_17_10350.jpg
/home/pi/Desktop/images/28012025/07/26/image_28012025_07_26_27_9868.jpg
/home/pi/Desktop/images/28012025/07/26/image_28012025_07_26_37_10420.jpg
/home/pi/Desktop/images/28012025/07/26/image_28012025_07_26_46_9425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332299291","1332299270","1332299275","1332299539","1332299410","1332299262"],"photo_ids_order":["1332299262","1332299270","1332299275","1332299291","1332299410","1332299539"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d06231da41b08465167801fa25686e7a.jpg","text":"TemporaryFile(/tmp/multipartBody481107336243443578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068873891,"filename":"image_28012025_07_26_27_9868.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fe3948e1dab5c12067eebd91c85e1257.jpg","text":"TemporaryFile(/tmp/multipartBody7022873655083995396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068873891,"filename":"image_28012025_07_25_57_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3048f1d23bccc7c93b92d783ccd6590a.jpg","text":"TemporaryFile(/tmp/multipartBody4401218832213761803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068873891,"filename":"image_28012025_07_26_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/1/28/8d155b0e959e9dd64137598b753a5920.jpg","text":"TemporaryFile(/tmp/multipartBody2108313232816438621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068873891,"filename":"image_28012025_07_26_46_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/108dda0bcfa04495b9cae80f43b8f7f5.jpg","text":"TemporaryFile(/tmp/multipartBody6110876065399552724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068873891,"filename":"image_28012025_07_26_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/1/28/f09c247a0420c3365f4fa753542f3fc5.jpg","text":"TemporaryFile(/tmp/multipartBody1439561861565432849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068873891,"filename":"image_28012025_07_25_46_9506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332299275","file1":"1332299270","file0":"1332299262","file4":"1332299410","file5":"1332299539","file3":"1332299291"},"map_files_photo_id_array":[{"photo_id":"1332299539","filename":"file5"},{"photo_id":"1332299275","filename":"file2"},{"photo_id":"1332299410","filename":"file4"},{"photo_id":"1332299270","filename":"file1"},{"photo_id":"1332299262","filename":"file0"},{"photo_id":"1332299291","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332299291":["hashtag1","hashtag2"]},{"1332299270":["hashtag1","hashtag2"]},{"1332299275":["hashtag1","hashtag2"]},{"1332299539":["hashtag1","hashtag2"]},{"1332299410":["hashtag1","hashtag2"]},{"1332299262":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332299291, 1332299270, 1332299275, 1332299539, 1332299410, 1332299262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.165865421295166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:54:32.169822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/26/image_28012025_07_26_57_10352.jpg', '/home/pi/Desktop/images/28012025/07/26/image_28012025_07_27_06_9349.jpg', '/home/pi/Desktop/images/28012025/07/27/image_28012025_07_27_17_10413.jpg', '/home/pi/Desktop/images/28012025/07/27/image_28012025_07_27_27_10347.jpg', '/home/pi/Desktop/images/28012025/07/27/image_28012025_07_27_36_9442.jpg', '/home/pi/Desktop/images/28012025/07/27/image_28012025_07_27_47_10420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/26/image_28012025_07_26_57_10352.jpg
/home/pi/Desktop/images/28012025/07/26/image_28012025_07_27_06_9349.jpg
/home/pi/Desktop/images/28012025/07/27/image_28012025_07_27_17_10413.jpg
/home/pi/Desktop/images/28012025/07/27/image_28012025_07_27_27_10347.jpg
/home/pi/Desktop/images/28012025/07/27/image_28012025_07_27_36_9442.jpg
/home/pi/Desktop/images/28012025/07/27/image_28012025_07_27_47_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":["1332299675","1332299861","1332299677","1332299856","1332299850","1332299754"],"photo_ids_order":["1332299675","1332299677","1332299754","1332299850","1332299856","1332299861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/41adaaeb545bc3c159dd253fd679635e.jpg","text":"TemporaryFile(/tmp/multipartBody1994597388945814426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068933234,"filename":"image_28012025_07_26_57_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/236ed785f7819ef704abc882fefff6b4.jpg","text":"TemporaryFile(/tmp/multipartBody8287351579807065334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068933234,"filename":"image_28012025_07_27_47_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/119ca00ddb649e24f5edb11ba4b48eac.jpg","text":"TemporaryFile(/tmp/multipartBody28917653256535290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068933234,"filename":"image_28012025_07_27_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/1/28/bbb5c1e11282c2f826b296daf8e33f9a.jpg","text":"TemporaryFile(/tmp/multipartBody2053173462297500467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068933234,"filename":"image_28012025_07_27_36_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/71287bc154a7fc1b5373a10cbf34c236.jpg","text":"TemporaryFile(/tmp/multipartBody7795603530062704754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068933234,"filename":"image_28012025_07_27_27_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c2290190c4b40793f14f974f34987eb1.jpg","text":"TemporaryFile(/tmp/multipartBody833980243286495903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068933234,"filename":"image_28012025_07_27_17_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332299754","file1":"1332299677","file0":"1332299675","file4":"1332299856","file5":"1332299861","file3":"1332299850"},"map_files_photo_id_array":[{"photo_id":"1332299861","filename":"file5"},{"photo_id":"1332299754","filename":"file2"},{"photo_id":"1332299856","filename":"file4"},{"photo_id":"1332299677","filename":"file1"},{"photo_id":"1332299675","filename":"file0"},{"photo_id":"1332299850","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332299675":["hashtag1","hashtag2"]},{"1332299861":["hashtag1","hashtag2"]},{"1332299677":["hashtag1","hashtag2"]},{"1332299856":["hashtag1","hashtag2"]},{"1332299850":["hashtag1","hashtag2"]},{"1332299754":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332299675, 1332299861, 1332299677, 1332299856, 1332299850, 1332299754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.481606006622314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:55:32.433975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/27/image_28012025_07_27_56_9374.jpg', '/home/pi/Desktop/images/28012025/07/27/image_28012025_07_28_06_10361.jpg', '/home/pi/Desktop/images/28012025/07/28/image_28012025_07_28_17_10438.jpg', '/home/pi/Desktop/images/28012025/07/28/image_28012025_07_28_26_9438.jpg', '/home/pi/Desktop/images/28012025/07/28/image_28012025_07_28_37_10338.jpg', '/home/pi/Desktop/images/28012025/07/28/image_28012025_07_28_47_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/27/image_28012025_07_27_56_9374.jpg
/home/pi/Desktop/images/28012025/07/27/image_28012025_07_28_06_10361.jpg
/home/pi/Desktop/images/28012025/07/28/image_28012025_07_28_17_10438.jpg
/home/pi/Desktop/images/28012025/07/28/image_28012025_07_28_26_9438.jpg
/home/pi/Desktop/images/28012025/07/28/image_28012025_07_28_37_10338.jpg
/home/pi/Desktop/images/28012025/07/28/image_28012025_07_28_47_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":["1332300096","1332299941","1332299994","1332299949","1332299937","1332299946"],"photo_ids_order":["1332299937","1332299941","1332299946","1332299949","1332299994","1332300096"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/32f2d3f6a2f9806471897e42829c7d33.jpg","text":"TemporaryFile(/tmp/multipartBody9118529174103274047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068993451,"filename":"image_28012025_07_28_47_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8af2ae05a539f9c49c5c5435492078c6.jpg","text":"TemporaryFile(/tmp/multipartBody4406072500971228950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068993451,"filename":"image_28012025_07_28_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/1/28/1c612ea95951e5a8001da57eb52e76de.jpg","text":"TemporaryFile(/tmp/multipartBody4674414234298226635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068993451,"filename":"image_28012025_07_28_37_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/414cfa530487b5e69c3e8d34a9f13762.jpg","text":"TemporaryFile(/tmp/multipartBody8900736446458612652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068993451,"filename":"image_28012025_07_28_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/1/28/599a143d10c53fffee59fd26475fa027.jpg","text":"TemporaryFile(/tmp/multipartBody529594150372818790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068993451,"filename":"image_28012025_07_27_56_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1059a17b2663f94cb3e506323ce29b7d.jpg","text":"TemporaryFile(/tmp/multipartBody8071907849035846953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738068993451,"filename":"image_28012025_07_28_17_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332299946","file1":"1332299941","file0":"1332299937","file4":"1332299994","file5":"1332300096","file3":"1332299949"},"map_files_photo_id_array":[{"photo_id":"1332300096","filename":"file5"},{"photo_id":"1332299946","filename":"file2"},{"photo_id":"1332299994","filename":"file4"},{"photo_id":"1332299941","filename":"file1"},{"photo_id":"1332299937","filename":"file0"},{"photo_id":"1332299949","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332300096":["hashtag1","hashtag2"]},{"1332299941":["hashtag1","hashtag2"]},{"1332299994":["hashtag1","hashtag2"]},{"1332299949":["hashtag1","hashtag2"]},{"1332299937":["hashtag1","hashtag2"]},{"1332299946":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332300096, 1332299941, 1332299994, 1332299949, 1332299937, 1332299946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.16419339179993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:56:32.666174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/28/image_28012025_07_28_56_9329.jpg', '/home/pi/Desktop/images/28012025/07/28/image_28012025_07_29_07_10411.jpg', '/home/pi/Desktop/images/28012025/07/29/image_28012025_07_29_16_9358.jpg', '/home/pi/Desktop/images/28012025/07/29/image_28012025_07_29_26_10385.jpg', '/home/pi/Desktop/images/28012025/07/29/image_28012025_07_29_37_10351.jpg', '/home/pi/Desktop/images/28012025/07/29/image_28012025_07_29_46_9401.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/28/image_28012025_07_28_56_9329.jpg
/home/pi/Desktop/images/28012025/07/28/image_28012025_07_29_07_10411.jpg
/home/pi/Desktop/images/28012025/07/29/image_28012025_07_29_16_9358.jpg
/home/pi/Desktop/images/28012025/07/29/image_28012025_07_29_26_10385.jpg
/home/pi/Desktop/images/28012025/07/29/image_28012025_07_29_37_10351.jpg
/home/pi/Desktop/images/28012025/07/29/image_28012025_07_29_46_9401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332300382","1332300385","1332300388","1332300352","1332300355","1332300345"],"photo_ids_order":["1332300345","1332300352","1332300355","1332300382","1332300385","1332300388"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9ad0b31f6d463ffe249be15733a6d8af.jpg","text":"TemporaryFile(/tmp/multipartBody6953437376346545738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069053719,"filename":"image_28012025_07_29_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/1/28/648ab1ad8cbdb3a43276889d6a3c7c80.jpg","text":"TemporaryFile(/tmp/multipartBody6113186468102896498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069053719,"filename":"image_28012025_07_29_37_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6aa347bf5ddb4cc2aa912f4cdc9ac489.jpg","text":"TemporaryFile(/tmp/multipartBody6887106601058877552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069053719,"filename":"image_28012025_07_29_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/1/28/8dc2f7c1eefe0d6015aa7d09425612a1.jpg","text":"TemporaryFile(/tmp/multipartBody2188497447992869250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069053719,"filename":"image_28012025_07_29_07_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8a6875faa3ed0860595fc4cdc561d613.jpg","text":"TemporaryFile(/tmp/multipartBody7644857825111918507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069053719,"filename":"image_28012025_07_29_16_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/74a6a141f981cdccf4a0a271f7a1c04f.jpg","text":"TemporaryFile(/tmp/multipartBody6799931084410502082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069053719,"filename":"image_28012025_07_28_56_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332300355","file1":"1332300352","file0":"1332300345","file4":"1332300385","file5":"1332300388","file3":"1332300382"},"map_files_photo_id_array":[{"photo_id":"1332300388","filename":"file5"},{"photo_id":"1332300355","filename":"file2"},{"photo_id":"1332300385","filename":"file4"},{"photo_id":"1332300352","filename":"file1"},{"photo_id":"1332300345","filename":"file0"},{"photo_id":"1332300382","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332300382":["hashtag1","hashtag2"]},{"1332300385":["hashtag1","hashtag2"]},{"1332300388":["hashtag1","hashtag2"]},{"1332300352":["hashtag1","hashtag2"]},{"1332300355":["hashtag1","hashtag2"]},{"1332300345":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332300382, 1332300385, 1332300388, 1332300352, 1332300355, 1332300345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.416048765182495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:57:32.883137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/29/image_28012025_07_29_57_10383.jpg', '/home/pi/Desktop/images/28012025/07/29/image_28012025_07_30_07_10358.jpg', '/home/pi/Desktop/images/28012025/07/30/image_28012025_07_30_16_9413.jpg', '/home/pi/Desktop/images/28012025/07/30/image_28012025_07_30_27_10363.jpg', '/home/pi/Desktop/images/28012025/07/30/image_28012025_07_30_36_9471.jpg', '/home/pi/Desktop/images/28012025/07/30/image_28012025_07_30_47_10466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/29/image_28012025_07_29_57_10383.jpg
/home/pi/Desktop/images/28012025/07/29/image_28012025_07_30_07_10358.jpg
/home/pi/Desktop/images/28012025/07/30/image_28012025_07_30_16_9413.jpg
/home/pi/Desktop/images/28012025/07/30/image_28012025_07_30_27_10363.jpg
/home/pi/Desktop/images/28012025/07/30/image_28012025_07_30_36_9471.jpg
/home/pi/Desktop/images/28012025/07/30/image_28012025_07_30_47_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 www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 13:59:03.382414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 13:59:32.531860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/29/image_28012025_07_29_57_10383.jpg', '/home/pi/Desktop/images/28012025/07/29/image_28012025_07_30_07_10358.jpg', '/home/pi/Desktop/images/28012025/07/30/image_28012025_07_30_16_9413.jpg', '/home/pi/Desktop/images/28012025/07/30/image_28012025_07_30_27_10363.jpg', '/home/pi/Desktop/images/28012025/07/30/image_28012025_07_30_36_9471.jpg', '/home/pi/Desktop/images/28012025/07/30/image_28012025_07_30_47_10466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/29/image_28012025_07_29_57_10383.jpg
/home/pi/Desktop/images/28012025/07/29/image_28012025_07_30_07_10358.jpg
/home/pi/Desktop/images/28012025/07/30/image_28012025_07_30_16_9413.jpg
/home/pi/Desktop/images/28012025/07/30/image_28012025_07_30_27_10363.jpg
/home/pi/Desktop/images/28012025/07/30/image_28012025_07_30_36_9471.jpg
/home/pi/Desktop/images/28012025/07/30/image_28012025_07_30_47_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":["1332300895","1332300934","1332300927","1332300921","1332300918","1332300893"],"photo_ids_order":["1332300893","1332300895","1332300918","1332300921","1332300927","1332300934"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3bcc6a5d552f7c1d5ebd31156e9c4510.jpg","text":"TemporaryFile(/tmp/multipartBody332032369902468369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069233466,"filename":"image_28012025_07_30_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/1/28/78c951e5f9ee3a2ed697e6d6f219fa5d.jpg","text":"TemporaryFile(/tmp/multipartBody3700169624802677325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069233466,"filename":"image_28012025_07_30_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/1/28/e2180ca9fd636a4f8fc9efe3dc808f7c.jpg","text":"TemporaryFile(/tmp/multipartBody4220207678429647993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069233466,"filename":"image_28012025_07_30_36_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/35e66d0698f6b6abe39da138d705e532.jpg","text":"TemporaryFile(/tmp/multipartBody3253390177814870933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069233466,"filename":"image_28012025_07_30_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/1/28/760e26986f653ba6020ae6b6cfed9388.jpg","text":"TemporaryFile(/tmp/multipartBody8789183164411798735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069233466,"filename":"image_28012025_07_30_16_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1765218d174fe3ee44b9a620a497a6de.jpg","text":"TemporaryFile(/tmp/multipartBody1728936371651630085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069233466,"filename":"image_28012025_07_29_57_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332300918","file1":"1332300895","file0":"1332300893","file4":"1332300927","file5":"1332300934","file3":"1332300921"},"map_files_photo_id_array":[{"photo_id":"1332300934","filename":"file5"},{"photo_id":"1332300918","filename":"file2"},{"photo_id":"1332300927","filename":"file4"},{"photo_id":"1332300895","filename":"file1"},{"photo_id":"1332300893","filename":"file0"},{"photo_id":"1332300921","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332300895":["hashtag1","hashtag2"]},{"1332300934":["hashtag1","hashtag2"]},{"1332300927":["hashtag1","hashtag2"]},{"1332300921":["hashtag1","hashtag2"]},{"1332300918":["hashtag1","hashtag2"]},{"1332300893":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332300895, 1332300934, 1332300927, 1332300921, 1332300918, 1332300893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.370513677597046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:00:32.713096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/30/image_28012025_07_30_56_9710.jpg', '/home/pi/Desktop/images/28012025/07/30/image_28012025_07_31_07_10354.jpg', '/home/pi/Desktop/images/28012025/07/31/image_28012025_07_31_16_9542.jpg', '/home/pi/Desktop/images/28012025/07/31/image_28012025_07_31_27_10361.jpg', '/home/pi/Desktop/images/28012025/07/31/image_28012025_07_31_36_9542.jpg', '/home/pi/Desktop/images/28012025/07/31/image_28012025_07_31_47_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/30/image_28012025_07_30_56_9710.jpg
/home/pi/Desktop/images/28012025/07/30/image_28012025_07_31_07_10354.jpg
/home/pi/Desktop/images/28012025/07/31/image_28012025_07_31_16_9542.jpg
/home/pi/Desktop/images/28012025/07/31/image_28012025_07_31_27_10361.jpg
/home/pi/Desktop/images/28012025/07/31/image_28012025_07_31_36_9542.jpg
/home/pi/Desktop/images/28012025/07/31/image_28012025_07_31_47_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":["1332301080","1332301062","1332301073","1332301067","1332301079","1332301078"],"photo_ids_order":["1332301062","1332301067","1332301073","1332301078","1332301079","1332301080"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/30d7ce0d21b544d6638819fd69f6c182.jpg","text":"TemporaryFile(/tmp/multipartBody4550455453860687047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069293713,"filename":"image_28012025_07_31_47_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6dbc25ac2aa7df3f83e2cd53a6c79366.jpg","text":"TemporaryFile(/tmp/multipartBody5344103061865630849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069293713,"filename":"image_28012025_07_30_56_9710.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1d2f02a06de4164f04ea4a543eba4b74.jpg","text":"TemporaryFile(/tmp/multipartBody8242170256854531512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069293713,"filename":"image_28012025_07_31_16_9542.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1340789eae5686de3cfe1e59ca0636a0.jpg","text":"TemporaryFile(/tmp/multipartBody3291088769271803458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069293713,"filename":"image_28012025_07_31_07_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/102adf8a6672a05a48864f16557c7cc1.jpg","text":"TemporaryFile(/tmp/multipartBody7788708263066577174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069293713,"filename":"image_28012025_07_31_36_9542.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cad49af4189ab633512d61cbf04f8113.jpg","text":"TemporaryFile(/tmp/multipartBody6275705618812265593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069293713,"filename":"image_28012025_07_31_27_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332301073","file1":"1332301067","file0":"1332301062","file4":"1332301079","file5":"1332301080","file3":"1332301078"},"map_files_photo_id_array":[{"photo_id":"1332301080","filename":"file5"},{"photo_id":"1332301073","filename":"file2"},{"photo_id":"1332301079","filename":"file4"},{"photo_id":"1332301067","filename":"file1"},{"photo_id":"1332301062","filename":"file0"},{"photo_id":"1332301078","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332301080":["hashtag1","hashtag2"]},{"1332301062":["hashtag1","hashtag2"]},{"1332301073":["hashtag1","hashtag2"]},{"1332301067":["hashtag1","hashtag2"]},{"1332301079":["hashtag1","hashtag2"]},{"1332301078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332301080, 1332301062, 1332301073, 1332301067, 1332301079, 1332301078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.66905617713928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:01:33.093744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/31/image_28012025_07_31_57_10353.jpg', '/home/pi/Desktop/images/28012025/07/31/image_28012025_07_32_06_9359.jpg', '/home/pi/Desktop/images/28012025/07/32/image_28012025_07_32_17_10343.jpg', '/home/pi/Desktop/images/28012025/07/32/image_28012025_07_32_26_9380.jpg', '/home/pi/Desktop/images/28012025/07/32/image_28012025_07_32_36_10402.jpg', '/home/pi/Desktop/images/28012025/07/32/image_28012025_07_32_47_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/31/image_28012025_07_31_57_10353.jpg
/home/pi/Desktop/images/28012025/07/31/image_28012025_07_32_06_9359.jpg
/home/pi/Desktop/images/28012025/07/32/image_28012025_07_32_17_10343.jpg
/home/pi/Desktop/images/28012025/07/32/image_28012025_07_32_26_9380.jpg
/home/pi/Desktop/images/28012025/07/32/image_28012025_07_32_36_10402.jpg
/home/pi/Desktop/images/28012025/07/32/image_28012025_07_32_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":["1332301120","1332301108","1332301117","1332301101","1332301104","1332301112"],"photo_ids_order":["1332301101","1332301104","1332301108","1332301112","1332301117","1332301120"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6b60050a39a85d9cd95c6c0d79cbe515.jpg","text":"TemporaryFile(/tmp/multipartBody4326096603879972096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069354080,"filename":"image_28012025_07_32_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/1/28/1e4fd8044d596d4dcd8414b446abe910.jpg","text":"TemporaryFile(/tmp/multipartBody5484092190933754485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069354080,"filename":"image_28012025_07_32_17_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/627636d7a8a69e2ee9bbac425f001547.jpg","text":"TemporaryFile(/tmp/multipartBody1895917171159955166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069354080,"filename":"image_28012025_07_32_36_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f56bc2904d5ae908abd02fc794df23fa.jpg","text":"TemporaryFile(/tmp/multipartBody8088705465446760976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069354080,"filename":"image_28012025_07_31_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/1/28/2b6a4fd980a10198d7026b19a0654af3.jpg","text":"TemporaryFile(/tmp/multipartBody1307128585636847942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069354080,"filename":"image_28012025_07_32_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/1/28/312b091971e322e9c06db0ab83dae4dd.jpg","text":"TemporaryFile(/tmp/multipartBody8616795423355198490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069354080,"filename":"image_28012025_07_32_26_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332301108","file1":"1332301104","file0":"1332301101","file4":"1332301117","file5":"1332301120","file3":"1332301112"},"map_files_photo_id_array":[{"photo_id":"1332301120","filename":"file5"},{"photo_id":"1332301108","filename":"file2"},{"photo_id":"1332301117","filename":"file4"},{"photo_id":"1332301104","filename":"file1"},{"photo_id":"1332301101","filename":"file0"},{"photo_id":"1332301112","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332301120":["hashtag1","hashtag2"]},{"1332301108":["hashtag1","hashtag2"]},{"1332301117":["hashtag1","hashtag2"]},{"1332301101":["hashtag1","hashtag2"]},{"1332301104":["hashtag1","hashtag2"]},{"1332301112":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332301120, 1332301108, 1332301117, 1332301101, 1332301104, 1332301112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.379908323287964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:02:32.190770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/32/image_28012025_07_32_56_9347.jpg', '/home/pi/Desktop/images/28012025/07/32/image_28012025_07_33_07_10419.jpg', '/home/pi/Desktop/images/28012025/07/33/image_28012025_07_33_17_10359.jpg', '/home/pi/Desktop/images/28012025/07/33/image_28012025_07_33_26_9396.jpg', '/home/pi/Desktop/images/28012025/07/33/image_28012025_07_33_37_10392.jpg', '/home/pi/Desktop/images/28012025/07/33/image_28012025_07_33_46_9363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/32/image_28012025_07_32_56_9347.jpg
/home/pi/Desktop/images/28012025/07/32/image_28012025_07_33_07_10419.jpg
/home/pi/Desktop/images/28012025/07/33/image_28012025_07_33_17_10359.jpg
/home/pi/Desktop/images/28012025/07/33/image_28012025_07_33_26_9396.jpg
/home/pi/Desktop/images/28012025/07/33/image_28012025_07_33_37_10392.jpg
/home/pi/Desktop/images/28012025/07/33/image_28012025_07_33_46_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":["1332301176","1332301244","1332301217","1332301211","1332301180","1332301243"],"photo_ids_order":["1332301176","1332301180","1332301211","1332301217","1332301243","1332301244"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/06d652408791ce961d421bd2ba2f79de.jpg","text":"TemporaryFile(/tmp/multipartBody1182565640309643464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069413177,"filename":"image_28012025_07_32_56_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/13c034ea81941f5d46991fe5ed950482.jpg","text":"TemporaryFile(/tmp/multipartBody778506743854979786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069413177,"filename":"image_28012025_07_33_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/1/28/5ad8c9b6a05686ae71798696c4dcd55e.jpg","text":"TemporaryFile(/tmp/multipartBody5997336499253880477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069413177,"filename":"image_28012025_07_33_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/1/28/d535751dfc3c313621d5bc127f1a11bf.jpg","text":"TemporaryFile(/tmp/multipartBody1383853743204943817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069413177,"filename":"image_28012025_07_33_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/1/28/4cb18041d8b2461895722d8b10339267.jpg","text":"TemporaryFile(/tmp/multipartBody353897277158043459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069413177,"filename":"image_28012025_07_33_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/1/28/343dae177ae027c360f3274a6c217e39.jpg","text":"TemporaryFile(/tmp/multipartBody1502424175301322383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069413177,"filename":"image_28012025_07_33_37_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332301211","file1":"1332301180","file0":"1332301176","file4":"1332301243","file5":"1332301244","file3":"1332301217"},"map_files_photo_id_array":[{"photo_id":"1332301244","filename":"file5"},{"photo_id":"1332301211","filename":"file2"},{"photo_id":"1332301243","filename":"file4"},{"photo_id":"1332301180","filename":"file1"},{"photo_id":"1332301176","filename":"file0"},{"photo_id":"1332301217","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332301176":["hashtag1","hashtag2"]},{"1332301244":["hashtag1","hashtag2"]},{"1332301217":["hashtag1","hashtag2"]},{"1332301211":["hashtag1","hashtag2"]},{"1332301180":["hashtag1","hashtag2"]},{"1332301243":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332301176, 1332301244, 1332301217, 1332301211, 1332301180, 1332301243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.72035789489746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:03:32.405759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/33/image_28012025_07_33_57_10424.jpg', '/home/pi/Desktop/images/28012025/07/33/image_28012025_07_34_07_10337.jpg', '/home/pi/Desktop/images/28012025/07/34/image_28012025_07_34_16_9441.jpg', '/home/pi/Desktop/images/28012025/07/34/image_28012025_07_34_27_10360.jpg', '/home/pi/Desktop/images/28012025/07/34/image_28012025_07_34_36_9353.jpg', '/home/pi/Desktop/images/28012025/07/34/image_28012025_07_34_46_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/33/image_28012025_07_33_57_10424.jpg
/home/pi/Desktop/images/28012025/07/33/image_28012025_07_34_07_10337.jpg
/home/pi/Desktop/images/28012025/07/34/image_28012025_07_34_16_9441.jpg
/home/pi/Desktop/images/28012025/07/34/image_28012025_07_34_27_10360.jpg
/home/pi/Desktop/images/28012025/07/34/image_28012025_07_34_36_9353.jpg
/home/pi/Desktop/images/28012025/07/34/image_28012025_07_34_46_10363.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6142239570617676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 14:03:42.411154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/33/image_28012025_07_33_57_10424.jpg', '/home/pi/Desktop/images/28012025/07/33/image_28012025_07_34_07_10337.jpg', '/home/pi/Desktop/images/28012025/07/34/image_28012025_07_34_16_9441.jpg', '/home/pi/Desktop/images/28012025/07/34/image_28012025_07_34_27_10360.jpg', '/home/pi/Desktop/images/28012025/07/34/image_28012025_07_34_36_9353.jpg', '/home/pi/Desktop/images/28012025/07/34/image_28012025_07_34_46_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/33/image_28012025_07_33_57_10424.jpg
/home/pi/Desktop/images/28012025/07/33/image_28012025_07_34_07_10337.jpg
/home/pi/Desktop/images/28012025/07/34/image_28012025_07_34_16_9441.jpg
/home/pi/Desktop/images/28012025/07/34/image_28012025_07_34_27_10360.jpg
/home/pi/Desktop/images/28012025/07/34/image_28012025_07_34_36_9353.jpg
/home/pi/Desktop/images/28012025/07/34/image_28012025_07_34_46_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332301915","1332301790","1332301853","1332301856","1332301850","1332301844"],"photo_ids_order":["1332301790","1332301844","1332301850","1332301853","1332301856","1332301915"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/69a430897787ad827b12bb5de4f24547.jpg","text":"TemporaryFile(/tmp/multipartBody5794021243737741084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069483312,"filename":"image_28012025_07_34_46_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c5e0e3f4210e69165f078dbe9744ed4a.jpg","text":"TemporaryFile(/tmp/multipartBody8509481911526442058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069483312,"filename":"image_28012025_07_33_57_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ff8556ddcf058882d997cd1dcf68b06c.jpg","text":"TemporaryFile(/tmp/multipartBody492734323610735671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069483312,"filename":"image_28012025_07_34_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/1/28/ed0c4a755ea0b548ea1a730142d384b0.jpg","text":"TemporaryFile(/tmp/multipartBody1656172954995531913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069483312,"filename":"image_28012025_07_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/1/28/767abe558c76243aa226703c5f75f645.jpg","text":"TemporaryFile(/tmp/multipartBody3906729523655537229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069483312,"filename":"image_28012025_07_34_16_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/10be059eed1646e610b693b0e37f1730.jpg","text":"TemporaryFile(/tmp/multipartBody5454245494499481899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069483312,"filename":"image_28012025_07_34_07_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332301850","file1":"1332301844","file0":"1332301790","file4":"1332301856","file5":"1332301915","file3":"1332301853"},"map_files_photo_id_array":[{"photo_id":"1332301915","filename":"file5"},{"photo_id":"1332301850","filename":"file2"},{"photo_id":"1332301856","filename":"file4"},{"photo_id":"1332301844","filename":"file1"},{"photo_id":"1332301790","filename":"file0"},{"photo_id":"1332301853","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332301915":["hashtag1","hashtag2"]},{"1332301790":["hashtag1","hashtag2"]},{"1332301853":["hashtag1","hashtag2"]},{"1332301856":["hashtag1","hashtag2"]},{"1332301850":["hashtag1","hashtag2"]},{"1332301844":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332301915, 1332301790, 1332301853, 1332301856, 1332301850, 1332301844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.71195983886719 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:04:32.665726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/34/image_28012025_07_35_06_9490.jpg', '/home/pi/Desktop/images/28012025/07/35/image_28012025_07_35_17_10350.jpg', '/home/pi/Desktop/images/28012025/07/35/image_28012025_07_35_27_10360.jpg', '/home/pi/Desktop/images/28012025/07/35/image_28012025_07_35_36_9369.jpg', '/home/pi/Desktop/images/28012025/07/35/image_28012025_07_35_47_10344.jpg', '/home/pi/Desktop/images/28012025/07/35/image_28012025_07_35_56_9421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/34/image_28012025_07_35_06_9490.jpg
/home/pi/Desktop/images/28012025/07/35/image_28012025_07_35_17_10350.jpg
/home/pi/Desktop/images/28012025/07/35/image_28012025_07_35_27_10360.jpg
/home/pi/Desktop/images/28012025/07/35/image_28012025_07_35_36_9369.jpg
/home/pi/Desktop/images/28012025/07/35/image_28012025_07_35_47_10344.jpg
/home/pi/Desktop/images/28012025/07/35/image_28012025_07_35_56_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":["1332302100","1332302090","1332302108","1332302111","1332302105","1332302074"],"photo_ids_order":["1332302074","1332302090","1332302100","1332302105","1332302108","1332302111"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/faf0cab17146fe9a0a66032802e47e6a.jpg","text":"TemporaryFile(/tmp/multipartBody6044061349895082224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069533718,"filename":"image_28012025_07_35_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/1/28/59ad44803cde7eb55b03b77d6522c5cd.jpg","text":"TemporaryFile(/tmp/multipartBody5184774288544424300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069533718,"filename":"image_28012025_07_35_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/1/28/31dc24bb372212ae65bfbb725096680b.jpg","text":"TemporaryFile(/tmp/multipartBody3064093597449934496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069533718,"filename":"image_28012025_07_35_47_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/311c8bd09ff4a56de127571a910a1381.jpg","text":"TemporaryFile(/tmp/multipartBody6703007062449118830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069533718,"filename":"image_28012025_07_35_56_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e6630a61280626015edc10f56931787c.jpg","text":"TemporaryFile(/tmp/multipartBody7684268308114929870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069533718,"filename":"image_28012025_07_35_36_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8dae267162eca90485c84380fbaccdd5.jpg","text":"TemporaryFile(/tmp/multipartBody2780430052720590323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069533718,"filename":"image_28012025_07_35_06_9490.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332302100","file1":"1332302090","file0":"1332302074","file4":"1332302108","file5":"1332302111","file3":"1332302105"},"map_files_photo_id_array":[{"photo_id":"1332302111","filename":"file5"},{"photo_id":"1332302100","filename":"file2"},{"photo_id":"1332302108","filename":"file4"},{"photo_id":"1332302090","filename":"file1"},{"photo_id":"1332302074","filename":"file0"},{"photo_id":"1332302105","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332302100":["hashtag1","hashtag2"]},{"1332302090":["hashtag1","hashtag2"]},{"1332302108":["hashtag1","hashtag2"]},{"1332302111":["hashtag1","hashtag2"]},{"1332302105":["hashtag1","hashtag2"]},{"1332302074":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332302100, 1332302090, 1332302108, 1332302111, 1332302105, 1332302074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76644563674927 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:05:32.823259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/35/image_28012025_07_36_06_10357.jpg', '/home/pi/Desktop/images/28012025/07/36/image_28012025_07_36_17_10386.jpg', '/home/pi/Desktop/images/28012025/07/36/image_28012025_07_36_26_9437.jpg', '/home/pi/Desktop/images/28012025/07/36/image_28012025_07_36_37_10345.jpg', '/home/pi/Desktop/images/28012025/07/36/image_28012025_07_36_46_9405.jpg', '/home/pi/Desktop/images/28012025/07/36/image_28012025_07_36_56_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/35/image_28012025_07_36_06_10357.jpg
/home/pi/Desktop/images/28012025/07/36/image_28012025_07_36_17_10386.jpg
/home/pi/Desktop/images/28012025/07/36/image_28012025_07_36_26_9437.jpg
/home/pi/Desktop/images/28012025/07/36/image_28012025_07_36_37_10345.jpg
/home/pi/Desktop/images/28012025/07/36/image_28012025_07_36_46_9405.jpg
/home/pi/Desktop/images/28012025/07/36/image_28012025_07_36_56_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332302178","1332302181","1332302142","1332302147","1332302155","1332302170"],"photo_ids_order":["1332302142","1332302147","1332302155","1332302170","1332302178","1332302181"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cbfb545dfe93b156666a9c8f09156245.jpg","text":"TemporaryFile(/tmp/multipartBody1778352157835617517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069593843,"filename":"image_28012025_07_36_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/1/28/785de654d2e0edb3a22df35321c807ac.jpg","text":"TemporaryFile(/tmp/multipartBody9135433872516442374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069593843,"filename":"image_28012025_07_36_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/1/28/cfbbba678fcf9317bf3911a2a65c1735.jpg","text":"TemporaryFile(/tmp/multipartBody8926415924784150756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069593843,"filename":"image_28012025_07_36_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/1/28/f4a03d1287ada6b3c5d4334023c88eb4.jpg","text":"TemporaryFile(/tmp/multipartBody8378226348595605381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069593843,"filename":"image_28012025_07_36_17_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/edc5a07c3c7b4ba3d4774b477add6f2f.jpg","text":"TemporaryFile(/tmp/multipartBody801179452180964459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069593843,"filename":"image_28012025_07_36_26_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7ea9786e3093c327700ebe0903ab114c.jpg","text":"TemporaryFile(/tmp/multipartBody8793993365045638260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069593843,"filename":"image_28012025_07_36_37_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332302155","file1":"1332302147","file0":"1332302142","file4":"1332302178","file5":"1332302181","file3":"1332302170"},"map_files_photo_id_array":[{"photo_id":"1332302181","filename":"file5"},{"photo_id":"1332302155","filename":"file2"},{"photo_id":"1332302178","filename":"file4"},{"photo_id":"1332302147","filename":"file1"},{"photo_id":"1332302142","filename":"file0"},{"photo_id":"1332302170","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332302178":["hashtag1","hashtag2"]},{"1332302181":["hashtag1","hashtag2"]},{"1332302142":["hashtag1","hashtag2"]},{"1332302147":["hashtag1","hashtag2"]},{"1332302155":["hashtag1","hashtag2"]},{"1332302170":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332302178, 1332302181, 1332302142, 1332302147, 1332302155, 1332302170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.34959936141968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:06:33.143044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/37/image_28012025_07_37_16_9376.jpg', '/home/pi/Desktop/images/28012025/07/37/image_28012025_07_37_27_10479.jpg', '/home/pi/Desktop/images/28012025/07/37/image_28012025_07_37_57_10374.jpg', '/home/pi/Desktop/images/28012025/07/37/image_28012025_07_38_06_9419.jpg', '/home/pi/Desktop/images/28012025/07/38/image_28012025_07_38_27_10437.jpg', '/home/pi/Desktop/images/28012025/07/38/image_28012025_07_38_47_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/37/image_28012025_07_37_16_9376.jpg
/home/pi/Desktop/images/28012025/07/37/image_28012025_07_37_27_10479.jpg
/home/pi/Desktop/images/28012025/07/37/image_28012025_07_37_57_10374.jpg
/home/pi/Desktop/images/28012025/07/37/image_28012025_07_38_06_9419.jpg
/home/pi/Desktop/images/28012025/07/38/image_28012025_07_38_27_10437.jpg
/home/pi/Desktop/images/28012025/07/38/image_28012025_07_38_47_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":["1332302221","1332302203","1332302210","1332302230","1332302224","1332302248"],"photo_ids_order":["1332302203","1332302210","1332302221","1332302224","1332302230","1332302248"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/54afaea2235c85fffbdd4a9512fba4ba.jpg","text":"TemporaryFile(/tmp/multipartBody1272590071481401937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069654144,"filename":"image_28012025_07_37_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/1/28/180f118ab637bb1364b3befa53903230.jpg","text":"TemporaryFile(/tmp/multipartBody6460203976017451993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069654144,"filename":"image_28012025_07_37_16_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1552502271166ea2784d46460afe3da0.jpg","text":"TemporaryFile(/tmp/multipartBody4638270760783235863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069654144,"filename":"image_28012025_07_37_27_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/db01a7816e4454e87b5162225bb1e8d5.jpg","text":"TemporaryFile(/tmp/multipartBody1303371673756025585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069654144,"filename":"image_28012025_07_38_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/1/28/1200441d47e56608ef19c3bf3f678a73.jpg","text":"TemporaryFile(/tmp/multipartBody3802756672053137017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069654144,"filename":"image_28012025_07_38_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/1/28/84867695c8d237be764ee95a3f15e505.jpg","text":"TemporaryFile(/tmp/multipartBody3253556557704263761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069654144,"filename":"image_28012025_07_38_47_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332302221","file1":"1332302210","file0":"1332302203","file4":"1332302230","file5":"1332302248","file3":"1332302224"},"map_files_photo_id_array":[{"photo_id":"1332302248","filename":"file5"},{"photo_id":"1332302221","filename":"file2"},{"photo_id":"1332302230","filename":"file4"},{"photo_id":"1332302210","filename":"file1"},{"photo_id":"1332302203","filename":"file0"},{"photo_id":"1332302224","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332302221":["hashtag1","hashtag2"]},{"1332302203":["hashtag1","hashtag2"]},{"1332302210":["hashtag1","hashtag2"]},{"1332302230":["hashtag1","hashtag2"]},{"1332302224":["hashtag1","hashtag2"]},{"1332302248":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332302221, 1332302203, 1332302210, 1332302230, 1332302224, 1332302248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.606205701828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:07:32.631727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/38/image_28012025_07_38_56_9411.jpg', '/home/pi/Desktop/images/28012025/07/38/image_28012025_07_39_07_10423.jpg', '/home/pi/Desktop/images/28012025/07/39/image_28012025_07_39_17_10361.jpg', '/home/pi/Desktop/images/28012025/07/39/image_28012025_07_39_26_9473.jpg', '/home/pi/Desktop/images/28012025/07/39/image_28012025_07_39_37_10344.jpg', '/home/pi/Desktop/images/28012025/07/39/image_28012025_07_39_46_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/38/image_28012025_07_38_56_9411.jpg
/home/pi/Desktop/images/28012025/07/38/image_28012025_07_39_07_10423.jpg
/home/pi/Desktop/images/28012025/07/39/image_28012025_07_39_17_10361.jpg
/home/pi/Desktop/images/28012025/07/39/image_28012025_07_39_26_9473.jpg
/home/pi/Desktop/images/28012025/07/39/image_28012025_07_39_37_10344.jpg
/home/pi/Desktop/images/28012025/07/39/image_28012025_07_39_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":["1332302409","1332302378","1332302398","1332302303","1332302428","1332302394"],"photo_ids_order":["1332302303","1332302378","1332302394","1332302398","1332302409","1332302428"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2f473a40ccefda400d2d5de53c21f058.jpg","text":"TemporaryFile(/tmp/multipartBody6610964620170515425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069713630,"filename":"image_28012025_07_39_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/1/28/96f85d6051f70584ba1a136c1c170e30.jpg","text":"TemporaryFile(/tmp/multipartBody1603079050365104929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069713630,"filename":"image_28012025_07_39_07_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/eb33a4f9f4b8d15c29bd3efcd7d98ad7.jpg","text":"TemporaryFile(/tmp/multipartBody926529099430652485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069713630,"filename":"image_28012025_07_39_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/1/28/96c4cd41e2a7c93efdcfc75c8596626c.jpg","text":"TemporaryFile(/tmp/multipartBody8121287387211664561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069713630,"filename":"image_28012025_07_38_56_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/822c039ca0ba255ab5bc1f29bd699c09.jpg","text":"TemporaryFile(/tmp/multipartBody4276919333822533381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069713630,"filename":"image_28012025_07_39_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/1/28/25d958a4365c4e2882838147fb300492.jpg","text":"TemporaryFile(/tmp/multipartBody8524727482399857258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069713630,"filename":"image_28012025_07_39_17_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332302394","file1":"1332302378","file0":"1332302303","file4":"1332302409","file5":"1332302428","file3":"1332302398"},"map_files_photo_id_array":[{"photo_id":"1332302428","filename":"file5"},{"photo_id":"1332302394","filename":"file2"},{"photo_id":"1332302409","filename":"file4"},{"photo_id":"1332302378","filename":"file1"},{"photo_id":"1332302303","filename":"file0"},{"photo_id":"1332302398","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332302409":["hashtag1","hashtag2"]},{"1332302378":["hashtag1","hashtag2"]},{"1332302398":["hashtag1","hashtag2"]},{"1332302303":["hashtag1","hashtag2"]},{"1332302428":["hashtag1","hashtag2"]},{"1332302394":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332302409, 1332302378, 1332302398, 1332302303, 1332302428, 1332302394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.782336473464966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:08:33.065295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/40/image_28012025_07_40_27_10350.jpg', '/home/pi/Desktop/images/28012025/07/40/image_28012025_07_40_46_10367.jpg', '/home/pi/Desktop/images/28012025/07/40/image_28012025_07_40_57_10365.jpg', '/home/pi/Desktop/images/28012025/07/40/image_28012025_07_41_06_9500.jpg', '/home/pi/Desktop/images/28012025/07/41/image_28012025_07_41_17_10359.jpg', '/home/pi/Desktop/images/28012025/07/41/image_28012025_07_41_26_9411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/40/image_28012025_07_40_27_10350.jpg
/home/pi/Desktop/images/28012025/07/40/image_28012025_07_40_46_10367.jpg
/home/pi/Desktop/images/28012025/07/40/image_28012025_07_40_57_10365.jpg
/home/pi/Desktop/images/28012025/07/40/image_28012025_07_41_06_9500.jpg
/home/pi/Desktop/images/28012025/07/41/image_28012025_07_41_17_10359.jpg
/home/pi/Desktop/images/28012025/07/41/image_28012025_07_41_26_9411.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6116297245025635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 14:08:43.030815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/40/image_28012025_07_40_27_10350.jpg', '/home/pi/Desktop/images/28012025/07/40/image_28012025_07_40_46_10367.jpg', '/home/pi/Desktop/images/28012025/07/40/image_28012025_07_40_57_10365.jpg', '/home/pi/Desktop/images/28012025/07/40/image_28012025_07_41_06_9500.jpg', '/home/pi/Desktop/images/28012025/07/41/image_28012025_07_41_17_10359.jpg', '/home/pi/Desktop/images/28012025/07/41/image_28012025_07_41_26_9411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/40/image_28012025_07_40_27_10350.jpg
/home/pi/Desktop/images/28012025/07/40/image_28012025_07_40_46_10367.jpg
/home/pi/Desktop/images/28012025/07/40/image_28012025_07_40_57_10365.jpg
/home/pi/Desktop/images/28012025/07/40/image_28012025_07_41_06_9500.jpg
/home/pi/Desktop/images/28012025/07/41/image_28012025_07_41_17_10359.jpg
/home/pi/Desktop/images/28012025/07/41/image_28012025_07_41_26_9411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332302604","1332302588","1332302581","1332302578","1332302572","1332302592"],"photo_ids_order":["1332302572","1332302578","1332302581","1332302588","1332302592","1332302604"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/da83fe06b51e413de5a8462a77e73848.jpg","text":"TemporaryFile(/tmp/multipartBody540036830622444391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069783947,"filename":"image_28012025_07_41_26_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/15633ae23d2bf35a0686470e2c5b9cc9.jpg","text":"TemporaryFile(/tmp/multipartBody7321384465426142076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069783947,"filename":"image_28012025_07_41_06_9500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4219912c76d07a6de22738f8e0c3dcea.jpg","text":"TemporaryFile(/tmp/multipartBody130670348524311852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069783947,"filename":"image_28012025_07_40_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/1/28/25887db1cf9da48f580a91cbc7739ce3.jpg","text":"TemporaryFile(/tmp/multipartBody3984705552744055034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069783947,"filename":"image_28012025_07_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/1/28/f53e128e35cbf51be7d560aea05d3e73.jpg","text":"TemporaryFile(/tmp/multipartBody273691545242672169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069783947,"filename":"image_28012025_07_40_27_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d3712919d05a7b8f3b2a6e6b5854465d.jpg","text":"TemporaryFile(/tmp/multipartBody1985359455820948752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069783947,"filename":"image_28012025_07_41_17_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332302581","file1":"1332302578","file0":"1332302572","file4":"1332302592","file5":"1332302604","file3":"1332302588"},"map_files_photo_id_array":[{"photo_id":"1332302604","filename":"file5"},{"photo_id":"1332302581","filename":"file2"},{"photo_id":"1332302592","filename":"file4"},{"photo_id":"1332302578","filename":"file1"},{"photo_id":"1332302572","filename":"file0"},{"photo_id":"1332302588","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332302604":["hashtag1","hashtag2"]},{"1332302588":["hashtag1","hashtag2"]},{"1332302581":["hashtag1","hashtag2"]},{"1332302578":["hashtag1","hashtag2"]},{"1332302572":["hashtag1","hashtag2"]},{"1332302592":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332302604, 1332302588, 1332302581, 1332302578, 1332302572, 1332302592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.688480615615845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:09:32.215425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/41/image_28012025_07_41_47_10367.jpg', '/home/pi/Desktop/images/28012025/07/41/image_28012025_07_41_56_9381.jpg', '/home/pi/Desktop/images/28012025/07/41/image_28012025_07_42_07_10351.jpg', '/home/pi/Desktop/images/28012025/07/42/image_28012025_07_43_07_10337.jpg', '/home/pi/Desktop/images/28012025/07/43/image_28012025_07_43_16_9339.jpg', '/home/pi/Desktop/images/28012025/07/43/image_28012025_07_43_26_10446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/41/image_28012025_07_41_47_10367.jpg
/home/pi/Desktop/images/28012025/07/41/image_28012025_07_41_56_9381.jpg
/home/pi/Desktop/images/28012025/07/41/image_28012025_07_42_07_10351.jpg
/home/pi/Desktop/images/28012025/07/42/image_28012025_07_43_07_10337.jpg
/home/pi/Desktop/images/28012025/07/43/image_28012025_07_43_16_9339.jpg
/home/pi/Desktop/images/28012025/07/43/image_28012025_07_43_26_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":["1332302710","1332302704","1332302658","1332302700","1332302689","1332302708"],"photo_ids_order":["1332302658","1332302689","1332302700","1332302704","1332302708","1332302710"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5998bffb60345cb872b0217579414abf.jpg","text":"TemporaryFile(/tmp/multipartBody8258195013033523683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069833229,"filename":"image_28012025_07_43_26_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bba0ea92831a3a5cafea693f5cebf5ab.jpg","text":"TemporaryFile(/tmp/multipartBody8710859864317566758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069833229,"filename":"image_28012025_07_43_07_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/86d8f630d7abeaabcf5e6ce152474fa3.jpg","text":"TemporaryFile(/tmp/multipartBody4330612024522439335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069833229,"filename":"image_28012025_07_41_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/1/28/d1d434d800adba3cd5cde6e55a19d03c.jpg","text":"TemporaryFile(/tmp/multipartBody3246311136909614789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069833229,"filename":"image_28012025_07_42_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/1/28/cfafd0a1623de820639d64cd192b0e67.jpg","text":"TemporaryFile(/tmp/multipartBody1983944057180360349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069833229,"filename":"image_28012025_07_41_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/1/28/ff9f2ccd9fec5e836971e70ceb75969c.jpg","text":"TemporaryFile(/tmp/multipartBody6844878059743847350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069833229,"filename":"image_28012025_07_43_16_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332302700","file1":"1332302689","file0":"1332302658","file4":"1332302708","file5":"1332302710","file3":"1332302704"},"map_files_photo_id_array":[{"photo_id":"1332302710","filename":"file5"},{"photo_id":"1332302700","filename":"file2"},{"photo_id":"1332302708","filename":"file4"},{"photo_id":"1332302689","filename":"file1"},{"photo_id":"1332302658","filename":"file0"},{"photo_id":"1332302704","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332302710":["hashtag1","hashtag2"]},{"1332302704":["hashtag1","hashtag2"]},{"1332302658":["hashtag1","hashtag2"]},{"1332302700":["hashtag1","hashtag2"]},{"1332302689":["hashtag1","hashtag2"]},{"1332302708":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332302710, 1332302704, 1332302658, 1332302700, 1332302689, 1332302708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.56608724594116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:10:32.448276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/43/image_28012025_07_43_37_10350.jpg', '/home/pi/Desktop/images/28012025/07/43/image_28012025_07_43_46_9431.jpg', '/home/pi/Desktop/images/28012025/07/43/image_28012025_07_43_57_10374.jpg', '/home/pi/Desktop/images/28012025/07/43/image_28012025_07_44_06_9377.jpg', '/home/pi/Desktop/images/28012025/07/44/image_28012025_07_44_16_10358.jpg', '/home/pi/Desktop/images/28012025/07/44/image_28012025_07_44_27_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/43/image_28012025_07_43_37_10350.jpg
/home/pi/Desktop/images/28012025/07/43/image_28012025_07_43_46_9431.jpg
/home/pi/Desktop/images/28012025/07/43/image_28012025_07_43_57_10374.jpg
/home/pi/Desktop/images/28012025/07/43/image_28012025_07_44_06_9377.jpg
/home/pi/Desktop/images/28012025/07/44/image_28012025_07_44_16_10358.jpg
/home/pi/Desktop/images/28012025/07/44/image_28012025_07_44_27_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":["1332302803","1332302751","1332302762","1332302741","1332302776","1332302770"],"photo_ids_order":["1332302741","1332302751","1332302762","1332302770","1332302776","1332302803"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/907296202e874d02c7eef9ea84496db1.jpg","text":"TemporaryFile(/tmp/multipartBody5681662190862247728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069893437,"filename":"image_28012025_07_44_27_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/365267f2ba90bd0b1ee385f00e24414e.jpg","text":"TemporaryFile(/tmp/multipartBody7213806984977650469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069893437,"filename":"image_28012025_07_43_46_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/131116d513b61a386913f133d230572b.jpg","text":"TemporaryFile(/tmp/multipartBody1683160261242178541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069893437,"filename":"image_28012025_07_43_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/1/28/a8d06324769b76bee0b801957b1871dd.jpg","text":"TemporaryFile(/tmp/multipartBody9185546802018900016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069893437,"filename":"image_28012025_07_43_37_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e1b345c3b8f5fec8d2ecf398e555308a.jpg","text":"TemporaryFile(/tmp/multipartBody3838291032603761777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069893437,"filename":"image_28012025_07_44_16_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/58b904b770b04b85d42f97b6e708a17a.jpg","text":"TemporaryFile(/tmp/multipartBody2546580189590866295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069893437,"filename":"image_28012025_07_44_06_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332302762","file1":"1332302751","file0":"1332302741","file4":"1332302776","file5":"1332302803","file3":"1332302770"},"map_files_photo_id_array":[{"photo_id":"1332302803","filename":"file5"},{"photo_id":"1332302762","filename":"file2"},{"photo_id":"1332302776","filename":"file4"},{"photo_id":"1332302751","filename":"file1"},{"photo_id":"1332302741","filename":"file0"},{"photo_id":"1332302770","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332302803":["hashtag1","hashtag2"]},{"1332302751":["hashtag1","hashtag2"]},{"1332302762":["hashtag1","hashtag2"]},{"1332302741":["hashtag1","hashtag2"]},{"1332302776":["hashtag1","hashtag2"]},{"1332302770":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332302803, 1332302751, 1332302762, 1332302741, 1332302776, 1332302770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.9510715007782 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:11:32.776414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/44/image_28012025_07_44_36_9348.jpg', '/home/pi/Desktop/images/28012025/07/44/image_28012025_07_44_46_10356.jpg', '/home/pi/Desktop/images/28012025/07/44/image_28012025_07_44_57_10348.jpg', '/home/pi/Desktop/images/28012025/07/44/image_28012025_07_45_06_9319.jpg', '/home/pi/Desktop/images/28012025/07/45/image_28012025_07_45_17_10450.jpg', '/home/pi/Desktop/images/28012025/07/45/image_28012025_07_45_27_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/44/image_28012025_07_44_36_9348.jpg
/home/pi/Desktop/images/28012025/07/44/image_28012025_07_44_46_10356.jpg
/home/pi/Desktop/images/28012025/07/44/image_28012025_07_44_57_10348.jpg
/home/pi/Desktop/images/28012025/07/44/image_28012025_07_45_06_9319.jpg
/home/pi/Desktop/images/28012025/07/45/image_28012025_07_45_17_10450.jpg
/home/pi/Desktop/images/28012025/07/45/image_28012025_07_45_27_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":["1332302928","1332302894","1332302876","1332302923","1332302917","1332302926"],"photo_ids_order":["1332302876","1332302894","1332302917","1332302923","1332302926","1332302928"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e948b4e32e1ec822906781bcd0b67a05.jpg","text":"TemporaryFile(/tmp/multipartBody6182300994200979625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069953773,"filename":"image_28012025_07_45_27_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dba55be1a34c91d43708ba31d3bbd725.jpg","text":"TemporaryFile(/tmp/multipartBody3203221662526050832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069953773,"filename":"image_28012025_07_44_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/1/28/8565bddb456fcf301d44bf5470cf3607.jpg","text":"TemporaryFile(/tmp/multipartBody4687111399408870457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069953773,"filename":"image_28012025_07_44_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/1/28/a7f0d272cbe04671382d508b35e49b81.jpg","text":"TemporaryFile(/tmp/multipartBody6005243958047688648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069953773,"filename":"image_28012025_07_45_06_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/de099300b6796b6fd7df7c87efe5f0af.jpg","text":"TemporaryFile(/tmp/multipartBody7560866481220229146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069953773,"filename":"image_28012025_07_44_57_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/51e1cd8868011063508fe87a645cf0ad.jpg","text":"TemporaryFile(/tmp/multipartBody7934369043177683167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738069953773,"filename":"image_28012025_07_45_17_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332302917","file1":"1332302894","file0":"1332302876","file4":"1332302926","file5":"1332302928","file3":"1332302923"},"map_files_photo_id_array":[{"photo_id":"1332302928","filename":"file5"},{"photo_id":"1332302917","filename":"file2"},{"photo_id":"1332302926","filename":"file4"},{"photo_id":"1332302894","filename":"file1"},{"photo_id":"1332302876","filename":"file0"},{"photo_id":"1332302923","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332302928":["hashtag1","hashtag2"]},{"1332302894":["hashtag1","hashtag2"]},{"1332302876":["hashtag1","hashtag2"]},{"1332302923":["hashtag1","hashtag2"]},{"1332302917":["hashtag1","hashtag2"]},{"1332302926":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332302928, 1332302894, 1332302876, 1332302923, 1332302917, 1332302926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.7067608833313 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:12:32.944827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/45/image_28012025_07_45_47_10345.jpg', '/home/pi/Desktop/images/28012025/07/45/image_28012025_07_45_56_9368.jpg', '/home/pi/Desktop/images/28012025/07/45/image_28012025_07_46_06_10387.jpg', '/home/pi/Desktop/images/28012025/07/46/image_28012025_07_46_17_10360.jpg', '/home/pi/Desktop/images/28012025/07/46/image_28012025_07_46_26_9351.jpg', '/home/pi/Desktop/images/28012025/07/46/image_28012025_07_46_37_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/45/image_28012025_07_45_47_10345.jpg
/home/pi/Desktop/images/28012025/07/45/image_28012025_07_45_56_9368.jpg
/home/pi/Desktop/images/28012025/07/45/image_28012025_07_46_06_10387.jpg
/home/pi/Desktop/images/28012025/07/46/image_28012025_07_46_17_10360.jpg
/home/pi/Desktop/images/28012025/07/46/image_28012025_07_46_26_9351.jpg
/home/pi/Desktop/images/28012025/07/46/image_28012025_07_46_37_10367.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5802631378173828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 14:12:42.901376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/45/image_28012025_07_45_47_10345.jpg', '/home/pi/Desktop/images/28012025/07/45/image_28012025_07_45_56_9368.jpg', '/home/pi/Desktop/images/28012025/07/45/image_28012025_07_46_06_10387.jpg', '/home/pi/Desktop/images/28012025/07/46/image_28012025_07_46_17_10360.jpg', '/home/pi/Desktop/images/28012025/07/46/image_28012025_07_46_26_9351.jpg', '/home/pi/Desktop/images/28012025/07/46/image_28012025_07_46_37_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/45/image_28012025_07_45_47_10345.jpg
/home/pi/Desktop/images/28012025/07/45/image_28012025_07_45_56_9368.jpg
/home/pi/Desktop/images/28012025/07/45/image_28012025_07_46_06_10387.jpg
/home/pi/Desktop/images/28012025/07/46/image_28012025_07_46_17_10360.jpg
/home/pi/Desktop/images/28012025/07/46/image_28012025_07_46_26_9351.jpg
/home/pi/Desktop/images/28012025/07/46/image_28012025_07_46_37_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332302985","1332303003","1332302996","1332302999","1332302992","1332303016"],"photo_ids_order":["1332302985","1332302992","1332302996","1332302999","1332303003","1332303016"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a34b5bb05955d303207197f6fe84271c.jpg","text":"TemporaryFile(/tmp/multipartBody7338295150029790970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070023815,"filename":"image_28012025_07_45_47_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a360d0de8a399abfb9e537f5ef187967.jpg","text":"TemporaryFile(/tmp/multipartBody1905570094239459691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070023815,"filename":"image_28012025_07_46_26_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a472423ece2f55e37d1a703ee2fcfcf0.jpg","text":"TemporaryFile(/tmp/multipartBody4494625530825933806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070023815,"filename":"image_28012025_07_46_06_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/51169406154fac3cd606bf429edb74df.jpg","text":"TemporaryFile(/tmp/multipartBody4886093615239015091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070023815,"filename":"image_28012025_07_46_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/1/28/8307d604fdc9ef514a6b444eb8f5d978.jpg","text":"TemporaryFile(/tmp/multipartBody7427184483786147719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070023815,"filename":"image_28012025_07_45_56_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3079cce3ad15a89ba7961fea71c4db10.jpg","text":"TemporaryFile(/tmp/multipartBody4515817595570241392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070023815,"filename":"image_28012025_07_46_37_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332302996","file1":"1332302992","file0":"1332302985","file4":"1332303003","file5":"1332303016","file3":"1332302999"},"map_files_photo_id_array":[{"photo_id":"1332303016","filename":"file5"},{"photo_id":"1332302996","filename":"file2"},{"photo_id":"1332303003","filename":"file4"},{"photo_id":"1332302992","filename":"file1"},{"photo_id":"1332302985","filename":"file0"},{"photo_id":"1332302999","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332302985":["hashtag1","hashtag2"]},{"1332303003":["hashtag1","hashtag2"]},{"1332302996":["hashtag1","hashtag2"]},{"1332302999":["hashtag1","hashtag2"]},{"1332302992":["hashtag1","hashtag2"]},{"1332303016":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332302985, 1332303003, 1332302996, 1332302999, 1332302992, 1332303016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.12185072898865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:13:32.279569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/46/image_28012025_07_46_47_10351.jpg', '/home/pi/Desktop/images/28012025/07/46/image_28012025_07_46_56_9451.jpg', '/home/pi/Desktop/images/28012025/07/46/image_28012025_07_47_07_10350.jpg', '/home/pi/Desktop/images/28012025/07/47/image_28012025_07_47_16_9346.jpg', '/home/pi/Desktop/images/28012025/07/47/image_28012025_07_47_26_10355.jpg', '/home/pi/Desktop/images/28012025/07/47/image_28012025_07_47_37_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/46/image_28012025_07_46_47_10351.jpg
/home/pi/Desktop/images/28012025/07/46/image_28012025_07_46_56_9451.jpg
/home/pi/Desktop/images/28012025/07/46/image_28012025_07_47_07_10350.jpg
/home/pi/Desktop/images/28012025/07/47/image_28012025_07_47_16_9346.jpg
/home/pi/Desktop/images/28012025/07/47/image_28012025_07_47_26_10355.jpg
/home/pi/Desktop/images/28012025/07/47/image_28012025_07_47_37_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":["1332303098","1332303137","1332303134","1332303115","1332303130","1332303093"],"photo_ids_order":["1332303093","1332303098","1332303115","1332303130","1332303134","1332303137"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/334a6f63de5b7866aff07d1dea05eba3.jpg","text":"TemporaryFile(/tmp/multipartBody6046653458645068322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070073297,"filename":"image_28012025_07_46_56_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e00f952aec9986e42be90bb5da493abc.jpg","text":"TemporaryFile(/tmp/multipartBody7273450806985547277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070073297,"filename":"image_28012025_07_47_37_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8bec22bb92cf2b9121ffd21d87e20593.jpg","text":"TemporaryFile(/tmp/multipartBody4503539832752551202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070073297,"filename":"image_28012025_07_47_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/1/28/f456dd885937ad8ef35c2c404aeeb670.jpg","text":"TemporaryFile(/tmp/multipartBody2704871431134903877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070073297,"filename":"image_28012025_07_47_07_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/580b0c6e463b3c40f158823370e4c0dc.jpg","text":"TemporaryFile(/tmp/multipartBody5299308518858883893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070073297,"filename":"image_28012025_07_47_16_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4501703913a4cfaa39f2218452d1acdc.jpg","text":"TemporaryFile(/tmp/multipartBody6355955688425766644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070073297,"filename":"image_28012025_07_46_47_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332303115","file1":"1332303098","file0":"1332303093","file4":"1332303134","file5":"1332303137","file3":"1332303130"},"map_files_photo_id_array":[{"photo_id":"1332303137","filename":"file5"},{"photo_id":"1332303115","filename":"file2"},{"photo_id":"1332303134","filename":"file4"},{"photo_id":"1332303098","filename":"file1"},{"photo_id":"1332303093","filename":"file0"},{"photo_id":"1332303130","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332303098":["hashtag1","hashtag2"]},{"1332303137":["hashtag1","hashtag2"]},{"1332303134":["hashtag1","hashtag2"]},{"1332303115":["hashtag1","hashtag2"]},{"1332303130":["hashtag1","hashtag2"]},{"1332303093":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332303098, 1332303137, 1332303134, 1332303115, 1332303130, 1332303093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.75178790092468 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:14:32.475984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/47/image_28012025_07_47_46_9412.jpg', '/home/pi/Desktop/images/28012025/07/47/image_28012025_07_47_56_10342.jpg', '/home/pi/Desktop/images/28012025/07/47/image_28012025_07_48_07_10394.jpg', '/home/pi/Desktop/images/28012025/07/48/image_28012025_07_48_16_9460.jpg', '/home/pi/Desktop/images/28012025/07/48/image_28012025_07_48_27_10355.jpg', '/home/pi/Desktop/images/28012025/07/48/image_28012025_07_48_36_9383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/47/image_28012025_07_47_46_9412.jpg
/home/pi/Desktop/images/28012025/07/47/image_28012025_07_47_56_10342.jpg
/home/pi/Desktop/images/28012025/07/47/image_28012025_07_48_07_10394.jpg
/home/pi/Desktop/images/28012025/07/48/image_28012025_07_48_16_9460.jpg
/home/pi/Desktop/images/28012025/07/48/image_28012025_07_48_27_10355.jpg
/home/pi/Desktop/images/28012025/07/48/image_28012025_07_48_36_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":["1332303213","1332303239","1332303241","1332303202","1332303195","1332303208"],"photo_ids_order":["1332303195","1332303202","1332303208","1332303213","1332303239","1332303241"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ef6d996d181a3f9d82ff6707c2184266.jpg","text":"TemporaryFile(/tmp/multipartBody7669762259562926910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070133481,"filename":"image_28012025_07_48_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/1/28/b787d080509b4d270a7f46fb5c5034d8.jpg","text":"TemporaryFile(/tmp/multipartBody4978513785210006451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070133481,"filename":"image_28012025_07_48_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/1/28/8f09270cfc4116bbdd4d78800dc6cca7.jpg","text":"TemporaryFile(/tmp/multipartBody5100947585409441105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070133481,"filename":"image_28012025_07_48_36_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8c248e58524781625497988a194b56c0.jpg","text":"TemporaryFile(/tmp/multipartBody3808693042436112337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070133481,"filename":"image_28012025_07_47_56_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/aaf1e30d913c301e0587e8e9fbfd67d8.jpg","text":"TemporaryFile(/tmp/multipartBody7404132755394417611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070133481,"filename":"image_28012025_07_47_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/1/28/472cad02b4a52795ae94f7f1297140bb.jpg","text":"TemporaryFile(/tmp/multipartBody2181567465388798009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070133481,"filename":"image_28012025_07_48_07_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332303208","file1":"1332303202","file0":"1332303195","file4":"1332303239","file5":"1332303241","file3":"1332303213"},"map_files_photo_id_array":[{"photo_id":"1332303241","filename":"file5"},{"photo_id":"1332303208","filename":"file2"},{"photo_id":"1332303239","filename":"file4"},{"photo_id":"1332303202","filename":"file1"},{"photo_id":"1332303195","filename":"file0"},{"photo_id":"1332303213","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332303213":["hashtag1","hashtag2"]},{"1332303239":["hashtag1","hashtag2"]},{"1332303241":["hashtag1","hashtag2"]},{"1332303202":["hashtag1","hashtag2"]},{"1332303195":["hashtag1","hashtag2"]},{"1332303208":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332303213, 1332303239, 1332303241, 1332303202, 1332303195, 1332303208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.350438356399536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:15:32.844487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/48/image_28012025_07_48_46_10362.jpg', '/home/pi/Desktop/images/28012025/07/48/image_28012025_07_48_57_10340.jpg', '/home/pi/Desktop/images/28012025/07/48/image_28012025_07_49_06_9359.jpg', '/home/pi/Desktop/images/28012025/07/49/image_28012025_07_49_17_10446.jpg', '/home/pi/Desktop/images/28012025/07/49/image_28012025_07_49_27_10366.jpg', '/home/pi/Desktop/images/28012025/07/49/image_28012025_07_49_36_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/48/image_28012025_07_48_46_10362.jpg
/home/pi/Desktop/images/28012025/07/48/image_28012025_07_48_57_10340.jpg
/home/pi/Desktop/images/28012025/07/48/image_28012025_07_49_06_9359.jpg
/home/pi/Desktop/images/28012025/07/49/image_28012025_07_49_17_10446.jpg
/home/pi/Desktop/images/28012025/07/49/image_28012025_07_49_27_10366.jpg
/home/pi/Desktop/images/28012025/07/49/image_28012025_07_49_36_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332303392","1332303395","1332303380","1332303385","1332303399","1332303390"],"photo_ids_order":["1332303380","1332303385","1332303390","1332303392","1332303395","1332303399"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/752711450d3ff2bc6aec0960440298da.jpg","text":"TemporaryFile(/tmp/multipartBody6438044973736729966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070193862,"filename":"image_28012025_07_49_17_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e4686395b3d9780e06c1a6a14c8d528c.jpg","text":"TemporaryFile(/tmp/multipartBody4074650458745799598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070193862,"filename":"image_28012025_07_49_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/1/28/84893bc5fa396872ed636bcad2b97108.jpg","text":"TemporaryFile(/tmp/multipartBody4007408087909829193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070193862,"filename":"image_28012025_07_48_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/1/28/6d5edae9a35951461dea63fb45af9b52.jpg","text":"TemporaryFile(/tmp/multipartBody4945481299172405817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070193862,"filename":"image_28012025_07_48_57_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e3e6c0fc703afce7a32e81dc0fec8fb8.jpg","text":"TemporaryFile(/tmp/multipartBody7703817594531181516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070193862,"filename":"image_28012025_07_49_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/1/28/5fea4bb462653a326f09d3334f16050b.jpg","text":"TemporaryFile(/tmp/multipartBody8422982878120308766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070193862,"filename":"image_28012025_07_49_06_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332303390","file1":"1332303385","file0":"1332303380","file4":"1332303395","file5":"1332303399","file3":"1332303392"},"map_files_photo_id_array":[{"photo_id":"1332303399","filename":"file5"},{"photo_id":"1332303390","filename":"file2"},{"photo_id":"1332303395","filename":"file4"},{"photo_id":"1332303385","filename":"file1"},{"photo_id":"1332303380","filename":"file0"},{"photo_id":"1332303392","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332303392":["hashtag1","hashtag2"]},{"1332303395":["hashtag1","hashtag2"]},{"1332303380":["hashtag1","hashtag2"]},{"1332303385":["hashtag1","hashtag2"]},{"1332303399":["hashtag1","hashtag2"]},{"1332303390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332303392, 1332303395, 1332303380, 1332303385, 1332303399, 1332303390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.92584252357483 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:16:32.947537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/49/image_28012025_07_49_47_10353.jpg', '/home/pi/Desktop/images/28012025/07/49/image_28012025_07_49_57_10326.jpg', '/home/pi/Desktop/images/28012025/07/49/image_28012025_07_50_06_9425.jpg', '/home/pi/Desktop/images/28012025/07/50/image_28012025_07_50_17_10373.jpg', '/home/pi/Desktop/images/28012025/07/50/image_28012025_07_50_26_9344.jpg', '/home/pi/Desktop/images/28012025/07/50/image_28012025_07_50_47_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/49/image_28012025_07_49_47_10353.jpg
/home/pi/Desktop/images/28012025/07/49/image_28012025_07_49_57_10326.jpg
/home/pi/Desktop/images/28012025/07/49/image_28012025_07_50_06_9425.jpg
/home/pi/Desktop/images/28012025/07/50/image_28012025_07_50_17_10373.jpg
/home/pi/Desktop/images/28012025/07/50/image_28012025_07_50_26_9344.jpg
/home/pi/Desktop/images/28012025/07/50/image_28012025_07_50_47_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5966043472290039 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 14:16:43.089166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/49/image_28012025_07_49_47_10353.jpg', '/home/pi/Desktop/images/28012025/07/49/image_28012025_07_49_57_10326.jpg', '/home/pi/Desktop/images/28012025/07/49/image_28012025_07_50_06_9425.jpg', '/home/pi/Desktop/images/28012025/07/50/image_28012025_07_50_17_10373.jpg', '/home/pi/Desktop/images/28012025/07/50/image_28012025_07_50_26_9344.jpg', '/home/pi/Desktop/images/28012025/07/50/image_28012025_07_50_47_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/49/image_28012025_07_49_47_10353.jpg
/home/pi/Desktop/images/28012025/07/49/image_28012025_07_49_57_10326.jpg
/home/pi/Desktop/images/28012025/07/49/image_28012025_07_50_06_9425.jpg
/home/pi/Desktop/images/28012025/07/50/image_28012025_07_50_17_10373.jpg
/home/pi/Desktop/images/28012025/07/50/image_28012025_07_50_26_9344.jpg
/home/pi/Desktop/images/28012025/07/50/image_28012025_07_50_47_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":["1332303423","1332303429","1332303440","1332303437","1332303445","1332303442"],"photo_ids_order":["1332303423","1332303429","1332303437","1332303440","1332303442","1332303445"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bfba7fa51f2d112210d8950cfe743998.jpg","text":"TemporaryFile(/tmp/multipartBody4884075676979455640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070263992,"filename":"image_28012025_07_49_47_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cd7d9357952faadf68a830e9a4785816.jpg","text":"TemporaryFile(/tmp/multipartBody6572332035462934440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070263992,"filename":"image_28012025_07_49_57_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/995e893789e3c435cecec3ffdd626ffa.jpg","text":"TemporaryFile(/tmp/multipartBody8972046173895095950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070263992,"filename":"image_28012025_07_50_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/1/28/605d643b5d19832c4b5e908b6fe17a37.jpg","text":"TemporaryFile(/tmp/multipartBody2520056044115716734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070263992,"filename":"image_28012025_07_50_06_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1678c4b43528a4530c81c30a92aff25e.jpg","text":"TemporaryFile(/tmp/multipartBody6327705581516566905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070263992,"filename":"image_28012025_07_50_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/1/28/9d76fe37bd7f96abf46f3af5ac7902ca.jpg","text":"TemporaryFile(/tmp/multipartBody9195685802598497407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070263992,"filename":"image_28012025_07_50_26_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332303437","file1":"1332303429","file0":"1332303423","file4":"1332303442","file5":"1332303445","file3":"1332303440"},"map_files_photo_id_array":[{"photo_id":"1332303445","filename":"file5"},{"photo_id":"1332303437","filename":"file2"},{"photo_id":"1332303442","filename":"file4"},{"photo_id":"1332303429","filename":"file1"},{"photo_id":"1332303423","filename":"file0"},{"photo_id":"1332303440","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332303423":["hashtag1","hashtag2"]},{"1332303429":["hashtag1","hashtag2"]},{"1332303440":["hashtag1","hashtag2"]},{"1332303437":["hashtag1","hashtag2"]},{"1332303445":["hashtag1","hashtag2"]},{"1332303442":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332303423, 1332303429, 1332303440, 1332303437, 1332303445, 1332303442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.59370279312134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:17:32.289195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/50/image_28012025_07_50_56_9433.jpg', '/home/pi/Desktop/images/28012025/07/50/image_28012025_07_51_07_10395.jpg', '/home/pi/Desktop/images/28012025/07/51/image_28012025_07_51_16_9393.jpg', '/home/pi/Desktop/images/28012025/07/51/image_28012025_07_51_37_10359.jpg', '/home/pi/Desktop/images/28012025/07/51/image_28012025_07_51_46_9416.jpg', '/home/pi/Desktop/images/28012025/07/51/image_28012025_07_51_57_10386.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/50/image_28012025_07_50_56_9433.jpg
/home/pi/Desktop/images/28012025/07/50/image_28012025_07_51_07_10395.jpg
/home/pi/Desktop/images/28012025/07/51/image_28012025_07_51_16_9393.jpg
/home/pi/Desktop/images/28012025/07/51/image_28012025_07_51_37_10359.jpg
/home/pi/Desktop/images/28012025/07/51/image_28012025_07_51_46_9416.jpg
/home/pi/Desktop/images/28012025/07/51/image_28012025_07_51_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":["1332303485","1332303455","1332303475","1332303469","1332303480","1332303462"],"photo_ids_order":["1332303455","1332303462","1332303469","1332303475","1332303480","1332303485"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/316817b96ab79d149943b3a4f9edd5e3.jpg","text":"TemporaryFile(/tmp/multipartBody3337534079408925487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070313307,"filename":"image_28012025_07_51_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/1/28/fd14e7e9f1c1b114bf759a7ac006097c.jpg","text":"TemporaryFile(/tmp/multipartBody380366973737030311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070313307,"filename":"image_28012025_07_50_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/1/28/36c8c9d8b7382dc16990809af9e77b68.jpg","text":"TemporaryFile(/tmp/multipartBody3232486744331980624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070313307,"filename":"image_28012025_07_51_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/1/28/8023116dda93194f30cb86df1a1c9782.jpg","text":"TemporaryFile(/tmp/multipartBody3941991765246145268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070313307,"filename":"image_28012025_07_51_16_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/57f30cd5aa14bdb361b240e20a1c509c.jpg","text":"TemporaryFile(/tmp/multipartBody2885470535568547384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070313307,"filename":"image_28012025_07_51_46_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b90883a74128e836362b9397fca3a1c0.jpg","text":"TemporaryFile(/tmp/multipartBody8874344904019860960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070313307,"filename":"image_28012025_07_51_07_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332303469","file1":"1332303462","file0":"1332303455","file4":"1332303480","file5":"1332303485","file3":"1332303475"},"map_files_photo_id_array":[{"photo_id":"1332303485","filename":"file5"},{"photo_id":"1332303469","filename":"file2"},{"photo_id":"1332303480","filename":"file4"},{"photo_id":"1332303462","filename":"file1"},{"photo_id":"1332303455","filename":"file0"},{"photo_id":"1332303475","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332303485":["hashtag1","hashtag2"]},{"1332303455":["hashtag1","hashtag2"]},{"1332303475":["hashtag1","hashtag2"]},{"1332303469":["hashtag1","hashtag2"]},{"1332303480":["hashtag1","hashtag2"]},{"1332303462":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332303485, 1332303455, 1332303475, 1332303469, 1332303480, 1332303462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.171666622161865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:18:32.652538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/52/image_28012025_07_52_16_9482.jpg', '/home/pi/Desktop/images/28012025/07/52/image_28012025_07_52_27_10366.jpg', '/home/pi/Desktop/images/28012025/07/52/image_28012025_07_52_46_10388.jpg', '/home/pi/Desktop/images/28012025/07/52/image_28012025_07_52_57_10338.jpg', '/home/pi/Desktop/images/28012025/07/53/image_28012025_07_53_17_10389.jpg', '/home/pi/Desktop/images/28012025/07/53/image_28012025_07_53_26_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/52/image_28012025_07_52_16_9482.jpg
/home/pi/Desktop/images/28012025/07/52/image_28012025_07_52_27_10366.jpg
/home/pi/Desktop/images/28012025/07/52/image_28012025_07_52_46_10388.jpg
/home/pi/Desktop/images/28012025/07/52/image_28012025_07_52_57_10338.jpg
/home/pi/Desktop/images/28012025/07/53/image_28012025_07_53_17_10389.jpg
/home/pi/Desktop/images/28012025/07/53/image_28012025_07_53_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":["1332303537","1332303525","1332303551","1332303583","1332303577","1332303544"],"photo_ids_order":["1332303525","1332303537","1332303544","1332303551","1332303577","1332303583"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/949c4385aa9f6dd45ef3f413c319c663.jpg","text":"TemporaryFile(/tmp/multipartBody1206299843681697719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070373661,"filename":"image_28012025_07_52_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/1/28/fba9714b2c9a3097da9517d212049c3a.jpg","text":"TemporaryFile(/tmp/multipartBody8254618267764582042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070373661,"filename":"image_28012025_07_52_16_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1ff4abec1a19085e5946d7fdb4c80362.jpg","text":"TemporaryFile(/tmp/multipartBody7325776011191411878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070373661,"filename":"image_28012025_07_52_57_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2517f80443779df71ee898df0e608984.jpg","text":"TemporaryFile(/tmp/multipartBody2670628665559894653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070373661,"filename":"image_28012025_07_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/1/28/0d4fdef8c0d70a8057956a75395c304a.jpg","text":"TemporaryFile(/tmp/multipartBody3776177051662049737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070373661,"filename":"image_28012025_07_53_17_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fd915fbb747219f46596221b0f389256.jpg","text":"TemporaryFile(/tmp/multipartBody4010677775820850747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070373661,"filename":"image_28012025_07_52_46_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332303544","file1":"1332303537","file0":"1332303525","file4":"1332303577","file5":"1332303583","file3":"1332303551"},"map_files_photo_id_array":[{"photo_id":"1332303583","filename":"file5"},{"photo_id":"1332303544","filename":"file2"},{"photo_id":"1332303577","filename":"file4"},{"photo_id":"1332303537","filename":"file1"},{"photo_id":"1332303525","filename":"file0"},{"photo_id":"1332303551","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332303537":["hashtag1","hashtag2"]},{"1332303525":["hashtag1","hashtag2"]},{"1332303551":["hashtag1","hashtag2"]},{"1332303583":["hashtag1","hashtag2"]},{"1332303577":["hashtag1","hashtag2"]},{"1332303544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332303537, 1332303525, 1332303551, 1332303583, 1332303577, 1332303544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.68932843208313 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:19:32.884148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/53/image_28012025_07_53_36_10473.jpg', '/home/pi/Desktop/images/28012025/07/53/image_28012025_07_53_47_10351.jpg', '/home/pi/Desktop/images/28012025/07/53/image_28012025_07_53_56_9451.jpg', '/home/pi/Desktop/images/28012025/07/54/image_28012025_07_54_16_9355.jpg', '/home/pi/Desktop/images/28012025/07/54/image_28012025_07_54_37_10346.jpg', '/home/pi/Desktop/images/28012025/07/54/image_28012025_07_54_46_9436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/53/image_28012025_07_53_36_10473.jpg
/home/pi/Desktop/images/28012025/07/53/image_28012025_07_53_47_10351.jpg
/home/pi/Desktop/images/28012025/07/53/image_28012025_07_53_56_9451.jpg
/home/pi/Desktop/images/28012025/07/54/image_28012025_07_54_16_9355.jpg
/home/pi/Desktop/images/28012025/07/54/image_28012025_07_54_37_10346.jpg
/home/pi/Desktop/images/28012025/07/54/image_28012025_07_54_46_9436.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6232695579528809 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 14:19:42.829505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/53/image_28012025_07_53_36_10473.jpg', '/home/pi/Desktop/images/28012025/07/53/image_28012025_07_53_47_10351.jpg', '/home/pi/Desktop/images/28012025/07/53/image_28012025_07_53_56_9451.jpg', '/home/pi/Desktop/images/28012025/07/54/image_28012025_07_54_16_9355.jpg', '/home/pi/Desktop/images/28012025/07/54/image_28012025_07_54_37_10346.jpg', '/home/pi/Desktop/images/28012025/07/54/image_28012025_07_54_46_9436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/53/image_28012025_07_53_36_10473.jpg
/home/pi/Desktop/images/28012025/07/53/image_28012025_07_53_47_10351.jpg
/home/pi/Desktop/images/28012025/07/53/image_28012025_07_53_56_9451.jpg
/home/pi/Desktop/images/28012025/07/54/image_28012025_07_54_16_9355.jpg
/home/pi/Desktop/images/28012025/07/54/image_28012025_07_54_37_10346.jpg
/home/pi/Desktop/images/28012025/07/54/image_28012025_07_54_46_9436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332303627","1332303612","1332303617","1332303631","1332303622","1332303633"],"photo_ids_order":["1332303612","1332303617","1332303622","1332303627","1332303631","1332303633"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/71478bc4f26d871de0d9fad96be79e71.jpg","text":"TemporaryFile(/tmp/multipartBody3928584500624069806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070443736,"filename":"image_28012025_07_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/1/28/75d9943b82a820676c0a1c0ecc025f2d.jpg","text":"TemporaryFile(/tmp/multipartBody7565953891932422399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070443736,"filename":"image_28012025_07_53_36_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d4bab6d8e07c39c7579dc3f63fcb8436.jpg","text":"TemporaryFile(/tmp/multipartBody3385676076521545782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070443736,"filename":"image_28012025_07_53_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/1/28/ea8cdf452b5e0e5b9cea241f5c982249.jpg","text":"TemporaryFile(/tmp/multipartBody8436349765130925826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070443736,"filename":"image_28012025_07_54_37_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dcd8444e8dbc019c1bed4bc13c32d0d7.jpg","text":"TemporaryFile(/tmp/multipartBody4377059579325269755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070443736,"filename":"image_28012025_07_53_56_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cff1af028784bb011611ad562bd06da3.jpg","text":"TemporaryFile(/tmp/multipartBody8442417185054762080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070443736,"filename":"image_28012025_07_54_46_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332303622","file1":"1332303617","file0":"1332303612","file4":"1332303631","file5":"1332303633","file3":"1332303627"},"map_files_photo_id_array":[{"photo_id":"1332303633","filename":"file5"},{"photo_id":"1332303622","filename":"file2"},{"photo_id":"1332303631","filename":"file4"},{"photo_id":"1332303617","filename":"file1"},{"photo_id":"1332303612","filename":"file0"},{"photo_id":"1332303627","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332303627":["hashtag1","hashtag2"]},{"1332303612":["hashtag1","hashtag2"]},{"1332303617":["hashtag1","hashtag2"]},{"1332303631":["hashtag1","hashtag2"]},{"1332303622":["hashtag1","hashtag2"]},{"1332303633":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332303627, 1332303612, 1332303617, 1332303631, 1332303622, 1332303633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17514085769653 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:20:33.136980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/54/image_28012025_07_54_57_10366.jpg', '/home/pi/Desktop/images/28012025/07/54/image_28012025_07_55_07_10359.jpg', '/home/pi/Desktop/images/28012025/07/55/image_28012025_07_55_16_9421.jpg', '/home/pi/Desktop/images/28012025/07/55/image_28012025_07_55_27_10381.jpg', '/home/pi/Desktop/images/28012025/07/55/image_28012025_07_55_36_9354.jpg', '/home/pi/Desktop/images/28012025/07/55/image_28012025_07_55_47_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/54/image_28012025_07_54_57_10366.jpg
/home/pi/Desktop/images/28012025/07/54/image_28012025_07_55_07_10359.jpg
/home/pi/Desktop/images/28012025/07/55/image_28012025_07_55_16_9421.jpg
/home/pi/Desktop/images/28012025/07/55/image_28012025_07_55_27_10381.jpg
/home/pi/Desktop/images/28012025/07/55/image_28012025_07_55_36_9354.jpg
/home/pi/Desktop/images/28012025/07/55/image_28012025_07_55_47_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":["1332303661","1332303664","1332303658","1332303646","1332303651","1332303654"],"photo_ids_order":["1332303646","1332303651","1332303654","1332303658","1332303661","1332303664"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fd35864a3379c24031ac1b532f0125fe.jpg","text":"TemporaryFile(/tmp/multipartBody2458181155292225711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070494138,"filename":"image_28012025_07_55_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/1/28/06db5c247db8dd00216911837038a197.jpg","text":"TemporaryFile(/tmp/multipartBody3688821979414571427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070494138,"filename":"image_28012025_07_55_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/1/28/d03ca9cd4e148c13ca379be03db45e96.jpg","text":"TemporaryFile(/tmp/multipartBody6297393487942256907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070494138,"filename":"image_28012025_07_55_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/1/28/5ed30a4c762b72daff2892aee14b9001.jpg","text":"TemporaryFile(/tmp/multipartBody5611741716317399935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070494138,"filename":"image_28012025_07_54_57_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b7780ded72223d42a17af6b9162968a4.jpg","text":"TemporaryFile(/tmp/multipartBody7202157702316038712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070494138,"filename":"image_28012025_07_55_07_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/90bbdddd994c00348b0ac1ce762ddb61.jpg","text":"TemporaryFile(/tmp/multipartBody8748485862725736973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070494138,"filename":"image_28012025_07_55_16_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332303654","file1":"1332303651","file0":"1332303646","file4":"1332303661","file5":"1332303664","file3":"1332303658"},"map_files_photo_id_array":[{"photo_id":"1332303664","filename":"file5"},{"photo_id":"1332303654","filename":"file2"},{"photo_id":"1332303661","filename":"file4"},{"photo_id":"1332303651","filename":"file1"},{"photo_id":"1332303646","filename":"file0"},{"photo_id":"1332303658","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332303661":["hashtag1","hashtag2"]},{"1332303664":["hashtag1","hashtag2"]},{"1332303658":["hashtag1","hashtag2"]},{"1332303646":["hashtag1","hashtag2"]},{"1332303651":["hashtag1","hashtag2"]},{"1332303654":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332303661, 1332303664, 1332303658, 1332303646, 1332303651, 1332303654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.702754497528076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:21:32.254980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/55/image_28012025_07_55_57_10347.jpg', '/home/pi/Desktop/images/28012025/07/55/image_28012025_07_56_06_9390.jpg', '/home/pi/Desktop/images/28012025/07/56/image_28012025_07_56_26_9399.jpg', '/home/pi/Desktop/images/28012025/07/56/image_28012025_07_56_36_10355.jpg', '/home/pi/Desktop/images/28012025/07/56/image_28012025_07_56_47_10454.jpg', '/home/pi/Desktop/images/28012025/07/57/image_28012025_07_57_17_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/55/image_28012025_07_55_57_10347.jpg
/home/pi/Desktop/images/28012025/07/55/image_28012025_07_56_06_9390.jpg
/home/pi/Desktop/images/28012025/07/56/image_28012025_07_56_26_9399.jpg
/home/pi/Desktop/images/28012025/07/56/image_28012025_07_56_36_10355.jpg
/home/pi/Desktop/images/28012025/07/56/image_28012025_07_56_47_10454.jpg
/home/pi/Desktop/images/28012025/07/57/image_28012025_07_57_17_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":["1332303756","1332303705","1332303752","1332303754","1332303748","1332303709"],"photo_ids_order":["1332303705","1332303709","1332303748","1332303752","1332303754","1332303756"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/36384c4508493eb3c005101edebae646.jpg","text":"TemporaryFile(/tmp/multipartBody196647455092776132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070553289,"filename":"image_28012025_07_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/1/28/22ebd8b7472b017b3b17c7c33044378f.jpg","text":"TemporaryFile(/tmp/multipartBody7087684639585987434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070553289,"filename":"image_28012025_07_55_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/1/28/d17c443ee84ab9412465e27334a898d6.jpg","text":"TemporaryFile(/tmp/multipartBody359188501835297815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070553289,"filename":"image_28012025_07_56_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/1/28/ecdda596593ff97ffed0b209b6cf09fc.jpg","text":"TemporaryFile(/tmp/multipartBody162702710372563299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070553289,"filename":"image_28012025_07_56_47_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/493bbf5a378895bc08b65b9809fc54cd.jpg","text":"TemporaryFile(/tmp/multipartBody466414101097790955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070553289,"filename":"image_28012025_07_56_26_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b7a97c0a041a4e15b2445370151fc620.jpg","text":"TemporaryFile(/tmp/multipartBody7521759035023940024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070553289,"filename":"image_28012025_07_56_06_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332303748","file1":"1332303709","file0":"1332303705","file4":"1332303754","file5":"1332303756","file3":"1332303752"},"map_files_photo_id_array":[{"photo_id":"1332303756","filename":"file5"},{"photo_id":"1332303748","filename":"file2"},{"photo_id":"1332303754","filename":"file4"},{"photo_id":"1332303709","filename":"file1"},{"photo_id":"1332303705","filename":"file0"},{"photo_id":"1332303752","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332303756":["hashtag1","hashtag2"]},{"1332303705":["hashtag1","hashtag2"]},{"1332303752":["hashtag1","hashtag2"]},{"1332303754":["hashtag1","hashtag2"]},{"1332303748":["hashtag1","hashtag2"]},{"1332303709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332303756, 1332303705, 1332303752, 1332303754, 1332303748, 1332303709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.75729250907898 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:22:32.499127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/57/image_28012025_07_57_37_10365.jpg', '/home/pi/Desktop/images/28012025/07/57/image_28012025_07_57_57_10429.jpg', '/home/pi/Desktop/images/28012025/07/57/image_28012025_07_58_07_10381.jpg', '/home/pi/Desktop/images/28012025/07/58/image_28012025_07_58_27_10364.jpg', '/home/pi/Desktop/images/28012025/07/58/image_28012025_07_58_36_9445.jpg', '/home/pi/Desktop/images/28012025/07/58/image_28012025_07_58_47_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/57/image_28012025_07_57_37_10365.jpg
/home/pi/Desktop/images/28012025/07/57/image_28012025_07_57_57_10429.jpg
/home/pi/Desktop/images/28012025/07/57/image_28012025_07_58_07_10381.jpg
/home/pi/Desktop/images/28012025/07/58/image_28012025_07_58_27_10364.jpg
/home/pi/Desktop/images/28012025/07/58/image_28012025_07_58_36_9445.jpg
/home/pi/Desktop/images/28012025/07/58/image_28012025_07_58_47_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":["1332303810","1332303788","1332303812","1332303815","1332303795","1332303814"],"photo_ids_order":["1332303788","1332303795","1332303810","1332303812","1332303814","1332303815"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bd43bd4d05564f1e44621234b914496d.jpg","text":"TemporaryFile(/tmp/multipartBody510472704659062821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070613500,"filename":"image_28012025_07_58_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/1/28/85ddac9d1f51131716d02c473c6bcfb0.jpg","text":"TemporaryFile(/tmp/multipartBody4115029419663743728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070613500,"filename":"image_28012025_07_57_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/1/28/828ac2ddbfd6c5afb8e3d8882332a6d1.jpg","text":"TemporaryFile(/tmp/multipartBody6848015704628337869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070613500,"filename":"image_28012025_07_58_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/1/28/2bf1bb254b8e612fe9dbef02b2937cd0.jpg","text":"TemporaryFile(/tmp/multipartBody4827647331879342440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070613500,"filename":"image_28012025_07_58_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/1/28/0e8a656e2c7aa2a1b42034b7acae12b0.jpg","text":"TemporaryFile(/tmp/multipartBody5326952277284431277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070613500,"filename":"image_28012025_07_57_57_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c3114871417be885daca2df05acf2e42.jpg","text":"TemporaryFile(/tmp/multipartBody7544752705332887039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070613500,"filename":"image_28012025_07_58_36_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332303810","file1":"1332303795","file0":"1332303788","file4":"1332303814","file5":"1332303815","file3":"1332303812"},"map_files_photo_id_array":[{"photo_id":"1332303815","filename":"file5"},{"photo_id":"1332303810","filename":"file2"},{"photo_id":"1332303814","filename":"file4"},{"photo_id":"1332303795","filename":"file1"},{"photo_id":"1332303788","filename":"file0"},{"photo_id":"1332303812","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332303810":["hashtag1","hashtag2"]},{"1332303788":["hashtag1","hashtag2"]},{"1332303812":["hashtag1","hashtag2"]},{"1332303815":["hashtag1","hashtag2"]},{"1332303795":["hashtag1","hashtag2"]},{"1332303814":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332303810, 1332303788, 1332303812, 1332303815, 1332303795, 1332303814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.95882058143616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:23:32.783222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/07/58/image_28012025_07_58_57_10402.jpg', '/home/pi/Desktop/images/28012025/07/58/image_28012025_07_59_06_9495.jpg', '/home/pi/Desktop/images/28012025/07/59/image_28012025_07_59_37_10365.jpg', '/home/pi/Desktop/images/28012025/08/00/image_28012025_08_00_26_10410.jpg', '/home/pi/Desktop/images/28012025/08/00/image_28012025_08_00_46_9401.jpg', '/home/pi/Desktop/images/28012025/08/00/image_28012025_08_00_56_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/07/58/image_28012025_07_58_57_10402.jpg
/home/pi/Desktop/images/28012025/07/58/image_28012025_07_59_06_9495.jpg
/home/pi/Desktop/images/28012025/07/59/image_28012025_07_59_37_10365.jpg
/home/pi/Desktop/images/28012025/08/00/image_28012025_08_00_26_10410.jpg
/home/pi/Desktop/images/28012025/08/00/image_28012025_08_00_46_9401.jpg
/home/pi/Desktop/images/28012025/08/00/image_28012025_08_00_56_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332303839","1332303847","1332303835","1332303829","1332303844","1332303846"],"photo_ids_order":["1332303829","1332303835","1332303839","1332303844","1332303846","1332303847"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5f0a6cfd0cbb992a1365c26af366650d.jpg","text":"TemporaryFile(/tmp/multipartBody4801401068902488548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070673779,"filename":"image_28012025_07_59_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/1/28/7c442fe19218103837625731cd52e0e0.jpg","text":"TemporaryFile(/tmp/multipartBody7058215234671882243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070673779,"filename":"image_28012025_08_00_56_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/57f22be5f5aa00703bb48de5f808fd45.jpg","text":"TemporaryFile(/tmp/multipartBody8297701856689399986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070673779,"filename":"image_28012025_07_59_06_9495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2cebb8d7ca5aeb17b9fff36284fcda4d.jpg","text":"TemporaryFile(/tmp/multipartBody1846277167547161505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070673779,"filename":"image_28012025_07_58_57_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/07ec9fa4c9c47c92b7f5a998c540f26f.jpg","text":"TemporaryFile(/tmp/multipartBody3848849830319906256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070673779,"filename":"image_28012025_08_00_26_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/12fbfddabc5c1a70953ecf5423737c0d.jpg","text":"TemporaryFile(/tmp/multipartBody2284566991430865250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070673779,"filename":"image_28012025_08_00_46_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332303839","file1":"1332303835","file0":"1332303829","file4":"1332303846","file5":"1332303847","file3":"1332303844"},"map_files_photo_id_array":[{"photo_id":"1332303847","filename":"file5"},{"photo_id":"1332303839","filename":"file2"},{"photo_id":"1332303846","filename":"file4"},{"photo_id":"1332303835","filename":"file1"},{"photo_id":"1332303829","filename":"file0"},{"photo_id":"1332303844","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332303839":["hashtag1","hashtag2"]},{"1332303847":["hashtag1","hashtag2"]},{"1332303835":["hashtag1","hashtag2"]},{"1332303829":["hashtag1","hashtag2"]},{"1332303844":["hashtag1","hashtag2"]},{"1332303846":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332303839, 1332303847, 1332303835, 1332303829, 1332303844, 1332303846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00311517715454 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:24:33.111663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/00/image_28012025_08_01_05_9362.jpg', '/home/pi/Desktop/images/28012025/08/01/image_28012025_08_01_16_10353.jpg', '/home/pi/Desktop/images/28012025/08/01/image_28012025_08_01_26_10357.jpg', '/home/pi/Desktop/images/28012025/08/01/image_28012025_08_01_35_9351.jpg', '/home/pi/Desktop/images/28012025/08/01/image_28012025_08_01_46_10336.jpg', '/home/pi/Desktop/images/28012025/08/01/image_28012025_08_01_56_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/00/image_28012025_08_01_05_9362.jpg
/home/pi/Desktop/images/28012025/08/01/image_28012025_08_01_16_10353.jpg
/home/pi/Desktop/images/28012025/08/01/image_28012025_08_01_26_10357.jpg
/home/pi/Desktop/images/28012025/08/01/image_28012025_08_01_35_9351.jpg
/home/pi/Desktop/images/28012025/08/01/image_28012025_08_01_46_10336.jpg
/home/pi/Desktop/images/28012025/08/01/image_28012025_08_01_56_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6024672985076904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 14:24:43.078655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/00/image_28012025_08_01_05_9362.jpg', '/home/pi/Desktop/images/28012025/08/01/image_28012025_08_01_16_10353.jpg', '/home/pi/Desktop/images/28012025/08/01/image_28012025_08_01_26_10357.jpg', '/home/pi/Desktop/images/28012025/08/01/image_28012025_08_01_35_9351.jpg', '/home/pi/Desktop/images/28012025/08/01/image_28012025_08_01_46_10336.jpg', '/home/pi/Desktop/images/28012025/08/01/image_28012025_08_01_56_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/00/image_28012025_08_01_05_9362.jpg
/home/pi/Desktop/images/28012025/08/01/image_28012025_08_01_16_10353.jpg
/home/pi/Desktop/images/28012025/08/01/image_28012025_08_01_26_10357.jpg
/home/pi/Desktop/images/28012025/08/01/image_28012025_08_01_35_9351.jpg
/home/pi/Desktop/images/28012025/08/01/image_28012025_08_01_46_10336.jpg
/home/pi/Desktop/images/28012025/08/01/image_28012025_08_01_56_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":["1332303890","1332303878","1332303883","1332303892","1332303895","1332303897"],"photo_ids_order":["1332303878","1332303883","1332303890","1332303892","1332303895","1332303897"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/75a0550770e185bdc1b20a3bc145bf3a.jpg","text":"TemporaryFile(/tmp/multipartBody7869676908754137217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070743987,"filename":"image_28012025_08_01_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/1/28/3ef4eeb48f0cc92f68f1636ff2976990.jpg","text":"TemporaryFile(/tmp/multipartBody681757683977979504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070743987,"filename":"image_28012025_08_01_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/1/28/66266d2b36d1594656f6a6e9e1599936.jpg","text":"TemporaryFile(/tmp/multipartBody2716270730845429117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070743987,"filename":"image_28012025_08_01_16_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6eea1235e5ff3fb8ffcdee4b2f4bbc29.jpg","text":"TemporaryFile(/tmp/multipartBody9021551732587499239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070743987,"filename":"image_28012025_08_01_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/1/28/98a91509607189dec39dc9f9d6483707.jpg","text":"TemporaryFile(/tmp/multipartBody534087168750357118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070743987,"filename":"image_28012025_08_01_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/1/28/dcc71a24908aab2c316c408962f62a74.jpg","text":"TemporaryFile(/tmp/multipartBody6716869801643412288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070743987,"filename":"image_28012025_08_01_56_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332303890","file1":"1332303883","file0":"1332303878","file4":"1332303895","file5":"1332303897","file3":"1332303892"},"map_files_photo_id_array":[{"photo_id":"1332303897","filename":"file5"},{"photo_id":"1332303890","filename":"file2"},{"photo_id":"1332303895","filename":"file4"},{"photo_id":"1332303883","filename":"file1"},{"photo_id":"1332303878","filename":"file0"},{"photo_id":"1332303892","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332303890":["hashtag1","hashtag2"]},{"1332303878":["hashtag1","hashtag2"]},{"1332303883":["hashtag1","hashtag2"]},{"1332303892":["hashtag1","hashtag2"]},{"1332303895":["hashtag1","hashtag2"]},{"1332303897":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332303890, 1332303878, 1332303883, 1332303892, 1332303895, 1332303897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.799761056900024 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:25:32.315454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/01/image_28012025_08_02_06_9388.jpg', '/home/pi/Desktop/images/28012025/08/02/image_28012025_08_02_16_10328.jpg', '/home/pi/Desktop/images/28012025/08/02/image_28012025_08_02_25_9476.jpg', '/home/pi/Desktop/images/28012025/08/02/image_28012025_08_02_36_10407.jpg', '/home/pi/Desktop/images/28012025/08/02/image_28012025_08_02_46_10364.jpg', '/home/pi/Desktop/images/28012025/08/02/image_28012025_08_02_56_9426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/01/image_28012025_08_02_06_9388.jpg
/home/pi/Desktop/images/28012025/08/02/image_28012025_08_02_16_10328.jpg
/home/pi/Desktop/images/28012025/08/02/image_28012025_08_02_25_9476.jpg
/home/pi/Desktop/images/28012025/08/02/image_28012025_08_02_36_10407.jpg
/home/pi/Desktop/images/28012025/08/02/image_28012025_08_02_46_10364.jpg
/home/pi/Desktop/images/28012025/08/02/image_28012025_08_02_56_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":["1332303909","1332303946","1332303940","1332303943","1332303916","1332303931"],"photo_ids_order":["1332303909","1332303916","1332303931","1332303940","1332303943","1332303946"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5bcd19be98feb28b660b30ebfaad8686.jpg","text":"TemporaryFile(/tmp/multipartBody7074176060769850613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070793320,"filename":"image_28012025_08_02_06_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/40bc0d5a2e89a830b6167bd857e890e3.jpg","text":"TemporaryFile(/tmp/multipartBody8012619564484292237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070793320,"filename":"image_28012025_08_02_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/1/28/64e3678aa56158718679a05b281343df.jpg","text":"TemporaryFile(/tmp/multipartBody5604891521199188047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070793320,"filename":"image_28012025_08_02_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/1/28/c6f787616c0a98c8c7a94d07f3c0f415.jpg","text":"TemporaryFile(/tmp/multipartBody9194315394478215973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070793320,"filename":"image_28012025_08_02_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/1/28/531be000b6b89b8da6df4f652f7ebc44.jpg","text":"TemporaryFile(/tmp/multipartBody838886864063571439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070793320,"filename":"image_28012025_08_02_16_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ecfc2f84daf71640431d830adb4bacca.jpg","text":"TemporaryFile(/tmp/multipartBody3656942429965996738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070793320,"filename":"image_28012025_08_02_25_9476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332303931","file1":"1332303916","file0":"1332303909","file4":"1332303943","file5":"1332303946","file3":"1332303940"},"map_files_photo_id_array":[{"photo_id":"1332303946","filename":"file5"},{"photo_id":"1332303931","filename":"file2"},{"photo_id":"1332303943","filename":"file4"},{"photo_id":"1332303916","filename":"file1"},{"photo_id":"1332303909","filename":"file0"},{"photo_id":"1332303940","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332303909":["hashtag1","hashtag2"]},{"1332303946":["hashtag1","hashtag2"]},{"1332303940":["hashtag1","hashtag2"]},{"1332303943":["hashtag1","hashtag2"]},{"1332303916":["hashtag1","hashtag2"]},{"1332303931":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332303909, 1332303946, 1332303940, 1332303943, 1332303916, 1332303931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.81629276275635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:26:32.579721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/02/image_28012025_08_03_06_10355.jpg', '/home/pi/Desktop/images/28012025/08/03/image_28012025_08_03_15_9482.jpg', '/home/pi/Desktop/images/28012025/08/03/image_28012025_08_03_26_10426.jpg', '/home/pi/Desktop/images/28012025/08/03/image_28012025_08_03_36_10356.jpg', '/home/pi/Desktop/images/28012025/08/03/image_28012025_08_03_46_9389.jpg', '/home/pi/Desktop/images/28012025/08/03/image_28012025_08_03_56_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/02/image_28012025_08_03_06_10355.jpg
/home/pi/Desktop/images/28012025/08/03/image_28012025_08_03_15_9482.jpg
/home/pi/Desktop/images/28012025/08/03/image_28012025_08_03_26_10426.jpg
/home/pi/Desktop/images/28012025/08/03/image_28012025_08_03_36_10356.jpg
/home/pi/Desktop/images/28012025/08/03/image_28012025_08_03_46_9389.jpg
/home/pi/Desktop/images/28012025/08/03/image_28012025_08_03_56_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":["1332304052","1332303998","1332303995","1332303982","1332303991","1332303987"],"photo_ids_order":["1332303982","1332303987","1332303991","1332303995","1332303998","1332304052"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b46300f06d84780d7aa3909788054d2f.jpg","text":"TemporaryFile(/tmp/multipartBody656116012351488470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070853598,"filename":"image_28012025_08_03_56_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e411f4a27c9bb07cfe1059136362ef58.jpg","text":"TemporaryFile(/tmp/multipartBody1796249891913428319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070853598,"filename":"image_28012025_08_03_46_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/751ab738eb9482dc6891335c284e63bd.jpg","text":"TemporaryFile(/tmp/multipartBody6352810440754183096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070853598,"filename":"image_28012025_08_03_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/1/28/92ed0b536c940fbb7b9796971ccb3ae7.jpg","text":"TemporaryFile(/tmp/multipartBody2026480124992677201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070853598,"filename":"image_28012025_08_03_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/1/28/6bc3b2e87f97115e742d87773d94b389.jpg","text":"TemporaryFile(/tmp/multipartBody7068625871496993821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070853598,"filename":"image_28012025_08_03_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/1/28/a16cc3c2f2b16c96e68b8e92fe861355.jpg","text":"TemporaryFile(/tmp/multipartBody429884369291847514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070853598,"filename":"image_28012025_08_03_15_9482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332303991","file1":"1332303987","file0":"1332303982","file4":"1332303998","file5":"1332304052","file3":"1332303995"},"map_files_photo_id_array":[{"photo_id":"1332304052","filename":"file5"},{"photo_id":"1332303991","filename":"file2"},{"photo_id":"1332303998","filename":"file4"},{"photo_id":"1332303987","filename":"file1"},{"photo_id":"1332303982","filename":"file0"},{"photo_id":"1332303995","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332304052":["hashtag1","hashtag2"]},{"1332303998":["hashtag1","hashtag2"]},{"1332303995":["hashtag1","hashtag2"]},{"1332303982":["hashtag1","hashtag2"]},{"1332303991":["hashtag1","hashtag2"]},{"1332303987":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332304052, 1332303998, 1332303995, 1332303982, 1332303991, 1332303987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.683618783950806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:27:32.937977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/03/image_28012025_08_04_05_9405.jpg', '/home/pi/Desktop/images/28012025/08/04/image_28012025_08_04_16_10347.jpg', '/home/pi/Desktop/images/28012025/08/04/image_28012025_08_04_26_10353.jpg', '/home/pi/Desktop/images/28012025/08/04/image_28012025_08_04_35_9395.jpg', '/home/pi/Desktop/images/28012025/08/04/image_28012025_08_04_56_10447.jpg', '/home/pi/Desktop/images/28012025/08/04/image_28012025_08_05_06_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/03/image_28012025_08_04_05_9405.jpg
/home/pi/Desktop/images/28012025/08/04/image_28012025_08_04_16_10347.jpg
/home/pi/Desktop/images/28012025/08/04/image_28012025_08_04_26_10353.jpg
/home/pi/Desktop/images/28012025/08/04/image_28012025_08_04_35_9395.jpg
/home/pi/Desktop/images/28012025/08/04/image_28012025_08_04_56_10447.jpg
/home/pi/Desktop/images/28012025/08/04/image_28012025_08_05_06_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":["1332304115","1332304118","1332304106","1332304102","1332304111","1332304097"],"photo_ids_order":["1332304097","1332304102","1332304106","1332304111","1332304115","1332304118"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7121424bc0721f94cb96406580f8ace7.jpg","text":"TemporaryFile(/tmp/multipartBody542458776679542636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070913963,"filename":"image_28012025_08_04_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/1/28/2abc927bedea61f2ca081aec576971bb.jpg","text":"TemporaryFile(/tmp/multipartBody750528971688592540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070913963,"filename":"image_28012025_08_05_06_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c8c30b0b6bddda6e365d3717d8bd2dab.jpg","text":"TemporaryFile(/tmp/multipartBody7702976004060674378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070913963,"filename":"image_28012025_08_04_26_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0cbaafb2ad7ba88ce9523fb2c0db0634.jpg","text":"TemporaryFile(/tmp/multipartBody7026077366324124704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070913963,"filename":"image_28012025_08_04_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/1/28/8b63faf915ba51ac944f7f79e80676c9.jpg","text":"TemporaryFile(/tmp/multipartBody5257861119646802329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070913963,"filename":"image_28012025_08_04_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/1/28/f7101b8cb9f634be9c8708f80c2f8017.jpg","text":"TemporaryFile(/tmp/multipartBody5139164026420343901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070913963,"filename":"image_28012025_08_04_05_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332304106","file1":"1332304102","file0":"1332304097","file4":"1332304115","file5":"1332304118","file3":"1332304111"},"map_files_photo_id_array":[{"photo_id":"1332304118","filename":"file5"},{"photo_id":"1332304106","filename":"file2"},{"photo_id":"1332304115","filename":"file4"},{"photo_id":"1332304102","filename":"file1"},{"photo_id":"1332304097","filename":"file0"},{"photo_id":"1332304111","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332304115":["hashtag1","hashtag2"]},{"1332304118":["hashtag1","hashtag2"]},{"1332304106":["hashtag1","hashtag2"]},{"1332304102":["hashtag1","hashtag2"]},{"1332304111":["hashtag1","hashtag2"]},{"1332304097":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332304115, 1332304118, 1332304106, 1332304102, 1332304111, 1332304097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38080191612244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:28:33.064802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/05/image_28012025_08_05_16_10355.jpg', '/home/pi/Desktop/images/28012025/08/05/image_28012025_08_05_25_9352.jpg', '/home/pi/Desktop/images/28012025/08/05/image_28012025_08_05_36_10381.jpg', '/home/pi/Desktop/images/28012025/08/05/image_28012025_08_05_46_10425.jpg', '/home/pi/Desktop/images/28012025/08/05/image_28012025_08_05_55_9331.jpg', '/home/pi/Desktop/images/28012025/08/05/image_28012025_08_06_06_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/05/image_28012025_08_05_16_10355.jpg
/home/pi/Desktop/images/28012025/08/05/image_28012025_08_05_25_9352.jpg
/home/pi/Desktop/images/28012025/08/05/image_28012025_08_05_36_10381.jpg
/home/pi/Desktop/images/28012025/08/05/image_28012025_08_05_46_10425.jpg
/home/pi/Desktop/images/28012025/08/05/image_28012025_08_05_55_9331.jpg
/home/pi/Desktop/images/28012025/08/05/image_28012025_08_06_06_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332304298","1332304286","1332304301","1332304291","1332304281","1332304275"],"photo_ids_order":["1332304275","1332304281","1332304286","1332304291","1332304298","1332304301"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/95aaa3e6a1b37f330ec9c507d102c8f1.jpg","text":"TemporaryFile(/tmp/multipartBody6154765834558902585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070974061,"filename":"image_28012025_08_05_55_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4fa6f5d9ac52793b95ff015766075389.jpg","text":"TemporaryFile(/tmp/multipartBody6919525115605655606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070974061,"filename":"image_28012025_08_05_36_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0bf291c63ba26c45046192fc979da85f.jpg","text":"TemporaryFile(/tmp/multipartBody2262394278483350135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070974061,"filename":"image_28012025_08_06_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/1/28/c9ba624385b0798db92ca8c5f96b7563.jpg","text":"TemporaryFile(/tmp/multipartBody543975500709569205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070974061,"filename":"image_28012025_08_05_46_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/132cf8493339c29563569abd7f199a1f.jpg","text":"TemporaryFile(/tmp/multipartBody4530320541590034948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070974061,"filename":"image_28012025_08_05_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/1/28/8d52b4b4be9b18cb2ff127e1a01a0c9c.jpg","text":"TemporaryFile(/tmp/multipartBody8131061827398307858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738070974061,"filename":"image_28012025_08_05_16_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332304286","file1":"1332304281","file0":"1332304275","file4":"1332304298","file5":"1332304301","file3":"1332304291"},"map_files_photo_id_array":[{"photo_id":"1332304301","filename":"file5"},{"photo_id":"1332304286","filename":"file2"},{"photo_id":"1332304298","filename":"file4"},{"photo_id":"1332304281","filename":"file1"},{"photo_id":"1332304275","filename":"file0"},{"photo_id":"1332304291","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332304298":["hashtag1","hashtag2"]},{"1332304286":["hashtag1","hashtag2"]},{"1332304301":["hashtag1","hashtag2"]},{"1332304291":["hashtag1","hashtag2"]},{"1332304281":["hashtag1","hashtag2"]},{"1332304275":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332304298, 1332304286, 1332304301, 1332304291, 1332304281, 1332304275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.93905210494995 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:29:32.289829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/06/image_28012025_08_06_16_10442.jpg', '/home/pi/Desktop/images/28012025/08/06/image_28012025_08_06_26_9353.jpg', '/home/pi/Desktop/images/28012025/08/06/image_28012025_08_06_36_10414.jpg', '/home/pi/Desktop/images/28012025/08/06/image_28012025_08_06_45_9364.jpg', '/home/pi/Desktop/images/28012025/08/06/image_28012025_08_06_56_10351.jpg', '/home/pi/Desktop/images/28012025/08/06/image_28012025_08_07_06_10465.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/06/image_28012025_08_06_16_10442.jpg
/home/pi/Desktop/images/28012025/08/06/image_28012025_08_06_26_9353.jpg
/home/pi/Desktop/images/28012025/08/06/image_28012025_08_06_36_10414.jpg
/home/pi/Desktop/images/28012025/08/06/image_28012025_08_06_45_9364.jpg
/home/pi/Desktop/images/28012025/08/06/image_28012025_08_06_56_10351.jpg
/home/pi/Desktop/images/28012025/08/06/image_28012025_08_07_06_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":["1332304469","1332304466","1332304334","1332304328","1332304464","1332304338"],"photo_ids_order":["1332304328","1332304334","1332304338","1332304464","1332304466","1332304469"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b9a74e31581262113bd517dd073db336.jpg","text":"TemporaryFile(/tmp/multipartBody651452377634769792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071033286,"filename":"image_28012025_08_07_06_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cb78a060e68f942d336793ea0750d159.jpg","text":"TemporaryFile(/tmp/multipartBody5375157990765125883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071033286,"filename":"image_28012025_08_06_56_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3e691ae3d7d5a43b85d4f7f2714aff7a.jpg","text":"TemporaryFile(/tmp/multipartBody2087952098478855784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071033286,"filename":"image_28012025_08_06_26_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0eb9303f8f7fda5486ff4ab218dbde2e.jpg","text":"TemporaryFile(/tmp/multipartBody1616904565083472591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071033286,"filename":"image_28012025_08_06_16_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3e0e42989a2c80f2d17644e84ad1b31a.jpg","text":"TemporaryFile(/tmp/multipartBody4782882769265404608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071033286,"filename":"image_28012025_08_06_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/1/28/42363474e00fba289ae3f096835afc6b.jpg","text":"TemporaryFile(/tmp/multipartBody5639136815755248198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071033286,"filename":"image_28012025_08_06_36_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332304338","file1":"1332304334","file0":"1332304328","file4":"1332304466","file5":"1332304469","file3":"1332304464"},"map_files_photo_id_array":[{"photo_id":"1332304469","filename":"file5"},{"photo_id":"1332304338","filename":"file2"},{"photo_id":"1332304466","filename":"file4"},{"photo_id":"1332304334","filename":"file1"},{"photo_id":"1332304328","filename":"file0"},{"photo_id":"1332304464","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332304469":["hashtag1","hashtag2"]},{"1332304466":["hashtag1","hashtag2"]},{"1332304334":["hashtag1","hashtag2"]},{"1332304328":["hashtag1","hashtag2"]},{"1332304464":["hashtag1","hashtag2"]},{"1332304338":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332304469, 1332304466, 1332304334, 1332304328, 1332304464, 1332304338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55702495574951 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:30:32.565439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/07/image_28012025_08_07_16_9372.jpg', '/home/pi/Desktop/images/28012025/08/07/image_28012025_08_07_26_10343.jpg', '/home/pi/Desktop/images/28012025/08/07/image_28012025_08_07_35_9424.jpg', '/home/pi/Desktop/images/28012025/08/07/image_28012025_08_07_46_10357.jpg', '/home/pi/Desktop/images/28012025/08/07/image_28012025_08_07_56_10410.jpg', '/home/pi/Desktop/images/28012025/08/07/image_28012025_08_08_06_9377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/07/image_28012025_08_07_16_9372.jpg
/home/pi/Desktop/images/28012025/08/07/image_28012025_08_07_26_10343.jpg
/home/pi/Desktop/images/28012025/08/07/image_28012025_08_07_35_9424.jpg
/home/pi/Desktop/images/28012025/08/07/image_28012025_08_07_46_10357.jpg
/home/pi/Desktop/images/28012025/08/07/image_28012025_08_07_56_10410.jpg
/home/pi/Desktop/images/28012025/08/07/image_28012025_08_08_06_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":["1332304499","1332304508","1332304489","1332304485","1332304494","1332304503"],"photo_ids_order":["1332304485","1332304489","1332304494","1332304499","1332304503","1332304508"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e43285ba9f2019c23634dd663bebdfba.jpg","text":"TemporaryFile(/tmp/multipartBody3042609381874832458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071093562,"filename":"image_28012025_08_07_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/1/28/1b29b42d130f606ad032fed8f997b104.jpg","text":"TemporaryFile(/tmp/multipartBody2167105427782631282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071093562,"filename":"image_28012025_08_08_06_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/969fd4a146c862e38bae3344e8444ee1.jpg","text":"TemporaryFile(/tmp/multipartBody8393537524035473224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071093562,"filename":"image_28012025_08_07_26_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/abe14e0678a0a773c2ba53c09027f695.jpg","text":"TemporaryFile(/tmp/multipartBody4214535750294134486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071093562,"filename":"image_28012025_08_07_16_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e02e749bc6f46dce4e018bccc5738b86.jpg","text":"TemporaryFile(/tmp/multipartBody7935502111042085783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071093562,"filename":"image_28012025_08_07_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/1/28/2f2af3dede427f155ac9c7932d641161.jpg","text":"TemporaryFile(/tmp/multipartBody3735339843010247409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071093562,"filename":"image_28012025_08_07_56_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332304494","file1":"1332304489","file0":"1332304485","file4":"1332304503","file5":"1332304508","file3":"1332304499"},"map_files_photo_id_array":[{"photo_id":"1332304508","filename":"file5"},{"photo_id":"1332304494","filename":"file2"},{"photo_id":"1332304503","filename":"file4"},{"photo_id":"1332304489","filename":"file1"},{"photo_id":"1332304485","filename":"file0"},{"photo_id":"1332304499","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332304499":["hashtag1","hashtag2"]},{"1332304508":["hashtag1","hashtag2"]},{"1332304489":["hashtag1","hashtag2"]},{"1332304485":["hashtag1","hashtag2"]},{"1332304494":["hashtag1","hashtag2"]},{"1332304503":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332304499, 1332304508, 1332304489, 1332304485, 1332304494, 1332304503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.416505336761475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:31:32.758255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/08/image_28012025_08_08_16_10355.jpg', '/home/pi/Desktop/images/28012025/08/08/image_28012025_08_08_25_9463.jpg', '/home/pi/Desktop/images/28012025/08/08/image_28012025_08_08_36_10356.jpg', '/home/pi/Desktop/images/28012025/08/08/image_28012025_08_08_46_10355.jpg', '/home/pi/Desktop/images/28012025/08/08/image_28012025_08_08_55_9423.jpg', '/home/pi/Desktop/images/28012025/08/09/image_28012025_08_09_16_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/08/image_28012025_08_08_16_10355.jpg
/home/pi/Desktop/images/28012025/08/08/image_28012025_08_08_25_9463.jpg
/home/pi/Desktop/images/28012025/08/08/image_28012025_08_08_36_10356.jpg
/home/pi/Desktop/images/28012025/08/08/image_28012025_08_08_46_10355.jpg
/home/pi/Desktop/images/28012025/08/08/image_28012025_08_08_55_9423.jpg
/home/pi/Desktop/images/28012025/08/09/image_28012025_08_09_16_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332304550","1332304553","1332304555","1332304531","1332304542","1332304536"],"photo_ids_order":["1332304531","1332304536","1332304542","1332304550","1332304553","1332304555"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/07d73e9daebefc05460733df2219050c.jpg","text":"TemporaryFile(/tmp/multipartBody9116041426740206792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071153750,"filename":"image_28012025_08_08_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/1/28/f70477a4c426c3bf927cf50256bb015a.jpg","text":"TemporaryFile(/tmp/multipartBody1259502455695858487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071153750,"filename":"image_28012025_08_08_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/1/28/aca73e99afbdda454a814096e22dea83.jpg","text":"TemporaryFile(/tmp/multipartBody8874482750679211778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071153750,"filename":"image_28012025_08_09_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/1/28/df37b080d082fa9327a2081962af29c1.jpg","text":"TemporaryFile(/tmp/multipartBody3660757600428776947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071153750,"filename":"image_28012025_08_08_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/1/28/6c47f608c3cf11a3ad8111e149f4eb7c.jpg","text":"TemporaryFile(/tmp/multipartBody1141361680644657515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071153750,"filename":"image_28012025_08_08_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/1/28/0d9ebf2f4d416dc8e4e385d0459b0e96.jpg","text":"TemporaryFile(/tmp/multipartBody4646371378741481148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071153750,"filename":"image_28012025_08_08_25_9463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332304542","file1":"1332304536","file0":"1332304531","file4":"1332304553","file5":"1332304555","file3":"1332304550"},"map_files_photo_id_array":[{"photo_id":"1332304555","filename":"file5"},{"photo_id":"1332304542","filename":"file2"},{"photo_id":"1332304553","filename":"file4"},{"photo_id":"1332304536","filename":"file1"},{"photo_id":"1332304531","filename":"file0"},{"photo_id":"1332304550","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332304550":["hashtag1","hashtag2"]},{"1332304553":["hashtag1","hashtag2"]},{"1332304555":["hashtag1","hashtag2"]},{"1332304531":["hashtag1","hashtag2"]},{"1332304542":["hashtag1","hashtag2"]},{"1332304536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332304550, 1332304553, 1332304555, 1332304531, 1332304542, 1332304536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.77498769760132 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:32:33.115856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/09/image_28012025_08_09_26_9388.jpg', '/home/pi/Desktop/images/28012025/08/09/image_28012025_08_09_36_10348.jpg', '/home/pi/Desktop/images/28012025/08/09/image_28012025_08_09_46_10390.jpg', '/home/pi/Desktop/images/28012025/08/09/image_28012025_08_09_56_9432.jpg', '/home/pi/Desktop/images/28012025/08/09/image_28012025_08_10_06_10434.jpg', '/home/pi/Desktop/images/28012025/08/10/image_28012025_08_10_16_9390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/09/image_28012025_08_09_26_9388.jpg
/home/pi/Desktop/images/28012025/08/09/image_28012025_08_09_36_10348.jpg
/home/pi/Desktop/images/28012025/08/09/image_28012025_08_09_46_10390.jpg
/home/pi/Desktop/images/28012025/08/09/image_28012025_08_09_56_9432.jpg
/home/pi/Desktop/images/28012025/08/09/image_28012025_08_10_06_10434.jpg
/home/pi/Desktop/images/28012025/08/10/image_28012025_08_10_16_9390.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6198318004608154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 14:32:43.080770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/09/image_28012025_08_09_26_9388.jpg', '/home/pi/Desktop/images/28012025/08/09/image_28012025_08_09_36_10348.jpg', '/home/pi/Desktop/images/28012025/08/09/image_28012025_08_09_46_10390.jpg', '/home/pi/Desktop/images/28012025/08/09/image_28012025_08_09_56_9432.jpg', '/home/pi/Desktop/images/28012025/08/09/image_28012025_08_10_06_10434.jpg', '/home/pi/Desktop/images/28012025/08/10/image_28012025_08_10_16_9390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/09/image_28012025_08_09_26_9388.jpg
/home/pi/Desktop/images/28012025/08/09/image_28012025_08_09_36_10348.jpg
/home/pi/Desktop/images/28012025/08/09/image_28012025_08_09_46_10390.jpg
/home/pi/Desktop/images/28012025/08/09/image_28012025_08_09_56_9432.jpg
/home/pi/Desktop/images/28012025/08/09/image_28012025_08_10_06_10434.jpg
/home/pi/Desktop/images/28012025/08/10/image_28012025_08_10_16_9390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332304605","1332304589","1332304597","1332304585","1332304600","1332304593"],"photo_ids_order":["1332304585","1332304589","1332304593","1332304597","1332304600","1332304605"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c68b334da577ef5173837e64c5918846.jpg","text":"TemporaryFile(/tmp/multipartBody2045026046231335920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071223990,"filename":"image_28012025_08_10_16_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a02c501495821b79107995437c36ae13.jpg","text":"TemporaryFile(/tmp/multipartBody5626735463322027335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071223990,"filename":"image_28012025_08_09_36_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ee911574fdb8881bbb867be8acb3f7b4.jpg","text":"TemporaryFile(/tmp/multipartBody4233272366258878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071223990,"filename":"image_28012025_08_09_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/1/28/a78d426d4d9babdcf9ec99d3373f5214.jpg","text":"TemporaryFile(/tmp/multipartBody8404848965287237127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071223990,"filename":"image_28012025_08_09_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/1/28/0d13f918b3899ff6b46fc7bcb43c4e42.jpg","text":"TemporaryFile(/tmp/multipartBody1198935548978837851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071223990,"filename":"image_28012025_08_10_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/1/28/af457a35efd07438d66c21caaa2cc7a2.jpg","text":"TemporaryFile(/tmp/multipartBody4297501062157786601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071223990,"filename":"image_28012025_08_09_46_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332304593","file1":"1332304589","file0":"1332304585","file4":"1332304600","file5":"1332304605","file3":"1332304597"},"map_files_photo_id_array":[{"photo_id":"1332304605","filename":"file5"},{"photo_id":"1332304593","filename":"file2"},{"photo_id":"1332304600","filename":"file4"},{"photo_id":"1332304589","filename":"file1"},{"photo_id":"1332304585","filename":"file0"},{"photo_id":"1332304597","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332304605":["hashtag1","hashtag2"]},{"1332304589":["hashtag1","hashtag2"]},{"1332304597":["hashtag1","hashtag2"]},{"1332304585":["hashtag1","hashtag2"]},{"1332304600":["hashtag1","hashtag2"]},{"1332304593":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332304605, 1332304589, 1332304597, 1332304585, 1332304600, 1332304593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.954241037368774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:33:32.314014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/10/image_28012025_08_10_26_10448.jpg', '/home/pi/Desktop/images/28012025/08/10/image_28012025_08_10_35_9438.jpg', '/home/pi/Desktop/images/28012025/08/10/image_28012025_08_10_46_10371.jpg', '/home/pi/Desktop/images/28012025/08/10/image_28012025_08_10_56_10360.jpg', '/home/pi/Desktop/images/28012025/08/11/image_28012025_08_11_16_10332.jpg', '/home/pi/Desktop/images/28012025/08/11/image_28012025_08_11_25_9420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/10/image_28012025_08_10_26_10448.jpg
/home/pi/Desktop/images/28012025/08/10/image_28012025_08_10_35_9438.jpg
/home/pi/Desktop/images/28012025/08/10/image_28012025_08_10_46_10371.jpg
/home/pi/Desktop/images/28012025/08/10/image_28012025_08_10_56_10360.jpg
/home/pi/Desktop/images/28012025/08/11/image_28012025_08_11_16_10332.jpg
/home/pi/Desktop/images/28012025/08/11/image_28012025_08_11_25_9420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332304637","1332304619","1332304628","1332304632","1332304635","1332304623"],"photo_ids_order":["1332304619","1332304623","1332304628","1332304632","1332304635","1332304637"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6ae348edca0d836598da71b72078f711.jpg","text":"TemporaryFile(/tmp/multipartBody8359139156143591336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071273314,"filename":"image_28012025_08_11_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/1/28/a3d0fa48b1836837fb7c034a314561c6.jpg","text":"TemporaryFile(/tmp/multipartBody4759230598589215696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071273314,"filename":"image_28012025_08_10_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/1/28/63fdc2a961846d207bf0d52bc7fe6de9.jpg","text":"TemporaryFile(/tmp/multipartBody5626701246998136418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071273314,"filename":"image_28012025_08_10_46_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/06032842489577d5265d728e1699e226.jpg","text":"TemporaryFile(/tmp/multipartBody5400736257274927783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071273314,"filename":"image_28012025_08_10_56_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ef227a28b7a081e9110cfb266244c70e.jpg","text":"TemporaryFile(/tmp/multipartBody3075630830494633649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071273314,"filename":"image_28012025_08_11_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/1/28/9664cec22a986a92e77c08d36b4f411e.jpg","text":"TemporaryFile(/tmp/multipartBody8950386252777339386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071273314,"filename":"image_28012025_08_10_35_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332304628","file1":"1332304623","file0":"1332304619","file4":"1332304635","file5":"1332304637","file3":"1332304632"},"map_files_photo_id_array":[{"photo_id":"1332304637","filename":"file5"},{"photo_id":"1332304628","filename":"file2"},{"photo_id":"1332304635","filename":"file4"},{"photo_id":"1332304623","filename":"file1"},{"photo_id":"1332304619","filename":"file0"},{"photo_id":"1332304632","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332304637":["hashtag1","hashtag2"]},{"1332304619":["hashtag1","hashtag2"]},{"1332304628":["hashtag1","hashtag2"]},{"1332304632":["hashtag1","hashtag2"]},{"1332304635":["hashtag1","hashtag2"]},{"1332304623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332304637, 1332304619, 1332304628, 1332304632, 1332304635, 1332304623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23127770423889 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:34:32.458892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/11/image_28012025_08_11_36_10340.jpg', '/home/pi/Desktop/images/28012025/08/11/image_28012025_08_11_46_10489.jpg', '/home/pi/Desktop/images/28012025/08/11/image_28012025_08_11_56_9429.jpg', '/home/pi/Desktop/images/28012025/08/11/image_28012025_08_12_06_10416.jpg', '/home/pi/Desktop/images/28012025/08/12/image_28012025_08_12_15_9353.jpg', '/home/pi/Desktop/images/28012025/08/12/image_28012025_08_12_26_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/11/image_28012025_08_11_36_10340.jpg
/home/pi/Desktop/images/28012025/08/11/image_28012025_08_11_46_10489.jpg
/home/pi/Desktop/images/28012025/08/11/image_28012025_08_11_56_9429.jpg
/home/pi/Desktop/images/28012025/08/11/image_28012025_08_12_06_10416.jpg
/home/pi/Desktop/images/28012025/08/12/image_28012025_08_12_15_9353.jpg
/home/pi/Desktop/images/28012025/08/12/image_28012025_08_12_26_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":["1332304696","1332304700","1332304681","1332304671","1332304665","1332304659"],"photo_ids_order":["1332304659","1332304665","1332304671","1332304681","1332304696","1332304700"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/20400f5ea11392b3b10249b2b5f75c25.jpg","text":"TemporaryFile(/tmp/multipartBody8093367116461004666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071333450,"filename":"image_28012025_08_12_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/1/28/51544b119316b9dd4e3111aaf75a1420.jpg","text":"TemporaryFile(/tmp/multipartBody7141014293394916010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071333450,"filename":"image_28012025_08_12_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/1/28/f48e2141ed2a002bc4094a05142041d0.jpg","text":"TemporaryFile(/tmp/multipartBody961306513603763602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071333450,"filename":"image_28012025_08_12_06_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/735a30046deef94eeb9958436c773fa7.jpg","text":"TemporaryFile(/tmp/multipartBody2012169145987136844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071333450,"filename":"image_28012025_08_11_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/1/28/ea5c0ae0b4ffb6358a3e6f8521b8fbd4.jpg","text":"TemporaryFile(/tmp/multipartBody3980539469765385789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071333450,"filename":"image_28012025_08_11_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/1/28/04f0c2971c51421a77289ed49a0ff69b.jpg","text":"TemporaryFile(/tmp/multipartBody3854754194162859862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071333450,"filename":"image_28012025_08_11_36_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332304671","file1":"1332304665","file0":"1332304659","file4":"1332304696","file5":"1332304700","file3":"1332304681"},"map_files_photo_id_array":[{"photo_id":"1332304700","filename":"file5"},{"photo_id":"1332304671","filename":"file2"},{"photo_id":"1332304696","filename":"file4"},{"photo_id":"1332304665","filename":"file1"},{"photo_id":"1332304659","filename":"file0"},{"photo_id":"1332304681","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332304696":["hashtag1","hashtag2"]},{"1332304700":["hashtag1","hashtag2"]},{"1332304681":["hashtag1","hashtag2"]},{"1332304671":["hashtag1","hashtag2"]},{"1332304665":["hashtag1","hashtag2"]},{"1332304659":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332304696, 1332304700, 1332304681, 1332304671, 1332304665, 1332304659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.320510149002075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:35:32.754975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/12/image_28012025_08_12_36_10352.jpg', '/home/pi/Desktop/images/28012025/08/12/image_28012025_08_12_45_9410.jpg', '/home/pi/Desktop/images/28012025/08/12/image_28012025_08_12_56_10383.jpg', '/home/pi/Desktop/images/28012025/08/12/image_28012025_08_13_05_9454.jpg', '/home/pi/Desktop/images/28012025/08/13/image_28012025_08_13_16_10431.jpg', '/home/pi/Desktop/images/28012025/08/13/image_28012025_08_13_26_10404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/12/image_28012025_08_12_36_10352.jpg
/home/pi/Desktop/images/28012025/08/12/image_28012025_08_12_45_9410.jpg
/home/pi/Desktop/images/28012025/08/12/image_28012025_08_12_56_10383.jpg
/home/pi/Desktop/images/28012025/08/12/image_28012025_08_13_05_9454.jpg
/home/pi/Desktop/images/28012025/08/13/image_28012025_08_13_16_10431.jpg
/home/pi/Desktop/images/28012025/08/13/image_28012025_08_13_26_10404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332304754","1332304786","1332304747","1332304927","1332304900","1332304737"],"photo_ids_order":["1332304737","1332304747","1332304754","1332304786","1332304900","1332304927"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9addebcf16704f11c30c5fff9c0c8ad9.jpg","text":"TemporaryFile(/tmp/multipartBody7155381089625409809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071393775,"filename":"image_28012025_08_12_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/1/28/6af467197f46d8cd1d7ad81843a1de71.jpg","text":"TemporaryFile(/tmp/multipartBody8610157994122586075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071393775,"filename":"image_28012025_08_13_05_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e2f6ef294430ca4349663a2501a1241a.jpg","text":"TemporaryFile(/tmp/multipartBody5174067930220299805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071393775,"filename":"image_28012025_08_12_45_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/22fc8b8adc73c969a44f8ce6d155b666.jpg","text":"TemporaryFile(/tmp/multipartBody7397718726920001263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071393775,"filename":"image_28012025_08_13_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/1/28/0c0e484e784d36442664ea66b0731ca9.jpg","text":"TemporaryFile(/tmp/multipartBody5953688102096860832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071393775,"filename":"image_28012025_08_13_16_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/947e2e147d24ee2b364556d34cf50ea0.jpg","text":"TemporaryFile(/tmp/multipartBody7964870575541729569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071393775,"filename":"image_28012025_08_12_36_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332304754","file1":"1332304747","file0":"1332304737","file4":"1332304900","file5":"1332304927","file3":"1332304786"},"map_files_photo_id_array":[{"photo_id":"1332304927","filename":"file5"},{"photo_id":"1332304754","filename":"file2"},{"photo_id":"1332304900","filename":"file4"},{"photo_id":"1332304747","filename":"file1"},{"photo_id":"1332304737","filename":"file0"},{"photo_id":"1332304786","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332304754":["hashtag1","hashtag2"]},{"1332304786":["hashtag1","hashtag2"]},{"1332304747":["hashtag1","hashtag2"]},{"1332304927":["hashtag1","hashtag2"]},{"1332304900":["hashtag1","hashtag2"]},{"1332304737":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332304754, 1332304786, 1332304747, 1332304927, 1332304900, 1332304737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.05013632774353 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:36:32.923102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/13/image_28012025_08_13_36_9351.jpg', '/home/pi/Desktop/images/28012025/08/13/image_28012025_08_13_46_10378.jpg', '/home/pi/Desktop/images/28012025/08/13/image_28012025_08_13_55_9423.jpg', '/home/pi/Desktop/images/28012025/08/13/image_28012025_08_14_06_10363.jpg', '/home/pi/Desktop/images/28012025/08/14/image_28012025_08_14_16_10351.jpg', '/home/pi/Desktop/images/28012025/08/14/image_28012025_08_14_26_9464.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/13/image_28012025_08_13_36_9351.jpg
/home/pi/Desktop/images/28012025/08/13/image_28012025_08_13_46_10378.jpg
/home/pi/Desktop/images/28012025/08/13/image_28012025_08_13_55_9423.jpg
/home/pi/Desktop/images/28012025/08/13/image_28012025_08_14_06_10363.jpg
/home/pi/Desktop/images/28012025/08/14/image_28012025_08_14_16_10351.jpg
/home/pi/Desktop/images/28012025/08/14/image_28012025_08_14_26_9464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332305074","1332305098","1332305094","1332305088","1332305067","1332305081"],"photo_ids_order":["1332305067","1332305074","1332305081","1332305088","1332305094","1332305098"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/82c12cf86c58fbb4142604d35fa5eacd.jpg","text":"TemporaryFile(/tmp/multipartBody1242716026945557773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071453928,"filename":"image_28012025_08_13_46_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a64f81b947b700f48af2e3c7b737425f.jpg","text":"TemporaryFile(/tmp/multipartBody1319221693518019787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071453928,"filename":"image_28012025_08_14_26_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d6901df53c0ec0f9a7e5cdbe777a48d6.jpg","text":"TemporaryFile(/tmp/multipartBody1580123791403604692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071453928,"filename":"image_28012025_08_14_16_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d6dc463587a676d94871f843f026cf40.jpg","text":"TemporaryFile(/tmp/multipartBody1597143213760573803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071453928,"filename":"image_28012025_08_14_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/1/28/59f621633dc04107bf12f9d1cc26da3c.jpg","text":"TemporaryFile(/tmp/multipartBody5489303109813583738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071453928,"filename":"image_28012025_08_13_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/1/28/45c40cee86b2ca9dfdc5012a39555361.jpg","text":"TemporaryFile(/tmp/multipartBody3406525868820430446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071453928,"filename":"image_28012025_08_13_55_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332305081","file1":"1332305074","file0":"1332305067","file4":"1332305094","file5":"1332305098","file3":"1332305088"},"map_files_photo_id_array":[{"photo_id":"1332305098","filename":"file5"},{"photo_id":"1332305081","filename":"file2"},{"photo_id":"1332305094","filename":"file4"},{"photo_id":"1332305074","filename":"file1"},{"photo_id":"1332305067","filename":"file0"},{"photo_id":"1332305088","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332305074":["hashtag1","hashtag2"]},{"1332305098":["hashtag1","hashtag2"]},{"1332305094":["hashtag1","hashtag2"]},{"1332305088":["hashtag1","hashtag2"]},{"1332305067":["hashtag1","hashtag2"]},{"1332305081":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332305074, 1332305098, 1332305094, 1332305088, 1332305067, 1332305081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.158401012420654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:37:32.378880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/14/image_28012025_08_14_36_10340.jpg', '/home/pi/Desktop/images/28012025/08/14/image_28012025_08_14_45_9462.jpg', '/home/pi/Desktop/images/28012025/08/14/image_28012025_08_15_06_10350.jpg', '/home/pi/Desktop/images/28012025/08/15/image_28012025_08_15_15_9335.jpg', '/home/pi/Desktop/images/28012025/08/15/image_28012025_08_15_26_10397.jpg', '/home/pi/Desktop/images/28012025/08/15/image_28012025_08_15_36_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/14/image_28012025_08_14_36_10340.jpg
/home/pi/Desktop/images/28012025/08/14/image_28012025_08_14_45_9462.jpg
/home/pi/Desktop/images/28012025/08/14/image_28012025_08_15_06_10350.jpg
/home/pi/Desktop/images/28012025/08/15/image_28012025_08_15_15_9335.jpg
/home/pi/Desktop/images/28012025/08/15/image_28012025_08_15_26_10397.jpg
/home/pi/Desktop/images/28012025/08/15/image_28012025_08_15_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":["1332306090","1332305994","1332306366","1332305826","1332306203","1332306722"],"photo_ids_order":["1332305826","1332305994","1332306090","1332306203","1332306366","1332306722"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7404ba3ebc86020ea6cd27c539f03a83.jpg","text":"TemporaryFile(/tmp/multipartBody5236779937704781309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071513350,"filename":"image_28012025_08_15_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/1/28/94e1d941513e6a412b1ad5045bee84ac.jpg","text":"TemporaryFile(/tmp/multipartBody2337959913893720732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071513350,"filename":"image_28012025_08_14_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/1/28/3d8a2b08a348eaf0c8d7e4b647e01c09.jpg","text":"TemporaryFile(/tmp/multipartBody6411171709483815540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071513350,"filename":"image_28012025_08_15_26_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1d7ac964ad7691ed7bbd6ff718754019.jpg","text":"TemporaryFile(/tmp/multipartBody4061128471087582653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071513350,"filename":"image_28012025_08_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/1/28/4201e72709b67401ccbbf8616b343298.jpg","text":"TemporaryFile(/tmp/multipartBody1032800909797866772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071513350,"filename":"image_28012025_08_15_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/1/28/c12863945d39dc3cf536d7cff01beb86.jpg","text":"TemporaryFile(/tmp/multipartBody2584930520958729925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071513350,"filename":"image_28012025_08_15_36_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332306090","file1":"1332305994","file0":"1332305826","file4":"1332306366","file5":"1332306722","file3":"1332306203"},"map_files_photo_id_array":[{"photo_id":"1332306722","filename":"file5"},{"photo_id":"1332306090","filename":"file2"},{"photo_id":"1332306366","filename":"file4"},{"photo_id":"1332305994","filename":"file1"},{"photo_id":"1332305826","filename":"file0"},{"photo_id":"1332306203","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332306090":["hashtag1","hashtag2"]},{"1332305994":["hashtag1","hashtag2"]},{"1332306366":["hashtag1","hashtag2"]},{"1332305826":["hashtag1","hashtag2"]},{"1332306203":["hashtag1","hashtag2"]},{"1332306722":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332306090, 1332305994, 1332306366, 1332305826, 1332306203, 1332306722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.14214253425598 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:38:32.615384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/15/image_28012025_08_15_46_9367.jpg', '/home/pi/Desktop/images/28012025/08/15/image_28012025_08_15_56_10350.jpg', '/home/pi/Desktop/images/28012025/08/15/image_28012025_08_16_05_9424.jpg', '/home/pi/Desktop/images/28012025/08/16/image_28012025_08_16_16_10334.jpg', '/home/pi/Desktop/images/28012025/08/16/image_28012025_08_16_26_10361.jpg', '/home/pi/Desktop/images/28012025/08/16/image_28012025_08_16_35_9391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/15/image_28012025_08_15_46_9367.jpg
/home/pi/Desktop/images/28012025/08/15/image_28012025_08_15_56_10350.jpg
/home/pi/Desktop/images/28012025/08/15/image_28012025_08_16_05_9424.jpg
/home/pi/Desktop/images/28012025/08/16/image_28012025_08_16_16_10334.jpg
/home/pi/Desktop/images/28012025/08/16/image_28012025_08_16_26_10361.jpg
/home/pi/Desktop/images/28012025/08/16/image_28012025_08_16_35_9391.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5895302295684814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 14:38:42.622290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/15/image_28012025_08_15_46_9367.jpg', '/home/pi/Desktop/images/28012025/08/15/image_28012025_08_15_56_10350.jpg', '/home/pi/Desktop/images/28012025/08/15/image_28012025_08_16_05_9424.jpg', '/home/pi/Desktop/images/28012025/08/16/image_28012025_08_16_16_10334.jpg', '/home/pi/Desktop/images/28012025/08/16/image_28012025_08_16_26_10361.jpg', '/home/pi/Desktop/images/28012025/08/16/image_28012025_08_16_35_9391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/15/image_28012025_08_15_46_9367.jpg
/home/pi/Desktop/images/28012025/08/15/image_28012025_08_15_56_10350.jpg
/home/pi/Desktop/images/28012025/08/15/image_28012025_08_16_05_9424.jpg
/home/pi/Desktop/images/28012025/08/16/image_28012025_08_16_16_10334.jpg
/home/pi/Desktop/images/28012025/08/16/image_28012025_08_16_26_10361.jpg
/home/pi/Desktop/images/28012025/08/16/image_28012025_08_16_35_9391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332307248","1332307265","1332307232","1332307220","1332307214","1332307243"],"photo_ids_order":["1332307214","1332307220","1332307232","1332307243","1332307248","1332307265"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c9a4af161de8459ac2b22863192af7fc.jpg","text":"TemporaryFile(/tmp/multipartBody1293142001913539306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071583538,"filename":"image_28012025_08_16_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/1/28/3ac13b24c23df18e932eb440c2057f7c.jpg","text":"TemporaryFile(/tmp/multipartBody4446822090878762990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071583538,"filename":"image_28012025_08_16_35_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ff4a6d19148224e5cd768de78e28afa7.jpg","text":"TemporaryFile(/tmp/multipartBody1338105755257263241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071583538,"filename":"image_28012025_08_16_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/1/28/19fd271ab39d33588d4ded64278a7a7a.jpg","text":"TemporaryFile(/tmp/multipartBody4492172010893729332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071583538,"filename":"image_28012025_08_15_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/1/28/ae81aa0dfd29dd0c86d8fe64a0c252ab.jpg","text":"TemporaryFile(/tmp/multipartBody5423859789812132645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071583538,"filename":"image_28012025_08_15_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/1/28/785616546db96a8d26a6b3ecdf68ffa6.jpg","text":"TemporaryFile(/tmp/multipartBody3032737210250127035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071583538,"filename":"image_28012025_08_16_16_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332307232","file1":"1332307220","file0":"1332307214","file4":"1332307248","file5":"1332307265","file3":"1332307243"},"map_files_photo_id_array":[{"photo_id":"1332307265","filename":"file5"},{"photo_id":"1332307232","filename":"file2"},{"photo_id":"1332307248","filename":"file4"},{"photo_id":"1332307220","filename":"file1"},{"photo_id":"1332307214","filename":"file0"},{"photo_id":"1332307243","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332307248":["hashtag1","hashtag2"]},{"1332307265":["hashtag1","hashtag2"]},{"1332307232":["hashtag1","hashtag2"]},{"1332307220":["hashtag1","hashtag2"]},{"1332307214":["hashtag1","hashtag2"]},{"1332307243":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332307248, 1332307265, 1332307232, 1332307220, 1332307214, 1332307243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32665967941284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:39:32.886929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/16/image_28012025_08_16_46_10395.jpg', '/home/pi/Desktop/images/28012025/08/16/image_28012025_08_16_56_10361.jpg', '/home/pi/Desktop/images/28012025/08/16/image_28012025_08_17_06_9416.jpg', '/home/pi/Desktop/images/28012025/08/17/image_28012025_08_17_16_10404.jpg', '/home/pi/Desktop/images/28012025/08/17/image_28012025_08_17_25_9380.jpg', '/home/pi/Desktop/images/28012025/08/17/image_28012025_08_17_36_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/16/image_28012025_08_16_46_10395.jpg
/home/pi/Desktop/images/28012025/08/16/image_28012025_08_16_56_10361.jpg
/home/pi/Desktop/images/28012025/08/16/image_28012025_08_17_06_9416.jpg
/home/pi/Desktop/images/28012025/08/17/image_28012025_08_17_16_10404.jpg
/home/pi/Desktop/images/28012025/08/17/image_28012025_08_17_25_9380.jpg
/home/pi/Desktop/images/28012025/08/17/image_28012025_08_17_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5995988845825195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 14:39:42.866166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/16/image_28012025_08_16_46_10395.jpg', '/home/pi/Desktop/images/28012025/08/16/image_28012025_08_16_56_10361.jpg', '/home/pi/Desktop/images/28012025/08/16/image_28012025_08_17_06_9416.jpg', '/home/pi/Desktop/images/28012025/08/17/image_28012025_08_17_16_10404.jpg', '/home/pi/Desktop/images/28012025/08/17/image_28012025_08_17_25_9380.jpg', '/home/pi/Desktop/images/28012025/08/17/image_28012025_08_17_36_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/16/image_28012025_08_16_46_10395.jpg
/home/pi/Desktop/images/28012025/08/16/image_28012025_08_16_56_10361.jpg
/home/pi/Desktop/images/28012025/08/16/image_28012025_08_17_06_9416.jpg
/home/pi/Desktop/images/28012025/08/17/image_28012025_08_17_16_10404.jpg
/home/pi/Desktop/images/28012025/08/17/image_28012025_08_17_25_9380.jpg
/home/pi/Desktop/images/28012025/08/17/image_28012025_08_17_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":["1332308178","1332308232","1332308279","1332308296","1332308228","1332308224"],"photo_ids_order":["1332308178","1332308224","1332308228","1332308232","1332308279","1332308296"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9df6ea9dc3f9c817fd61e4cbd374cd5e.jpg","text":"TemporaryFile(/tmp/multipartBody1842913326352158802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071643788,"filename":"image_28012025_08_16_46_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/516b7f5c3a24c319fe5e8caa74d27811.jpg","text":"TemporaryFile(/tmp/multipartBody7604847399011133948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071643788,"filename":"image_28012025_08_17_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/1/28/f164b4ee7db07e855c0bdd8f0d87f977.jpg","text":"TemporaryFile(/tmp/multipartBody7987828873826110708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071643788,"filename":"image_28012025_08_17_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/1/28/702162bae246b2faab6a7afeb012e4e7.jpg","text":"TemporaryFile(/tmp/multipartBody1294388173616860238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071643788,"filename":"image_28012025_08_17_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/1/28/52b00305787197f5a499fc1bee97827e.jpg","text":"TemporaryFile(/tmp/multipartBody1880070743344887758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071643788,"filename":"image_28012025_08_17_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/1/28/0d8f86dacbdb45395cc4cc051266ff35.jpg","text":"TemporaryFile(/tmp/multipartBody4746420701312353887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071643788,"filename":"image_28012025_08_16_56_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332308228","file1":"1332308224","file0":"1332308178","file4":"1332308279","file5":"1332308296","file3":"1332308232"},"map_files_photo_id_array":[{"photo_id":"1332308296","filename":"file5"},{"photo_id":"1332308228","filename":"file2"},{"photo_id":"1332308279","filename":"file4"},{"photo_id":"1332308224","filename":"file1"},{"photo_id":"1332308178","filename":"file0"},{"photo_id":"1332308232","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332308178":["hashtag1","hashtag2"]},{"1332308232":["hashtag1","hashtag2"]},{"1332308279":["hashtag1","hashtag2"]},{"1332308296":["hashtag1","hashtag2"]},{"1332308228":["hashtag1","hashtag2"]},{"1332308224":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332308178, 1332308232, 1332308279, 1332308296, 1332308228, 1332308224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.335129261016846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:40:33.006652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/17/image_28012025_08_17_46_10566.jpg', '/home/pi/Desktop/images/28012025/08/17/image_28012025_08_17_56_9353.jpg', '/home/pi/Desktop/images/28012025/08/17/image_28012025_08_18_06_10384.jpg', '/home/pi/Desktop/images/28012025/08/18/image_28012025_08_18_15_9452.jpg', '/home/pi/Desktop/images/28012025/08/18/image_28012025_08_18_26_10353.jpg', '/home/pi/Desktop/images/28012025/08/18/image_28012025_08_18_36_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/17/image_28012025_08_17_46_10566.jpg
/home/pi/Desktop/images/28012025/08/17/image_28012025_08_17_56_9353.jpg
/home/pi/Desktop/images/28012025/08/17/image_28012025_08_18_06_10384.jpg
/home/pi/Desktop/images/28012025/08/18/image_28012025_08_18_15_9452.jpg
/home/pi/Desktop/images/28012025/08/18/image_28012025_08_18_26_10353.jpg
/home/pi/Desktop/images/28012025/08/18/image_28012025_08_18_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":["1332308694","1332308696","1332308669","1332308555","1332308452","1332308691"],"photo_ids_order":["1332308452","1332308555","1332308669","1332308691","1332308694","1332308696"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8f78aa944d5d88074851c7eed12e89ef.jpg","text":"TemporaryFile(/tmp/multipartBody1490915081634237839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071693996,"filename":"image_28012025_08_18_26_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cf3c61b88bd469c66c8964beb4f313dd.jpg","text":"TemporaryFile(/tmp/multipartBody4234185626481940599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071693996,"filename":"image_28012025_08_18_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/1/28/1cdb70af45083582cd1436574e67199d.jpg","text":"TemporaryFile(/tmp/multipartBody8422073870853778798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071693996,"filename":"image_28012025_08_18_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/1/28/f205bb6dcb13690d96ab600dbf4ac5e8.jpg","text":"TemporaryFile(/tmp/multipartBody9069174507767144870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071693996,"filename":"image_28012025_08_17_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/1/28/ca946ac6fa0a7f46228ed9926d912bc9.jpg","text":"TemporaryFile(/tmp/multipartBody1929786763533919781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071693996,"filename":"image_28012025_08_17_46_10566.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d5424a2a9d7c24cc8e49401a86954e32.jpg","text":"TemporaryFile(/tmp/multipartBody5034021525754535108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071693996,"filename":"image_28012025_08_18_15_9452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332308669","file1":"1332308555","file0":"1332308452","file4":"1332308694","file5":"1332308696","file3":"1332308691"},"map_files_photo_id_array":[{"photo_id":"1332308696","filename":"file5"},{"photo_id":"1332308669","filename":"file2"},{"photo_id":"1332308694","filename":"file4"},{"photo_id":"1332308555","filename":"file1"},{"photo_id":"1332308452","filename":"file0"},{"photo_id":"1332308691","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332308694":["hashtag1","hashtag2"]},{"1332308696":["hashtag1","hashtag2"]},{"1332308669":["hashtag1","hashtag2"]},{"1332308555":["hashtag1","hashtag2"]},{"1332308452":["hashtag1","hashtag2"]},{"1332308691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332308694, 1332308696, 1332308669, 1332308555, 1332308452, 1332308691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.637176752090454 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:41:32.238131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/18/image_28012025_08_18_46_9364.jpg', '/home/pi/Desktop/images/28012025/08/18/image_28012025_08_18_56_10337.jpg', '/home/pi/Desktop/images/28012025/08/18/image_28012025_08_19_06_10399.jpg', '/home/pi/Desktop/images/28012025/08/19/image_28012025_08_19_16_9355.jpg', '/home/pi/Desktop/images/28012025/08/19/image_28012025_08_19_26_10356.jpg', '/home/pi/Desktop/images/28012025/08/19/image_28012025_08_19_35_9449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/18/image_28012025_08_18_46_9364.jpg
/home/pi/Desktop/images/28012025/08/18/image_28012025_08_18_56_10337.jpg
/home/pi/Desktop/images/28012025/08/18/image_28012025_08_19_06_10399.jpg
/home/pi/Desktop/images/28012025/08/19/image_28012025_08_19_16_9355.jpg
/home/pi/Desktop/images/28012025/08/19/image_28012025_08_19_26_10356.jpg
/home/pi/Desktop/images/28012025/08/19/image_28012025_08_19_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":["1332308787","1332308724","1332308719","1332308911","1332308713","1332309039"],"photo_ids_order":["1332308713","1332308719","1332308724","1332308787","1332308911","1332309039"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bbfe132cc3a618742d7faebd138e8203.jpg","text":"TemporaryFile(/tmp/multipartBody5089198714184509947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071753249,"filename":"image_28012025_08_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/1/28/525bd78fb2a8e73ad48c089541480005.jpg","text":"TemporaryFile(/tmp/multipartBody723772825627496929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071753249,"filename":"image_28012025_08_19_06_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e4988bf1dd40afadfce06c0302dfe05c.jpg","text":"TemporaryFile(/tmp/multipartBody2491803796560546765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071753249,"filename":"image_28012025_08_18_56_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/67acbd2cba3cd6674528268a8c2e3126.jpg","text":"TemporaryFile(/tmp/multipartBody1585737026314767738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071753249,"filename":"image_28012025_08_19_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/1/28/d98c203ec46ebc5872a92cf3787121ed.jpg","text":"TemporaryFile(/tmp/multipartBody7179744022963999199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071753249,"filename":"image_28012025_08_18_46_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/994cd249b1f30ef4d39ea92990ef208c.jpg","text":"TemporaryFile(/tmp/multipartBody3626335112177177568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071753249,"filename":"image_28012025_08_19_35_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332308724","file1":"1332308719","file0":"1332308713","file4":"1332308911","file5":"1332309039","file3":"1332308787"},"map_files_photo_id_array":[{"photo_id":"1332309039","filename":"file5"},{"photo_id":"1332308724","filename":"file2"},{"photo_id":"1332308911","filename":"file4"},{"photo_id":"1332308719","filename":"file1"},{"photo_id":"1332308713","filename":"file0"},{"photo_id":"1332308787","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332308787":["hashtag1","hashtag2"]},{"1332308724":["hashtag1","hashtag2"]},{"1332308719":["hashtag1","hashtag2"]},{"1332308911":["hashtag1","hashtag2"]},{"1332308713":["hashtag1","hashtag2"]},{"1332309039":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332308787, 1332308724, 1332308719, 1332308911, 1332308713, 1332309039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.011149644851685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:42:34.900556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/19/image_28012025_08_19_46_10361.jpg', '/home/pi/Desktop/images/28012025/08/19/image_28012025_08_20_06_9421.jpg', '/home/pi/Desktop/images/28012025/08/20/image_28012025_08_20_16_10361.jpg', '/home/pi/Desktop/images/28012025/08/20/image_28012025_08_20_25_9370.jpg', '/home/pi/Desktop/images/28012025/08/20/image_28012025_08_20_36_10363.jpg', '/home/pi/Desktop/images/28012025/08/20/image_28012025_08_20_46_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/19/image_28012025_08_19_46_10361.jpg
/home/pi/Desktop/images/28012025/08/19/image_28012025_08_20_06_9421.jpg
/home/pi/Desktop/images/28012025/08/20/image_28012025_08_20_16_10361.jpg
/home/pi/Desktop/images/28012025/08/20/image_28012025_08_20_25_9370.jpg
/home/pi/Desktop/images/28012025/08/20/image_28012025_08_20_36_10363.jpg
/home/pi/Desktop/images/28012025/08/20/image_28012025_08_20_46_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332309074","1332309236","1332309079","1332309088","1332309249","1332309084"],"photo_ids_order":["1332309074","1332309079","1332309084","1332309088","1332309236","1332309249"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/806548c6c42b9997b7e765f52f050957.jpg","text":"TemporaryFile(/tmp/multipartBody8394704714713463893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071819094,"filename":"image_28012025_08_19_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/1/28/081e22933368ee342086c7acc274080f.jpg","text":"TemporaryFile(/tmp/multipartBody1197050005547749377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071819094,"filename":"image_28012025_08_20_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/1/28/e08b6eb19dc09d9afd4e99abe32a1e56.jpg","text":"TemporaryFile(/tmp/multipartBody3112530345478213029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071819094,"filename":"image_28012025_08_20_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/1/28/4dd48d421ac1e54773228ae9b7132a9a.jpg","text":"TemporaryFile(/tmp/multipartBody4229406500546474884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071819094,"filename":"image_28012025_08_20_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/1/28/42757e623e9ecb3d098fcd9809c73d4b.jpg","text":"TemporaryFile(/tmp/multipartBody5685048115567669089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071819094,"filename":"image_28012025_08_20_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/1/28/06fdbcd6b6c5ba5689bbc3081edf9456.jpg","text":"TemporaryFile(/tmp/multipartBody7997357022097236986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071819094,"filename":"image_28012025_08_20_16_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332309084","file1":"1332309079","file0":"1332309074","file4":"1332309236","file5":"1332309249","file3":"1332309088"},"map_files_photo_id_array":[{"photo_id":"1332309249","filename":"file5"},{"photo_id":"1332309084","filename":"file2"},{"photo_id":"1332309236","filename":"file4"},{"photo_id":"1332309079","filename":"file1"},{"photo_id":"1332309074","filename":"file0"},{"photo_id":"1332309088","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332309074":["hashtag1","hashtag2"]},{"1332309236":["hashtag1","hashtag2"]},{"1332309079":["hashtag1","hashtag2"]},{"1332309088":["hashtag1","hashtag2"]},{"1332309249":["hashtag1","hashtag2"]},{"1332309084":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332309074, 1332309236, 1332309079, 1332309088, 1332309249, 1332309084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.895251989364624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:43:33.597945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/20/image_28012025_08_20_55_9426.jpg', '/home/pi/Desktop/images/28012025/08/21/image_28012025_08_21_16_10384.jpg', '/home/pi/Desktop/images/28012025/08/21/image_28012025_08_21_36_10382.jpg', '/home/pi/Desktop/images/28012025/08/21/image_28012025_08_22_06_10348.jpg', '/home/pi/Desktop/images/28012025/08/22/image_28012025_08_22_15_9346.jpg', '/home/pi/Desktop/images/28012025/08/22/image_28012025_08_22_26_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/20/image_28012025_08_20_55_9426.jpg
/home/pi/Desktop/images/28012025/08/21/image_28012025_08_21_16_10384.jpg
/home/pi/Desktop/images/28012025/08/21/image_28012025_08_21_36_10382.jpg
/home/pi/Desktop/images/28012025/08/21/image_28012025_08_22_06_10348.jpg
/home/pi/Desktop/images/28012025/08/22/image_28012025_08_22_15_9346.jpg
/home/pi/Desktop/images/28012025/08/22/image_28012025_08_22_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":["1332309303","1332309307","1332309291","1332309285","1332309310","1332309297"],"photo_ids_order":["1332309285","1332309291","1332309297","1332309303","1332309307","1332309310"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/399f62294a150f2af400efa2e32d61d6.jpg","text":"TemporaryFile(/tmp/multipartBody7784880744701209566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071874608,"filename":"image_28012025_08_22_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/1/28/581d998348138a8b28fa2cdc8e595f23.jpg","text":"TemporaryFile(/tmp/multipartBody2033211314178180077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071874608,"filename":"image_28012025_08_22_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/1/28/aa202fd3b75f4f40a18ec7dc69156802.jpg","text":"TemporaryFile(/tmp/multipartBody2006705963132701208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071874608,"filename":"image_28012025_08_21_16_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ad458aed8eb9e78ea45c7de8b2d14f71.jpg","text":"TemporaryFile(/tmp/multipartBody1306036528103387510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071874608,"filename":"image_28012025_08_20_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/1/28/bdb4a592fac7714010bab27ace108747.jpg","text":"TemporaryFile(/tmp/multipartBody6714254356976353262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071874608,"filename":"image_28012025_08_22_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/525e35b4fb39e191888b15cf8eb9b7fd.jpg","text":"TemporaryFile(/tmp/multipartBody4759681621530452807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071874608,"filename":"image_28012025_08_21_36_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332309297","file1":"1332309291","file0":"1332309285","file4":"1332309307","file5":"1332309310","file3":"1332309303"},"map_files_photo_id_array":[{"photo_id":"1332309310","filename":"file5"},{"photo_id":"1332309297","filename":"file2"},{"photo_id":"1332309307","filename":"file4"},{"photo_id":"1332309291","filename":"file1"},{"photo_id":"1332309285","filename":"file0"},{"photo_id":"1332309303","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332309303":["hashtag1","hashtag2"]},{"1332309307":["hashtag1","hashtag2"]},{"1332309291":["hashtag1","hashtag2"]},{"1332309285":["hashtag1","hashtag2"]},{"1332309310":["hashtag1","hashtag2"]},{"1332309297":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332309303, 1332309307, 1332309291, 1332309285, 1332309310, 1332309297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24438166618347 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:44:32.667422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/22/image_28012025_08_22_35_9456.jpg', '/home/pi/Desktop/images/28012025/08/22/image_28012025_08_22_46_10403.jpg', '/home/pi/Desktop/images/28012025/08/22/image_28012025_08_22_56_10340.jpg', '/home/pi/Desktop/images/28012025/08/22/image_28012025_08_23_05_9397.jpg', '/home/pi/Desktop/images/28012025/08/23/image_28012025_08_23_16_10332.jpg', '/home/pi/Desktop/images/28012025/08/23/image_28012025_08_23_26_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/22/image_28012025_08_22_35_9456.jpg
/home/pi/Desktop/images/28012025/08/22/image_28012025_08_22_46_10403.jpg
/home/pi/Desktop/images/28012025/08/22/image_28012025_08_22_56_10340.jpg
/home/pi/Desktop/images/28012025/08/22/image_28012025_08_23_05_9397.jpg
/home/pi/Desktop/images/28012025/08/23/image_28012025_08_23_16_10332.jpg
/home/pi/Desktop/images/28012025/08/23/image_28012025_08_23_26_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332309339","1332309326","1332309343","1332309346","1332309331","1332309334"],"photo_ids_order":["1332309326","1332309331","1332309334","1332309339","1332309343","1332309346"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f0a1a20b0021a21ee83c30f4ee0ab9d0.jpg","text":"TemporaryFile(/tmp/multipartBody3344051681472827255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071933669,"filename":"image_28012025_08_23_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/1/28/651cc150e47eb5c2bd4f1fd9056bf70d.jpg","text":"TemporaryFile(/tmp/multipartBody5688196308826744770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071933669,"filename":"image_28012025_08_22_35_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8b34973d6116f6c47f20fa06fea745ab.jpg","text":"TemporaryFile(/tmp/multipartBody5495189776190285949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071933669,"filename":"image_28012025_08_23_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/1/28/01736d1fd7c1111a93157c55b4e5c2ee.jpg","text":"TemporaryFile(/tmp/multipartBody144201830285302456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071933669,"filename":"image_28012025_08_23_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/1/28/ff416216be64b90ce6c0f0033fd95acf.jpg","text":"TemporaryFile(/tmp/multipartBody8389287030526258378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071933669,"filename":"image_28012025_08_22_46_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1512a72186ff122d97286124f2fc5923.jpg","text":"TemporaryFile(/tmp/multipartBody8117090176516916264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071933669,"filename":"image_28012025_08_22_56_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332309334","file1":"1332309331","file0":"1332309326","file4":"1332309343","file5":"1332309346","file3":"1332309339"},"map_files_photo_id_array":[{"photo_id":"1332309346","filename":"file5"},{"photo_id":"1332309334","filename":"file2"},{"photo_id":"1332309343","filename":"file4"},{"photo_id":"1332309331","filename":"file1"},{"photo_id":"1332309326","filename":"file0"},{"photo_id":"1332309339","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332309339":["hashtag1","hashtag2"]},{"1332309326":["hashtag1","hashtag2"]},{"1332309343":["hashtag1","hashtag2"]},{"1332309346":["hashtag1","hashtag2"]},{"1332309331":["hashtag1","hashtag2"]},{"1332309334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332309339, 1332309326, 1332309343, 1332309346, 1332309331, 1332309334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.631072759628296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:45:32.947243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/23/image_28012025_08_23_36_9393.jpg', '/home/pi/Desktop/images/28012025/08/23/image_28012025_08_23_46_10361.jpg', '/home/pi/Desktop/images/28012025/08/23/image_28012025_08_23_55_9565.jpg', '/home/pi/Desktop/images/28012025/08/23/image_28012025_08_24_06_10422.jpg', '/home/pi/Desktop/images/28012025/08/24/image_28012025_08_24_16_10178.jpg', '/home/pi/Desktop/images/28012025/08/24/image_28012025_08_24_25_9427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/23/image_28012025_08_23_36_9393.jpg
/home/pi/Desktop/images/28012025/08/23/image_28012025_08_23_46_10361.jpg
/home/pi/Desktop/images/28012025/08/23/image_28012025_08_23_55_9565.jpg
/home/pi/Desktop/images/28012025/08/23/image_28012025_08_24_06_10422.jpg
/home/pi/Desktop/images/28012025/08/24/image_28012025_08_24_16_10178.jpg
/home/pi/Desktop/images/28012025/08/24/image_28012025_08_24_25_9427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332309630","1332309507","1332309414","1332309682","1332309523","1332309474"],"photo_ids_order":["1332309414","1332309474","1332309507","1332309523","1332309630","1332309682"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/73f0636a8cefa696248d06cfe1260fd3.jpg","text":"TemporaryFile(/tmp/multipartBody6328876470986224814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071993935,"filename":"image_28012025_08_24_16_10178.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/14dd73a8536409930d8e48ba6c77b2b1.jpg","text":"TemporaryFile(/tmp/multipartBody8515152896480651364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071993935,"filename":"image_28012025_08_23_55_9565.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a2d6f3c4a534bd85e08c6d764d6b21ee.jpg","text":"TemporaryFile(/tmp/multipartBody6403388409954337552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071993935,"filename":"image_28012025_08_23_36_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3f44ff1f8e25d972e1c202b6a06f4ff6.jpg","text":"TemporaryFile(/tmp/multipartBody5431817717617152730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071993935,"filename":"image_28012025_08_24_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/1/28/c39ea2697b655d6da8929e4fb66d3566.jpg","text":"TemporaryFile(/tmp/multipartBody910614512547003836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071993935,"filename":"image_28012025_08_24_06_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0ae65346a95a5dde5bb24bf3814ddef5.jpg","text":"TemporaryFile(/tmp/multipartBody4660969902661940985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738071993935,"filename":"image_28012025_08_23_46_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332309507","file1":"1332309474","file0":"1332309414","file4":"1332309630","file5":"1332309682","file3":"1332309523"},"map_files_photo_id_array":[{"photo_id":"1332309682","filename":"file5"},{"photo_id":"1332309507","filename":"file2"},{"photo_id":"1332309630","filename":"file4"},{"photo_id":"1332309474","filename":"file1"},{"photo_id":"1332309414","filename":"file0"},{"photo_id":"1332309523","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332309630":["hashtag1","hashtag2"]},{"1332309507":["hashtag1","hashtag2"]},{"1332309414":["hashtag1","hashtag2"]},{"1332309682":["hashtag1","hashtag2"]},{"1332309523":["hashtag1","hashtag2"]},{"1332309474":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332309630, 1332309507, 1332309414, 1332309682, 1332309523, 1332309474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.94424557685852 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:46:32.202922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/24/image_28012025_08_24_36_10423.jpg', '/home/pi/Desktop/images/28012025/08/24/image_28012025_08_24_45_9459.jpg', '/home/pi/Desktop/images/28012025/08/24/image_28012025_08_24_56_10351.jpg', '/home/pi/Desktop/images/28012025/08/24/image_28012025_08_25_06_10342.jpg', '/home/pi/Desktop/images/28012025/08/25/image_28012025_08_25_15_9419.jpg', '/home/pi/Desktop/images/28012025/08/25/image_28012025_08_25_26_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/24/image_28012025_08_24_36_10423.jpg
/home/pi/Desktop/images/28012025/08/24/image_28012025_08_24_45_9459.jpg
/home/pi/Desktop/images/28012025/08/24/image_28012025_08_24_56_10351.jpg
/home/pi/Desktop/images/28012025/08/24/image_28012025_08_25_06_10342.jpg
/home/pi/Desktop/images/28012025/08/25/image_28012025_08_25_15_9419.jpg
/home/pi/Desktop/images/28012025/08/25/image_28012025_08_25_26_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332310402","1332310737","1332310137","1332310694","1332310733","1332309888"],"photo_ids_order":["1332309888","1332310137","1332310402","1332310694","1332310733","1332310737"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d908504be35504d4925947f67a9438e8.jpg","text":"TemporaryFile(/tmp/multipartBody4220944449415242520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072053214,"filename":"image_28012025_08_24_56_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e075707ab338858c567c0b0ce77ce6bc.jpg","text":"TemporaryFile(/tmp/multipartBody1938581806752397505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072053214,"filename":"image_28012025_08_25_26_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/191772215d0750108f2774e9fbc669e8.jpg","text":"TemporaryFile(/tmp/multipartBody172222916319873245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072053214,"filename":"image_28012025_08_24_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/1/28/504b4c7f951b690bb450d8f154584a8d.jpg","text":"TemporaryFile(/tmp/multipartBody6347230890408596901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072053214,"filename":"image_28012025_08_25_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/1/28/6711df85d95abea745d6d5550a937087.jpg","text":"TemporaryFile(/tmp/multipartBody2542039722896975244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072053214,"filename":"image_28012025_08_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/1/28/529534c46b536375606c5132d0b377a9.jpg","text":"TemporaryFile(/tmp/multipartBody3749380823145973491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072053214,"filename":"image_28012025_08_24_36_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332310402","file1":"1332310137","file0":"1332309888","file4":"1332310733","file5":"1332310737","file3":"1332310694"},"map_files_photo_id_array":[{"photo_id":"1332310737","filename":"file5"},{"photo_id":"1332310402","filename":"file2"},{"photo_id":"1332310733","filename":"file4"},{"photo_id":"1332310137","filename":"file1"},{"photo_id":"1332309888","filename":"file0"},{"photo_id":"1332310694","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332310402":["hashtag1","hashtag2"]},{"1332310737":["hashtag1","hashtag2"]},{"1332310137":["hashtag1","hashtag2"]},{"1332310694":["hashtag1","hashtag2"]},{"1332310733":["hashtag1","hashtag2"]},{"1332309888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332310402, 1332310737, 1332310137, 1332310694, 1332310733, 1332309888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.67936587333679 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:47:32.492198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/25/image_28012025_08_25_35_9485.jpg', '/home/pi/Desktop/images/28012025/08/25/image_28012025_08_25_46_10363.jpg', '/home/pi/Desktop/images/28012025/08/25/image_28012025_08_25_56_10362.jpg', '/home/pi/Desktop/images/28012025/08/25/image_28012025_08_26_05_9436.jpg', '/home/pi/Desktop/images/28012025/08/26/image_28012025_08_26_16_10364.jpg', '/home/pi/Desktop/images/28012025/08/26/image_28012025_08_26_25_9477.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/25/image_28012025_08_25_35_9485.jpg
/home/pi/Desktop/images/28012025/08/25/image_28012025_08_25_46_10363.jpg
/home/pi/Desktop/images/28012025/08/25/image_28012025_08_25_56_10362.jpg
/home/pi/Desktop/images/28012025/08/25/image_28012025_08_26_05_9436.jpg
/home/pi/Desktop/images/28012025/08/26/image_28012025_08_26_16_10364.jpg
/home/pi/Desktop/images/28012025/08/26/image_28012025_08_26_25_9477.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332310770","1332310784","1332310787","1332310757","1332310774","1332310753"],"photo_ids_order":["1332310753","1332310757","1332310770","1332310774","1332310784","1332310787"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/55d1fe921d3b504171d0791a42569148.jpg","text":"TemporaryFile(/tmp/multipartBody4531394966573212450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072113508,"filename":"image_28012025_08_25_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/1/28/f81d60141055159ff04d094601c3f992.jpg","text":"TemporaryFile(/tmp/multipartBody7240183377017743852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072113508,"filename":"image_28012025_08_26_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/1/28/b4bccc8d8e9aa782fc95b23ed9a13a98.jpg","text":"TemporaryFile(/tmp/multipartBody4539272873257638309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072113508,"filename":"image_28012025_08_26_25_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5e3666d6fce72e68697f51ae29305d16.jpg","text":"TemporaryFile(/tmp/multipartBody6069082753085496415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072113508,"filename":"image_28012025_08_25_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/1/28/431b9fa362828835ceecd1dc8a90ba8c.jpg","text":"TemporaryFile(/tmp/multipartBody6291223335409439783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072113508,"filename":"image_28012025_08_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/1/28/92341429d8e770e7e7bc4823ca257b2a.jpg","text":"TemporaryFile(/tmp/multipartBody1527857211610674465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072113508,"filename":"image_28012025_08_25_35_9485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332310770","file1":"1332310757","file0":"1332310753","file4":"1332310784","file5":"1332310787","file3":"1332310774"},"map_files_photo_id_array":[{"photo_id":"1332310787","filename":"file5"},{"photo_id":"1332310770","filename":"file2"},{"photo_id":"1332310784","filename":"file4"},{"photo_id":"1332310757","filename":"file1"},{"photo_id":"1332310753","filename":"file0"},{"photo_id":"1332310774","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332310770":["hashtag1","hashtag2"]},{"1332310784":["hashtag1","hashtag2"]},{"1332310787":["hashtag1","hashtag2"]},{"1332310757":["hashtag1","hashtag2"]},{"1332310774":["hashtag1","hashtag2"]},{"1332310753":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332310770, 1332310784, 1332310787, 1332310757, 1332310774, 1332310753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.03168773651123 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:48:32.617862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/26/image_28012025_08_26_36_10374.jpg', '/home/pi/Desktop/images/28012025/08/26/image_28012025_08_26_46_10361.jpg', '/home/pi/Desktop/images/28012025/08/26/image_28012025_08_26_55_9329.jpg', '/home/pi/Desktop/images/28012025/08/26/image_28012025_08_27_06_10337.jpg', '/home/pi/Desktop/images/28012025/08/27/image_28012025_08_27_16_10449.jpg', '/home/pi/Desktop/images/28012025/08/27/image_28012025_08_27_26_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/26/image_28012025_08_26_36_10374.jpg
/home/pi/Desktop/images/28012025/08/26/image_28012025_08_26_46_10361.jpg
/home/pi/Desktop/images/28012025/08/26/image_28012025_08_26_55_9329.jpg
/home/pi/Desktop/images/28012025/08/26/image_28012025_08_27_06_10337.jpg
/home/pi/Desktop/images/28012025/08/27/image_28012025_08_27_16_10449.jpg
/home/pi/Desktop/images/28012025/08/27/image_28012025_08_27_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":["1332311375","1332311251","1332311305","1332311382","1332311379","1332311274"],"photo_ids_order":["1332311251","1332311274","1332311305","1332311375","1332311379","1332311382"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0ba526f2b8786cfae0dece0e118d1f7b.jpg","text":"TemporaryFile(/tmp/multipartBody7448559319448813580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072173601,"filename":"image_28012025_08_27_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/1/28/e62113f9db5f833e6a62a0a94371b3b3.jpg","text":"TemporaryFile(/tmp/multipartBody6154758588292649489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072173601,"filename":"image_28012025_08_26_36_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ffc09e61cc904e192f29057b89e445e6.jpg","text":"TemporaryFile(/tmp/multipartBody6090850276334571083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072173601,"filename":"image_28012025_08_26_55_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b2cd52b7e774db890f599de870914fca.jpg","text":"TemporaryFile(/tmp/multipartBody3093045017229012989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072173601,"filename":"image_28012025_08_27_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/1/28/37d24ef9c792001462a23bfe61ae0a8b.jpg","text":"TemporaryFile(/tmp/multipartBody4231935686108148383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072173601,"filename":"image_28012025_08_27_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/1/28/693740062769714516379f5b0d9b8867.jpg","text":"TemporaryFile(/tmp/multipartBody4100133982504072729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072173601,"filename":"image_28012025_08_26_46_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332311305","file1":"1332311274","file0":"1332311251","file4":"1332311379","file5":"1332311382","file3":"1332311375"},"map_files_photo_id_array":[{"photo_id":"1332311382","filename":"file5"},{"photo_id":"1332311305","filename":"file2"},{"photo_id":"1332311379","filename":"file4"},{"photo_id":"1332311274","filename":"file1"},{"photo_id":"1332311251","filename":"file0"},{"photo_id":"1332311375","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332311375":["hashtag1","hashtag2"]},{"1332311251":["hashtag1","hashtag2"]},{"1332311305":["hashtag1","hashtag2"]},{"1332311382":["hashtag1","hashtag2"]},{"1332311379":["hashtag1","hashtag2"]},{"1332311274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332311375, 1332311251, 1332311305, 1332311382, 1332311379, 1332311274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.946465730667114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:49:32.781240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/27/image_28012025_08_27_36_10359.jpg', '/home/pi/Desktop/images/28012025/08/27/image_28012025_08_27_46_10401.jpg', '/home/pi/Desktop/images/28012025/08/28/image_28012025_08_28_15_9364.jpg', '/home/pi/Desktop/images/28012025/08/28/image_28012025_08_28_26_10395.jpg', '/home/pi/Desktop/images/28012025/08/28/image_28012025_08_28_36_10518.jpg', '/home/pi/Desktop/images/28012025/08/28/image_28012025_08_28_46_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/27/image_28012025_08_27_36_10359.jpg
/home/pi/Desktop/images/28012025/08/27/image_28012025_08_27_46_10401.jpg
/home/pi/Desktop/images/28012025/08/28/image_28012025_08_28_15_9364.jpg
/home/pi/Desktop/images/28012025/08/28/image_28012025_08_28_26_10395.jpg
/home/pi/Desktop/images/28012025/08/28/image_28012025_08_28_36_10518.jpg
/home/pi/Desktop/images/28012025/08/28/image_28012025_08_28_46_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332311415","1332311399","1332311393","1332311411","1332311414","1332311407"],"photo_ids_order":["1332311393","1332311399","1332311407","1332311411","1332311414","1332311415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4dbbfe12edbddeb2b7c09de22c265b7b.jpg","text":"TemporaryFile(/tmp/multipartBody4984049966655864331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072233784,"filename":"image_28012025_08_28_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/1/28/faa9184991f864d8a9331dc75f3f2815.jpg","text":"TemporaryFile(/tmp/multipartBody5084300234551713921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072233784,"filename":"image_28012025_08_27_46_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/77cd1358075b5809f743d7c7125190e4.jpg","text":"TemporaryFile(/tmp/multipartBody4309115711511228700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072233784,"filename":"image_28012025_08_27_36_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f7a29ef13bb91690a46752d26f7b1700.jpg","text":"TemporaryFile(/tmp/multipartBody2582968474309768057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072233784,"filename":"image_28012025_08_28_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/1/28/3d30506f4193789b32e5fb1d619039d5.jpg","text":"TemporaryFile(/tmp/multipartBody170865535547992668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072233784,"filename":"image_28012025_08_28_36_10518.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/350e702b7e7157e6bcc693d313ccee2c.jpg","text":"TemporaryFile(/tmp/multipartBody8312934051224199161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072233784,"filename":"image_28012025_08_28_15_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332311407","file1":"1332311399","file0":"1332311393","file4":"1332311414","file5":"1332311415","file3":"1332311411"},"map_files_photo_id_array":[{"photo_id":"1332311415","filename":"file5"},{"photo_id":"1332311407","filename":"file2"},{"photo_id":"1332311414","filename":"file4"},{"photo_id":"1332311399","filename":"file1"},{"photo_id":"1332311393","filename":"file0"},{"photo_id":"1332311411","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332311415":["hashtag1","hashtag2"]},{"1332311399":["hashtag1","hashtag2"]},{"1332311393":["hashtag1","hashtag2"]},{"1332311411":["hashtag1","hashtag2"]},{"1332311414":["hashtag1","hashtag2"]},{"1332311407":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332311415, 1332311399, 1332311393, 1332311411, 1332311414, 1332311407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.959330320358276 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:50:33.006122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/29/image_28012025_08_29_26_10403.jpg', '/home/pi/Desktop/images/28012025/08/29/image_28012025_08_29_36_9361.jpg', '/home/pi/Desktop/images/28012025/08/29/image_28012025_08_29_46_10356.jpg', '/home/pi/Desktop/images/28012025/08/29/image_28012025_08_29_55_9453.jpg', '/home/pi/Desktop/images/28012025/08/29/image_28012025_08_30_06_10352.jpg', '/home/pi/Desktop/images/28012025/08/30/image_28012025_08_30_16_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/29/image_28012025_08_29_26_10403.jpg
/home/pi/Desktop/images/28012025/08/29/image_28012025_08_29_36_9361.jpg
/home/pi/Desktop/images/28012025/08/29/image_28012025_08_29_46_10356.jpg
/home/pi/Desktop/images/28012025/08/29/image_28012025_08_29_55_9453.jpg
/home/pi/Desktop/images/28012025/08/29/image_28012025_08_30_06_10352.jpg
/home/pi/Desktop/images/28012025/08/30/image_28012025_08_30_16_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":["1332311468","1332311470","1332311449","1332311443","1332311463","1332311457"],"photo_ids_order":["1332311443","1332311449","1332311457","1332311463","1332311468","1332311470"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a28d675c53e152c3e38e5bebd50590be.jpg","text":"TemporaryFile(/tmp/multipartBody4333576449742252051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072294010,"filename":"image_28012025_08_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/1/28/c8c246f28473269c905ecc093e00b1f9.jpg","text":"TemporaryFile(/tmp/multipartBody6809027437975163093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072294010,"filename":"image_28012025_08_30_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/1/28/882502f44bef6057ef5f9b0918211f8a.jpg","text":"TemporaryFile(/tmp/multipartBody7642106996755930307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072294010,"filename":"image_28012025_08_29_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/1/28/a6d46258acaeb8b8ced59b12685a4d96.jpg","text":"TemporaryFile(/tmp/multipartBody7790967501639052080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072294010,"filename":"image_28012025_08_29_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/1/28/ef248ac21efacd88f6fb4ec5bc8a64df.jpg","text":"TemporaryFile(/tmp/multipartBody7405344188823199918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072294010,"filename":"image_28012025_08_29_55_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/29d01619381583e92d83471d76efe5e1.jpg","text":"TemporaryFile(/tmp/multipartBody1496256787990453404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072294010,"filename":"image_28012025_08_29_46_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332311457","file1":"1332311449","file0":"1332311443","file4":"1332311468","file5":"1332311470","file3":"1332311463"},"map_files_photo_id_array":[{"photo_id":"1332311470","filename":"file5"},{"photo_id":"1332311457","filename":"file2"},{"photo_id":"1332311468","filename":"file4"},{"photo_id":"1332311449","filename":"file1"},{"photo_id":"1332311443","filename":"file0"},{"photo_id":"1332311463","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332311468":["hashtag1","hashtag2"]},{"1332311470":["hashtag1","hashtag2"]},{"1332311449":["hashtag1","hashtag2"]},{"1332311443":["hashtag1","hashtag2"]},{"1332311463":["hashtag1","hashtag2"]},{"1332311457":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332311468, 1332311470, 1332311449, 1332311443, 1332311463, 1332311457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.4500367641449 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:51:32.249607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/30/image_28012025_08_30_25_9433.jpg', '/home/pi/Desktop/images/28012025/08/30/image_28012025_08_30_36_10353.jpg', '/home/pi/Desktop/images/28012025/08/30/image_28012025_08_30_46_10424.jpg', '/home/pi/Desktop/images/28012025/08/30/image_28012025_08_30_56_9435.jpg', '/home/pi/Desktop/images/28012025/08/30/image_28012025_08_31_06_10370.jpg', '/home/pi/Desktop/images/28012025/08/31/image_28012025_08_31_15_9436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/30/image_28012025_08_30_25_9433.jpg
/home/pi/Desktop/images/28012025/08/30/image_28012025_08_30_36_10353.jpg
/home/pi/Desktop/images/28012025/08/30/image_28012025_08_30_46_10424.jpg
/home/pi/Desktop/images/28012025/08/30/image_28012025_08_30_56_9435.jpg
/home/pi/Desktop/images/28012025/08/30/image_28012025_08_31_06_10370.jpg
/home/pi/Desktop/images/28012025/08/31/image_28012025_08_31_15_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":["1332311619","1332311599","1332311512","1332311515","1332311509","1332311617"],"photo_ids_order":["1332311509","1332311512","1332311515","1332311599","1332311617","1332311619"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f6657b7f33928efeef0a49d3faa203dc.jpg","text":"TemporaryFile(/tmp/multipartBody8219136194120106601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072353247,"filename":"image_28012025_08_31_15_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/15806f11adf9f7e31f40669033bb86c8.jpg","text":"TemporaryFile(/tmp/multipartBody5967111400404283955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072353247,"filename":"image_28012025_08_30_56_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f093eb2adac704caa10e86a1efd32b9a.jpg","text":"TemporaryFile(/tmp/multipartBody7541234536225419564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072353247,"filename":"image_28012025_08_30_36_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/49421009bb1ed0e9fef26badcd2050dc.jpg","text":"TemporaryFile(/tmp/multipartBody6133667623590012433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072353247,"filename":"image_28012025_08_30_46_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0f229291a83c0af3e24b1e9a55d43e03.jpg","text":"TemporaryFile(/tmp/multipartBody4172247201979226238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072353247,"filename":"image_28012025_08_30_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/1/28/86a1ff06caaeb763932c22890772aebe.jpg","text":"TemporaryFile(/tmp/multipartBody1030135460191196532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072353247,"filename":"image_28012025_08_31_06_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332311515","file1":"1332311512","file0":"1332311509","file4":"1332311617","file5":"1332311619","file3":"1332311599"},"map_files_photo_id_array":[{"photo_id":"1332311619","filename":"file5"},{"photo_id":"1332311515","filename":"file2"},{"photo_id":"1332311617","filename":"file4"},{"photo_id":"1332311512","filename":"file1"},{"photo_id":"1332311509","filename":"file0"},{"photo_id":"1332311599","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332311619":["hashtag1","hashtag2"]},{"1332311599":["hashtag1","hashtag2"]},{"1332311512":["hashtag1","hashtag2"]},{"1332311515":["hashtag1","hashtag2"]},{"1332311509":["hashtag1","hashtag2"]},{"1332311617":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332311619, 1332311599, 1332311512, 1332311515, 1332311509, 1332311617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7425332069397 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:52:32.469179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/31/image_28012025_08_31_26_10354.jpg', '/home/pi/Desktop/images/28012025/08/31/image_28012025_08_31_35_9469.jpg', '/home/pi/Desktop/images/28012025/08/31/image_28012025_08_31_56_10410.jpg', '/home/pi/Desktop/images/28012025/08/31/image_28012025_08_32_05_9338.jpg', '/home/pi/Desktop/images/28012025/08/32/image_28012025_08_32_16_10338.jpg', '/home/pi/Desktop/images/28012025/08/32/image_28012025_08_32_35_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/31/image_28012025_08_31_26_10354.jpg
/home/pi/Desktop/images/28012025/08/31/image_28012025_08_31_35_9469.jpg
/home/pi/Desktop/images/28012025/08/31/image_28012025_08_31_56_10410.jpg
/home/pi/Desktop/images/28012025/08/31/image_28012025_08_32_05_9338.jpg
/home/pi/Desktop/images/28012025/08/32/image_28012025_08_32_16_10338.jpg
/home/pi/Desktop/images/28012025/08/32/image_28012025_08_32_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":["1332311675","1332311673","1332311652","1332311655","1332311649","1332311658"],"photo_ids_order":["1332311649","1332311652","1332311655","1332311658","1332311673","1332311675"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0a595bd8676b17e717c9c0366aad1398.jpg","text":"TemporaryFile(/tmp/multipartBody5540612056206044262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072413558,"filename":"image_28012025_08_32_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/1/28/f649989a6ee48fe653143f7be1427854.jpg","text":"TemporaryFile(/tmp/multipartBody6580057859014986377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072413558,"filename":"image_28012025_08_32_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/1/28/e52f5d6ed1651ffc9b1cbd6b276d1154.jpg","text":"TemporaryFile(/tmp/multipartBody464227520274487051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072413558,"filename":"image_28012025_08_31_35_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7e4ba1a339197679c3b9fb1dc005fd03.jpg","text":"TemporaryFile(/tmp/multipartBody8678018673562256963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072413558,"filename":"image_28012025_08_31_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/1/28/1a9ab5aa02f22b3ec76bd15f116690ba.jpg","text":"TemporaryFile(/tmp/multipartBody8552926925011173590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072413558,"filename":"image_28012025_08_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/1/28/d050d322e0670722f1e36de19f123b1f.jpg","text":"TemporaryFile(/tmp/multipartBody5285979958621013230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072413558,"filename":"image_28012025_08_32_05_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332311655","file1":"1332311652","file0":"1332311649","file4":"1332311673","file5":"1332311675","file3":"1332311658"},"map_files_photo_id_array":[{"photo_id":"1332311675","filename":"file5"},{"photo_id":"1332311655","filename":"file2"},{"photo_id":"1332311673","filename":"file4"},{"photo_id":"1332311652","filename":"file1"},{"photo_id":"1332311649","filename":"file0"},{"photo_id":"1332311658","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332311675":["hashtag1","hashtag2"]},{"1332311673":["hashtag1","hashtag2"]},{"1332311652":["hashtag1","hashtag2"]},{"1332311655":["hashtag1","hashtag2"]},{"1332311649":["hashtag1","hashtag2"]},{"1332311658":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332311675, 1332311673, 1332311652, 1332311655, 1332311649, 1332311658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42551279067993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:53:32.715482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/32/image_28012025_08_32_46_10337.jpg', '/home/pi/Desktop/images/28012025/08/32/image_28012025_08_32_56_10356.jpg', '/home/pi/Desktop/images/28012025/08/32/image_28012025_08_33_06_9389.jpg', '/home/pi/Desktop/images/28012025/08/33/image_28012025_08_33_16_10361.jpg', '/home/pi/Desktop/images/28012025/08/33/image_28012025_08_33_25_9459.jpg', '/home/pi/Desktop/images/28012025/08/33/image_28012025_08_33_36_10522.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/32/image_28012025_08_32_46_10337.jpg
/home/pi/Desktop/images/28012025/08/32/image_28012025_08_32_56_10356.jpg
/home/pi/Desktop/images/28012025/08/32/image_28012025_08_33_06_9389.jpg
/home/pi/Desktop/images/28012025/08/33/image_28012025_08_33_16_10361.jpg
/home/pi/Desktop/images/28012025/08/33/image_28012025_08_33_25_9459.jpg
/home/pi/Desktop/images/28012025/08/33/image_28012025_08_33_36_10522.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332311709","1332311714","1332311915","1332311935","1332311719","1332312018"],"photo_ids_order":["1332311709","1332311714","1332311719","1332311915","1332311935","1332312018"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e67ec6726345ce4c1766febbe098555c.jpg","text":"TemporaryFile(/tmp/multipartBody5162688574182941071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072473707,"filename":"image_28012025_08_32_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/1/28/597cfca0f65b880ebd86b6880994cf31.jpg","text":"TemporaryFile(/tmp/multipartBody5310277127419584919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072473707,"filename":"image_28012025_08_32_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/270cafc911534733d8a95de91dc4a640.jpg","text":"TemporaryFile(/tmp/multipartBody3328758157334662637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072473707,"filename":"image_28012025_08_33_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/1/28/f2be86d1f0500c48deacf6111cdab12f.jpg","text":"TemporaryFile(/tmp/multipartBody7106081984822391012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072473707,"filename":"image_28012025_08_33_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/1/28/19fac74952a28b1abbe30c3ef6c934b4.jpg","text":"TemporaryFile(/tmp/multipartBody1838146540464601752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072473707,"filename":"image_28012025_08_33_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/1/28/dfc0ac7b42efa644c7db744c04fb6fe1.jpg","text":"TemporaryFile(/tmp/multipartBody4004287576607776077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072473707,"filename":"image_28012025_08_33_36_10522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332311719","file1":"1332311714","file0":"1332311709","file4":"1332311935","file5":"1332312018","file3":"1332311915"},"map_files_photo_id_array":[{"photo_id":"1332312018","filename":"file5"},{"photo_id":"1332311719","filename":"file2"},{"photo_id":"1332311935","filename":"file4"},{"photo_id":"1332311714","filename":"file1"},{"photo_id":"1332311709","filename":"file0"},{"photo_id":"1332311915","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332311709":["hashtag1","hashtag2"]},{"1332311714":["hashtag1","hashtag2"]},{"1332311915":["hashtag1","hashtag2"]},{"1332311935":["hashtag1","hashtag2"]},{"1332311719":["hashtag1","hashtag2"]},{"1332312018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332311709, 1332311714, 1332311915, 1332311935, 1332311719, 1332312018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.157371520996094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:54:32.929551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/33/image_28012025_08_33_46_10319.jpg', '/home/pi/Desktop/images/28012025/08/33/image_28012025_08_33_56_9359.jpg', '/home/pi/Desktop/images/28012025/08/33/image_28012025_08_34_06_10458.jpg', '/home/pi/Desktop/images/28012025/08/34/image_28012025_08_34_15_9458.jpg', '/home/pi/Desktop/images/28012025/08/34/image_28012025_08_34_26_10366.jpg', '/home/pi/Desktop/images/28012025/08/34/image_28012025_08_34_46_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/33/image_28012025_08_33_46_10319.jpg
/home/pi/Desktop/images/28012025/08/33/image_28012025_08_33_56_9359.jpg
/home/pi/Desktop/images/28012025/08/33/image_28012025_08_34_06_10458.jpg
/home/pi/Desktop/images/28012025/08/34/image_28012025_08_34_15_9458.jpg
/home/pi/Desktop/images/28012025/08/34/image_28012025_08_34_26_10366.jpg
/home/pi/Desktop/images/28012025/08/34/image_28012025_08_34_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":["1332312164","1332312119","1332312107","1332312124","1332312165","1332312114"],"photo_ids_order":["1332312107","1332312114","1332312119","1332312124","1332312164","1332312165"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2eb1b5ad94830a861ca49aac84d1b923.jpg","text":"TemporaryFile(/tmp/multipartBody2149262878101546344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072533918,"filename":"image_28012025_08_34_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/1/28/47f4f094520bc118be2c8e3ce58dd3b8.jpg","text":"TemporaryFile(/tmp/multipartBody8608435833714771091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072533918,"filename":"image_28012025_08_34_06_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/57ab234aac104079c18160432d0850af.jpg","text":"TemporaryFile(/tmp/multipartBody402187364019507433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072533918,"filename":"image_28012025_08_33_46_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0da34eac865fa0dc3a01bec0080cd4cf.jpg","text":"TemporaryFile(/tmp/multipartBody4175598788214975101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072533918,"filename":"image_28012025_08_34_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/1/28/3756eabdf62d047c7c6249a64b7b7703.jpg","text":"TemporaryFile(/tmp/multipartBody3570173013326850349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072533918,"filename":"image_28012025_08_34_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/1/28/71b9f82690c427bca7d31c6f12156ae0.jpg","text":"TemporaryFile(/tmp/multipartBody3838697951455061053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072533918,"filename":"image_28012025_08_33_56_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332312119","file1":"1332312114","file0":"1332312107","file4":"1332312164","file5":"1332312165","file3":"1332312124"},"map_files_photo_id_array":[{"photo_id":"1332312165","filename":"file5"},{"photo_id":"1332312119","filename":"file2"},{"photo_id":"1332312164","filename":"file4"},{"photo_id":"1332312114","filename":"file1"},{"photo_id":"1332312107","filename":"file0"},{"photo_id":"1332312124","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332312164":["hashtag1","hashtag2"]},{"1332312119":["hashtag1","hashtag2"]},{"1332312107":["hashtag1","hashtag2"]},{"1332312124":["hashtag1","hashtag2"]},{"1332312165":["hashtag1","hashtag2"]},{"1332312114":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332312164, 1332312119, 1332312107, 1332312124, 1332312165, 1332312114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.90626358985901 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:55:33.159246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/34/image_28012025_08_34_56_10355.jpg', '/home/pi/Desktop/images/28012025/08/34/image_28012025_08_35_05_9341.jpg', '/home/pi/Desktop/images/28012025/08/35/image_28012025_08_35_16_10452.jpg', '/home/pi/Desktop/images/28012025/08/35/image_28012025_08_35_36_9354.jpg', '/home/pi/Desktop/images/28012025/08/35/image_28012025_08_35_46_10367.jpg', '/home/pi/Desktop/images/28012025/08/35/image_28012025_08_35_55_9462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/34/image_28012025_08_34_56_10355.jpg
/home/pi/Desktop/images/28012025/08/34/image_28012025_08_35_05_9341.jpg
/home/pi/Desktop/images/28012025/08/35/image_28012025_08_35_16_10452.jpg
/home/pi/Desktop/images/28012025/08/35/image_28012025_08_35_36_9354.jpg
/home/pi/Desktop/images/28012025/08/35/image_28012025_08_35_46_10367.jpg
/home/pi/Desktop/images/28012025/08/35/image_28012025_08_35_55_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":["1332312389","1332312200","1332312226","1332312208","1332312486","1332312270"],"photo_ids_order":["1332312200","1332312208","1332312226","1332312270","1332312389","1332312486"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/502a50113ca98e5e61821f00c333bf54.jpg","text":"TemporaryFile(/tmp/multipartBody3276697213505895324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072594162,"filename":"image_28012025_08_35_46_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5824bf09b680cf6f578b3b1b20190a32.jpg","text":"TemporaryFile(/tmp/multipartBody7085572491515995825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072594162,"filename":"image_28012025_08_34_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/1/28/70958a5c852e1b792fa79f80520d2d8c.jpg","text":"TemporaryFile(/tmp/multipartBody6464753519604558958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072594162,"filename":"image_28012025_08_35_16_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/378f1390cc0818cc8aa2912b807fadfc.jpg","text":"TemporaryFile(/tmp/multipartBody1291206128863174743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072594162,"filename":"image_28012025_08_35_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/1/28/e8eff859f6b6b02c35604ab7d09a6596.jpg","text":"TemporaryFile(/tmp/multipartBody5295696262240705049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072594162,"filename":"image_28012025_08_35_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/1/28/7efc13df59edb5e7906899ba9cfc830a.jpg","text":"TemporaryFile(/tmp/multipartBody7427439754348573473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072594162,"filename":"image_28012025_08_35_36_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332312226","file1":"1332312208","file0":"1332312200","file4":"1332312389","file5":"1332312486","file3":"1332312270"},"map_files_photo_id_array":[{"photo_id":"1332312486","filename":"file5"},{"photo_id":"1332312226","filename":"file2"},{"photo_id":"1332312389","filename":"file4"},{"photo_id":"1332312208","filename":"file1"},{"photo_id":"1332312200","filename":"file0"},{"photo_id":"1332312270","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332312389":["hashtag1","hashtag2"]},{"1332312200":["hashtag1","hashtag2"]},{"1332312226":["hashtag1","hashtag2"]},{"1332312208":["hashtag1","hashtag2"]},{"1332312486":["hashtag1","hashtag2"]},{"1332312270":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332312389, 1332312200, 1332312226, 1332312208, 1332312486, 1332312270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42988967895508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:56:32.388158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/35/image_28012025_08_36_06_10356.jpg', '/home/pi/Desktop/images/28012025/08/36/image_28012025_08_36_16_10340.jpg', '/home/pi/Desktop/images/28012025/08/36/image_28012025_08_36_25_9389.jpg', '/home/pi/Desktop/images/28012025/08/36/image_28012025_08_36_46_10365.jpg', '/home/pi/Desktop/images/28012025/08/36/image_28012025_08_36_56_9386.jpg', '/home/pi/Desktop/images/28012025/08/36/image_28012025_08_37_06_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/35/image_28012025_08_36_06_10356.jpg
/home/pi/Desktop/images/28012025/08/36/image_28012025_08_36_16_10340.jpg
/home/pi/Desktop/images/28012025/08/36/image_28012025_08_36_25_9389.jpg
/home/pi/Desktop/images/28012025/08/36/image_28012025_08_36_46_10365.jpg
/home/pi/Desktop/images/28012025/08/36/image_28012025_08_36_56_9386.jpg
/home/pi/Desktop/images/28012025/08/36/image_28012025_08_37_06_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332312740","1332312743","1332312722","1332312728","1332312733","1332312747"],"photo_ids_order":["1332312722","1332312728","1332312733","1332312740","1332312743","1332312747"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3d59b87a40cf8c33d40fef47a6f4fac5.jpg","text":"TemporaryFile(/tmp/multipartBody4365527220329949303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072653370,"filename":"image_28012025_08_36_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/1/28/f4ac0e317a1caeec43899e799087eb29.jpg","text":"TemporaryFile(/tmp/multipartBody4292214798415054207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072653370,"filename":"image_28012025_08_36_56_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f615b15815d660f50e5b15df6c8d54e0.jpg","text":"TemporaryFile(/tmp/multipartBody5572707229400750169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072653370,"filename":"image_28012025_08_36_06_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fa8d78443db56d0768f0da4398db7fde.jpg","text":"TemporaryFile(/tmp/multipartBody1968346655667876272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072653370,"filename":"image_28012025_08_36_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/1/28/37dc1410fe0e0926aaf8355e2c2d1de5.jpg","text":"TemporaryFile(/tmp/multipartBody3290581146592736768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072653370,"filename":"image_28012025_08_36_25_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fa234f3e0ea91d9497aceaca073a7437.jpg","text":"TemporaryFile(/tmp/multipartBody8706889832408726180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072653370,"filename":"image_28012025_08_37_06_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332312733","file1":"1332312728","file0":"1332312722","file4":"1332312743","file5":"1332312747","file3":"1332312740"},"map_files_photo_id_array":[{"photo_id":"1332312747","filename":"file5"},{"photo_id":"1332312733","filename":"file2"},{"photo_id":"1332312743","filename":"file4"},{"photo_id":"1332312728","filename":"file1"},{"photo_id":"1332312722","filename":"file0"},{"photo_id":"1332312740","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332312740":["hashtag1","hashtag2"]},{"1332312743":["hashtag1","hashtag2"]},{"1332312722":["hashtag1","hashtag2"]},{"1332312728":["hashtag1","hashtag2"]},{"1332312733":["hashtag1","hashtag2"]},{"1332312747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332312740, 1332312743, 1332312722, 1332312728, 1332312733, 1332312747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04358196258545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 14:57:32.778443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/37/image_28012025_08_37_26_10367.jpg', '/home/pi/Desktop/images/28012025/08/37/image_28012025_08_37_45_9376.jpg', '/home/pi/Desktop/images/28012025/08/37/image_28012025_08_37_56_10354.jpg', '/home/pi/Desktop/images/28012025/08/38/image_28012025_08_38_16_10338.jpg', '/home/pi/Desktop/images/28012025/08/38/image_28012025_08_38_26_10361.jpg', '/home/pi/Desktop/images/28012025/08/38/image_28012025_08_38_35_9393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/37/image_28012025_08_37_26_10367.jpg
/home/pi/Desktop/images/28012025/08/37/image_28012025_08_37_45_9376.jpg
/home/pi/Desktop/images/28012025/08/37/image_28012025_08_37_56_10354.jpg
/home/pi/Desktop/images/28012025/08/38/image_28012025_08_38_16_10338.jpg
/home/pi/Desktop/images/28012025/08/38/image_28012025_08_38_26_10361.jpg
/home/pi/Desktop/images/28012025/08/38/image_28012025_08_38_35_9393.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 www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 14:59:04.518074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/37/image_28012025_08_37_26_10367.jpg', '/home/pi/Desktop/images/28012025/08/37/image_28012025_08_37_45_9376.jpg', '/home/pi/Desktop/images/28012025/08/37/image_28012025_08_37_56_10354.jpg', '/home/pi/Desktop/images/28012025/08/38/image_28012025_08_38_16_10338.jpg', '/home/pi/Desktop/images/28012025/08/38/image_28012025_08_38_26_10361.jpg', '/home/pi/Desktop/images/28012025/08/38/image_28012025_08_38_35_9393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/37/image_28012025_08_37_26_10367.jpg
/home/pi/Desktop/images/28012025/08/37/image_28012025_08_37_45_9376.jpg
/home/pi/Desktop/images/28012025/08/37/image_28012025_08_37_56_10354.jpg
/home/pi/Desktop/images/28012025/08/38/image_28012025_08_38_16_10338.jpg
/home/pi/Desktop/images/28012025/08/38/image_28012025_08_38_26_10361.jpg
/home/pi/Desktop/images/28012025/08/38/image_28012025_08_38_35_9393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332312857","1332312851","1332312818","1332312833","1332312843","1332312837"],"photo_ids_order":["1332312818","1332312833","1332312837","1332312843","1332312851","1332312857"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/68e11a34debdd86d9b592363772762c7.jpg","text":"TemporaryFile(/tmp/multipartBody7894317357517178903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072805591,"filename":"image_28012025_08_38_35_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a410da4b8f0a373e075648b706083932.jpg","text":"TemporaryFile(/tmp/multipartBody2793830848583889778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072805591,"filename":"image_28012025_08_38_26_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bb5b5e198234bbbff9a933b4e4eb5131.jpg","text":"TemporaryFile(/tmp/multipartBody604888528215058015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072805591,"filename":"image_28012025_08_37_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/1/28/cc998e62a0ecb5f541ed4d36431ad32b.jpg","text":"TemporaryFile(/tmp/multipartBody8165284434836194388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072805591,"filename":"image_28012025_08_37_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/1/28/bb887b81f291d30f9ed6942d7c25b7bd.jpg","text":"TemporaryFile(/tmp/multipartBody1032519054364556410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072805591,"filename":"image_28012025_08_38_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/1/28/505467184dadeb2d5dbf8662bc7b47a8.jpg","text":"TemporaryFile(/tmp/multipartBody3351949228682999767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072805591,"filename":"image_28012025_08_37_56_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332312837","file1":"1332312833","file0":"1332312818","file4":"1332312851","file5":"1332312857","file3":"1332312843"},"map_files_photo_id_array":[{"photo_id":"1332312857","filename":"file5"},{"photo_id":"1332312837","filename":"file2"},{"photo_id":"1332312851","filename":"file4"},{"photo_id":"1332312833","filename":"file1"},{"photo_id":"1332312818","filename":"file0"},{"photo_id":"1332312843","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332312857":["hashtag1","hashtag2"]},{"1332312851":["hashtag1","hashtag2"]},{"1332312818":["hashtag1","hashtag2"]},{"1332312833":["hashtag1","hashtag2"]},{"1332312843":["hashtag1","hashtag2"]},{"1332312837":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332312857, 1332312851, 1332312818, 1332312833, 1332312843, 1332312837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.904759883880615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 14:59:53.231940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/21/image_23012025_23_21_26_9453.jpg', '/home/pi/Desktop/images/23012025/23/21/image_23012025_23_21_36_10357.jpg', '/home/pi/Desktop/images/23012025/23/21/image_23012025_23_21_47_10442.jpg', '/home/pi/Desktop/images/23012025/23/21/image_23012025_23_21_56_9368.jpg', '/home/pi/Desktop/images/23012025/23/21/image_23012025_23_22_06_10328.jpg', '/home/pi/Desktop/images/23012025/23/22/image_23012025_23_22_16_9318.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/21/image_23012025_23_21_26_9453.jpg
/home/pi/Desktop/images/23012025/23/21/image_23012025_23_21_36_10357.jpg
/home/pi/Desktop/images/23012025/23/21/image_23012025_23_21_47_10442.jpg
/home/pi/Desktop/images/23012025/23/21/image_23012025_23_21_56_9368.jpg
/home/pi/Desktop/images/23012025/23/21/image_23012025_23_22_06_10328.jpg
/home/pi/Desktop/images/23012025/23/22/image_23012025_23_22_16_9318.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332312881","1332312869","1332312878","1332312874","1332312876","1332312872"],"photo_ids_order":["1332312869","1332312872","1332312874","1332312876","1332312878","1332312881"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2adf40caffd1a912ea4851aece54db39.jpg","text":"TemporaryFile(/tmp/multipartBody8328334123803328634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072855314,"filename":"image_23012025_23_22_16_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/759d6bf6408e76100119222c38c0cadc.jpg","text":"TemporaryFile(/tmp/multipartBody9041521635694480060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072855314,"filename":"image_23012025_23_21_26_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/60dc695040f63aa584fed0be56e4fca3.jpg","text":"TemporaryFile(/tmp/multipartBody4482829727757619602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072855314,"filename":"image_23012025_23_22_06_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/de1bb1ccafe896b91d643007be06d193.jpg","text":"TemporaryFile(/tmp/multipartBody2824088435940441265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072855314,"filename":"image_23012025_23_21_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/1/28/311cda50828b62b98c6946731fadb69c.jpg","text":"TemporaryFile(/tmp/multipartBody1369758513101626972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072855314,"filename":"image_23012025_23_21_56_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d186cc10ef419431971c53009dcffada.jpg","text":"TemporaryFile(/tmp/multipartBody5539980824726247571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072855314,"filename":"image_23012025_23_21_36_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332312874","file1":"1332312872","file0":"1332312869","file4":"1332312878","file5":"1332312881","file3":"1332312876"},"map_files_photo_id_array":[{"photo_id":"1332312881","filename":"file5"},{"photo_id":"1332312874","filename":"file2"},{"photo_id":"1332312878","filename":"file4"},{"photo_id":"1332312872","filename":"file1"},{"photo_id":"1332312869","filename":"file0"},{"photo_id":"1332312876","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332312881":["hashtag1","hashtag2"]},{"1332312869":["hashtag1","hashtag2"]},{"1332312878":["hashtag1","hashtag2"]},{"1332312874":["hashtag1","hashtag2"]},{"1332312876":["hashtag1","hashtag2"]},{"1332312872":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332312881, 1332312869, 1332312878, 1332312874, 1332312876, 1332312872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.63112664222717 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 15:00:42.405166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/38/image_28012025_08_38_46_10334.jpg', '/home/pi/Desktop/images/28012025/08/38/image_28012025_08_38_56_10351.jpg', '/home/pi/Desktop/images/28012025/08/38/image_28012025_08_39_05_9334.jpg', '/home/pi/Desktop/images/28012025/08/39/image_28012025_08_39_16_10335.jpg', '/home/pi/Desktop/images/28012025/08/39/image_28012025_08_39_26_10349.jpg', '/home/pi/Desktop/images/28012025/08/39/image_28012025_08_39_35_9364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/38/image_28012025_08_38_46_10334.jpg
/home/pi/Desktop/images/28012025/08/38/image_28012025_08_38_56_10351.jpg
/home/pi/Desktop/images/28012025/08/38/image_28012025_08_39_05_9334.jpg
/home/pi/Desktop/images/28012025/08/39/image_28012025_08_39_16_10335.jpg
/home/pi/Desktop/images/28012025/08/39/image_28012025_08_39_26_10349.jpg
/home/pi/Desktop/images/28012025/08/39/image_28012025_08_39_35_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332312920","1332312988","1332313098","1332312901","1332312910","1332312907"],"photo_ids_order":["1332312901","1332312907","1332312910","1332312920","1332312988","1332313098"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0003667de2a7f1961462d5eaa712e9d4.jpg","text":"TemporaryFile(/tmp/multipartBody5000372236377716235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072903394,"filename":"image_28012025_08_39_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/1/28/4c6f37cf4e62fc215376de800b594a97.jpg","text":"TemporaryFile(/tmp/multipartBody6650810396363989344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072903394,"filename":"image_28012025_08_39_26_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b93db3e15fb92b1b0864d2268018b168.jpg","text":"TemporaryFile(/tmp/multipartBody2245680940581243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072903394,"filename":"image_28012025_08_39_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/1/28/6540adcd276070b581cad38381fab1fa.jpg","text":"TemporaryFile(/tmp/multipartBody7123963722112983644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072903394,"filename":"image_28012025_08_38_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/1/28/190add9d725ed49c3916a8b6e9c304ad.jpg","text":"TemporaryFile(/tmp/multipartBody7837588408568723768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072903394,"filename":"image_28012025_08_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/1/28/eae0a4f7f87de1183e3171c6fb517d29.jpg","text":"TemporaryFile(/tmp/multipartBody6441456460205147980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072903394,"filename":"image_28012025_08_38_56_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332312910","file1":"1332312907","file0":"1332312901","file4":"1332312988","file5":"1332313098","file3":"1332312920"},"map_files_photo_id_array":[{"photo_id":"1332313098","filename":"file5"},{"photo_id":"1332312910","filename":"file2"},{"photo_id":"1332312988","filename":"file4"},{"photo_id":"1332312907","filename":"file1"},{"photo_id":"1332312901","filename":"file0"},{"photo_id":"1332312920","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332312920":["hashtag1","hashtag2"]},{"1332312988":["hashtag1","hashtag2"]},{"1332313098":["hashtag1","hashtag2"]},{"1332312901":["hashtag1","hashtag2"]},{"1332312910":["hashtag1","hashtag2"]},{"1332312907":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332312920, 1332312988, 1332313098, 1332312901, 1332312910, 1332312907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.90645170211792 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:01:32.662862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/39/image_28012025_08_39_56_10396.jpg', '/home/pi/Desktop/images/28012025/08/39/image_28012025_08_40_06_9991.jpg', '/home/pi/Desktop/images/28012025/08/40/image_28012025_08_40_16_9425.jpg', '/home/pi/Desktop/images/28012025/08/40/image_28012025_08_40_26_10446.jpg', '/home/pi/Desktop/images/28012025/08/40/image_28012025_08_40_46_10371.jpg', '/home/pi/Desktop/images/28012025/08/40/image_28012025_08_41_06_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/39/image_28012025_08_39_56_10396.jpg
/home/pi/Desktop/images/28012025/08/39/image_28012025_08_40_06_9991.jpg
/home/pi/Desktop/images/28012025/08/40/image_28012025_08_40_16_9425.jpg
/home/pi/Desktop/images/28012025/08/40/image_28012025_08_40_26_10446.jpg
/home/pi/Desktop/images/28012025/08/40/image_28012025_08_40_46_10371.jpg
/home/pi/Desktop/images/28012025/08/40/image_28012025_08_41_06_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332313261","1332313191","1332313314","1332313245","1332313196","1332313247"],"photo_ids_order":["1332313191","1332313196","1332313245","1332313247","1332313261","1332313314"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/20b83fb2e2e083fee2ead8299e0f863c.jpg","text":"TemporaryFile(/tmp/multipartBody5542686900583778890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072953707,"filename":"image_28012025_08_40_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/1/28/b39d9a4f39f20e8f8a04f678d56db212.jpg","text":"TemporaryFile(/tmp/multipartBody1527150030616880131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072953707,"filename":"image_28012025_08_39_56_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2495910b23d22ec591af603a58c7c0a0.jpg","text":"TemporaryFile(/tmp/multipartBody6269353250667520987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072953707,"filename":"image_28012025_08_41_06_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/80c8991ea957f8d6ae341a7805df8f1b.jpg","text":"TemporaryFile(/tmp/multipartBody1635139821037484166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072953707,"filename":"image_28012025_08_40_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/1/28/2dff3399926882f5e86a99fcb493698e.jpg","text":"TemporaryFile(/tmp/multipartBody819053066382917160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072953707,"filename":"image_28012025_08_40_06_9991.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a3e0de5623cd97c244aa4f85033482e9.jpg","text":"TemporaryFile(/tmp/multipartBody1557483693437732969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738072953707,"filename":"image_28012025_08_40_26_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332313245","file1":"1332313196","file0":"1332313191","file4":"1332313261","file5":"1332313314","file3":"1332313247"},"map_files_photo_id_array":[{"photo_id":"1332313314","filename":"file5"},{"photo_id":"1332313245","filename":"file2"},{"photo_id":"1332313261","filename":"file4"},{"photo_id":"1332313196","filename":"file1"},{"photo_id":"1332313191","filename":"file0"},{"photo_id":"1332313247","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332313261":["hashtag1","hashtag2"]},{"1332313191":["hashtag1","hashtag2"]},{"1332313314":["hashtag1","hashtag2"]},{"1332313245":["hashtag1","hashtag2"]},{"1332313196":["hashtag1","hashtag2"]},{"1332313247":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332313261, 1332313191, 1332313314, 1332313245, 1332313196, 1332313247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36860728263855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:02:32.913476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/41/image_28012025_08_41_16_10354.jpg', '/home/pi/Desktop/images/28012025/08/41/image_28012025_08_41_46_10461.jpg', '/home/pi/Desktop/images/28012025/08/41/image_28012025_08_42_06_10357.jpg', '/home/pi/Desktop/images/28012025/08/42/image_28012025_08_42_16_10354.jpg', '/home/pi/Desktop/images/28012025/08/42/image_28012025_08_42_36_10363.jpg', '/home/pi/Desktop/images/28012025/08/42/image_28012025_08_42_45_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/41/image_28012025_08_41_16_10354.jpg
/home/pi/Desktop/images/28012025/08/41/image_28012025_08_41_46_10461.jpg
/home/pi/Desktop/images/28012025/08/41/image_28012025_08_42_06_10357.jpg
/home/pi/Desktop/images/28012025/08/42/image_28012025_08_42_16_10354.jpg
/home/pi/Desktop/images/28012025/08/42/image_28012025_08_42_36_10363.jpg
/home/pi/Desktop/images/28012025/08/42/image_28012025_08_42_45_9433.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6295077800750732 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 15:02:42.869982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/41/image_28012025_08_41_16_10354.jpg', '/home/pi/Desktop/images/28012025/08/41/image_28012025_08_41_46_10461.jpg', '/home/pi/Desktop/images/28012025/08/41/image_28012025_08_42_06_10357.jpg', '/home/pi/Desktop/images/28012025/08/42/image_28012025_08_42_16_10354.jpg', '/home/pi/Desktop/images/28012025/08/42/image_28012025_08_42_36_10363.jpg', '/home/pi/Desktop/images/28012025/08/42/image_28012025_08_42_45_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/41/image_28012025_08_41_16_10354.jpg
/home/pi/Desktop/images/28012025/08/41/image_28012025_08_41_46_10461.jpg
/home/pi/Desktop/images/28012025/08/41/image_28012025_08_42_06_10357.jpg
/home/pi/Desktop/images/28012025/08/42/image_28012025_08_42_16_10354.jpg
/home/pi/Desktop/images/28012025/08/42/image_28012025_08_42_36_10363.jpg
/home/pi/Desktop/images/28012025/08/42/image_28012025_08_42_45_9433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332313340","1332313396","1332313348","1332313388","1332313343","1332313346"],"photo_ids_order":["1332313340","1332313343","1332313346","1332313348","1332313388","1332313396"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/755a6aafc544b0daef7b157d05991e42.jpg","text":"TemporaryFile(/tmp/multipartBody2681955685633501202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073023781,"filename":"image_28012025_08_41_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/1/28/b3a524985190942e2496d79c35c8b371.jpg","text":"TemporaryFile(/tmp/multipartBody762396456621593785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073023781,"filename":"image_28012025_08_42_45_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bd9255627e2d73af9aecba601e5e9707.jpg","text":"TemporaryFile(/tmp/multipartBody1241541237948228203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073023781,"filename":"image_28012025_08_42_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/1/28/4e18d529cf693725a23cc20ef869f011.jpg","text":"TemporaryFile(/tmp/multipartBody8122432918153931852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073023781,"filename":"image_28012025_08_42_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/1/28/b1731aaedfef0a805cacabb83da30761.jpg","text":"TemporaryFile(/tmp/multipartBody9173906238360213531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073023781,"filename":"image_28012025_08_41_46_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4ef13eb5cf2b91943ee3943faa57e660.jpg","text":"TemporaryFile(/tmp/multipartBody6150663274850546627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073023781,"filename":"image_28012025_08_42_06_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332313346","file1":"1332313343","file0":"1332313340","file4":"1332313388","file5":"1332313396","file3":"1332313348"},"map_files_photo_id_array":[{"photo_id":"1332313396","filename":"file5"},{"photo_id":"1332313346","filename":"file2"},{"photo_id":"1332313388","filename":"file4"},{"photo_id":"1332313343","filename":"file1"},{"photo_id":"1332313340","filename":"file0"},{"photo_id":"1332313348","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332313340":["hashtag1","hashtag2"]},{"1332313396":["hashtag1","hashtag2"]},{"1332313348":["hashtag1","hashtag2"]},{"1332313388":["hashtag1","hashtag2"]},{"1332313343":["hashtag1","hashtag2"]},{"1332313346":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332313340, 1332313396, 1332313348, 1332313388, 1332313343, 1332313346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.97493624687195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:03:33.119843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/42/image_28012025_08_42_56_10364.jpg', '/home/pi/Desktop/images/28012025/08/42/image_28012025_08_43_06_10440.jpg', '/home/pi/Desktop/images/28012025/08/43/image_28012025_08_43_16_9351.jpg', '/home/pi/Desktop/images/28012025/08/43/image_28012025_08_43_26_10361.jpg', '/home/pi/Desktop/images/28012025/08/43/image_28012025_08_43_46_10428.jpg', '/home/pi/Desktop/images/28012025/08/43/image_28012025_08_43_56_10386.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/42/image_28012025_08_42_56_10364.jpg
/home/pi/Desktop/images/28012025/08/42/image_28012025_08_43_06_10440.jpg
/home/pi/Desktop/images/28012025/08/43/image_28012025_08_43_16_9351.jpg
/home/pi/Desktop/images/28012025/08/43/image_28012025_08_43_26_10361.jpg
/home/pi/Desktop/images/28012025/08/43/image_28012025_08_43_46_10428.jpg
/home/pi/Desktop/images/28012025/08/43/image_28012025_08_43_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":["1332313421","1332313423","1332313417","1332313425","1332313419","1332313424"],"photo_ids_order":["1332313417","1332313419","1332313421","1332313423","1332313424","1332313425"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/60f29b02ef7d066a36f54d82113e0f4c.jpg","text":"TemporaryFile(/tmp/multipartBody4092933382295731040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073074109,"filename":"image_28012025_08_43_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/1/28/5c9e2111cbc0c82ff363b355fecc8df0.jpg","text":"TemporaryFile(/tmp/multipartBody593300865970656700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073074109,"filename":"image_28012025_08_43_26_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4afb2c5a4bc1aa07a077ce57c72986b7.jpg","text":"TemporaryFile(/tmp/multipartBody3079822881682035931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073074109,"filename":"image_28012025_08_42_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/1/28/d6e4d37ee3eea144a1d565e502287380.jpg","text":"TemporaryFile(/tmp/multipartBody8336914069252993950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073074109,"filename":"image_28012025_08_43_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/1/28/c04f0a24e035899562ab11643a7f69a0.jpg","text":"TemporaryFile(/tmp/multipartBody1737226311662156329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073074109,"filename":"image_28012025_08_43_06_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d2dcdf738d05e3a2a218cd144bd06575.jpg","text":"TemporaryFile(/tmp/multipartBody1834923383386753586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073074109,"filename":"image_28012025_08_43_46_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332313421","file1":"1332313419","file0":"1332313417","file4":"1332313424","file5":"1332313425","file3":"1332313423"},"map_files_photo_id_array":[{"photo_id":"1332313425","filename":"file5"},{"photo_id":"1332313421","filename":"file2"},{"photo_id":"1332313424","filename":"file4"},{"photo_id":"1332313419","filename":"file1"},{"photo_id":"1332313417","filename":"file0"},{"photo_id":"1332313423","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332313421":["hashtag1","hashtag2"]},{"1332313423":["hashtag1","hashtag2"]},{"1332313417":["hashtag1","hashtag2"]},{"1332313425":["hashtag1","hashtag2"]},{"1332313419":["hashtag1","hashtag2"]},{"1332313424":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332313421, 1332313423, 1332313417, 1332313425, 1332313419, 1332313424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.52344369888306 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:04:32.450003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/43/image_28012025_08_44_06_9352.jpg', '/home/pi/Desktop/images/28012025/08/44/image_28012025_08_44_16_10337.jpg', '/home/pi/Desktop/images/28012025/08/44/image_28012025_08_44_26_10437.jpg', '/home/pi/Desktop/images/28012025/08/44/image_28012025_08_44_36_9337.jpg', '/home/pi/Desktop/images/28012025/08/44/image_28012025_08_44_46_10343.jpg', '/home/pi/Desktop/images/28012025/08/44/image_28012025_08_44_55_9459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/43/image_28012025_08_44_06_9352.jpg
/home/pi/Desktop/images/28012025/08/44/image_28012025_08_44_16_10337.jpg
/home/pi/Desktop/images/28012025/08/44/image_28012025_08_44_26_10437.jpg
/home/pi/Desktop/images/28012025/08/44/image_28012025_08_44_36_9337.jpg
/home/pi/Desktop/images/28012025/08/44/image_28012025_08_44_46_10343.jpg
/home/pi/Desktop/images/28012025/08/44/image_28012025_08_44_55_9459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332313477","1332313473","1332313461","1332313449","1332313454","1332313466"],"photo_ids_order":["1332313449","1332313454","1332313461","1332313466","1332313473","1332313477"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/93e1d7a755b82818e341d4e32ec45b4c.jpg","text":"TemporaryFile(/tmp/multipartBody2244555461495998723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073133442,"filename":"image_28012025_08_44_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/1/28/865d2dc849a4610b9556c25aa1d4f037.jpg","text":"TemporaryFile(/tmp/multipartBody4669802089855370981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073133442,"filename":"image_28012025_08_44_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/1/28/debfb5bb84d9d462353db070ebb2b6d3.jpg","text":"TemporaryFile(/tmp/multipartBody1774054195884393174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073133442,"filename":"image_28012025_08_44_26_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f52a85bd35655cbfe2d566acccf47f00.jpg","text":"TemporaryFile(/tmp/multipartBody2446644408435222536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073133442,"filename":"image_28012025_08_44_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/1/28/b7c35b3d08ed77d7794fabe96a04ebae.jpg","text":"TemporaryFile(/tmp/multipartBody5760048574000921694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073133442,"filename":"image_28012025_08_44_16_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/596a5a8476da992f751fe2896550df92.jpg","text":"TemporaryFile(/tmp/multipartBody6948889346645409514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073133442,"filename":"image_28012025_08_44_36_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332313461","file1":"1332313454","file0":"1332313449","file4":"1332313473","file5":"1332313477","file3":"1332313466"},"map_files_photo_id_array":[{"photo_id":"1332313477","filename":"file5"},{"photo_id":"1332313461","filename":"file2"},{"photo_id":"1332313473","filename":"file4"},{"photo_id":"1332313454","filename":"file1"},{"photo_id":"1332313449","filename":"file0"},{"photo_id":"1332313466","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332313477":["hashtag1","hashtag2"]},{"1332313473":["hashtag1","hashtag2"]},{"1332313461":["hashtag1","hashtag2"]},{"1332313449":["hashtag1","hashtag2"]},{"1332313454":["hashtag1","hashtag2"]},{"1332313466":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332313477, 1332313473, 1332313461, 1332313449, 1332313454, 1332313466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04775929450989 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:05:32.638039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/44/image_28012025_08_45_06_10391.jpg', '/home/pi/Desktop/images/28012025/08/45/image_28012025_08_45_16_10418.jpg', '/home/pi/Desktop/images/28012025/08/45/image_28012025_08_45_26_9354.jpg', '/home/pi/Desktop/images/28012025/08/45/image_28012025_08_45_36_10363.jpg', '/home/pi/Desktop/images/28012025/08/45/image_28012025_08_45_45_9442.jpg', '/home/pi/Desktop/images/28012025/08/45/image_28012025_08_45_56_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/44/image_28012025_08_45_06_10391.jpg
/home/pi/Desktop/images/28012025/08/45/image_28012025_08_45_16_10418.jpg
/home/pi/Desktop/images/28012025/08/45/image_28012025_08_45_26_9354.jpg
/home/pi/Desktop/images/28012025/08/45/image_28012025_08_45_36_10363.jpg
/home/pi/Desktop/images/28012025/08/45/image_28012025_08_45_45_9442.jpg
/home/pi/Desktop/images/28012025/08/45/image_28012025_08_45_56_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":["1332313511","1332313498","1332313537","1332313516","1332313519","1332313494"],"photo_ids_order":["1332313494","1332313498","1332313511","1332313516","1332313519","1332313537"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7d08ed4beb7517e44849a1ad0d847bac.jpg","text":"TemporaryFile(/tmp/multipartBody4771809542446440293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073193660,"filename":"image_28012025_08_45_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/1/28/fb466b1d993e52cb5439c1ea6fd16642.jpg","text":"TemporaryFile(/tmp/multipartBody7368912751099398389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073193660,"filename":"image_28012025_08_45_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/1/28/5581e825251797eb9994ed3b2091e80c.jpg","text":"TemporaryFile(/tmp/multipartBody7485152506044101541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073193660,"filename":"image_28012025_08_45_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/1/28/e3c8ded18916e9b01f26d3b552efc736.jpg","text":"TemporaryFile(/tmp/multipartBody360320906677114275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073193660,"filename":"image_28012025_08_45_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/1/28/2c27495936dee04974071a6afeecf480.jpg","text":"TemporaryFile(/tmp/multipartBody7012709443110159334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073193660,"filename":"image_28012025_08_45_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/1/28/2ab366b13aa362a142de361fb0413cad.jpg","text":"TemporaryFile(/tmp/multipartBody8596944646874804917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073193660,"filename":"image_28012025_08_45_06_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332313511","file1":"1332313498","file0":"1332313494","file4":"1332313519","file5":"1332313537","file3":"1332313516"},"map_files_photo_id_array":[{"photo_id":"1332313537","filename":"file5"},{"photo_id":"1332313511","filename":"file2"},{"photo_id":"1332313519","filename":"file4"},{"photo_id":"1332313498","filename":"file1"},{"photo_id":"1332313494","filename":"file0"},{"photo_id":"1332313516","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332313511":["hashtag1","hashtag2"]},{"1332313498":["hashtag1","hashtag2"]},{"1332313537":["hashtag1","hashtag2"]},{"1332313516":["hashtag1","hashtag2"]},{"1332313519":["hashtag1","hashtag2"]},{"1332313494":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332313511, 1332313498, 1332313537, 1332313516, 1332313519, 1332313494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.18020701408386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:06:32.903139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/45/image_28012025_08_46_06_10351.jpg', '/home/pi/Desktop/images/28012025/08/46/image_28012025_08_46_16_9423.jpg', '/home/pi/Desktop/images/28012025/08/46/image_28012025_08_46_26_10359.jpg', '/home/pi/Desktop/images/28012025/08/46/image_28012025_08_46_36_10398.jpg', '/home/pi/Desktop/images/28012025/08/46/image_28012025_08_46_46_9339.jpg', '/home/pi/Desktop/images/28012025/08/46/image_28012025_08_46_56_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/45/image_28012025_08_46_06_10351.jpg
/home/pi/Desktop/images/28012025/08/46/image_28012025_08_46_16_9423.jpg
/home/pi/Desktop/images/28012025/08/46/image_28012025_08_46_26_10359.jpg
/home/pi/Desktop/images/28012025/08/46/image_28012025_08_46_36_10398.jpg
/home/pi/Desktop/images/28012025/08/46/image_28012025_08_46_46_9339.jpg
/home/pi/Desktop/images/28012025/08/46/image_28012025_08_46_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":["1332313594","1332313627","1332313821","1332313701","1332313589","1332313583"],"photo_ids_order":["1332313583","1332313589","1332313594","1332313627","1332313701","1332313821"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cf74562575925c337caee73162ba9c8d.jpg","text":"TemporaryFile(/tmp/multipartBody8281091246467190067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073253917,"filename":"image_28012025_08_46_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/1/28/5fc6de031d6ebd15535021d0023e9a81.jpg","text":"TemporaryFile(/tmp/multipartBody3892471923714168250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073253917,"filename":"image_28012025_08_46_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/1/28/b95733e6de0825059c9279b2ff014f57.jpg","text":"TemporaryFile(/tmp/multipartBody1225563307001548287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073253917,"filename":"image_28012025_08_46_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/1/28/628998e5efe001f4a95857c1314554dc.jpg","text":"TemporaryFile(/tmp/multipartBody4283789390086856767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073253917,"filename":"image_28012025_08_46_46_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6376bb53c2b58fcff5abf967ab9169af.jpg","text":"TemporaryFile(/tmp/multipartBody3784059146322636690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073253917,"filename":"image_28012025_08_46_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/1/28/ca827d9b7f7c19485d21fb758ebf2e0e.jpg","text":"TemporaryFile(/tmp/multipartBody8522068991066700192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073253917,"filename":"image_28012025_08_46_06_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332313594","file1":"1332313589","file0":"1332313583","file4":"1332313701","file5":"1332313821","file3":"1332313627"},"map_files_photo_id_array":[{"photo_id":"1332313821","filename":"file5"},{"photo_id":"1332313594","filename":"file2"},{"photo_id":"1332313701","filename":"file4"},{"photo_id":"1332313589","filename":"file1"},{"photo_id":"1332313583","filename":"file0"},{"photo_id":"1332313627","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332313594":["hashtag1","hashtag2"]},{"1332313627":["hashtag1","hashtag2"]},{"1332313821":["hashtag1","hashtag2"]},{"1332313701":["hashtag1","hashtag2"]},{"1332313589":["hashtag1","hashtag2"]},{"1332313583":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332313594, 1332313627, 1332313821, 1332313701, 1332313589, 1332313583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.986793756484985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:07:33.728626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/46/image_28012025_08_47_05_9414.jpg', '/home/pi/Desktop/images/28012025/08/47/image_28012025_08_47_16_10347.jpg', '/home/pi/Desktop/images/28012025/08/47/image_28012025_08_47_26_10364.jpg', '/home/pi/Desktop/images/28012025/08/47/image_28012025_08_47_35_9345.jpg', '/home/pi/Desktop/images/28012025/08/47/image_28012025_08_47_46_10371.jpg', '/home/pi/Desktop/images/28012025/08/47/image_28012025_08_47_56_10436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/46/image_28012025_08_47_05_9414.jpg
/home/pi/Desktop/images/28012025/08/47/image_28012025_08_47_16_10347.jpg
/home/pi/Desktop/images/28012025/08/47/image_28012025_08_47_26_10364.jpg
/home/pi/Desktop/images/28012025/08/47/image_28012025_08_47_35_9345.jpg
/home/pi/Desktop/images/28012025/08/47/image_28012025_08_47_46_10371.jpg
/home/pi/Desktop/images/28012025/08/47/image_28012025_08_47_56_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":["1332314136","1332314156","1332314138","1332313991","1332314201","1332314102"],"photo_ids_order":["1332313991","1332314102","1332314136","1332314138","1332314156","1332314201"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/749e3d5310a33f05fd8250f2126d6a73.jpg","text":"TemporaryFile(/tmp/multipartBody2940867257314034342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073314749,"filename":"image_28012025_08_47_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/1/28/90789f6f575325167f28b0b3dcb35aa9.jpg","text":"TemporaryFile(/tmp/multipartBody2942305293622568919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073314749,"filename":"image_28012025_08_47_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/1/28/f39e8222b0a9117dcb3481dff7209ac2.jpg","text":"TemporaryFile(/tmp/multipartBody2996585649473377142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073314749,"filename":"image_28012025_08_47_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/1/28/4756e934c0c05c4cf058964dbb2becb6.jpg","text":"TemporaryFile(/tmp/multipartBody5133955605109332490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073314749,"filename":"image_28012025_08_47_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/1/28/802e0ac4511bddec6abf559a87851ffd.jpg","text":"TemporaryFile(/tmp/multipartBody3530847509440903749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073314749,"filename":"image_28012025_08_47_56_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2927418152f347b9cd73d769d9f2986e.jpg","text":"TemporaryFile(/tmp/multipartBody4342753387558168714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073314749,"filename":"image_28012025_08_47_16_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332314136","file1":"1332314102","file0":"1332313991","file4":"1332314156","file5":"1332314201","file3":"1332314138"},"map_files_photo_id_array":[{"photo_id":"1332314201","filename":"file5"},{"photo_id":"1332314136","filename":"file2"},{"photo_id":"1332314156","filename":"file4"},{"photo_id":"1332314102","filename":"file1"},{"photo_id":"1332313991","filename":"file0"},{"photo_id":"1332314138","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332314136":["hashtag1","hashtag2"]},{"1332314156":["hashtag1","hashtag2"]},{"1332314138":["hashtag1","hashtag2"]},{"1332313991":["hashtag1","hashtag2"]},{"1332314201":["hashtag1","hashtag2"]},{"1332314102":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332314136, 1332314156, 1332314138, 1332313991, 1332314201, 1332314102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86644768714905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:08:32.871724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/47/image_28012025_08_48_06_9351.jpg', '/home/pi/Desktop/images/28012025/08/48/image_28012025_08_48_15_9803.jpg', '/home/pi/Desktop/images/28012025/08/48/image_28012025_08_48_26_10350.jpg', '/home/pi/Desktop/images/28012025/08/48/image_28012025_08_48_36_10334.jpg', '/home/pi/Desktop/images/28012025/08/48/image_28012025_08_48_46_9438.jpg', '/home/pi/Desktop/images/28012025/08/48/image_28012025_08_48_56_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/47/image_28012025_08_48_06_9351.jpg
/home/pi/Desktop/images/28012025/08/48/image_28012025_08_48_15_9803.jpg
/home/pi/Desktop/images/28012025/08/48/image_28012025_08_48_26_10350.jpg
/home/pi/Desktop/images/28012025/08/48/image_28012025_08_48_36_10334.jpg
/home/pi/Desktop/images/28012025/08/48/image_28012025_08_48_46_9438.jpg
/home/pi/Desktop/images/28012025/08/48/image_28012025_08_48_56_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":["1332314326","1332314341","1332314338","1332314343","1332314334","1332314330"],"photo_ids_order":["1332314326","1332314330","1332314334","1332314338","1332314341","1332314343"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6b2548de713fc4a85e2ff615574c401a.jpg","text":"TemporaryFile(/tmp/multipartBody5821858912907543866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073373864,"filename":"image_28012025_08_48_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/1/28/4be5f73e68b07aa2d2b3e02c127535ac.jpg","text":"TemporaryFile(/tmp/multipartBody3061066119865345001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073373864,"filename":"image_28012025_08_48_46_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/643cd6517b9267d26fb820e14d3903b4.jpg","text":"TemporaryFile(/tmp/multipartBody2500779890524195284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073373864,"filename":"image_28012025_08_48_36_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ca54a8920a3357d8887c9d28565d4e3a.jpg","text":"TemporaryFile(/tmp/multipartBody5341403030888376558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073373864,"filename":"image_28012025_08_48_56_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e2731f62cab9e2702826abf587383828.jpg","text":"TemporaryFile(/tmp/multipartBody6889958631802180636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073373864,"filename":"image_28012025_08_48_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/1/28/7b178ff2795c65984ae10150a716f200.jpg","text":"TemporaryFile(/tmp/multipartBody3673391469296806107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073373864,"filename":"image_28012025_08_48_15_9803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332314334","file1":"1332314330","file0":"1332314326","file4":"1332314341","file5":"1332314343","file3":"1332314338"},"map_files_photo_id_array":[{"photo_id":"1332314343","filename":"file5"},{"photo_id":"1332314334","filename":"file2"},{"photo_id":"1332314341","filename":"file4"},{"photo_id":"1332314330","filename":"file1"},{"photo_id":"1332314326","filename":"file0"},{"photo_id":"1332314338","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332314326":["hashtag1","hashtag2"]},{"1332314341":["hashtag1","hashtag2"]},{"1332314338":["hashtag1","hashtag2"]},{"1332314343":["hashtag1","hashtag2"]},{"1332314334":["hashtag1","hashtag2"]},{"1332314330":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332314326, 1332314341, 1332314338, 1332314343, 1332314334, 1332314330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.636903524398804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:09:33.011312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/48/image_28012025_08_49_06_10392.jpg', '/home/pi/Desktop/images/28012025/08/49/image_28012025_08_49_16_9418.jpg', '/home/pi/Desktop/images/28012025/08/49/image_28012025_08_49_26_10344.jpg', '/home/pi/Desktop/images/28012025/08/49/image_28012025_08_49_35_9412.jpg', '/home/pi/Desktop/images/28012025/08/49/image_28012025_08_49_46_10423.jpg', '/home/pi/Desktop/images/28012025/08/49/image_28012025_08_49_55_9507.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/48/image_28012025_08_49_06_10392.jpg
/home/pi/Desktop/images/28012025/08/49/image_28012025_08_49_16_9418.jpg
/home/pi/Desktop/images/28012025/08/49/image_28012025_08_49_26_10344.jpg
/home/pi/Desktop/images/28012025/08/49/image_28012025_08_49_35_9412.jpg
/home/pi/Desktop/images/28012025/08/49/image_28012025_08_49_46_10423.jpg
/home/pi/Desktop/images/28012025/08/49/image_28012025_08_49_55_9507.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332314371","1332314368","1332314355","1332314364","1332314366","1332314360"],"photo_ids_order":["1332314355","1332314360","1332314364","1332314366","1332314368","1332314371"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f53ae744225cc7bed022934edfc1e3e9.jpg","text":"TemporaryFile(/tmp/multipartBody9085124541496351236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073434050,"filename":"image_28012025_08_49_55_9507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ab27eef3e342d47d160779c94a91d955.jpg","text":"TemporaryFile(/tmp/multipartBody8365654277601951833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073434050,"filename":"image_28012025_08_49_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/1/28/4d15c42542682621b2012a4858017158.jpg","text":"TemporaryFile(/tmp/multipartBody7070560632538340481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073434050,"filename":"image_28012025_08_49_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/1/28/e0ddac95ef381f185a85012b451a19e0.jpg","text":"TemporaryFile(/tmp/multipartBody7478946737622882032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073434050,"filename":"image_28012025_08_49_26_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f65dd786ee3b86b859e3f4847c235444.jpg","text":"TemporaryFile(/tmp/multipartBody5946039529970376854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073434050,"filename":"image_28012025_08_49_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/1/28/32246404a89efa7d6efca7df8f27310a.jpg","text":"TemporaryFile(/tmp/multipartBody2243097778261054286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073434050,"filename":"image_28012025_08_49_16_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332314364","file1":"1332314360","file0":"1332314355","file4":"1332314368","file5":"1332314371","file3":"1332314366"},"map_files_photo_id_array":[{"photo_id":"1332314371","filename":"file5"},{"photo_id":"1332314364","filename":"file2"},{"photo_id":"1332314368","filename":"file4"},{"photo_id":"1332314360","filename":"file1"},{"photo_id":"1332314355","filename":"file0"},{"photo_id":"1332314366","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332314371":["hashtag1","hashtag2"]},{"1332314368":["hashtag1","hashtag2"]},{"1332314355":["hashtag1","hashtag2"]},{"1332314364":["hashtag1","hashtag2"]},{"1332314366":["hashtag1","hashtag2"]},{"1332314360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332314371, 1332314368, 1332314355, 1332314364, 1332314366, 1332314360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.04600191116333 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:10:32.186854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/49/image_28012025_08_50_06_10329.jpg', '/home/pi/Desktop/images/28012025/08/50/image_28012025_08_50_16_10366.jpg', '/home/pi/Desktop/images/28012025/08/50/image_28012025_08_50_26_9418.jpg', '/home/pi/Desktop/images/28012025/08/50/image_28012025_08_50_36_10356.jpg', '/home/pi/Desktop/images/28012025/08/50/image_28012025_08_50_46_10403.jpg', '/home/pi/Desktop/images/28012025/08/50/image_28012025_08_50_56_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/49/image_28012025_08_50_06_10329.jpg
/home/pi/Desktop/images/28012025/08/50/image_28012025_08_50_16_10366.jpg
/home/pi/Desktop/images/28012025/08/50/image_28012025_08_50_26_9418.jpg
/home/pi/Desktop/images/28012025/08/50/image_28012025_08_50_36_10356.jpg
/home/pi/Desktop/images/28012025/08/50/image_28012025_08_50_46_10403.jpg
/home/pi/Desktop/images/28012025/08/50/image_28012025_08_50_56_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":["1332314584","1332314620","1332314617","1332314560","1332314513","1332314507"],"photo_ids_order":["1332314507","1332314513","1332314560","1332314584","1332314617","1332314620"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/37e179f91757a1ae8bff09345e085130.jpg","text":"TemporaryFile(/tmp/multipartBody5685439194811448983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073493174,"filename":"image_28012025_08_50_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/1/28/77ee65d69dd805726a21f9283b509626.jpg","text":"TemporaryFile(/tmp/multipartBody7563989017315618444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073493174,"filename":"image_28012025_08_50_56_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d558e2ff86ebede56bdd865844c7586f.jpg","text":"TemporaryFile(/tmp/multipartBody9062787516505286866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073493174,"filename":"image_28012025_08_50_46_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b47504374394964103427232323a26dd.jpg","text":"TemporaryFile(/tmp/multipartBody4492571475401078107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073493174,"filename":"image_28012025_08_50_26_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/046a04f1c8b9b8f8ba6ea8c12d11fb44.jpg","text":"TemporaryFile(/tmp/multipartBody361965545631626855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073493174,"filename":"image_28012025_08_50_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/1/28/6c01f0a44bf523fdd13f60db589ec2e0.jpg","text":"TemporaryFile(/tmp/multipartBody6567944071162375873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073493174,"filename":"image_28012025_08_50_06_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332314560","file1":"1332314513","file0":"1332314507","file4":"1332314617","file5":"1332314620","file3":"1332314584"},"map_files_photo_id_array":[{"photo_id":"1332314620","filename":"file5"},{"photo_id":"1332314560","filename":"file2"},{"photo_id":"1332314617","filename":"file4"},{"photo_id":"1332314513","filename":"file1"},{"photo_id":"1332314507","filename":"file0"},{"photo_id":"1332314584","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332314584":["hashtag1","hashtag2"]},{"1332314620":["hashtag1","hashtag2"]},{"1332314617":["hashtag1","hashtag2"]},{"1332314560":["hashtag1","hashtag2"]},{"1332314513":["hashtag1","hashtag2"]},{"1332314507":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332314584, 1332314620, 1332314617, 1332314560, 1332314513, 1332314507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33789610862732 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:11:32.425438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/50/image_28012025_08_51_06_10361.jpg', '/home/pi/Desktop/images/28012025/08/51/image_28012025_08_51_15_9347.jpg', '/home/pi/Desktop/images/28012025/08/51/image_28012025_08_51_25_10103.jpg', '/home/pi/Desktop/images/28012025/08/51/image_28012025_08_51_36_10365.jpg', '/home/pi/Desktop/images/28012025/08/51/image_28012025_08_51_46_10430.jpg', '/home/pi/Desktop/images/28012025/08/51/image_28012025_08_51_56_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/50/image_28012025_08_51_06_10361.jpg
/home/pi/Desktop/images/28012025/08/51/image_28012025_08_51_15_9347.jpg
/home/pi/Desktop/images/28012025/08/51/image_28012025_08_51_25_10103.jpg
/home/pi/Desktop/images/28012025/08/51/image_28012025_08_51_36_10365.jpg
/home/pi/Desktop/images/28012025/08/51/image_28012025_08_51_46_10430.jpg
/home/pi/Desktop/images/28012025/08/51/image_28012025_08_51_56_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":["1332314641","1332314644","1332314638","1332314647","1332314629","1332314634"],"photo_ids_order":["1332314629","1332314634","1332314638","1332314641","1332314644","1332314647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/88aea367905c882b295cfe99dec5ac68.jpg","text":"TemporaryFile(/tmp/multipartBody2244606754840105144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073553414,"filename":"image_28012025_08_51_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/1/28/047b5f174f4a53e9c721500a833dfa5c.jpg","text":"TemporaryFile(/tmp/multipartBody4195754577571139298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073553414,"filename":"image_28012025_08_51_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/1/28/4ccf28640c56b759102c1cdf6362b3e0.jpg","text":"TemporaryFile(/tmp/multipartBody4430859332215696019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073553414,"filename":"image_28012025_08_51_25_10103.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/505a08eeefdf3afe1df4e1cd663565eb.jpg","text":"TemporaryFile(/tmp/multipartBody5884400509043815048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073553414,"filename":"image_28012025_08_51_56_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/02c926cf096b6e4fe578ccaec2c8b7fc.jpg","text":"TemporaryFile(/tmp/multipartBody6254683764830527679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073553414,"filename":"image_28012025_08_51_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/1/28/a48ad24662c3320cdb73532328cc8101.jpg","text":"TemporaryFile(/tmp/multipartBody7928884197603259452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073553414,"filename":"image_28012025_08_51_15_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332314638","file1":"1332314634","file0":"1332314629","file4":"1332314644","file5":"1332314647","file3":"1332314641"},"map_files_photo_id_array":[{"photo_id":"1332314647","filename":"file5"},{"photo_id":"1332314638","filename":"file2"},{"photo_id":"1332314644","filename":"file4"},{"photo_id":"1332314634","filename":"file1"},{"photo_id":"1332314629","filename":"file0"},{"photo_id":"1332314641","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332314641":["hashtag1","hashtag2"]},{"1332314644":["hashtag1","hashtag2"]},{"1332314638":["hashtag1","hashtag2"]},{"1332314647":["hashtag1","hashtag2"]},{"1332314629":["hashtag1","hashtag2"]},{"1332314634":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332314641, 1332314644, 1332314638, 1332314647, 1332314629, 1332314634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.13922429084778 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:12:32.642814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/52/image_28012025_08_52_15_9468.jpg', '/home/pi/Desktop/images/28012025/08/52/image_28012025_08_52_26_10375.jpg', '/home/pi/Desktop/images/28012025/08/52/image_28012025_08_52_56_10358.jpg', '/home/pi/Desktop/images/28012025/08/52/image_28012025_08_53_05_9531.jpg', '/home/pi/Desktop/images/28012025/08/53/image_28012025_08_53_16_10338.jpg', '/home/pi/Desktop/images/28012025/08/53/image_28012025_08_53_26_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/52/image_28012025_08_52_15_9468.jpg
/home/pi/Desktop/images/28012025/08/52/image_28012025_08_52_26_10375.jpg
/home/pi/Desktop/images/28012025/08/52/image_28012025_08_52_56_10358.jpg
/home/pi/Desktop/images/28012025/08/52/image_28012025_08_53_05_9531.jpg
/home/pi/Desktop/images/28012025/08/53/image_28012025_08_53_16_10338.jpg
/home/pi/Desktop/images/28012025/08/53/image_28012025_08_53_26_10349.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.749711275100708 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 15:12:42.650376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/52/image_28012025_08_52_15_9468.jpg', '/home/pi/Desktop/images/28012025/08/52/image_28012025_08_52_26_10375.jpg', '/home/pi/Desktop/images/28012025/08/52/image_28012025_08_52_56_10358.jpg', '/home/pi/Desktop/images/28012025/08/52/image_28012025_08_53_05_9531.jpg', '/home/pi/Desktop/images/28012025/08/53/image_28012025_08_53_16_10338.jpg', '/home/pi/Desktop/images/28012025/08/53/image_28012025_08_53_26_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/52/image_28012025_08_52_15_9468.jpg
/home/pi/Desktop/images/28012025/08/52/image_28012025_08_52_26_10375.jpg
/home/pi/Desktop/images/28012025/08/52/image_28012025_08_52_56_10358.jpg
/home/pi/Desktop/images/28012025/08/52/image_28012025_08_53_05_9531.jpg
/home/pi/Desktop/images/28012025/08/53/image_28012025_08_53_16_10338.jpg
/home/pi/Desktop/images/28012025/08/53/image_28012025_08_53_26_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332314659","1332314693","1332314696","1332314675","1332314699","1332314690"],"photo_ids_order":["1332314659","1332314675","1332314690","1332314693","1332314696","1332314699"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e529c412e17a5ad340a6a2eaf0a3016d.jpg","text":"TemporaryFile(/tmp/multipartBody3943108710970196129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073623550,"filename":"image_28012025_08_52_15_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6d3f85111913be554f6b3462267a1e76.jpg","text":"TemporaryFile(/tmp/multipartBody2241498246104422163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073623550,"filename":"image_28012025_08_53_05_9531.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2f712661893b363d84049790416a40cf.jpg","text":"TemporaryFile(/tmp/multipartBody7991349093027198001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073623550,"filename":"image_28012025_08_53_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/1/28/821183d332b6e24782f8da886a83d73f.jpg","text":"TemporaryFile(/tmp/multipartBody4289230981338352910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073623550,"filename":"image_28012025_08_52_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/1/28/2249865f227b0348f98ef71ee322baef.jpg","text":"TemporaryFile(/tmp/multipartBody7482549153706164489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073623550,"filename":"image_28012025_08_53_26_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/11b2ccf46c3fe253ad3c5b48cfb2f73b.jpg","text":"TemporaryFile(/tmp/multipartBody3884409702647136255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073623550,"filename":"image_28012025_08_52_56_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332314690","file1":"1332314675","file0":"1332314659","file4":"1332314696","file5":"1332314699","file3":"1332314693"},"map_files_photo_id_array":[{"photo_id":"1332314699","filename":"file5"},{"photo_id":"1332314690","filename":"file2"},{"photo_id":"1332314696","filename":"file4"},{"photo_id":"1332314675","filename":"file1"},{"photo_id":"1332314659","filename":"file0"},{"photo_id":"1332314693","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332314659":["hashtag1","hashtag2"]},{"1332314693":["hashtag1","hashtag2"]},{"1332314696":["hashtag1","hashtag2"]},{"1332314675":["hashtag1","hashtag2"]},{"1332314699":["hashtag1","hashtag2"]},{"1332314690":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332314659, 1332314693, 1332314696, 1332314675, 1332314699, 1332314690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.671491861343384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:13:32.932643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/53/image_28012025_08_53_35_9353.jpg', '/home/pi/Desktop/images/28012025/08/53/image_28012025_08_53_46_10347.jpg', '/home/pi/Desktop/images/28012025/08/53/image_28012025_08_53_56_10415.jpg', '/home/pi/Desktop/images/28012025/08/53/image_28012025_08_54_06_9361.jpg', '/home/pi/Desktop/images/28012025/08/54/image_28012025_08_54_16_10354.jpg', '/home/pi/Desktop/images/28012025/08/54/image_28012025_08_54_25_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/53/image_28012025_08_53_35_9353.jpg
/home/pi/Desktop/images/28012025/08/53/image_28012025_08_53_46_10347.jpg
/home/pi/Desktop/images/28012025/08/53/image_28012025_08_53_56_10415.jpg
/home/pi/Desktop/images/28012025/08/53/image_28012025_08_54_06_9361.jpg
/home/pi/Desktop/images/28012025/08/54/image_28012025_08_54_16_10354.jpg
/home/pi/Desktop/images/28012025/08/54/image_28012025_08_54_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":["1332314710","1332314716","1332314718","1332314711","1332314720","1332314714"],"photo_ids_order":["1332314710","1332314711","1332314714","1332314716","1332314718","1332314720"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/72180e59e8ecaa57995a81c1ffabb148.jpg","text":"TemporaryFile(/tmp/multipartBody6431953123308701081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073673932,"filename":"image_28012025_08_53_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/1/28/52bf67b10f98aaaf7c5171d830e3485f.jpg","text":"TemporaryFile(/tmp/multipartBody5921952779394106250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073673932,"filename":"image_28012025_08_54_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/1/28/9415fcf08384fe9624495ce4de683ad1.jpg","text":"TemporaryFile(/tmp/multipartBody7712407752470867589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073673932,"filename":"image_28012025_08_54_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/1/28/45480322823a8fea7b91d5d7f61d607b.jpg","text":"TemporaryFile(/tmp/multipartBody3171263119885175529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073673932,"filename":"image_28012025_08_53_46_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/72b3aa57f717864dd1c8410d25e1ca09.jpg","text":"TemporaryFile(/tmp/multipartBody8201251021893747914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073673932,"filename":"image_28012025_08_54_25_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ce18817ffab0e3c53b43e4f19b54913f.jpg","text":"TemporaryFile(/tmp/multipartBody3063383271655703228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073673932,"filename":"image_28012025_08_53_56_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332314714","file1":"1332314711","file0":"1332314710","file4":"1332314718","file5":"1332314720","file3":"1332314716"},"map_files_photo_id_array":[{"photo_id":"1332314720","filename":"file5"},{"photo_id":"1332314714","filename":"file2"},{"photo_id":"1332314718","filename":"file4"},{"photo_id":"1332314711","filename":"file1"},{"photo_id":"1332314710","filename":"file0"},{"photo_id":"1332314716","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332314710":["hashtag1","hashtag2"]},{"1332314716":["hashtag1","hashtag2"]},{"1332314718":["hashtag1","hashtag2"]},{"1332314711":["hashtag1","hashtag2"]},{"1332314720":["hashtag1","hashtag2"]},{"1332314714":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332314710, 1332314716, 1332314718, 1332314711, 1332314720, 1332314714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.49278807640076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:14:33.190055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/54/image_28012025_08_54_36_10363.jpg', '/home/pi/Desktop/images/28012025/08/54/image_28012025_08_54_46_10346.jpg', '/home/pi/Desktop/images/28012025/08/54/image_28012025_08_54_55_9405.jpg', '/home/pi/Desktop/images/28012025/08/54/image_28012025_08_55_06_10333.jpg', '/home/pi/Desktop/images/28012025/08/55/image_28012025_08_55_16_10473.jpg', '/home/pi/Desktop/images/28012025/08/55/image_28012025_08_55_26_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/54/image_28012025_08_54_36_10363.jpg
/home/pi/Desktop/images/28012025/08/54/image_28012025_08_54_46_10346.jpg
/home/pi/Desktop/images/28012025/08/54/image_28012025_08_54_55_9405.jpg
/home/pi/Desktop/images/28012025/08/54/image_28012025_08_55_06_10333.jpg
/home/pi/Desktop/images/28012025/08/55/image_28012025_08_55_16_10473.jpg
/home/pi/Desktop/images/28012025/08/55/image_28012025_08_55_26_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":["1332314770","1332314766","1332314751","1332314739","1332314756","1332314773"],"photo_ids_order":["1332314739","1332314751","1332314756","1332314766","1332314770","1332314773"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a10fb7d3891a9dea9ebb9eb54e29526b.jpg","text":"TemporaryFile(/tmp/multipartBody3429638948569905797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073734181,"filename":"image_28012025_08_55_16_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d9f3ae66517a6981c66abbf3dfa71442.jpg","text":"TemporaryFile(/tmp/multipartBody8559810225468536905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073734181,"filename":"image_28012025_08_55_06_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/43758025a62f22c3572ad47d4e5e60e7.jpg","text":"TemporaryFile(/tmp/multipartBody1378045485629434034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073734181,"filename":"image_28012025_08_54_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/1/28/dbc5b9137dd9814d48744a6c6f6512d3.jpg","text":"TemporaryFile(/tmp/multipartBody8566545880984146368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073734181,"filename":"image_28012025_08_54_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/1/28/3ae80044d840e5da21f6b88bfc784bff.jpg","text":"TemporaryFile(/tmp/multipartBody4665008926747188547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073734181,"filename":"image_28012025_08_54_55_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f4f447ca5650da0202c58cfbe5cf5b5f.jpg","text":"TemporaryFile(/tmp/multipartBody5057934747097110357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073734181,"filename":"image_28012025_08_55_26_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332314756","file1":"1332314751","file0":"1332314739","file4":"1332314770","file5":"1332314773","file3":"1332314766"},"map_files_photo_id_array":[{"photo_id":"1332314773","filename":"file5"},{"photo_id":"1332314756","filename":"file2"},{"photo_id":"1332314770","filename":"file4"},{"photo_id":"1332314751","filename":"file1"},{"photo_id":"1332314739","filename":"file0"},{"photo_id":"1332314766","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332314770":["hashtag1","hashtag2"]},{"1332314766":["hashtag1","hashtag2"]},{"1332314751":["hashtag1","hashtag2"]},{"1332314739":["hashtag1","hashtag2"]},{"1332314756":["hashtag1","hashtag2"]},{"1332314773":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332314770, 1332314766, 1332314751, 1332314739, 1332314756, 1332314773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.740697383880615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:15:32.400884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/55/image_28012025_08_55_36_10372.jpg', '/home/pi/Desktop/images/28012025/08/55/image_28012025_08_55_45_9344.jpg', '/home/pi/Desktop/images/28012025/08/55/image_28012025_08_55_56_10389.jpg', '/home/pi/Desktop/images/28012025/08/55/image_28012025_08_56_06_10420.jpg', '/home/pi/Desktop/images/28012025/08/56/image_28012025_08_56_15_9359.jpg', '/home/pi/Desktop/images/28012025/08/56/image_28012025_08_56_26_10382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/55/image_28012025_08_55_36_10372.jpg
/home/pi/Desktop/images/28012025/08/55/image_28012025_08_55_45_9344.jpg
/home/pi/Desktop/images/28012025/08/55/image_28012025_08_55_56_10389.jpg
/home/pi/Desktop/images/28012025/08/55/image_28012025_08_56_06_10420.jpg
/home/pi/Desktop/images/28012025/08/56/image_28012025_08_56_15_9359.jpg
/home/pi/Desktop/images/28012025/08/56/image_28012025_08_56_26_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332314891","1332314894","1332314882","1332314879","1332314858","1332314852"],"photo_ids_order":["1332314852","1332314858","1332314879","1332314882","1332314891","1332314894"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/de056c33a9dd44a881017064b1c3c398.jpg","text":"TemporaryFile(/tmp/multipartBody2431928648913870103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073794849,"filename":"image_28012025_08_56_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/1/28/1f3a2f8c641040cbf7ef38e9c7369b8c.jpg","text":"TemporaryFile(/tmp/multipartBody239972834946317029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073794849,"filename":"image_28012025_08_56_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/1/28/26b5d1a899b8f13b970ccc60a48bc62c.jpg","text":"TemporaryFile(/tmp/multipartBody6434919195271801577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073794849,"filename":"image_28012025_08_56_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/1/28/e6b960bce256f841d4f8752c32d3d985.jpg","text":"TemporaryFile(/tmp/multipartBody5231999246313559636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073794849,"filename":"image_28012025_08_55_56_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7a011d6df8c343e70b95f4e407f7296b.jpg","text":"TemporaryFile(/tmp/multipartBody3191022222428034326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073794849,"filename":"image_28012025_08_55_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/1/28/a0522e57dd04976b040a4178f78fb8ad.jpg","text":"TemporaryFile(/tmp/multipartBody2067087442932116451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073794849,"filename":"image_28012025_08_55_36_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332314879","file1":"1332314858","file0":"1332314852","file4":"1332314891","file5":"1332314894","file3":"1332314882"},"map_files_photo_id_array":[{"photo_id":"1332314894","filename":"file5"},{"photo_id":"1332314879","filename":"file2"},{"photo_id":"1332314891","filename":"file4"},{"photo_id":"1332314858","filename":"file1"},{"photo_id":"1332314852","filename":"file0"},{"photo_id":"1332314882","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332314891":["hashtag1","hashtag2"]},{"1332314894":["hashtag1","hashtag2"]},{"1332314882":["hashtag1","hashtag2"]},{"1332314879":["hashtag1","hashtag2"]},{"1332314858":["hashtag1","hashtag2"]},{"1332314852":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332314891, 1332314894, 1332314882, 1332314879, 1332314858, 1332314852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.29538178443909 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:16:32.614730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/56/image_28012025_08_56_35_9462.jpg', '/home/pi/Desktop/images/28012025/08/56/image_28012025_08_56_46_10360.jpg', '/home/pi/Desktop/images/28012025/08/56/image_28012025_08_56_56_10350.jpg', '/home/pi/Desktop/images/28012025/08/56/image_28012025_08_57_06_9450.jpg', '/home/pi/Desktop/images/28012025/08/57/image_28012025_08_57_16_10405.jpg', '/home/pi/Desktop/images/28012025/08/57/image_28012025_08_57_25_9470.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/56/image_28012025_08_56_35_9462.jpg
/home/pi/Desktop/images/28012025/08/56/image_28012025_08_56_46_10360.jpg
/home/pi/Desktop/images/28012025/08/56/image_28012025_08_56_56_10350.jpg
/home/pi/Desktop/images/28012025/08/56/image_28012025_08_57_06_9450.jpg
/home/pi/Desktop/images/28012025/08/57/image_28012025_08_57_16_10405.jpg
/home/pi/Desktop/images/28012025/08/57/image_28012025_08_57_25_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":["1332314917","1332314911","1332314913","1332314907","1332314915","1332314909"],"photo_ids_order":["1332314907","1332314909","1332314911","1332314913","1332314915","1332314917"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f3887f5ffbf7591594b9e53f5dc22a85.jpg","text":"TemporaryFile(/tmp/multipartBody499476950017222855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073853608,"filename":"image_28012025_08_57_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/1/28/58e9ea97dfc4c900ed7b583c1eaa5fa0.jpg","text":"TemporaryFile(/tmp/multipartBody8194041686940467896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073853608,"filename":"image_28012025_08_56_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/1/28/fc1c4aecce415a6c854774a490d844aa.jpg","text":"TemporaryFile(/tmp/multipartBody1853418127724323940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073853608,"filename":"image_28012025_08_57_06_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c93463ca7099f2593939d2b7e3eebb76.jpg","text":"TemporaryFile(/tmp/multipartBody821513035435364829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073853608,"filename":"image_28012025_08_56_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/1/28/cb5b4433fdab63a572fcf8510ed09e4c.jpg","text":"TemporaryFile(/tmp/multipartBody5679012115985822055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073853608,"filename":"image_28012025_08_57_16_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1259a4fa79abb7d70f1ad7cf1003a120.jpg","text":"TemporaryFile(/tmp/multipartBody595199911855213259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073853608,"filename":"image_28012025_08_56_46_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332314911","file1":"1332314909","file0":"1332314907","file4":"1332314915","file5":"1332314917","file3":"1332314913"},"map_files_photo_id_array":[{"photo_id":"1332314917","filename":"file5"},{"photo_id":"1332314911","filename":"file2"},{"photo_id":"1332314915","filename":"file4"},{"photo_id":"1332314909","filename":"file1"},{"photo_id":"1332314907","filename":"file0"},{"photo_id":"1332314913","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332314917":["hashtag1","hashtag2"]},{"1332314911":["hashtag1","hashtag2"]},{"1332314913":["hashtag1","hashtag2"]},{"1332314907":["hashtag1","hashtag2"]},{"1332314915":["hashtag1","hashtag2"]},{"1332314909":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332314917, 1332314911, 1332314913, 1332314907, 1332314915, 1332314909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.5939679145813 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:17:32.800219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/57/image_28012025_08_57_36_10366.jpg', '/home/pi/Desktop/images/28012025/08/57/image_28012025_08_57_46_10359.jpg', '/home/pi/Desktop/images/28012025/08/57/image_28012025_08_57_56_9414.jpg', '/home/pi/Desktop/images/28012025/08/57/image_28012025_08_58_06_10398.jpg', '/home/pi/Desktop/images/28012025/08/58/image_28012025_08_58_15_9416.jpg', '/home/pi/Desktop/images/28012025/08/58/image_28012025_08_58_26_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/57/image_28012025_08_57_36_10366.jpg
/home/pi/Desktop/images/28012025/08/57/image_28012025_08_57_46_10359.jpg
/home/pi/Desktop/images/28012025/08/57/image_28012025_08_57_56_9414.jpg
/home/pi/Desktop/images/28012025/08/57/image_28012025_08_58_06_10398.jpg
/home/pi/Desktop/images/28012025/08/58/image_28012025_08_58_15_9416.jpg
/home/pi/Desktop/images/28012025/08/58/image_28012025_08_58_26_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332314974","1332314968","1332314975","1332314978","1332314971","1332314965"],"photo_ids_order":["1332314965","1332314968","1332314971","1332314974","1332314975","1332314978"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c0743b15998c944a837e253f554146cc.jpg","text":"TemporaryFile(/tmp/multipartBody6903869162144697924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073913815,"filename":"image_28012025_08_58_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/1/28/dbf3d00f2ace233db66db7d254c10faa.jpg","text":"TemporaryFile(/tmp/multipartBody5683433079590812981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073913815,"filename":"image_28012025_08_57_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/1/28/a70c7d6285ce1f9aa9178d5bf1b510db.jpg","text":"TemporaryFile(/tmp/multipartBody662925674537686144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073913815,"filename":"image_28012025_08_58_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/1/28/9d47b314d3fd4e9d6c0fc87e12408712.jpg","text":"TemporaryFile(/tmp/multipartBody6863374955781120240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073913815,"filename":"image_28012025_08_58_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/1/28/cb0edf128c22513628d112bd92194594.jpg","text":"TemporaryFile(/tmp/multipartBody5793116350402331034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073913815,"filename":"image_28012025_08_57_56_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/67d25fc94cf9b24913e383160238025e.jpg","text":"TemporaryFile(/tmp/multipartBody1685142906300219576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073913815,"filename":"image_28012025_08_57_36_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332314971","file1":"1332314968","file0":"1332314965","file4":"1332314975","file5":"1332314978","file3":"1332314974"},"map_files_photo_id_array":[{"photo_id":"1332314978","filename":"file5"},{"photo_id":"1332314971","filename":"file2"},{"photo_id":"1332314975","filename":"file4"},{"photo_id":"1332314968","filename":"file1"},{"photo_id":"1332314965","filename":"file0"},{"photo_id":"1332314974","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332314974":["hashtag1","hashtag2"]},{"1332314968":["hashtag1","hashtag2"]},{"1332314975":["hashtag1","hashtag2"]},{"1332314978":["hashtag1","hashtag2"]},{"1332314971":["hashtag1","hashtag2"]},{"1332314965":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332314974, 1332314968, 1332314975, 1332314978, 1332314971, 1332314965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.88629984855652 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:18:33.026236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/58/image_28012025_08_58_36_10356.jpg', '/home/pi/Desktop/images/28012025/08/58/image_28012025_08_58_46_9481.jpg', '/home/pi/Desktop/images/28012025/08/58/image_28012025_08_58_56_10356.jpg', '/home/pi/Desktop/images/28012025/08/58/image_28012025_08_59_05_9476.jpg', '/home/pi/Desktop/images/28012025/08/59/image_28012025_08_59_16_10375.jpg', '/home/pi/Desktop/images/28012025/08/59/image_28012025_08_59_26_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/58/image_28012025_08_58_36_10356.jpg
/home/pi/Desktop/images/28012025/08/58/image_28012025_08_58_46_9481.jpg
/home/pi/Desktop/images/28012025/08/58/image_28012025_08_58_56_10356.jpg
/home/pi/Desktop/images/28012025/08/58/image_28012025_08_59_05_9476.jpg
/home/pi/Desktop/images/28012025/08/59/image_28012025_08_59_16_10375.jpg
/home/pi/Desktop/images/28012025/08/59/image_28012025_08_59_26_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332315024","1332315021","1332314999","1332315017","1332315005","1332315014"],"photo_ids_order":["1332314999","1332315005","1332315014","1332315017","1332315021","1332315024"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/afee78842f94c320879a633d431959cb.jpg","text":"TemporaryFile(/tmp/multipartBody3722193531562086917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073974024,"filename":"image_28012025_08_59_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/1/28/0c24b61987f0fdcd7de7d92b51233c1e.jpg","text":"TemporaryFile(/tmp/multipartBody3587630833172150931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073974024,"filename":"image_28012025_08_59_16_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/599dbb904ef44cd879e4bb7c63d7c41d.jpg","text":"TemporaryFile(/tmp/multipartBody7446742988386775530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073974024,"filename":"image_28012025_08_58_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/1/28/e32b7d8656e1b13fbacea386bb76068a.jpg","text":"TemporaryFile(/tmp/multipartBody6325531218772662710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073974024,"filename":"image_28012025_08_59_05_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8b4acde9808bd52d927a712e05fcf02a.jpg","text":"TemporaryFile(/tmp/multipartBody6428703607653623583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073974024,"filename":"image_28012025_08_58_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/1/28/841611e51949fa0aa290cc7665bd2715.jpg","text":"TemporaryFile(/tmp/multipartBody2584224358462479553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738073974024,"filename":"image_28012025_08_58_56_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332315014","file1":"1332315005","file0":"1332314999","file4":"1332315021","file5":"1332315024","file3":"1332315017"},"map_files_photo_id_array":[{"photo_id":"1332315024","filename":"file5"},{"photo_id":"1332315014","filename":"file2"},{"photo_id":"1332315021","filename":"file4"},{"photo_id":"1332315005","filename":"file1"},{"photo_id":"1332314999","filename":"file0"},{"photo_id":"1332315017","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332315024":["hashtag1","hashtag2"]},{"1332315021":["hashtag1","hashtag2"]},{"1332314999":["hashtag1","hashtag2"]},{"1332315017":["hashtag1","hashtag2"]},{"1332315005":["hashtag1","hashtag2"]},{"1332315014":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332315024, 1332315021, 1332314999, 1332315017, 1332315005, 1332315014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.32996320724487 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:19:32.227975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/08/59/image_28012025_08_59_35_9354.jpg', '/home/pi/Desktop/images/28012025/08/59/image_28012025_08_59_46_10362.jpg', '/home/pi/Desktop/images/28012025/09/01/image_28012025_09_01_14_10077.jpg', '/home/pi/Desktop/images/28012025/09/01/image_28012025_09_01_25_10380.jpg', '/home/pi/Desktop/images/28012025/09/01/image_28012025_09_01_35_10346.jpg', '/home/pi/Desktop/images/28012025/09/01/image_28012025_09_01_45_9369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/08/59/image_28012025_08_59_35_9354.jpg
/home/pi/Desktop/images/28012025/08/59/image_28012025_08_59_46_10362.jpg
/home/pi/Desktop/images/28012025/09/01/image_28012025_09_01_14_10077.jpg
/home/pi/Desktop/images/28012025/09/01/image_28012025_09_01_25_10380.jpg
/home/pi/Desktop/images/28012025/09/01/image_28012025_09_01_35_10346.jpg
/home/pi/Desktop/images/28012025/09/01/image_28012025_09_01_45_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":["1332315285","1332315369","1332315695","1332315572","1332315748","1332315457"],"photo_ids_order":["1332315285","1332315369","1332315457","1332315572","1332315695","1332315748"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/855941dc938a3fdaa9d5da0b29178523.jpg","text":"TemporaryFile(/tmp/multipartBody1749636171273655072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074033214,"filename":"image_28012025_08_59_35_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0240d33b3c0843f8954a0713e011c2d7.jpg","text":"TemporaryFile(/tmp/multipartBody6377073305844664948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074033214,"filename":"image_28012025_08_59_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/1/28/fb518d19b62a9a59d27cf960689200bc.jpg","text":"TemporaryFile(/tmp/multipartBody1785889607350506337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074033214,"filename":"image_28012025_09_01_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/1/28/f1ffc5cd99164689c28c525be7913832.jpg","text":"TemporaryFile(/tmp/multipartBody7864931542049154327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074033214,"filename":"image_28012025_09_01_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/1/28/c7dd90e2356db15c180695505237f379.jpg","text":"TemporaryFile(/tmp/multipartBody6524776793251591005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074033214,"filename":"image_28012025_09_01_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/1/28/0a792ccd810d20490420d117464b5cb0.jpg","text":"TemporaryFile(/tmp/multipartBody8088666200799497174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074033214,"filename":"image_28012025_09_01_14_10077.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332315457","file1":"1332315369","file0":"1332315285","file4":"1332315695","file5":"1332315748","file3":"1332315572"},"map_files_photo_id_array":[{"photo_id":"1332315748","filename":"file5"},{"photo_id":"1332315457","filename":"file2"},{"photo_id":"1332315695","filename":"file4"},{"photo_id":"1332315369","filename":"file1"},{"photo_id":"1332315285","filename":"file0"},{"photo_id":"1332315572","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332315285":["hashtag1","hashtag2"]},{"1332315369":["hashtag1","hashtag2"]},{"1332315695":["hashtag1","hashtag2"]},{"1332315572":["hashtag1","hashtag2"]},{"1332315748":["hashtag1","hashtag2"]},{"1332315457":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332315285, 1332315369, 1332315695, 1332315572, 1332315748, 1332315457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.41671180725098 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:20:32.576529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/01/image_28012025_09_01_55_10341.jpg', '/home/pi/Desktop/images/28012025/09/01/image_28012025_09_02_05_10399.jpg', '/home/pi/Desktop/images/28012025/09/02/image_28012025_09_02_15_9328.jpg', '/home/pi/Desktop/images/28012025/09/02/image_28012025_09_02_25_10354.jpg', '/home/pi/Desktop/images/28012025/09/02/image_28012025_09_02_35_10365.jpg', '/home/pi/Desktop/images/28012025/09/02/image_28012025_09_02_45_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/01/image_28012025_09_01_55_10341.jpg
/home/pi/Desktop/images/28012025/09/01/image_28012025_09_02_05_10399.jpg
/home/pi/Desktop/images/28012025/09/02/image_28012025_09_02_15_9328.jpg
/home/pi/Desktop/images/28012025/09/02/image_28012025_09_02_25_10354.jpg
/home/pi/Desktop/images/28012025/09/02/image_28012025_09_02_35_10365.jpg
/home/pi/Desktop/images/28012025/09/02/image_28012025_09_02_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":["1332315834","1332315828","1332315872","1332315830","1332315874","1332315832"],"photo_ids_order":["1332315828","1332315830","1332315832","1332315834","1332315872","1332315874"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1c34e812d39d953fec9ceaeadeb86338.jpg","text":"TemporaryFile(/tmp/multipartBody8980107947589962224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074093575,"filename":"image_28012025_09_02_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/1/28/076e96e26aa59735ba02c2efb1b4a987.jpg","text":"TemporaryFile(/tmp/multipartBody466935844752857510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074093575,"filename":"image_28012025_09_01_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/1/28/da64101153b7af1519a547d3838d4d77.jpg","text":"TemporaryFile(/tmp/multipartBody7594063732173425810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074093575,"filename":"image_28012025_09_02_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/1/28/f61ed9f85f577937724026561dde7b81.jpg","text":"TemporaryFile(/tmp/multipartBody6552293788604371712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074093575,"filename":"image_28012025_09_02_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/1/28/01e734413fe595779305842b706f60df.jpg","text":"TemporaryFile(/tmp/multipartBody4912325755590860515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074093575,"filename":"image_28012025_09_02_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/1/28/95b2febe39c287d95ad02fc8353bd263.jpg","text":"TemporaryFile(/tmp/multipartBody6925189342086699357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074093575,"filename":"image_28012025_09_02_15_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332315832","file1":"1332315830","file0":"1332315828","file4":"1332315872","file5":"1332315874","file3":"1332315834"},"map_files_photo_id_array":[{"photo_id":"1332315874","filename":"file5"},{"photo_id":"1332315832","filename":"file2"},{"photo_id":"1332315872","filename":"file4"},{"photo_id":"1332315830","filename":"file1"},{"photo_id":"1332315828","filename":"file0"},{"photo_id":"1332315834","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332315834":["hashtag1","hashtag2"]},{"1332315828":["hashtag1","hashtag2"]},{"1332315872":["hashtag1","hashtag2"]},{"1332315830":["hashtag1","hashtag2"]},{"1332315874":["hashtag1","hashtag2"]},{"1332315832":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332315834, 1332315828, 1332315872, 1332315830, 1332315874, 1332315832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75252652168274 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:21:32.907788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/02/image_28012025_09_02_55_10358.jpg', '/home/pi/Desktop/images/28012025/09/02/image_28012025_09_03_04_9348.jpg', '/home/pi/Desktop/images/28012025/09/03/image_28012025_09_03_15_10335.jpg', '/home/pi/Desktop/images/28012025/09/03/image_28012025_09_03_25_10356.jpg', '/home/pi/Desktop/images/28012025/09/03/image_28012025_09_03_34_9392.jpg', '/home/pi/Desktop/images/28012025/09/03/image_28012025_09_03_45_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/02/image_28012025_09_02_55_10358.jpg
/home/pi/Desktop/images/28012025/09/02/image_28012025_09_03_04_9348.jpg
/home/pi/Desktop/images/28012025/09/03/image_28012025_09_03_15_10335.jpg
/home/pi/Desktop/images/28012025/09/03/image_28012025_09_03_25_10356.jpg
/home/pi/Desktop/images/28012025/09/03/image_28012025_09_03_34_9392.jpg
/home/pi/Desktop/images/28012025/09/03/image_28012025_09_03_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":["1332316989","1332316860","1332316877","1332317015","1332316894","1332317013"],"photo_ids_order":["1332316860","1332316877","1332316894","1332316989","1332317013","1332317015"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ba098affd3980498ec2c95b748ed9103.jpg","text":"TemporaryFile(/tmp/multipartBody1262025579124903132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074153883,"filename":"image_28012025_09_03_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/1/28/b8fc8dc16c486ff7a02b47da8b4fbeaa.jpg","text":"TemporaryFile(/tmp/multipartBody9033832973127432997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074153883,"filename":"image_28012025_09_02_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/1/28/045ead7f4a05f482826bd26063f86522.jpg","text":"TemporaryFile(/tmp/multipartBody4557245817318219865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074153883,"filename":"image_28012025_09_03_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/1/28/fcbaf076aa72c1d64422dfad9d04dabe.jpg","text":"TemporaryFile(/tmp/multipartBody6721009090999772410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074153883,"filename":"image_28012025_09_03_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/1/28/4197dad44f49a90d0ebdf9afdc969819.jpg","text":"TemporaryFile(/tmp/multipartBody4379495233544891651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074153883,"filename":"image_28012025_09_03_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/1/28/f8cecbe2850169013ec28e9e5de20d65.jpg","text":"TemporaryFile(/tmp/multipartBody4178107895348669264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074153883,"filename":"image_28012025_09_03_34_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332316894","file1":"1332316877","file0":"1332316860","file4":"1332317013","file5":"1332317015","file3":"1332316989"},"map_files_photo_id_array":[{"photo_id":"1332317015","filename":"file5"},{"photo_id":"1332316894","filename":"file2"},{"photo_id":"1332317013","filename":"file4"},{"photo_id":"1332316877","filename":"file1"},{"photo_id":"1332316860","filename":"file0"},{"photo_id":"1332316989","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332316989":["hashtag1","hashtag2"]},{"1332316860":["hashtag1","hashtag2"]},{"1332316877":["hashtag1","hashtag2"]},{"1332317015":["hashtag1","hashtag2"]},{"1332316894":["hashtag1","hashtag2"]},{"1332317013":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332316989, 1332316860, 1332316877, 1332317015, 1332316894, 1332317013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.204920053482056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:22:34.161327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/03/image_28012025_09_03_55_10349.jpg', '/home/pi/Desktop/images/28012025/09/03/image_28012025_09_04_05_9419.jpg', '/home/pi/Desktop/images/28012025/09/04/image_28012025_09_04_14_9928.jpg', '/home/pi/Desktop/images/28012025/09/04/image_28012025_09_04_25_10363.jpg', '/home/pi/Desktop/images/28012025/09/04/image_28012025_09_04_35_10459.jpg', '/home/pi/Desktop/images/28012025/09/04/image_28012025_09_04_45_9378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/03/image_28012025_09_03_55_10349.jpg
/home/pi/Desktop/images/28012025/09/03/image_28012025_09_04_05_9419.jpg
/home/pi/Desktop/images/28012025/09/04/image_28012025_09_04_14_9928.jpg
/home/pi/Desktop/images/28012025/09/04/image_28012025_09_04_25_10363.jpg
/home/pi/Desktop/images/28012025/09/04/image_28012025_09_04_35_10459.jpg
/home/pi/Desktop/images/28012025/09/04/image_28012025_09_04_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":["1332317811","1332317810","1332317813","1332317636","1332317542","1332317799"],"photo_ids_order":["1332317542","1332317636","1332317799","1332317810","1332317811","1332317813"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/03ce1ff8daec7d7e2ef4ca45b1517044.jpg","text":"TemporaryFile(/tmp/multipartBody4722077375248253888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074215166,"filename":"image_28012025_09_04_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/1/28/a27598388c3c43ca5e61b62e93119611.jpg","text":"TemporaryFile(/tmp/multipartBody7443202566735151849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074215166,"filename":"image_28012025_09_04_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/1/28/79ba7a1331bef16a218e059a2f41a4f3.jpg","text":"TemporaryFile(/tmp/multipartBody5404418921190923574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074215166,"filename":"image_28012025_09_04_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/1/28/cce5702c8ce2ff1f7457b895f748960f.jpg","text":"TemporaryFile(/tmp/multipartBody6076120970391358468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074215166,"filename":"image_28012025_09_04_05_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/98b4fcf07b3a5b93436b62248acb73df.jpg","text":"TemporaryFile(/tmp/multipartBody6771893898416820491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074215166,"filename":"image_28012025_09_03_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/1/28/352b06eb2b7d9593d602f267294c71e9.jpg","text":"TemporaryFile(/tmp/multipartBody5324577094150043232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074215166,"filename":"image_28012025_09_04_14_9928.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332317799","file1":"1332317636","file0":"1332317542","file4":"1332317811","file5":"1332317813","file3":"1332317810"},"map_files_photo_id_array":[{"photo_id":"1332317813","filename":"file5"},{"photo_id":"1332317799","filename":"file2"},{"photo_id":"1332317811","filename":"file4"},{"photo_id":"1332317636","filename":"file1"},{"photo_id":"1332317542","filename":"file0"},{"photo_id":"1332317810","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332317811":["hashtag1","hashtag2"]},{"1332317810":["hashtag1","hashtag2"]},{"1332317813":["hashtag1","hashtag2"]},{"1332317636":["hashtag1","hashtag2"]},{"1332317542":["hashtag1","hashtag2"]},{"1332317799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332317811, 1332317810, 1332317813, 1332317636, 1332317542, 1332317799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.294668436050415 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:23:32.248085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/04/image_28012025_09_04_55_10618.jpg', '/home/pi/Desktop/images/28012025/09/04/image_28012025_09_05_05_9342.jpg', '/home/pi/Desktop/images/28012025/09/05/image_28012025_09_05_15_10531.jpg', '/home/pi/Desktop/images/28012025/09/05/image_28012025_09_05_25_9363.jpg', '/home/pi/Desktop/images/28012025/09/05/image_28012025_09_05_35_10433.jpg', '/home/pi/Desktop/images/28012025/09/05/image_28012025_09_05_44_9437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/04/image_28012025_09_04_55_10618.jpg
/home/pi/Desktop/images/28012025/09/04/image_28012025_09_05_05_9342.jpg
/home/pi/Desktop/images/28012025/09/05/image_28012025_09_05_15_10531.jpg
/home/pi/Desktop/images/28012025/09/05/image_28012025_09_05_25_9363.jpg
/home/pi/Desktop/images/28012025/09/05/image_28012025_09_05_35_10433.jpg
/home/pi/Desktop/images/28012025/09/05/image_28012025_09_05_44_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":["1332318310","1332318168","1332318342","1332318339","1332318105","1332318182"],"photo_ids_order":["1332318105","1332318168","1332318182","1332318310","1332318339","1332318342"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0ce256edc76a778c1a507587879d00ee.jpg","text":"TemporaryFile(/tmp/multipartBody2869827844226440045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074273260,"filename":"image_28012025_09_05_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/1/28/c9fb991ad514ee7796a1cc5fa56f9623.jpg","text":"TemporaryFile(/tmp/multipartBody325915156662081338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074273260,"filename":"image_28012025_09_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/1/28/677c9071267c49fc23bc1f1fdd28db00.jpg","text":"TemporaryFile(/tmp/multipartBody6049255976119276054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074273260,"filename":"image_28012025_09_05_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/1/28/f6c9c726c8e8eb4653e575e318cc1f07.jpg","text":"TemporaryFile(/tmp/multipartBody8095669141921891921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074273260,"filename":"image_28012025_09_05_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/1/28/7575849c2f39e6a93b992259071f9969.jpg","text":"TemporaryFile(/tmp/multipartBody4417254018555608862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074273260,"filename":"image_28012025_09_04_55_10618.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bef5eb8ab5381666c4cfeb9b938d32e3.jpg","text":"TemporaryFile(/tmp/multipartBody6314999693831276332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074273260,"filename":"image_28012025_09_05_15_10531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332318182","file1":"1332318168","file0":"1332318105","file4":"1332318339","file5":"1332318342","file3":"1332318310"},"map_files_photo_id_array":[{"photo_id":"1332318342","filename":"file5"},{"photo_id":"1332318182","filename":"file2"},{"photo_id":"1332318339","filename":"file4"},{"photo_id":"1332318168","filename":"file1"},{"photo_id":"1332318105","filename":"file0"},{"photo_id":"1332318310","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332318310":["hashtag1","hashtag2"]},{"1332318168":["hashtag1","hashtag2"]},{"1332318342":["hashtag1","hashtag2"]},{"1332318339":["hashtag1","hashtag2"]},{"1332318105":["hashtag1","hashtag2"]},{"1332318182":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332318310, 1332318168, 1332318342, 1332318339, 1332318105, 1332318182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.65835881233215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:24:32.462713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/05/image_28012025_09_05_55_10346.jpg', '/home/pi/Desktop/images/28012025/09/05/image_28012025_09_06_05_10343.jpg', '/home/pi/Desktop/images/28012025/09/06/image_28012025_09_06_15_9423.jpg', '/home/pi/Desktop/images/28012025/09/06/image_28012025_09_06_45_9465.jpg', '/home/pi/Desktop/images/28012025/09/06/image_28012025_09_06_55_10345.jpg', '/home/pi/Desktop/images/28012025/09/06/image_28012025_09_07_05_9400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/05/image_28012025_09_05_55_10346.jpg
/home/pi/Desktop/images/28012025/09/05/image_28012025_09_06_05_10343.jpg
/home/pi/Desktop/images/28012025/09/06/image_28012025_09_06_15_9423.jpg
/home/pi/Desktop/images/28012025/09/06/image_28012025_09_06_45_9465.jpg
/home/pi/Desktop/images/28012025/09/06/image_28012025_09_06_55_10345.jpg
/home/pi/Desktop/images/28012025/09/06/image_28012025_09_07_05_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":["1332318518","1332318499","1332318496","1332318508","1332318513","1332318504"],"photo_ids_order":["1332318496","1332318499","1332318504","1332318508","1332318513","1332318518"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6629468b8e86b525ef6a2dde85884918.jpg","text":"TemporaryFile(/tmp/multipartBody3475553916346056604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074333449,"filename":"image_28012025_09_07_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/1/28/b4c9d82eb1596eea302d13bb0b89e213.jpg","text":"TemporaryFile(/tmp/multipartBody3128202964498542242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074333449,"filename":"image_28012025_09_06_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/1/28/46e05cb356b68ff1cad09dc6cb715176.jpg","text":"TemporaryFile(/tmp/multipartBody5001653469270299061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074333449,"filename":"image_28012025_09_05_55_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/32784b07f9ca1de3827f30f326d52edc.jpg","text":"TemporaryFile(/tmp/multipartBody2709612592542016409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074333449,"filename":"image_28012025_09_06_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/1/28/7e88dde079b820ff38d1e71f8f295113.jpg","text":"TemporaryFile(/tmp/multipartBody852837453153144067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074333449,"filename":"image_28012025_09_06_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/1/28/484eeb3ee04f797ac544808dd2efba1d.jpg","text":"TemporaryFile(/tmp/multipartBody8717325523966068223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074333449,"filename":"image_28012025_09_06_15_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332318504","file1":"1332318499","file0":"1332318496","file4":"1332318513","file5":"1332318518","file3":"1332318508"},"map_files_photo_id_array":[{"photo_id":"1332318518","filename":"file5"},{"photo_id":"1332318504","filename":"file2"},{"photo_id":"1332318513","filename":"file4"},{"photo_id":"1332318499","filename":"file1"},{"photo_id":"1332318496","filename":"file0"},{"photo_id":"1332318508","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332318518":["hashtag1","hashtag2"]},{"1332318499":["hashtag1","hashtag2"]},{"1332318496":["hashtag1","hashtag2"]},{"1332318508":["hashtag1","hashtag2"]},{"1332318513":["hashtag1","hashtag2"]},{"1332318504":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332318518, 1332318499, 1332318496, 1332318508, 1332318513, 1332318504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.095900535583496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:25:32.793605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/07/image_28012025_09_07_15_10341.jpg', '/home/pi/Desktop/images/28012025/09/07/image_28012025_09_07_24_9501.jpg', '/home/pi/Desktop/images/28012025/09/07/image_28012025_09_07_35_10420.jpg', '/home/pi/Desktop/images/28012025/09/07/image_28012025_09_07_45_10495.jpg', '/home/pi/Desktop/images/28012025/09/07/image_28012025_09_07_55_9349.jpg', '/home/pi/Desktop/images/28012025/09/07/image_28012025_09_08_05_10386.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/07/image_28012025_09_07_15_10341.jpg
/home/pi/Desktop/images/28012025/09/07/image_28012025_09_07_24_9501.jpg
/home/pi/Desktop/images/28012025/09/07/image_28012025_09_07_35_10420.jpg
/home/pi/Desktop/images/28012025/09/07/image_28012025_09_07_45_10495.jpg
/home/pi/Desktop/images/28012025/09/07/image_28012025_09_07_55_9349.jpg
/home/pi/Desktop/images/28012025/09/07/image_28012025_09_08_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":["1332318553","1332318556","1332318559","1332318544","1332318532","1332318561"],"photo_ids_order":["1332318532","1332318544","1332318553","1332318556","1332318559","1332318561"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1a75b3520d6c3df083d59f0a2fbed45d.jpg","text":"TemporaryFile(/tmp/multipartBody860305207340677560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074393798,"filename":"image_28012025_09_07_35_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9c83b09083f3508fc251247d66b40b1e.jpg","text":"TemporaryFile(/tmp/multipartBody4585981011399759569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074393798,"filename":"image_28012025_09_07_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/1/28/3b0106493699af1ad67343ccda8597a6.jpg","text":"TemporaryFile(/tmp/multipartBody2254519660446858321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074393798,"filename":"image_28012025_09_07_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/1/28/a22e8051ae026a3f55d2977c8d85d198.jpg","text":"TemporaryFile(/tmp/multipartBody1502224418177577094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074393798,"filename":"image_28012025_09_07_24_9501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4e292cd8c63750662e379b4f5ae2ce09.jpg","text":"TemporaryFile(/tmp/multipartBody8439468325023065025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074393798,"filename":"image_28012025_09_07_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/1/28/f8d58d292865a3f9245504978a6e463a.jpg","text":"TemporaryFile(/tmp/multipartBody4949804784694990099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074393798,"filename":"image_28012025_09_08_05_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332318553","file1":"1332318544","file0":"1332318532","file4":"1332318559","file5":"1332318561","file3":"1332318556"},"map_files_photo_id_array":[{"photo_id":"1332318561","filename":"file5"},{"photo_id":"1332318553","filename":"file2"},{"photo_id":"1332318559","filename":"file4"},{"photo_id":"1332318544","filename":"file1"},{"photo_id":"1332318532","filename":"file0"},{"photo_id":"1332318556","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332318553":["hashtag1","hashtag2"]},{"1332318556":["hashtag1","hashtag2"]},{"1332318559":["hashtag1","hashtag2"]},{"1332318544":["hashtag1","hashtag2"]},{"1332318532":["hashtag1","hashtag2"]},{"1332318561":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332318553, 1332318556, 1332318559, 1332318544, 1332318532, 1332318561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.221386432647705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:26:32.924619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/08/image_28012025_09_08_14_9442.jpg', '/home/pi/Desktop/images/28012025/09/08/image_28012025_09_08_25_10374.jpg', '/home/pi/Desktop/images/28012025/09/08/image_28012025_09_08_35_10416.jpg', '/home/pi/Desktop/images/28012025/09/08/image_28012025_09_08_45_9332.jpg', '/home/pi/Desktop/images/28012025/09/08/image_28012025_09_08_55_10355.jpg', '/home/pi/Desktop/images/28012025/09/08/image_28012025_09_09_04_9400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/08/image_28012025_09_08_14_9442.jpg
/home/pi/Desktop/images/28012025/09/08/image_28012025_09_08_25_10374.jpg
/home/pi/Desktop/images/28012025/09/08/image_28012025_09_08_35_10416.jpg
/home/pi/Desktop/images/28012025/09/08/image_28012025_09_08_45_9332.jpg
/home/pi/Desktop/images/28012025/09/08/image_28012025_09_08_55_10355.jpg
/home/pi/Desktop/images/28012025/09/08/image_28012025_09_09_04_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":["1332318601","1332318610","1332318604","1332318594","1332318607","1332318599"],"photo_ids_order":["1332318594","1332318599","1332318601","1332318604","1332318607","1332318610"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/23a5db890fb19d55709dabc15bf227e1.jpg","text":"TemporaryFile(/tmp/multipartBody6155079888150282054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074453929,"filename":"image_28012025_09_08_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/1/28/41037d8628b4963bc06eaffb668c12b0.jpg","text":"TemporaryFile(/tmp/multipartBody7419333598762003554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074453929,"filename":"image_28012025_09_09_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/1/28/aa5cad8e49838bb0d22cdf3baddb50b6.jpg","text":"TemporaryFile(/tmp/multipartBody4609747274658071284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074453929,"filename":"image_28012025_09_08_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/1/28/8685215f0a845418d8192969f4a932ee.jpg","text":"TemporaryFile(/tmp/multipartBody6567553291563088536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074453929,"filename":"image_28012025_09_08_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/1/28/398611377d27f18112a523d372d78e3e.jpg","text":"TemporaryFile(/tmp/multipartBody5831728170515915226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074453929,"filename":"image_28012025_09_08_55_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/baabf102d3e430ce1f294f852060a42c.jpg","text":"TemporaryFile(/tmp/multipartBody5806988589908159523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074453929,"filename":"image_28012025_09_08_25_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332318601","file1":"1332318599","file0":"1332318594","file4":"1332318607","file5":"1332318610","file3":"1332318604"},"map_files_photo_id_array":[{"photo_id":"1332318610","filename":"file5"},{"photo_id":"1332318601","filename":"file2"},{"photo_id":"1332318607","filename":"file4"},{"photo_id":"1332318599","filename":"file1"},{"photo_id":"1332318594","filename":"file0"},{"photo_id":"1332318604","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332318601":["hashtag1","hashtag2"]},{"1332318610":["hashtag1","hashtag2"]},{"1332318604":["hashtag1","hashtag2"]},{"1332318594":["hashtag1","hashtag2"]},{"1332318607":["hashtag1","hashtag2"]},{"1332318599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332318601, 1332318610, 1332318604, 1332318594, 1332318607, 1332318599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5091667175293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:27:33.167612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/09/image_28012025_09_09_15_10357.jpg', '/home/pi/Desktop/images/28012025/09/09/image_28012025_09_09_25_10415.jpg', '/home/pi/Desktop/images/28012025/09/09/image_28012025_09_09_35_9419.jpg', '/home/pi/Desktop/images/28012025/09/09/image_28012025_09_09_45_10362.jpg', '/home/pi/Desktop/images/28012025/09/09/image_28012025_09_09_54_9437.jpg', '/home/pi/Desktop/images/28012025/09/09/image_28012025_09_10_05_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/09/image_28012025_09_09_15_10357.jpg
/home/pi/Desktop/images/28012025/09/09/image_28012025_09_09_25_10415.jpg
/home/pi/Desktop/images/28012025/09/09/image_28012025_09_09_35_9419.jpg
/home/pi/Desktop/images/28012025/09/09/image_28012025_09_09_45_10362.jpg
/home/pi/Desktop/images/28012025/09/09/image_28012025_09_09_54_9437.jpg
/home/pi/Desktop/images/28012025/09/09/image_28012025_09_10_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":["1332318875","1332318776","1332318631","1332318995","1332318636","1332318653"],"photo_ids_order":["1332318631","1332318636","1332318653","1332318776","1332318875","1332318995"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9da4adc49d2117892d4cd28adbe9aa85.jpg","text":"TemporaryFile(/tmp/multipartBody7805779084304135957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074514142,"filename":"image_28012025_09_09_54_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fdfbfa7267118ff0ac180776097ad540.jpg","text":"TemporaryFile(/tmp/multipartBody5704107742345399970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074514142,"filename":"image_28012025_09_09_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/1/28/328ca8c0f59bd8021a8b145f7be38b35.jpg","text":"TemporaryFile(/tmp/multipartBody3888678212369726254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074514142,"filename":"image_28012025_09_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/1/28/27f7bb7620ee08c3f6c459cb6acd7550.jpg","text":"TemporaryFile(/tmp/multipartBody8143618586108048066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074514142,"filename":"image_28012025_09_10_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/1/28/9a69446d47c1d46d01dc224f3d7eebdd.jpg","text":"TemporaryFile(/tmp/multipartBody1882199799069802006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074514142,"filename":"image_28012025_09_09_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/1/28/874e3ddf20d9e584f3fd88891fe0fbbb.jpg","text":"TemporaryFile(/tmp/multipartBody2213508971859544524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074514142,"filename":"image_28012025_09_09_35_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332318653","file1":"1332318636","file0":"1332318631","file4":"1332318875","file5":"1332318995","file3":"1332318776"},"map_files_photo_id_array":[{"photo_id":"1332318995","filename":"file5"},{"photo_id":"1332318653","filename":"file2"},{"photo_id":"1332318875","filename":"file4"},{"photo_id":"1332318636","filename":"file1"},{"photo_id":"1332318631","filename":"file0"},{"photo_id":"1332318776","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332318875":["hashtag1","hashtag2"]},{"1332318776":["hashtag1","hashtag2"]},{"1332318631":["hashtag1","hashtag2"]},{"1332318995":["hashtag1","hashtag2"]},{"1332318636":["hashtag1","hashtag2"]},{"1332318653":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332318875, 1332318776, 1332318631, 1332318995, 1332318636, 1332318653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12463355064392 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:28:32.359100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/10/image_28012025_09_10_15_10345.jpg', '/home/pi/Desktop/images/28012025/09/10/image_28012025_09_10_24_9438.jpg', '/home/pi/Desktop/images/28012025/09/10/image_28012025_09_10_35_10353.jpg', '/home/pi/Desktop/images/28012025/09/10/image_28012025_09_10_44_9563.jpg', '/home/pi/Desktop/images/28012025/09/10/image_28012025_09_10_55_10327.jpg', '/home/pi/Desktop/images/28012025/09/10/image_28012025_09_11_05_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/10/image_28012025_09_10_15_10345.jpg
/home/pi/Desktop/images/28012025/09/10/image_28012025_09_10_24_9438.jpg
/home/pi/Desktop/images/28012025/09/10/image_28012025_09_10_35_10353.jpg
/home/pi/Desktop/images/28012025/09/10/image_28012025_09_10_44_9563.jpg
/home/pi/Desktop/images/28012025/09/10/image_28012025_09_10_55_10327.jpg
/home/pi/Desktop/images/28012025/09/10/image_28012025_09_11_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":["1332319121","1332319216","1332319138","1332319374","1332319129","1332319335"],"photo_ids_order":["1332319121","1332319129","1332319138","1332319216","1332319335","1332319374"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bac9939aca6de1b4eaf029600947e47f.jpg","text":"TemporaryFile(/tmp/multipartBody5108202863412184873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074573360,"filename":"image_28012025_09_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/1/28/36d77b9c8703e30df6466982bf7e6a85.jpg","text":"TemporaryFile(/tmp/multipartBody3826749343003077792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074573360,"filename":"image_28012025_09_10_44_9563.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/39795c0777544c066ca8a38be7034068.jpg","text":"TemporaryFile(/tmp/multipartBody3190224616473385175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074573360,"filename":"image_28012025_09_10_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/1/28/54d97c6fa9b2acae064f989719c7c3c0.jpg","text":"TemporaryFile(/tmp/multipartBody6141384599621314144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074573360,"filename":"image_28012025_09_11_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/1/28/2dd288b9a28327ca00f556d2b7b06eda.jpg","text":"TemporaryFile(/tmp/multipartBody867039254773563192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074573360,"filename":"image_28012025_09_10_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/1/28/2cbdc2bbd4acc5b1dbb6b71fc7b03643.jpg","text":"TemporaryFile(/tmp/multipartBody3931293803092187591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074573360,"filename":"image_28012025_09_10_55_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332319138","file1":"1332319129","file0":"1332319121","file4":"1332319335","file5":"1332319374","file3":"1332319216"},"map_files_photo_id_array":[{"photo_id":"1332319374","filename":"file5"},{"photo_id":"1332319138","filename":"file2"},{"photo_id":"1332319335","filename":"file4"},{"photo_id":"1332319129","filename":"file1"},{"photo_id":"1332319121","filename":"file0"},{"photo_id":"1332319216","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332319121":["hashtag1","hashtag2"]},{"1332319216":["hashtag1","hashtag2"]},{"1332319138":["hashtag1","hashtag2"]},{"1332319374":["hashtag1","hashtag2"]},{"1332319129":["hashtag1","hashtag2"]},{"1332319335":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332319121, 1332319216, 1332319138, 1332319374, 1332319129, 1332319335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.128984212875366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:29:32.558446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/11/image_28012025_09_11_14_9331.jpg', '/home/pi/Desktop/images/28012025/09/11/image_28012025_09_11_25_10363.jpg', '/home/pi/Desktop/images/28012025/09/11/image_28012025_09_11_35_10348.jpg', '/home/pi/Desktop/images/28012025/09/11/image_28012025_09_11_45_9370.jpg', '/home/pi/Desktop/images/28012025/09/11/image_28012025_09_11_55_10363.jpg', '/home/pi/Desktop/images/28012025/09/11/image_28012025_09_12_05_10393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/11/image_28012025_09_11_14_9331.jpg
/home/pi/Desktop/images/28012025/09/11/image_28012025_09_11_25_10363.jpg
/home/pi/Desktop/images/28012025/09/11/image_28012025_09_11_35_10348.jpg
/home/pi/Desktop/images/28012025/09/11/image_28012025_09_11_45_9370.jpg
/home/pi/Desktop/images/28012025/09/11/image_28012025_09_11_55_10363.jpg
/home/pi/Desktop/images/28012025/09/11/image_28012025_09_12_05_10393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332319522","1332319603","1332319519","1332319510","1332319521","1332319517"],"photo_ids_order":["1332319510","1332319517","1332319519","1332319521","1332319522","1332319603"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e0f5b771f94639400e14b9a221cf81eb.jpg","text":"TemporaryFile(/tmp/multipartBody7433623842003012232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074633541,"filename":"image_28012025_09_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/1/28/5fc5028e8311cca02367215a5ec24d3f.jpg","text":"TemporaryFile(/tmp/multipartBody1847335996000270303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074633541,"filename":"image_28012025_09_12_05_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8357caed29721af79b47d82dc010fcd6.jpg","text":"TemporaryFile(/tmp/multipartBody7586117863425512322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074633541,"filename":"image_28012025_09_11_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/1/28/c9af2bbcf0fe180c0bb44eed15f5791c.jpg","text":"TemporaryFile(/tmp/multipartBody5065875267476436031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074633541,"filename":"image_28012025_09_11_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/1/28/680c884bf9d413b78dad0c9121d7e984.jpg","text":"TemporaryFile(/tmp/multipartBody5555808551631409883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074633541,"filename":"image_28012025_09_11_45_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3c8b1b758a6e52ae60aad706bbe828f1.jpg","text":"TemporaryFile(/tmp/multipartBody1415646253839862349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074633541,"filename":"image_28012025_09_11_25_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332319519","file1":"1332319517","file0":"1332319510","file4":"1332319522","file5":"1332319603","file3":"1332319521"},"map_files_photo_id_array":[{"photo_id":"1332319603","filename":"file5"},{"photo_id":"1332319519","filename":"file2"},{"photo_id":"1332319522","filename":"file4"},{"photo_id":"1332319517","filename":"file1"},{"photo_id":"1332319510","filename":"file0"},{"photo_id":"1332319521","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332319522":["hashtag1","hashtag2"]},{"1332319603":["hashtag1","hashtag2"]},{"1332319519":["hashtag1","hashtag2"]},{"1332319510":["hashtag1","hashtag2"]},{"1332319521":["hashtag1","hashtag2"]},{"1332319517":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332319522, 1332319603, 1332319519, 1332319510, 1332319521, 1332319517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.05664944648743 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:30:32.721279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/12/image_28012025_09_12_15_9420.jpg', '/home/pi/Desktop/images/28012025/09/12/image_28012025_09_12_25_10410.jpg', '/home/pi/Desktop/images/28012025/09/12/image_28012025_09_12_35_9405.jpg', '/home/pi/Desktop/images/28012025/09/12/image_28012025_09_12_45_10430.jpg', '/home/pi/Desktop/images/28012025/09/12/image_28012025_09_12_54_9454.jpg', '/home/pi/Desktop/images/28012025/09/12/image_28012025_09_13_05_10396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/12/image_28012025_09_12_15_9420.jpg
/home/pi/Desktop/images/28012025/09/12/image_28012025_09_12_25_10410.jpg
/home/pi/Desktop/images/28012025/09/12/image_28012025_09_12_35_9405.jpg
/home/pi/Desktop/images/28012025/09/12/image_28012025_09_12_45_10430.jpg
/home/pi/Desktop/images/28012025/09/12/image_28012025_09_12_54_9454.jpg
/home/pi/Desktop/images/28012025/09/12/image_28012025_09_13_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":["1332319846","1332319810","1332319705","1332319807","1332319714","1332319710"],"photo_ids_order":["1332319705","1332319710","1332319714","1332319807","1332319810","1332319846"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/233989fac39f3e936b315dec3308d0c8.jpg","text":"TemporaryFile(/tmp/multipartBody2339282849191830849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074693734,"filename":"image_28012025_09_13_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/1/28/a37b3eb3971a69d3dd501c90df784f48.jpg","text":"TemporaryFile(/tmp/multipartBody3854596974243457037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074693734,"filename":"image_28012025_09_12_54_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7bdf07ef9d6db03b370f34dbb7b6e90a.jpg","text":"TemporaryFile(/tmp/multipartBody4177497310133882861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074693734,"filename":"image_28012025_09_12_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/1/28/35aee77e53e0fc30ce82817e948f41bb.jpg","text":"TemporaryFile(/tmp/multipartBody1457174587466233152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074693734,"filename":"image_28012025_09_12_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/1/28/f60384494bd5e2e5941b8f17316c5e0d.jpg","text":"TemporaryFile(/tmp/multipartBody8570293122845195933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074693734,"filename":"image_28012025_09_12_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/1/28/882511aff05b9eec5db8b2b8c3f838c3.jpg","text":"TemporaryFile(/tmp/multipartBody6621119653216300574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074693734,"filename":"image_28012025_09_12_25_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332319714","file1":"1332319710","file0":"1332319705","file4":"1332319810","file5":"1332319846","file3":"1332319807"},"map_files_photo_id_array":[{"photo_id":"1332319846","filename":"file5"},{"photo_id":"1332319714","filename":"file2"},{"photo_id":"1332319810","filename":"file4"},{"photo_id":"1332319710","filename":"file1"},{"photo_id":"1332319705","filename":"file0"},{"photo_id":"1332319807","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332319846":["hashtag1","hashtag2"]},{"1332319810":["hashtag1","hashtag2"]},{"1332319705":["hashtag1","hashtag2"]},{"1332319807":["hashtag1","hashtag2"]},{"1332319714":["hashtag1","hashtag2"]},{"1332319710":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332319846, 1332319810, 1332319705, 1332319807, 1332319714, 1332319710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.449442625045776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:31:32.950858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/13/image_28012025_09_13_15_10351.jpg', '/home/pi/Desktop/images/28012025/09/13/image_28012025_09_13_24_9351.jpg', '/home/pi/Desktop/images/28012025/09/13/image_28012025_09_13_35_10346.jpg', '/home/pi/Desktop/images/28012025/09/13/image_28012025_09_13_45_10476.jpg', '/home/pi/Desktop/images/28012025/09/13/image_28012025_09_13_55_9337.jpg', '/home/pi/Desktop/images/28012025/09/13/image_28012025_09_14_05_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/13/image_28012025_09_13_15_10351.jpg
/home/pi/Desktop/images/28012025/09/13/image_28012025_09_13_24_9351.jpg
/home/pi/Desktop/images/28012025/09/13/image_28012025_09_13_35_10346.jpg
/home/pi/Desktop/images/28012025/09/13/image_28012025_09_13_45_10476.jpg
/home/pi/Desktop/images/28012025/09/13/image_28012025_09_13_55_9337.jpg
/home/pi/Desktop/images/28012025/09/13/image_28012025_09_14_05_10351.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5862135887145996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 15:31:43.040080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/13/image_28012025_09_13_15_10351.jpg', '/home/pi/Desktop/images/28012025/09/13/image_28012025_09_13_24_9351.jpg', '/home/pi/Desktop/images/28012025/09/13/image_28012025_09_13_35_10346.jpg', '/home/pi/Desktop/images/28012025/09/13/image_28012025_09_13_45_10476.jpg', '/home/pi/Desktop/images/28012025/09/13/image_28012025_09_13_55_9337.jpg', '/home/pi/Desktop/images/28012025/09/13/image_28012025_09_14_05_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/13/image_28012025_09_13_15_10351.jpg
/home/pi/Desktop/images/28012025/09/13/image_28012025_09_13_24_9351.jpg
/home/pi/Desktop/images/28012025/09/13/image_28012025_09_13_35_10346.jpg
/home/pi/Desktop/images/28012025/09/13/image_28012025_09_13_45_10476.jpg
/home/pi/Desktop/images/28012025/09/13/image_28012025_09_13_55_9337.jpg
/home/pi/Desktop/images/28012025/09/13/image_28012025_09_14_05_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332320354","1332320296","1332320410","1332320358","1332320418","1332320301"],"photo_ids_order":["1332320296","1332320301","1332320354","1332320358","1332320410","1332320418"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a0276b9d956388e4cd15e2f081181829.jpg","text":"TemporaryFile(/tmp/multipartBody8310445094489510847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074763941,"filename":"image_28012025_09_13_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/1/28/0714a3cf0058b28826d0d99fd4f2dcfb.jpg","text":"TemporaryFile(/tmp/multipartBody8786548994773182257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074763941,"filename":"image_28012025_09_13_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/1/28/efb11f749ad60caf5571e2d7108adc87.jpg","text":"TemporaryFile(/tmp/multipartBody2946379796634292168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074763941,"filename":"image_28012025_09_13_55_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b4a6055949997266466a5d4733f7eeea.jpg","text":"TemporaryFile(/tmp/multipartBody1281158565040863467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074763941,"filename":"image_28012025_09_13_45_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dc550b17bb279e70ad249b3184232105.jpg","text":"TemporaryFile(/tmp/multipartBody2256159539553098823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074763941,"filename":"image_28012025_09_14_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/1/28/39c4f24729cfb346333af874eda3495d.jpg","text":"TemporaryFile(/tmp/multipartBody4776184401295370349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074763941,"filename":"image_28012025_09_13_24_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332320354","file1":"1332320301","file0":"1332320296","file4":"1332320410","file5":"1332320418","file3":"1332320358"},"map_files_photo_id_array":[{"photo_id":"1332320418","filename":"file5"},{"photo_id":"1332320354","filename":"file2"},{"photo_id":"1332320410","filename":"file4"},{"photo_id":"1332320301","filename":"file1"},{"photo_id":"1332320296","filename":"file0"},{"photo_id":"1332320358","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332320354":["hashtag1","hashtag2"]},{"1332320296":["hashtag1","hashtag2"]},{"1332320410":["hashtag1","hashtag2"]},{"1332320358":["hashtag1","hashtag2"]},{"1332320418":["hashtag1","hashtag2"]},{"1332320301":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332320354, 1332320296, 1332320410, 1332320358, 1332320418, 1332320301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.267486810684204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:32:32.309626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/14/image_28012025_09_14_14_9411.jpg', '/home/pi/Desktop/images/28012025/09/14/image_28012025_09_14_25_10449.jpg', '/home/pi/Desktop/images/28012025/09/14/image_28012025_09_14_35_10455.jpg', '/home/pi/Desktop/images/28012025/09/14/image_28012025_09_14_45_9405.jpg', '/home/pi/Desktop/images/28012025/09/14/image_28012025_09_14_55_10373.jpg', '/home/pi/Desktop/images/28012025/09/14/image_28012025_09_15_04_9404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/14/image_28012025_09_14_14_9411.jpg
/home/pi/Desktop/images/28012025/09/14/image_28012025_09_14_25_10449.jpg
/home/pi/Desktop/images/28012025/09/14/image_28012025_09_14_35_10455.jpg
/home/pi/Desktop/images/28012025/09/14/image_28012025_09_14_45_9405.jpg
/home/pi/Desktop/images/28012025/09/14/image_28012025_09_14_55_10373.jpg
/home/pi/Desktop/images/28012025/09/14/image_28012025_09_15_04_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":["1332320444","1332320446","1332320434","1332320448","1332320436","1332320430"],"photo_ids_order":["1332320430","1332320434","1332320436","1332320444","1332320446","1332320448"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e4494fe760385e23399223a25483d982.jpg","text":"TemporaryFile(/tmp/multipartBody1660732683566017863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074813303,"filename":"image_28012025_09_14_45_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1e1b4e0fba2dcf03f43e70b46e6d9c2a.jpg","text":"TemporaryFile(/tmp/multipartBody3963077806249361990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074813303,"filename":"image_28012025_09_14_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/1/28/ca0ecab749b576d045c3b4635339218f.jpg","text":"TemporaryFile(/tmp/multipartBody6761214063495042949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074813303,"filename":"image_28012025_09_14_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/1/28/711339246ac9b9bb4ef96346319a2920.jpg","text":"TemporaryFile(/tmp/multipartBody8925694348703684343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074813303,"filename":"image_28012025_09_15_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/1/28/0f7200b132130c60da0f806b4aa38ce8.jpg","text":"TemporaryFile(/tmp/multipartBody4691108461277389761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074813303,"filename":"image_28012025_09_14_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/1/28/7d11fb72f89e2e96c0f933160d8e95af.jpg","text":"TemporaryFile(/tmp/multipartBody4052336750717090791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074813303,"filename":"image_28012025_09_14_14_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332320436","file1":"1332320434","file0":"1332320430","file4":"1332320446","file5":"1332320448","file3":"1332320444"},"map_files_photo_id_array":[{"photo_id":"1332320448","filename":"file5"},{"photo_id":"1332320436","filename":"file2"},{"photo_id":"1332320446","filename":"file4"},{"photo_id":"1332320434","filename":"file1"},{"photo_id":"1332320430","filename":"file0"},{"photo_id":"1332320444","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332320444":["hashtag1","hashtag2"]},{"1332320446":["hashtag1","hashtag2"]},{"1332320434":["hashtag1","hashtag2"]},{"1332320448":["hashtag1","hashtag2"]},{"1332320436":["hashtag1","hashtag2"]},{"1332320430":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332320444, 1332320446, 1332320434, 1332320448, 1332320436, 1332320430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.690465211868286 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:33:32.469882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/15/image_28012025_09_15_15_10383.jpg', '/home/pi/Desktop/images/28012025/09/15/image_28012025_09_15_25_10428.jpg', '/home/pi/Desktop/images/28012025/09/15/image_28012025_09_15_35_9356.jpg', '/home/pi/Desktop/images/28012025/09/15/image_28012025_09_15_45_10363.jpg', '/home/pi/Desktop/images/28012025/09/15/image_28012025_09_15_54_9332.jpg', '/home/pi/Desktop/images/28012025/09/15/image_28012025_09_16_05_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/15/image_28012025_09_15_15_10383.jpg
/home/pi/Desktop/images/28012025/09/15/image_28012025_09_15_25_10428.jpg
/home/pi/Desktop/images/28012025/09/15/image_28012025_09_15_35_9356.jpg
/home/pi/Desktop/images/28012025/09/15/image_28012025_09_15_45_10363.jpg
/home/pi/Desktop/images/28012025/09/15/image_28012025_09_15_54_9332.jpg
/home/pi/Desktop/images/28012025/09/15/image_28012025_09_16_05_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332320516","1332320470","1332320473","1332320475","1332320508","1332320465"],"photo_ids_order":["1332320465","1332320470","1332320473","1332320475","1332320508","1332320516"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/89e5f94ffe4a59a43e3135eed1a4e362.jpg","text":"TemporaryFile(/tmp/multipartBody841834277947004022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074873459,"filename":"image_28012025_09_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/1/28/11051ba1ccb2937ce1da6574d53042c0.jpg","text":"TemporaryFile(/tmp/multipartBody4184848454739738355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074873459,"filename":"image_28012025_09_15_25_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cd8c6a1d0513eb51858bacfa5179d129.jpg","text":"TemporaryFile(/tmp/multipartBody3151310533661726337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074873459,"filename":"image_28012025_09_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/1/28/0dbdfa1f490469a065e405f3d27a7b77.jpg","text":"TemporaryFile(/tmp/multipartBody6207759641362854068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074873459,"filename":"image_28012025_09_15_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/1/28/d7f9d3d0976c128d8e7be4e58af5c916.jpg","text":"TemporaryFile(/tmp/multipartBody6907022191249399870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074873459,"filename":"image_28012025_09_15_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/1/28/3807c52554ef54f33b2614e2c4f1c3b3.jpg","text":"TemporaryFile(/tmp/multipartBody1181145696907466179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074873459,"filename":"image_28012025_09_15_15_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332320473","file1":"1332320470","file0":"1332320465","file4":"1332320508","file5":"1332320516","file3":"1332320475"},"map_files_photo_id_array":[{"photo_id":"1332320516","filename":"file5"},{"photo_id":"1332320473","filename":"file2"},{"photo_id":"1332320508","filename":"file4"},{"photo_id":"1332320470","filename":"file1"},{"photo_id":"1332320465","filename":"file0"},{"photo_id":"1332320475","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332320516":["hashtag1","hashtag2"]},{"1332320470":["hashtag1","hashtag2"]},{"1332320473":["hashtag1","hashtag2"]},{"1332320475":["hashtag1","hashtag2"]},{"1332320508":["hashtag1","hashtag2"]},{"1332320465":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332320516, 1332320470, 1332320473, 1332320475, 1332320508, 1332320465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.77146053314209 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:34:32.728512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/16/image_28012025_09_16_15_10361.jpg', '/home/pi/Desktop/images/28012025/09/16/image_28012025_09_16_24_9368.jpg', '/home/pi/Desktop/images/28012025/09/16/image_28012025_09_16_35_10349.jpg', '/home/pi/Desktop/images/28012025/09/16/image_28012025_09_16_45_10354.jpg', '/home/pi/Desktop/images/28012025/09/16/image_28012025_09_16_55_9425.jpg', '/home/pi/Desktop/images/28012025/09/16/image_28012025_09_17_05_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/16/image_28012025_09_16_15_10361.jpg
/home/pi/Desktop/images/28012025/09/16/image_28012025_09_16_24_9368.jpg
/home/pi/Desktop/images/28012025/09/16/image_28012025_09_16_35_10349.jpg
/home/pi/Desktop/images/28012025/09/16/image_28012025_09_16_45_10354.jpg
/home/pi/Desktop/images/28012025/09/16/image_28012025_09_16_55_9425.jpg
/home/pi/Desktop/images/28012025/09/16/image_28012025_09_17_05_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":["1332320534","1332320537","1332320539","1332320530","1332320524","1332320679"],"photo_ids_order":["1332320524","1332320530","1332320534","1332320537","1332320539","1332320679"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/511b9b224e049d0351c275467b4ce4d9.jpg","text":"TemporaryFile(/tmp/multipartBody673881695979701047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074933725,"filename":"image_28012025_09_16_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/1/28/7b3456fdce01b5e055e5b7a60b5f77e6.jpg","text":"TemporaryFile(/tmp/multipartBody7897794385405796308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074933725,"filename":"image_28012025_09_16_45_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4bb96cc63ec7d5ec278b13f57bdc3df0.jpg","text":"TemporaryFile(/tmp/multipartBody6564842059201814665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074933725,"filename":"image_28012025_09_16_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/1/28/2d5998e8c9b9acf95e877719b5f62b11.jpg","text":"TemporaryFile(/tmp/multipartBody1840472171443677974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074933725,"filename":"image_28012025_09_16_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/1/28/36f3f3a188aaa8260188dcba6476910e.jpg","text":"TemporaryFile(/tmp/multipartBody1439927505970049495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074933725,"filename":"image_28012025_09_16_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/1/28/7c2f0705eccd1278ac0516f8aca4dacb.jpg","text":"TemporaryFile(/tmp/multipartBody2342220297985518313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074933725,"filename":"image_28012025_09_17_05_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332320534","file1":"1332320530","file0":"1332320524","file4":"1332320539","file5":"1332320679","file3":"1332320537"},"map_files_photo_id_array":[{"photo_id":"1332320679","filename":"file5"},{"photo_id":"1332320534","filename":"file2"},{"photo_id":"1332320539","filename":"file4"},{"photo_id":"1332320530","filename":"file1"},{"photo_id":"1332320524","filename":"file0"},{"photo_id":"1332320537","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332320534":["hashtag1","hashtag2"]},{"1332320537":["hashtag1","hashtag2"]},{"1332320539":["hashtag1","hashtag2"]},{"1332320530":["hashtag1","hashtag2"]},{"1332320524":["hashtag1","hashtag2"]},{"1332320679":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332320534, 1332320537, 1332320539, 1332320530, 1332320524, 1332320679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.266318798065186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:35:32.963684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/17/image_28012025_09_17_14_9467.jpg', '/home/pi/Desktop/images/28012025/09/17/image_28012025_09_17_25_10398.jpg', '/home/pi/Desktop/images/28012025/09/17/image_28012025_09_17_35_10364.jpg', '/home/pi/Desktop/images/28012025/09/17/image_28012025_09_17_45_9433.jpg', '/home/pi/Desktop/images/28012025/09/17/image_28012025_09_17_55_10387.jpg', '/home/pi/Desktop/images/28012025/09/17/image_28012025_09_18_05_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/17/image_28012025_09_17_14_9467.jpg
/home/pi/Desktop/images/28012025/09/17/image_28012025_09_17_25_10398.jpg
/home/pi/Desktop/images/28012025/09/17/image_28012025_09_17_35_10364.jpg
/home/pi/Desktop/images/28012025/09/17/image_28012025_09_17_45_9433.jpg
/home/pi/Desktop/images/28012025/09/17/image_28012025_09_17_55_10387.jpg
/home/pi/Desktop/images/28012025/09/17/image_28012025_09_18_05_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332320752","1332320772","1332320745","1332320775","1332320774","1332320768"],"photo_ids_order":["1332320745","1332320752","1332320768","1332320772","1332320774","1332320775"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b9c1ce2e74530d513383195ca3255164.jpg","text":"TemporaryFile(/tmp/multipartBody1529147430777014743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074993947,"filename":"image_28012025_09_17_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/1/28/53a525e3db326f01c20ac704bb9bc233.jpg","text":"TemporaryFile(/tmp/multipartBody2537318746897765217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074993947,"filename":"image_28012025_09_17_45_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6a1a655e83642ae8f73f4b3021dfe343.jpg","text":"TemporaryFile(/tmp/multipartBody7074826843381608864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074993947,"filename":"image_28012025_09_17_14_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ecc722c5d83521ab666852d6ce5f51f3.jpg","text":"TemporaryFile(/tmp/multipartBody6905967789716206992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074993947,"filename":"image_28012025_09_18_05_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1f488d5dc3c886e415f782a306b4e98d.jpg","text":"TemporaryFile(/tmp/multipartBody3453044664643810598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074993947,"filename":"image_28012025_09_17_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/1/28/462f038aee6e99b46c9beb3f7d8439af.jpg","text":"TemporaryFile(/tmp/multipartBody1785389889591943107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738074993947,"filename":"image_28012025_09_17_35_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332320768","file1":"1332320752","file0":"1332320745","file4":"1332320774","file5":"1332320775","file3":"1332320772"},"map_files_photo_id_array":[{"photo_id":"1332320775","filename":"file5"},{"photo_id":"1332320768","filename":"file2"},{"photo_id":"1332320774","filename":"file4"},{"photo_id":"1332320752","filename":"file1"},{"photo_id":"1332320745","filename":"file0"},{"photo_id":"1332320772","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332320752":["hashtag1","hashtag2"]},{"1332320772":["hashtag1","hashtag2"]},{"1332320745":["hashtag1","hashtag2"]},{"1332320775":["hashtag1","hashtag2"]},{"1332320774":["hashtag1","hashtag2"]},{"1332320768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332320752, 1332320772, 1332320745, 1332320775, 1332320774, 1332320768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.157870292663574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:36:32.198251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/18/image_28012025_09_18_15_9329.jpg', '/home/pi/Desktop/images/28012025/09/18/image_28012025_09_18_25_10357.jpg', '/home/pi/Desktop/images/28012025/09/18/image_28012025_09_18_34_9398.jpg', '/home/pi/Desktop/images/28012025/09/18/image_28012025_09_18_45_10358.jpg', '/home/pi/Desktop/images/28012025/09/18/image_28012025_09_18_55_10354.jpg', '/home/pi/Desktop/images/28012025/09/18/image_28012025_09_19_05_9427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/18/image_28012025_09_18_15_9329.jpg
/home/pi/Desktop/images/28012025/09/18/image_28012025_09_18_25_10357.jpg
/home/pi/Desktop/images/28012025/09/18/image_28012025_09_18_34_9398.jpg
/home/pi/Desktop/images/28012025/09/18/image_28012025_09_18_45_10358.jpg
/home/pi/Desktop/images/28012025/09/18/image_28012025_09_18_55_10354.jpg
/home/pi/Desktop/images/28012025/09/18/image_28012025_09_19_05_9427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332320921","1332320906","1332320899","1332320845","1332320880","1332320853"],"photo_ids_order":["1332320845","1332320853","1332320880","1332320899","1332320906","1332320921"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/93e5b80dbb6f250d75145b326478990b.jpg","text":"TemporaryFile(/tmp/multipartBody8325264666133071282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075053191,"filename":"image_28012025_09_19_05_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/60e584c56a4a515c64f7b563d3f6ba2e.jpg","text":"TemporaryFile(/tmp/multipartBody5757601849810753372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075053191,"filename":"image_28012025_09_18_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/1/28/4e2dd726813560ed0ffb08744e6bc8e4.jpg","text":"TemporaryFile(/tmp/multipartBody7231610910090059671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075053191,"filename":"image_28012025_09_18_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/1/28/5ca1c8e5c5d559cbb80aa7f42ba154c7.jpg","text":"TemporaryFile(/tmp/multipartBody5600737214438105801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075053191,"filename":"image_28012025_09_18_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/1/28/f8fdbfba0e2cb74cf91273f580bb6f44.jpg","text":"TemporaryFile(/tmp/multipartBody2904838173455972444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075053191,"filename":"image_28012025_09_18_34_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e28729c408e3f3979e1f795577fdd864.jpg","text":"TemporaryFile(/tmp/multipartBody3010365443263179356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075053191,"filename":"image_28012025_09_18_25_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332320880","file1":"1332320853","file0":"1332320845","file4":"1332320906","file5":"1332320921","file3":"1332320899"},"map_files_photo_id_array":[{"photo_id":"1332320921","filename":"file5"},{"photo_id":"1332320880","filename":"file2"},{"photo_id":"1332320906","filename":"file4"},{"photo_id":"1332320853","filename":"file1"},{"photo_id":"1332320845","filename":"file0"},{"photo_id":"1332320899","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332320921":["hashtag1","hashtag2"]},{"1332320906":["hashtag1","hashtag2"]},{"1332320899":["hashtag1","hashtag2"]},{"1332320845":["hashtag1","hashtag2"]},{"1332320880":["hashtag1","hashtag2"]},{"1332320853":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332320921, 1332320906, 1332320899, 1332320845, 1332320880, 1332320853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.65726089477539 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:37:32.534170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/19/image_28012025_09_19_15_10447.jpg', '/home/pi/Desktop/images/28012025/09/19/image_28012025_09_19_25_10367.jpg', '/home/pi/Desktop/images/28012025/09/19/image_28012025_09_19_35_9360.jpg', '/home/pi/Desktop/images/28012025/09/19/image_28012025_09_19_45_10341.jpg', '/home/pi/Desktop/images/28012025/09/19/image_28012025_09_19_54_9405.jpg', '/home/pi/Desktop/images/28012025/09/19/image_28012025_09_20_05_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/19/image_28012025_09_19_15_10447.jpg
/home/pi/Desktop/images/28012025/09/19/image_28012025_09_19_25_10367.jpg
/home/pi/Desktop/images/28012025/09/19/image_28012025_09_19_35_9360.jpg
/home/pi/Desktop/images/28012025/09/19/image_28012025_09_19_45_10341.jpg
/home/pi/Desktop/images/28012025/09/19/image_28012025_09_19_54_9405.jpg
/home/pi/Desktop/images/28012025/09/19/image_28012025_09_20_05_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":["1332320992","1332320986","1332320971","1332320994","1332320982","1332320976"],"photo_ids_order":["1332320971","1332320976","1332320982","1332320986","1332320992","1332320994"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/25cf25e166e4f958b501113addd4508d.jpg","text":"TemporaryFile(/tmp/multipartBody1258300664159071844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075113556,"filename":"image_28012025_09_19_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/1/28/6ff5a2968acaf3f318a6955ccf9975cf.jpg","text":"TemporaryFile(/tmp/multipartBody4438470852501068490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075113556,"filename":"image_28012025_09_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/1/28/b0ac92e6491ddcf8ac39a52ae70c6f8b.jpg","text":"TemporaryFile(/tmp/multipartBody7589117850278846239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075113556,"filename":"image_28012025_09_19_15_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b429bc5e1f43b44190d7abd8d317ede1.jpg","text":"TemporaryFile(/tmp/multipartBody9221797190478166806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075113556,"filename":"image_28012025_09_20_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/1/28/6642acb988b48e87c4f273309eb0da8c.jpg","text":"TemporaryFile(/tmp/multipartBody5499848265928563371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075113556,"filename":"image_28012025_09_19_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/1/28/c44530e0994d793a38e85c5a97f2b734.jpg","text":"TemporaryFile(/tmp/multipartBody1904761091915058554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075113556,"filename":"image_28012025_09_19_25_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332320982","file1":"1332320976","file0":"1332320971","file4":"1332320992","file5":"1332320994","file3":"1332320986"},"map_files_photo_id_array":[{"photo_id":"1332320994","filename":"file5"},{"photo_id":"1332320982","filename":"file2"},{"photo_id":"1332320992","filename":"file4"},{"photo_id":"1332320976","filename":"file1"},{"photo_id":"1332320971","filename":"file0"},{"photo_id":"1332320986","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332320992":["hashtag1","hashtag2"]},{"1332320986":["hashtag1","hashtag2"]},{"1332320971":["hashtag1","hashtag2"]},{"1332320994":["hashtag1","hashtag2"]},{"1332320982":["hashtag1","hashtag2"]},{"1332320976":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332320992, 1332320986, 1332320971, 1332320994, 1332320982, 1332320976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.989662408828735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:38:32.832340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/20/image_28012025_09_20_15_10420.jpg', '/home/pi/Desktop/images/28012025/09/20/image_28012025_09_20_25_9345.jpg', '/home/pi/Desktop/images/28012025/09/20/image_28012025_09_20_35_10428.jpg', '/home/pi/Desktop/images/28012025/09/20/image_28012025_09_20_44_9407.jpg', '/home/pi/Desktop/images/28012025/09/20/image_28012025_09_20_55_10352.jpg', '/home/pi/Desktop/images/28012025/09/20/image_28012025_09_21_05_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/20/image_28012025_09_20_15_10420.jpg
/home/pi/Desktop/images/28012025/09/20/image_28012025_09_20_25_9345.jpg
/home/pi/Desktop/images/28012025/09/20/image_28012025_09_20_35_10428.jpg
/home/pi/Desktop/images/28012025/09/20/image_28012025_09_20_44_9407.jpg
/home/pi/Desktop/images/28012025/09/20/image_28012025_09_20_55_10352.jpg
/home/pi/Desktop/images/28012025/09/20/image_28012025_09_21_05_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5979325771331787 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 15:38:42.875672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/20/image_28012025_09_20_15_10420.jpg', '/home/pi/Desktop/images/28012025/09/20/image_28012025_09_20_25_9345.jpg', '/home/pi/Desktop/images/28012025/09/20/image_28012025_09_20_35_10428.jpg', '/home/pi/Desktop/images/28012025/09/20/image_28012025_09_20_44_9407.jpg', '/home/pi/Desktop/images/28012025/09/20/image_28012025_09_20_55_10352.jpg', '/home/pi/Desktop/images/28012025/09/20/image_28012025_09_21_05_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/20/image_28012025_09_20_15_10420.jpg
/home/pi/Desktop/images/28012025/09/20/image_28012025_09_20_25_9345.jpg
/home/pi/Desktop/images/28012025/09/20/image_28012025_09_20_35_10428.jpg
/home/pi/Desktop/images/28012025/09/20/image_28012025_09_20_44_9407.jpg
/home/pi/Desktop/images/28012025/09/20/image_28012025_09_20_55_10352.jpg
/home/pi/Desktop/images/28012025/09/20/image_28012025_09_21_05_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":["1332321037","1332321042","1332321045","1332321024","1332321033","1332321047"],"photo_ids_order":["1332321024","1332321033","1332321037","1332321042","1332321045","1332321047"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/67711982441fc220d2f902a2f3c88b90.jpg","text":"TemporaryFile(/tmp/multipartBody1035269315319294918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075183794,"filename":"image_28012025_09_20_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/1/28/c8dd53bf9bc6754c25d10b9215267840.jpg","text":"TemporaryFile(/tmp/multipartBody3797882717180442208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075183794,"filename":"image_28012025_09_20_44_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/646cf36fbf77fb3d1f99df1be8c071a9.jpg","text":"TemporaryFile(/tmp/multipartBody634999604047259508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075183794,"filename":"image_28012025_09_20_55_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8d656bf7a7d1e429764ec9924887d648.jpg","text":"TemporaryFile(/tmp/multipartBody6057961720885123083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075183794,"filename":"image_28012025_09_20_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/1/28/8988290d4c5805e84ad0187b432ccc13.jpg","text":"TemporaryFile(/tmp/multipartBody5758662260626993373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075183794,"filename":"image_28012025_09_20_25_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a8808792f60c401525c077449e4f6e41.jpg","text":"TemporaryFile(/tmp/multipartBody3971983376829049946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075183794,"filename":"image_28012025_09_21_05_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332321037","file1":"1332321033","file0":"1332321024","file4":"1332321045","file5":"1332321047","file3":"1332321042"},"map_files_photo_id_array":[{"photo_id":"1332321047","filename":"file5"},{"photo_id":"1332321037","filename":"file2"},{"photo_id":"1332321045","filename":"file4"},{"photo_id":"1332321033","filename":"file1"},{"photo_id":"1332321024","filename":"file0"},{"photo_id":"1332321042","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332321037":["hashtag1","hashtag2"]},{"1332321042":["hashtag1","hashtag2"]},{"1332321045":["hashtag1","hashtag2"]},{"1332321024":["hashtag1","hashtag2"]},{"1332321033":["hashtag1","hashtag2"]},{"1332321047":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332321037, 1332321042, 1332321045, 1332321024, 1332321033, 1332321047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.52897047996521 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:39:33.216814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/21/image_28012025_09_21_14_9333.jpg', '/home/pi/Desktop/images/28012025/09/21/image_28012025_09_21_25_10371.jpg', '/home/pi/Desktop/images/28012025/09/21/image_28012025_09_21_35_10396.jpg', '/home/pi/Desktop/images/28012025/09/21/image_28012025_09_21_45_9337.jpg', '/home/pi/Desktop/images/28012025/09/21/image_28012025_09_21_55_10439.jpg', '/home/pi/Desktop/images/28012025/09/21/image_28012025_09_22_05_9556.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/21/image_28012025_09_21_14_9333.jpg
/home/pi/Desktop/images/28012025/09/21/image_28012025_09_21_25_10371.jpg
/home/pi/Desktop/images/28012025/09/21/image_28012025_09_21_35_10396.jpg
/home/pi/Desktop/images/28012025/09/21/image_28012025_09_21_45_9337.jpg
/home/pi/Desktop/images/28012025/09/21/image_28012025_09_21_55_10439.jpg
/home/pi/Desktop/images/28012025/09/21/image_28012025_09_22_05_9556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332321081","1332321075","1332321078","1332321063","1332321071","1332321056"],"photo_ids_order":["1332321056","1332321063","1332321071","1332321075","1332321078","1332321081"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8d97cad6375e682b68fdc3af7d9d0ac4.jpg","text":"TemporaryFile(/tmp/multipartBody7363269228381594618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075234215,"filename":"image_28012025_09_22_05_9556.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3835b8a346478ea0c789f96f0354a393.jpg","text":"TemporaryFile(/tmp/multipartBody7208565405312524991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075234215,"filename":"image_28012025_09_21_45_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/877b0216b6b1633977c1347e3451df68.jpg","text":"TemporaryFile(/tmp/multipartBody8012806557546325853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075234215,"filename":"image_28012025_09_21_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/1/28/0ab4b48c0ade4b72ae8f836661ce403e.jpg","text":"TemporaryFile(/tmp/multipartBody6512709424940672814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075234215,"filename":"image_28012025_09_21_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/1/28/db210d26959a271680411d4b73f58391.jpg","text":"TemporaryFile(/tmp/multipartBody7012768593510914030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075234215,"filename":"image_28012025_09_21_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/1/28/891f4ec226892de3cada2af7f0e3969e.jpg","text":"TemporaryFile(/tmp/multipartBody8447863072472891967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075234215,"filename":"image_28012025_09_21_14_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332321071","file1":"1332321063","file0":"1332321056","file4":"1332321078","file5":"1332321081","file3":"1332321075"},"map_files_photo_id_array":[{"photo_id":"1332321081","filename":"file5"},{"photo_id":"1332321071","filename":"file2"},{"photo_id":"1332321078","filename":"file4"},{"photo_id":"1332321063","filename":"file1"},{"photo_id":"1332321056","filename":"file0"},{"photo_id":"1332321075","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332321081":["hashtag1","hashtag2"]},{"1332321075":["hashtag1","hashtag2"]},{"1332321078":["hashtag1","hashtag2"]},{"1332321063":["hashtag1","hashtag2"]},{"1332321071":["hashtag1","hashtag2"]},{"1332321056":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332321081, 1332321075, 1332321078, 1332321063, 1332321071, 1332321056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.74379515647888 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:40:32.327093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/22/image_28012025_09_22_15_10357.jpg', '/home/pi/Desktop/images/28012025/09/22/image_28012025_09_22_24_9455.jpg', '/home/pi/Desktop/images/28012025/09/22/image_28012025_09_22_35_10352.jpg', '/home/pi/Desktop/images/28012025/09/22/image_28012025_09_22_45_10360.jpg', '/home/pi/Desktop/images/28012025/09/22/image_28012025_09_22_54_9350.jpg', '/home/pi/Desktop/images/28012025/09/22/image_28012025_09_23_05_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/22/image_28012025_09_22_15_10357.jpg
/home/pi/Desktop/images/28012025/09/22/image_28012025_09_22_24_9455.jpg
/home/pi/Desktop/images/28012025/09/22/image_28012025_09_22_35_10352.jpg
/home/pi/Desktop/images/28012025/09/22/image_28012025_09_22_45_10360.jpg
/home/pi/Desktop/images/28012025/09/22/image_28012025_09_22_54_9350.jpg
/home/pi/Desktop/images/28012025/09/22/image_28012025_09_23_05_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":["1332321131","1332321125","1332321104","1332321144","1332321140","1332321134"],"photo_ids_order":["1332321104","1332321125","1332321131","1332321134","1332321140","1332321144"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cfc7ffabf529d79b5284fec176b013c0.jpg","text":"TemporaryFile(/tmp/multipartBody8325271245454065957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075293329,"filename":"image_28012025_09_22_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/1/28/f16cc7d9a412844308b7132dbcf72257.jpg","text":"TemporaryFile(/tmp/multipartBody408076263552128780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075293329,"filename":"image_28012025_09_22_24_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/78be85ba1d85dc41a83cf5ad2893c9d4.jpg","text":"TemporaryFile(/tmp/multipartBody4710733537511335932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075293329,"filename":"image_28012025_09_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/1/28/0ab5ee78e43d183d3f15cb50cab00327.jpg","text":"TemporaryFile(/tmp/multipartBody333313931239592336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075293329,"filename":"image_28012025_09_23_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/1/28/f200cee5161b236402faeca937ca3804.jpg","text":"TemporaryFile(/tmp/multipartBody3622357147688746490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075293329,"filename":"image_28012025_09_22_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/1/28/daf3c212323375bd3bb211ff28e5b034.jpg","text":"TemporaryFile(/tmp/multipartBody6481921506415171014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075293329,"filename":"image_28012025_09_22_45_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332321131","file1":"1332321125","file0":"1332321104","file4":"1332321140","file5":"1332321144","file3":"1332321134"},"map_files_photo_id_array":[{"photo_id":"1332321144","filename":"file5"},{"photo_id":"1332321131","filename":"file2"},{"photo_id":"1332321140","filename":"file4"},{"photo_id":"1332321125","filename":"file1"},{"photo_id":"1332321104","filename":"file0"},{"photo_id":"1332321134","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332321131":["hashtag1","hashtag2"]},{"1332321125":["hashtag1","hashtag2"]},{"1332321104":["hashtag1","hashtag2"]},{"1332321144":["hashtag1","hashtag2"]},{"1332321140":["hashtag1","hashtag2"]},{"1332321134":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332321131, 1332321125, 1332321104, 1332321144, 1332321140, 1332321134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44788122177124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:41:32.441161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/23/image_28012025_09_23_15_10449.jpg', '/home/pi/Desktop/images/28012025/09/23/image_28012025_09_23_25_9351.jpg', '/home/pi/Desktop/images/28012025/09/23/image_28012025_09_23_35_10350.jpg', '/home/pi/Desktop/images/28012025/09/23/image_28012025_09_23_45_10375.jpg', '/home/pi/Desktop/images/28012025/09/23/image_28012025_09_23_55_9326.jpg', '/home/pi/Desktop/images/28012025/09/23/image_28012025_09_24_05_10412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/23/image_28012025_09_23_15_10449.jpg
/home/pi/Desktop/images/28012025/09/23/image_28012025_09_23_25_9351.jpg
/home/pi/Desktop/images/28012025/09/23/image_28012025_09_23_35_10350.jpg
/home/pi/Desktop/images/28012025/09/23/image_28012025_09_23_45_10375.jpg
/home/pi/Desktop/images/28012025/09/23/image_28012025_09_23_55_9326.jpg
/home/pi/Desktop/images/28012025/09/23/image_28012025_09_24_05_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":["1332321175","1332321157","1332321151","1332321174","1332321165","1332321170"],"photo_ids_order":["1332321151","1332321157","1332321165","1332321170","1332321174","1332321175"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/432f886ba00c665e85fa7ce77307fb3b.jpg","text":"TemporaryFile(/tmp/multipartBody9142871879770730583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075353424,"filename":"image_28012025_09_24_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/1/28/92df81df8dae13ff69bb2762f6d9f3a8.jpg","text":"TemporaryFile(/tmp/multipartBody651240116486927098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075353424,"filename":"image_28012025_09_23_25_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/15d360cee5be584179825a5c95885789.jpg","text":"TemporaryFile(/tmp/multipartBody6454210501245690293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075353424,"filename":"image_28012025_09_23_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/1/28/1af87adf9b557c1084b91a6d98e76459.jpg","text":"TemporaryFile(/tmp/multipartBody4198997146736348999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075353424,"filename":"image_28012025_09_23_55_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7462dea0ca6821833f8fcd6dd94ee135.jpg","text":"TemporaryFile(/tmp/multipartBody1066116893720182992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075353424,"filename":"image_28012025_09_23_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/1/28/c21ad85fb1e74fa30141c6c01248f942.jpg","text":"TemporaryFile(/tmp/multipartBody4366974731195613148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075353424,"filename":"image_28012025_09_23_45_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332321165","file1":"1332321157","file0":"1332321151","file4":"1332321174","file5":"1332321175","file3":"1332321170"},"map_files_photo_id_array":[{"photo_id":"1332321175","filename":"file5"},{"photo_id":"1332321165","filename":"file2"},{"photo_id":"1332321174","filename":"file4"},{"photo_id":"1332321157","filename":"file1"},{"photo_id":"1332321151","filename":"file0"},{"photo_id":"1332321170","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332321175":["hashtag1","hashtag2"]},{"1332321157":["hashtag1","hashtag2"]},{"1332321151":["hashtag1","hashtag2"]},{"1332321174":["hashtag1","hashtag2"]},{"1332321165":["hashtag1","hashtag2"]},{"1332321170":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332321175, 1332321157, 1332321151, 1332321174, 1332321165, 1332321170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.57152247428894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:42:32.701149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/24/image_28012025_09_24_14_9367.jpg', '/home/pi/Desktop/images/28012025/09/24/image_28012025_09_24_25_10364.jpg', '/home/pi/Desktop/images/28012025/09/24/image_28012025_09_24_35_10364.jpg', '/home/pi/Desktop/images/28012025/09/24/image_28012025_09_24_45_9393.jpg', '/home/pi/Desktop/images/28012025/09/24/image_28012025_09_24_55_10352.jpg', '/home/pi/Desktop/images/28012025/09/24/image_28012025_09_25_05_10400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/24/image_28012025_09_24_14_9367.jpg
/home/pi/Desktop/images/28012025/09/24/image_28012025_09_24_25_10364.jpg
/home/pi/Desktop/images/28012025/09/24/image_28012025_09_24_35_10364.jpg
/home/pi/Desktop/images/28012025/09/24/image_28012025_09_24_45_9393.jpg
/home/pi/Desktop/images/28012025/09/24/image_28012025_09_24_55_10352.jpg
/home/pi/Desktop/images/28012025/09/24/image_28012025_09_25_05_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":["1332321230","1332321217","1332321213","1332321227","1332321236","1332321209"],"photo_ids_order":["1332321209","1332321213","1332321217","1332321227","1332321230","1332321236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9b5175beb3f3a0d4c5aff56085d01bd0.jpg","text":"TemporaryFile(/tmp/multipartBody1729938566739299602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075413694,"filename":"image_28012025_09_24_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/1/28/da436b546ef7175d1f1ffcb53e4e05bc.jpg","text":"TemporaryFile(/tmp/multipartBody4557904926180134933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075413694,"filename":"image_28012025_09_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/1/28/cabbea5f36ac17a4a2dfb12e3bccda86.jpg","text":"TemporaryFile(/tmp/multipartBody302344359140929049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075413694,"filename":"image_28012025_09_24_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/1/28/561e430f674702f21c579d1e083b891d.jpg","text":"TemporaryFile(/tmp/multipartBody7799647932525864498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075413694,"filename":"image_28012025_09_24_45_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a3e454bccb410a192ac5f9c91ac52b25.jpg","text":"TemporaryFile(/tmp/multipartBody2180102282432040340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075413694,"filename":"image_28012025_09_25_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/1/28/710f1e757d77885d7f888a4923141250.jpg","text":"TemporaryFile(/tmp/multipartBody5515216048322821274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075413694,"filename":"image_28012025_09_24_14_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332321217","file1":"1332321213","file0":"1332321209","file4":"1332321230","file5":"1332321236","file3":"1332321227"},"map_files_photo_id_array":[{"photo_id":"1332321236","filename":"file5"},{"photo_id":"1332321217","filename":"file2"},{"photo_id":"1332321230","filename":"file4"},{"photo_id":"1332321213","filename":"file1"},{"photo_id":"1332321209","filename":"file0"},{"photo_id":"1332321227","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332321230":["hashtag1","hashtag2"]},{"1332321217":["hashtag1","hashtag2"]},{"1332321213":["hashtag1","hashtag2"]},{"1332321227":["hashtag1","hashtag2"]},{"1332321236":["hashtag1","hashtag2"]},{"1332321209":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332321230, 1332321217, 1332321213, 1332321227, 1332321236, 1332321209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.92263412475586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:43:32.867978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/25/image_28012025_09_25_25_10347.jpg', '/home/pi/Desktop/images/28012025/09/25/image_28012025_09_25_34_9409.jpg', '/home/pi/Desktop/images/28012025/09/25/image_28012025_09_25_45_10342.jpg', '/home/pi/Desktop/images/28012025/09/25/image_28012025_09_25_55_10432.jpg', '/home/pi/Desktop/images/28012025/09/25/image_28012025_09_26_05_9360.jpg', '/home/pi/Desktop/images/28012025/09/26/image_28012025_09_26_15_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/25/image_28012025_09_25_25_10347.jpg
/home/pi/Desktop/images/28012025/09/25/image_28012025_09_25_34_9409.jpg
/home/pi/Desktop/images/28012025/09/25/image_28012025_09_25_45_10342.jpg
/home/pi/Desktop/images/28012025/09/25/image_28012025_09_25_55_10432.jpg
/home/pi/Desktop/images/28012025/09/25/image_28012025_09_26_05_9360.jpg
/home/pi/Desktop/images/28012025/09/26/image_28012025_09_26_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":["1332321286","1332321295","1332321301","1332321282","1332321303","1332321290"],"photo_ids_order":["1332321282","1332321286","1332321290","1332321295","1332321301","1332321303"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/29c53e0c616b95361eeeab46803f507e.jpg","text":"TemporaryFile(/tmp/multipartBody4286810369494980684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075473855,"filename":"image_28012025_09_25_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/1/28/20d0d7515cd1ef8417ae4dce92f074f1.jpg","text":"TemporaryFile(/tmp/multipartBody4891456397710222856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075473855,"filename":"image_28012025_09_25_55_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4532d5cac1aed71d6aff6854416f9db3.jpg","text":"TemporaryFile(/tmp/multipartBody4660130347293170754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075473855,"filename":"image_28012025_09_26_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/1/28/969b7433361706905b5450672b7bfe1a.jpg","text":"TemporaryFile(/tmp/multipartBody5068508310611893044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075473855,"filename":"image_28012025_09_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/1/28/6b89b3f1a1545e6a96be21812cbe9295.jpg","text":"TemporaryFile(/tmp/multipartBody466094951476947804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075473855,"filename":"image_28012025_09_26_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/1/28/f5f4dfccdaa57986a3cc643b3829a819.jpg","text":"TemporaryFile(/tmp/multipartBody3187454520021125773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075473855,"filename":"image_28012025_09_25_45_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332321290","file1":"1332321286","file0":"1332321282","file4":"1332321301","file5":"1332321303","file3":"1332321295"},"map_files_photo_id_array":[{"photo_id":"1332321303","filename":"file5"},{"photo_id":"1332321290","filename":"file2"},{"photo_id":"1332321301","filename":"file4"},{"photo_id":"1332321286","filename":"file1"},{"photo_id":"1332321282","filename":"file0"},{"photo_id":"1332321295","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332321286":["hashtag1","hashtag2"]},{"1332321295":["hashtag1","hashtag2"]},{"1332321301":["hashtag1","hashtag2"]},{"1332321282":["hashtag1","hashtag2"]},{"1332321303":["hashtag1","hashtag2"]},{"1332321290":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332321286, 1332321295, 1332321301, 1332321282, 1332321303, 1332321290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.295767068862915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:44:36.222071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/26/image_28012025_09_26_24_9354.jpg', '/home/pi/Desktop/images/28012025/09/26/image_28012025_09_26_35_10346.jpg', '/home/pi/Desktop/images/28012025/09/26/image_28012025_09_26_45_10467.jpg', '/home/pi/Desktop/images/28012025/09/26/image_28012025_09_26_55_9412.jpg', '/home/pi/Desktop/images/28012025/09/26/image_28012025_09_27_05_10453.jpg', '/home/pi/Desktop/images/28012025/09/27/image_28012025_09_27_14_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/26/image_28012025_09_26_24_9354.jpg
/home/pi/Desktop/images/28012025/09/26/image_28012025_09_26_35_10346.jpg
/home/pi/Desktop/images/28012025/09/26/image_28012025_09_26_45_10467.jpg
/home/pi/Desktop/images/28012025/09/26/image_28012025_09_26_55_9412.jpg
/home/pi/Desktop/images/28012025/09/26/image_28012025_09_27_05_10453.jpg
/home/pi/Desktop/images/28012025/09/27/image_28012025_09_27_14_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332321340","1332321343","1332321337","1332321352","1332321348","1332321345"],"photo_ids_order":["1332321337","1332321340","1332321343","1332321345","1332321348","1332321352"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b13adda48eef6f66cc23d62cb674cb07.jpg","text":"TemporaryFile(/tmp/multipartBody6639156816536968294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075537746,"filename":"image_28012025_09_26_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/1/28/088434e940921912002403ca30f9520c.jpg","text":"TemporaryFile(/tmp/multipartBody3237100575061451003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075537746,"filename":"image_28012025_09_26_45_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/45dd3970628cb627b5486341d160aa97.jpg","text":"TemporaryFile(/tmp/multipartBody2063040435971002909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075537746,"filename":"image_28012025_09_26_24_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/30bd1e4543fa52f4ffcf0521c29b3cb0.jpg","text":"TemporaryFile(/tmp/multipartBody7943831451461870405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075537746,"filename":"image_28012025_09_27_14_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b89e100377d605fe509ac311bcc49a39.jpg","text":"TemporaryFile(/tmp/multipartBody4224288696658687655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075537746,"filename":"image_28012025_09_27_05_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f06e3384f6385640ce3846b8e34b54fb.jpg","text":"TemporaryFile(/tmp/multipartBody6269788334131805714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075537746,"filename":"image_28012025_09_26_55_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332321343","file1":"1332321340","file0":"1332321337","file4":"1332321348","file5":"1332321352","file3":"1332321345"},"map_files_photo_id_array":[{"photo_id":"1332321352","filename":"file5"},{"photo_id":"1332321343","filename":"file2"},{"photo_id":"1332321348","filename":"file4"},{"photo_id":"1332321340","filename":"file1"},{"photo_id":"1332321337","filename":"file0"},{"photo_id":"1332321345","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332321340":["hashtag1","hashtag2"]},{"1332321343":["hashtag1","hashtag2"]},{"1332321337":["hashtag1","hashtag2"]},{"1332321352":["hashtag1","hashtag2"]},{"1332321348":["hashtag1","hashtag2"]},{"1332321345":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332321340, 1332321343, 1332321337, 1332321352, 1332321348, 1332321345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.007309913635254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:45:32.374362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/27/image_28012025_09_27_25_10352.jpg', '/home/pi/Desktop/images/28012025/09/27/image_28012025_09_27_35_10377.jpg', '/home/pi/Desktop/images/28012025/09/27/image_28012025_09_27_45_9403.jpg', '/home/pi/Desktop/images/28012025/09/27/image_28012025_09_27_55_10355.jpg', '/home/pi/Desktop/images/28012025/09/27/image_28012025_09_28_05_10413.jpg', '/home/pi/Desktop/images/28012025/09/28/image_28012025_09_28_25_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/27/image_28012025_09_27_25_10352.jpg
/home/pi/Desktop/images/28012025/09/27/image_28012025_09_27_35_10377.jpg
/home/pi/Desktop/images/28012025/09/27/image_28012025_09_27_45_9403.jpg
/home/pi/Desktop/images/28012025/09/27/image_28012025_09_27_55_10355.jpg
/home/pi/Desktop/images/28012025/09/27/image_28012025_09_28_05_10413.jpg
/home/pi/Desktop/images/28012025/09/28/image_28012025_09_28_25_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":["1332321406","1332321372","1332321363","1332321389","1332321408","1332321365"],"photo_ids_order":["1332321363","1332321365","1332321372","1332321389","1332321406","1332321408"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/34668b3082b8b2d59b67e1e9699d5016.jpg","text":"TemporaryFile(/tmp/multipartBody3490672398781852149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075593350,"filename":"image_28012025_09_28_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/1/28/f0f689bed58ac9201b8bc0b890c671f5.jpg","text":"TemporaryFile(/tmp/multipartBody8406922331288885170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075593350,"filename":"image_28012025_09_27_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/1/28/d9d7d0f661e16ff5208d93546755b7f5.jpg","text":"TemporaryFile(/tmp/multipartBody6144638769460574805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075593350,"filename":"image_28012025_09_27_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/1/28/dceb8f5a6f485be2d636dc3576ec5cad.jpg","text":"TemporaryFile(/tmp/multipartBody1259914088365270567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075593350,"filename":"image_28012025_09_27_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/1/28/a9f0dd0143692a151df0be2ee4f5ae89.jpg","text":"TemporaryFile(/tmp/multipartBody9091801810903930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075593350,"filename":"image_28012025_09_28_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/1/28/3fbc942afc07900e10b96d66dca011c9.jpg","text":"TemporaryFile(/tmp/multipartBody3243149775504235666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075593350,"filename":"image_28012025_09_27_35_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332321372","file1":"1332321365","file0":"1332321363","file4":"1332321406","file5":"1332321408","file3":"1332321389"},"map_files_photo_id_array":[{"photo_id":"1332321408","filename":"file5"},{"photo_id":"1332321372","filename":"file2"},{"photo_id":"1332321406","filename":"file4"},{"photo_id":"1332321365","filename":"file1"},{"photo_id":"1332321363","filename":"file0"},{"photo_id":"1332321389","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332321406":["hashtag1","hashtag2"]},{"1332321372":["hashtag1","hashtag2"]},{"1332321363":["hashtag1","hashtag2"]},{"1332321389":["hashtag1","hashtag2"]},{"1332321408":["hashtag1","hashtag2"]},{"1332321365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332321406, 1332321372, 1332321363, 1332321389, 1332321408, 1332321365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.5544319152832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:46:32.595843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/28/image_28012025_09_28_34_9414.jpg', '/home/pi/Desktop/images/28012025/09/28/image_28012025_09_28_45_10362.jpg', '/home/pi/Desktop/images/28012025/09/28/image_28012025_09_28_55_10341.jpg', '/home/pi/Desktop/images/28012025/09/28/image_28012025_09_29_04_9329.jpg', '/home/pi/Desktop/images/28012025/09/29/image_28012025_09_29_15_10422.jpg', '/home/pi/Desktop/images/28012025/09/29/image_28012025_09_29_25_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/28/image_28012025_09_28_34_9414.jpg
/home/pi/Desktop/images/28012025/09/28/image_28012025_09_28_45_10362.jpg
/home/pi/Desktop/images/28012025/09/28/image_28012025_09_28_55_10341.jpg
/home/pi/Desktop/images/28012025/09/28/image_28012025_09_29_04_9329.jpg
/home/pi/Desktop/images/28012025/09/29/image_28012025_09_29_15_10422.jpg
/home/pi/Desktop/images/28012025/09/29/image_28012025_09_29_25_10411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332321484","1332321487","1332321466","1332321444","1332321485","1332321440"],"photo_ids_order":["1332321440","1332321444","1332321466","1332321484","1332321485","1332321487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/74e2923a7b448afa084080c644c24680.jpg","text":"TemporaryFile(/tmp/multipartBody2828311110904416235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075653581,"filename":"image_28012025_09_29_04_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b32dd58258f9837eb30dc16f0a6deb9f.jpg","text":"TemporaryFile(/tmp/multipartBody2892900374455808655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075653581,"filename":"image_28012025_09_29_25_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b33277c09408005c49b1ef29862e12cb.jpg","text":"TemporaryFile(/tmp/multipartBody6825327023338847547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075653581,"filename":"image_28012025_09_28_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/1/28/04f24757ffae63cb124d5d3c2b5f0790.jpg","text":"TemporaryFile(/tmp/multipartBody7924136727513625851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075653581,"filename":"image_28012025_09_28_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/1/28/95a0ba8f076b6dc3c76b556a7aac27dd.jpg","text":"TemporaryFile(/tmp/multipartBody8882700806820238045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075653581,"filename":"image_28012025_09_29_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/1/28/8c736c19d1b38bae0c9e6b9b9564b6ec.jpg","text":"TemporaryFile(/tmp/multipartBody5062524461289601027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075653581,"filename":"image_28012025_09_28_34_9414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332321466","file1":"1332321444","file0":"1332321440","file4":"1332321485","file5":"1332321487","file3":"1332321484"},"map_files_photo_id_array":[{"photo_id":"1332321487","filename":"file5"},{"photo_id":"1332321466","filename":"file2"},{"photo_id":"1332321485","filename":"file4"},{"photo_id":"1332321444","filename":"file1"},{"photo_id":"1332321440","filename":"file0"},{"photo_id":"1332321484","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332321484":["hashtag1","hashtag2"]},{"1332321487":["hashtag1","hashtag2"]},{"1332321466":["hashtag1","hashtag2"]},{"1332321444":["hashtag1","hashtag2"]},{"1332321485":["hashtag1","hashtag2"]},{"1332321440":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332321484, 1332321487, 1332321466, 1332321444, 1332321485, 1332321440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.62822985649109 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:47:32.791242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/29/image_28012025_09_29_35_9337.jpg', '/home/pi/Desktop/images/28012025/09/29/image_28012025_09_29_54_9446.jpg', '/home/pi/Desktop/images/28012025/09/29/image_28012025_09_30_05_10347.jpg', '/home/pi/Desktop/images/28012025/09/30/image_28012025_09_30_15_10356.jpg', '/home/pi/Desktop/images/28012025/09/30/image_28012025_09_30_25_9434.jpg', '/home/pi/Desktop/images/28012025/09/30/image_28012025_09_30_35_10400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/29/image_28012025_09_29_35_9337.jpg
/home/pi/Desktop/images/28012025/09/29/image_28012025_09_29_54_9446.jpg
/home/pi/Desktop/images/28012025/09/29/image_28012025_09_30_05_10347.jpg
/home/pi/Desktop/images/28012025/09/30/image_28012025_09_30_15_10356.jpg
/home/pi/Desktop/images/28012025/09/30/image_28012025_09_30_25_9434.jpg
/home/pi/Desktop/images/28012025/09/30/image_28012025_09_30_35_10400.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6012613773345947 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 15:47:42.788414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/29/image_28012025_09_29_35_9337.jpg', '/home/pi/Desktop/images/28012025/09/29/image_28012025_09_29_54_9446.jpg', '/home/pi/Desktop/images/28012025/09/29/image_28012025_09_30_05_10347.jpg', '/home/pi/Desktop/images/28012025/09/30/image_28012025_09_30_15_10356.jpg', '/home/pi/Desktop/images/28012025/09/30/image_28012025_09_30_25_9434.jpg', '/home/pi/Desktop/images/28012025/09/30/image_28012025_09_30_35_10400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/29/image_28012025_09_29_35_9337.jpg
/home/pi/Desktop/images/28012025/09/29/image_28012025_09_29_54_9446.jpg
/home/pi/Desktop/images/28012025/09/29/image_28012025_09_30_05_10347.jpg
/home/pi/Desktop/images/28012025/09/30/image_28012025_09_30_15_10356.jpg
/home/pi/Desktop/images/28012025/09/30/image_28012025_09_30_25_9434.jpg
/home/pi/Desktop/images/28012025/09/30/image_28012025_09_30_35_10400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332321559","1332321538","1332321532","1332321528","1332321560","1332321536"],"photo_ids_order":["1332321528","1332321532","1332321536","1332321538","1332321559","1332321560"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/80a2ead756d683efced2dad563212395.jpg","text":"TemporaryFile(/tmp/multipartBody4720503259510718487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075723699,"filename":"image_28012025_09_30_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/1/28/8ec41c07938258d63ba8ca0153d26949.jpg","text":"TemporaryFile(/tmp/multipartBody1167798293093844616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075723699,"filename":"image_28012025_09_30_15_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f224c26ef51c97e324fc56133bdbb823.jpg","text":"TemporaryFile(/tmp/multipartBody7723351722595258406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075723699,"filename":"image_28012025_09_29_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/1/28/3004c267c4824699379fe9fe83af77dd.jpg","text":"TemporaryFile(/tmp/multipartBody5144326383999966776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075723699,"filename":"image_28012025_09_29_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/1/28/c673a74b46cba978c2404c019560267e.jpg","text":"TemporaryFile(/tmp/multipartBody8924493215546475663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075723699,"filename":"image_28012025_09_30_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/1/28/dd3a8ad928656f4e13c02bbc36ee2e3d.jpg","text":"TemporaryFile(/tmp/multipartBody8446301787089415391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075723699,"filename":"image_28012025_09_30_05_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332321536","file1":"1332321532","file0":"1332321528","file4":"1332321559","file5":"1332321560","file3":"1332321538"},"map_files_photo_id_array":[{"photo_id":"1332321560","filename":"file5"},{"photo_id":"1332321536","filename":"file2"},{"photo_id":"1332321559","filename":"file4"},{"photo_id":"1332321532","filename":"file1"},{"photo_id":"1332321528","filename":"file0"},{"photo_id":"1332321538","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332321559":["hashtag1","hashtag2"]},{"1332321538":["hashtag1","hashtag2"]},{"1332321532":["hashtag1","hashtag2"]},{"1332321528":["hashtag1","hashtag2"]},{"1332321560":["hashtag1","hashtag2"]},{"1332321536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332321559, 1332321538, 1332321532, 1332321528, 1332321560, 1332321536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64178729057312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:48:32.923297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/30/image_28012025_09_30_45_10396.jpg', '/home/pi/Desktop/images/28012025/09/30/image_28012025_09_30_55_9348.jpg', '/home/pi/Desktop/images/28012025/09/30/image_28012025_09_31_05_10330.jpg', '/home/pi/Desktop/images/28012025/09/31/image_28012025_09_31_14_9444.jpg', '/home/pi/Desktop/images/28012025/09/31/image_28012025_09_31_25_10395.jpg', '/home/pi/Desktop/images/28012025/09/31/image_28012025_09_31_35_10324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/30/image_28012025_09_30_45_10396.jpg
/home/pi/Desktop/images/28012025/09/30/image_28012025_09_30_55_9348.jpg
/home/pi/Desktop/images/28012025/09/30/image_28012025_09_31_05_10330.jpg
/home/pi/Desktop/images/28012025/09/31/image_28012025_09_31_14_9444.jpg
/home/pi/Desktop/images/28012025/09/31/image_28012025_09_31_25_10395.jpg
/home/pi/Desktop/images/28012025/09/31/image_28012025_09_31_35_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":["1332321661","1332321634","1332321681","1332321678","1332321645","1332321686"],"photo_ids_order":["1332321634","1332321645","1332321661","1332321678","1332321681","1332321686"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/57ee6a1655424c4205155b3d52fca6d5.jpg","text":"TemporaryFile(/tmp/multipartBody6865944259333195891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075773941,"filename":"image_28012025_09_31_05_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/002d64c263acec71c097ad305633b98a.jpg","text":"TemporaryFile(/tmp/multipartBody2497707758405658007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075773941,"filename":"image_28012025_09_30_45_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9004d805ecaee9550fd526cf0c34801a.jpg","text":"TemporaryFile(/tmp/multipartBody612934652178783841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075773941,"filename":"image_28012025_09_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/1/28/7539b016388270dbfff77e8013765d7e.jpg","text":"TemporaryFile(/tmp/multipartBody2974659711824466770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075773941,"filename":"image_28012025_09_31_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/1/28/4bbfe4689411ab30c00e6784aaabecba.jpg","text":"TemporaryFile(/tmp/multipartBody9204642548563405287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075773941,"filename":"image_28012025_09_30_55_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1886df491c615f95a42af4f6f05576f5.jpg","text":"TemporaryFile(/tmp/multipartBody6334255016482159126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075773941,"filename":"image_28012025_09_31_35_10324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332321661","file1":"1332321645","file0":"1332321634","file4":"1332321681","file5":"1332321686","file3":"1332321678"},"map_files_photo_id_array":[{"photo_id":"1332321686","filename":"file5"},{"photo_id":"1332321661","filename":"file2"},{"photo_id":"1332321681","filename":"file4"},{"photo_id":"1332321645","filename":"file1"},{"photo_id":"1332321634","filename":"file0"},{"photo_id":"1332321678","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332321661":["hashtag1","hashtag2"]},{"1332321634":["hashtag1","hashtag2"]},{"1332321681":["hashtag1","hashtag2"]},{"1332321678":["hashtag1","hashtag2"]},{"1332321645":["hashtag1","hashtag2"]},{"1332321686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332321661, 1332321634, 1332321681, 1332321678, 1332321645, 1332321686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.781771421432495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:49:32.221153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/31/image_28012025_09_31_45_9445.jpg', '/home/pi/Desktop/images/28012025/09/31/image_28012025_09_31_55_10365.jpg', '/home/pi/Desktop/images/28012025/09/31/image_28012025_09_32_04_9424.jpg', '/home/pi/Desktop/images/28012025/09/32/image_28012025_09_32_15_10367.jpg', '/home/pi/Desktop/images/28012025/09/32/image_28012025_09_32_25_10354.jpg', '/home/pi/Desktop/images/28012025/09/32/image_28012025_09_32_34_9395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/31/image_28012025_09_31_45_9445.jpg
/home/pi/Desktop/images/28012025/09/31/image_28012025_09_31_55_10365.jpg
/home/pi/Desktop/images/28012025/09/31/image_28012025_09_32_04_9424.jpg
/home/pi/Desktop/images/28012025/09/32/image_28012025_09_32_15_10367.jpg
/home/pi/Desktop/images/28012025/09/32/image_28012025_09_32_25_10354.jpg
/home/pi/Desktop/images/28012025/09/32/image_28012025_09_32_34_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":["1332321724","1332321738","1332321726","1332321720","1332321734","1332321731"],"photo_ids_order":["1332321720","1332321724","1332321726","1332321731","1332321734","1332321738"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d0868d5bd6946b1e0f132565ee60e5d9.jpg","text":"TemporaryFile(/tmp/multipartBody5547113919197393934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075833194,"filename":"image_28012025_09_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/1/28/53cfef0293df6d29e46d1cf9aa597720.jpg","text":"TemporaryFile(/tmp/multipartBody116832109604333405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075833194,"filename":"image_28012025_09_32_34_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ad92586821d4d0a502cdc2dd84830058.jpg","text":"TemporaryFile(/tmp/multipartBody2503353680915935869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075833194,"filename":"image_28012025_09_32_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/1/28/ecc4a5822355719c48a44745cd8072e3.jpg","text":"TemporaryFile(/tmp/multipartBody4936290039571228328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075833194,"filename":"image_28012025_09_31_45_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4c0135729e2e38215426486d5548e3c9.jpg","text":"TemporaryFile(/tmp/multipartBody1370574300329271060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075833194,"filename":"image_28012025_09_32_25_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4ca6795a032bdd14619faa45ef0498d8.jpg","text":"TemporaryFile(/tmp/multipartBody7699918235009433514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075833194,"filename":"image_28012025_09_32_15_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332321726","file1":"1332321724","file0":"1332321720","file4":"1332321734","file5":"1332321738","file3":"1332321731"},"map_files_photo_id_array":[{"photo_id":"1332321738","filename":"file5"},{"photo_id":"1332321726","filename":"file2"},{"photo_id":"1332321734","filename":"file4"},{"photo_id":"1332321724","filename":"file1"},{"photo_id":"1332321720","filename":"file0"},{"photo_id":"1332321731","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332321724":["hashtag1","hashtag2"]},{"1332321738":["hashtag1","hashtag2"]},{"1332321726":["hashtag1","hashtag2"]},{"1332321720":["hashtag1","hashtag2"]},{"1332321734":["hashtag1","hashtag2"]},{"1332321731":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332321724, 1332321738, 1332321726, 1332321720, 1332321734, 1332321731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.563326835632324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:50:32.446866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/32/image_28012025_09_32_45_10343.jpg', '/home/pi/Desktop/images/28012025/09/32/image_28012025_09_32_55_10417.jpg', '/home/pi/Desktop/images/28012025/09/32/image_28012025_09_33_05_9357.jpg', '/home/pi/Desktop/images/28012025/09/33/image_28012025_09_33_15_10333.jpg', '/home/pi/Desktop/images/28012025/09/33/image_28012025_09_33_24_9401.jpg', '/home/pi/Desktop/images/28012025/09/33/image_28012025_09_33_35_10400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/32/image_28012025_09_32_45_10343.jpg
/home/pi/Desktop/images/28012025/09/32/image_28012025_09_32_55_10417.jpg
/home/pi/Desktop/images/28012025/09/32/image_28012025_09_33_05_9357.jpg
/home/pi/Desktop/images/28012025/09/33/image_28012025_09_33_15_10333.jpg
/home/pi/Desktop/images/28012025/09/33/image_28012025_09_33_24_9401.jpg
/home/pi/Desktop/images/28012025/09/33/image_28012025_09_33_35_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":["1332321781","1332321775","1332321789","1332321783","1332321777","1332321779"],"photo_ids_order":["1332321775","1332321777","1332321779","1332321781","1332321783","1332321789"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/984b68773c9ac02ec96b783e83d2870d.jpg","text":"TemporaryFile(/tmp/multipartBody5834973198633772589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075893419,"filename":"image_28012025_09_33_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/1/28/e96a2b0c9fa8dbb7d61e64482566b834.jpg","text":"TemporaryFile(/tmp/multipartBody8783645997762128685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075893419,"filename":"image_28012025_09_32_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/1/28/32ed88b120a11c51579b888f8d983f8f.jpg","text":"TemporaryFile(/tmp/multipartBody5501502879412485798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075893419,"filename":"image_28012025_09_33_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/1/28/2a17cd21ca9ea2585f573ae4ece748a8.jpg","text":"TemporaryFile(/tmp/multipartBody2275622461250037378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075893419,"filename":"image_28012025_09_33_24_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/32772c9d961ff0266f14dfbfc0fc82d2.jpg","text":"TemporaryFile(/tmp/multipartBody5439018144153728023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075893419,"filename":"image_28012025_09_32_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/1/28/29d009ae251cdebb385d0083204345c5.jpg","text":"TemporaryFile(/tmp/multipartBody7560737911726194012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075893419,"filename":"image_28012025_09_33_05_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332321779","file1":"1332321777","file0":"1332321775","file4":"1332321783","file5":"1332321789","file3":"1332321781"},"map_files_photo_id_array":[{"photo_id":"1332321789","filename":"file5"},{"photo_id":"1332321779","filename":"file2"},{"photo_id":"1332321783","filename":"file4"},{"photo_id":"1332321777","filename":"file1"},{"photo_id":"1332321775","filename":"file0"},{"photo_id":"1332321781","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332321781":["hashtag1","hashtag2"]},{"1332321775":["hashtag1","hashtag2"]},{"1332321789":["hashtag1","hashtag2"]},{"1332321783":["hashtag1","hashtag2"]},{"1332321777":["hashtag1","hashtag2"]},{"1332321779":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332321781, 1332321775, 1332321789, 1332321783, 1332321777, 1332321779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.82420110702515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:51:32.642041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/33/image_28012025_09_33_45_10495.jpg', '/home/pi/Desktop/images/28012025/09/33/image_28012025_09_33_55_9366.jpg', '/home/pi/Desktop/images/28012025/09/33/image_28012025_09_34_05_10333.jpg', '/home/pi/Desktop/images/28012025/09/34/image_28012025_09_34_15_10348.jpg', '/home/pi/Desktop/images/28012025/09/34/image_28012025_09_34_25_9338.jpg', '/home/pi/Desktop/images/28012025/09/34/image_28012025_09_34_35_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/33/image_28012025_09_33_45_10495.jpg
/home/pi/Desktop/images/28012025/09/33/image_28012025_09_33_55_9366.jpg
/home/pi/Desktop/images/28012025/09/33/image_28012025_09_34_05_10333.jpg
/home/pi/Desktop/images/28012025/09/34/image_28012025_09_34_15_10348.jpg
/home/pi/Desktop/images/28012025/09/34/image_28012025_09_34_25_9338.jpg
/home/pi/Desktop/images/28012025/09/34/image_28012025_09_34_35_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":["1332322945","1332322809","1332322803","1332322943","1332322937","1332322940"],"photo_ids_order":["1332322803","1332322809","1332322937","1332322940","1332322943","1332322945"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7e4a342a2ca4289914fc569574d026f4.jpg","text":"TemporaryFile(/tmp/multipartBody5469884976241800741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075953640,"filename":"image_28012025_09_34_35_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ae7e411766b48902e0d8489d57ce29bd.jpg","text":"TemporaryFile(/tmp/multipartBody7443143139942689713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075953640,"filename":"image_28012025_09_33_55_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d6d97f8ddc508db95f0e058944434aac.jpg","text":"TemporaryFile(/tmp/multipartBody5483264411108027354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075953640,"filename":"image_28012025_09_33_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/1/28/c9979dded02f585987567a63b6cf6d9e.jpg","text":"TemporaryFile(/tmp/multipartBody8862387077562381966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075953640,"filename":"image_28012025_09_34_25_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c43d3d30d4f7e42955388a03a41de310.jpg","text":"TemporaryFile(/tmp/multipartBody4893916667752724393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075953640,"filename":"image_28012025_09_34_05_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f66c384feea947521f7a3671c734a36a.jpg","text":"TemporaryFile(/tmp/multipartBody3169726214296781986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738075953640,"filename":"image_28012025_09_34_15_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332322937","file1":"1332322809","file0":"1332322803","file4":"1332322943","file5":"1332322945","file3":"1332322940"},"map_files_photo_id_array":[{"photo_id":"1332322945","filename":"file5"},{"photo_id":"1332322937","filename":"file2"},{"photo_id":"1332322943","filename":"file4"},{"photo_id":"1332322809","filename":"file1"},{"photo_id":"1332322803","filename":"file0"},{"photo_id":"1332322940","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332322945":["hashtag1","hashtag2"]},{"1332322809":["hashtag1","hashtag2"]},{"1332322803":["hashtag1","hashtag2"]},{"1332322943":["hashtag1","hashtag2"]},{"1332322937":["hashtag1","hashtag2"]},{"1332322940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332322945, 1332322809, 1332322803, 1332322943, 1332322937, 1332322940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.99509644508362 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:52:32.902564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/34/image_28012025_09_34_45_10379.jpg', '/home/pi/Desktop/images/28012025/09/34/image_28012025_09_34_55_9357.jpg', '/home/pi/Desktop/images/28012025/09/34/image_28012025_09_35_05_10349.jpg', '/home/pi/Desktop/images/28012025/09/35/image_28012025_09_35_14_9398.jpg', '/home/pi/Desktop/images/28012025/09/35/image_28012025_09_35_25_10363.jpg', '/home/pi/Desktop/images/28012025/09/35/image_28012025_09_35_35_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/34/image_28012025_09_34_45_10379.jpg
/home/pi/Desktop/images/28012025/09/34/image_28012025_09_34_55_9357.jpg
/home/pi/Desktop/images/28012025/09/34/image_28012025_09_35_05_10349.jpg
/home/pi/Desktop/images/28012025/09/35/image_28012025_09_35_14_9398.jpg
/home/pi/Desktop/images/28012025/09/35/image_28012025_09_35_25_10363.jpg
/home/pi/Desktop/images/28012025/09/35/image_28012025_09_35_35_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":["1332323190","1332323322","1332323313","1332323324","1332323281","1332323242"],"photo_ids_order":["1332323190","1332323242","1332323281","1332323313","1332323322","1332323324"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/44020f8688ae02ae48366890ed939780.jpg","text":"TemporaryFile(/tmp/multipartBody6422793068138454746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076013888,"filename":"image_28012025_09_34_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/1/28/51bab81fde6e21540a0f63e6749d39a1.jpg","text":"TemporaryFile(/tmp/multipartBody1907012390761637117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076013888,"filename":"image_28012025_09_35_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/1/28/bdfbdbcaa58807dd6c88e871282bf8cb.jpg","text":"TemporaryFile(/tmp/multipartBody52456930530392224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076013888,"filename":"image_28012025_09_35_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/1/28/7e7704606007fededb374a0e04eb8689.jpg","text":"TemporaryFile(/tmp/multipartBody3175676941204940265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076013888,"filename":"image_28012025_09_35_35_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/780c18990ea14a8f8a7c1c6449df6b15.jpg","text":"TemporaryFile(/tmp/multipartBody8879729887803823248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076013888,"filename":"image_28012025_09_35_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/1/28/c6dc1842cf3df52b2a755210704fe53d.jpg","text":"TemporaryFile(/tmp/multipartBody5923840059065772848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076013888,"filename":"image_28012025_09_34_55_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332323281","file1":"1332323242","file0":"1332323190","file4":"1332323322","file5":"1332323324","file3":"1332323313"},"map_files_photo_id_array":[{"photo_id":"1332323324","filename":"file5"},{"photo_id":"1332323281","filename":"file2"},{"photo_id":"1332323322","filename":"file4"},{"photo_id":"1332323242","filename":"file1"},{"photo_id":"1332323190","filename":"file0"},{"photo_id":"1332323313","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332323190":["hashtag1","hashtag2"]},{"1332323322":["hashtag1","hashtag2"]},{"1332323313":["hashtag1","hashtag2"]},{"1332323324":["hashtag1","hashtag2"]},{"1332323281":["hashtag1","hashtag2"]},{"1332323242":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332323190, 1332323322, 1332323313, 1332323324, 1332323281, 1332323242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62472677230835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:53:33.088129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/35/image_28012025_09_35_45_9358.jpg', '/home/pi/Desktop/images/28012025/09/35/image_28012025_09_35_55_10382.jpg', '/home/pi/Desktop/images/28012025/09/35/image_28012025_09_36_05_10402.jpg', '/home/pi/Desktop/images/28012025/09/36/image_28012025_09_36_15_9326.jpg', '/home/pi/Desktop/images/28012025/09/36/image_28012025_09_36_25_10361.jpg', '/home/pi/Desktop/images/28012025/09/36/image_28012025_09_36_35_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/35/image_28012025_09_35_45_9358.jpg
/home/pi/Desktop/images/28012025/09/35/image_28012025_09_35_55_10382.jpg
/home/pi/Desktop/images/28012025/09/35/image_28012025_09_36_05_10402.jpg
/home/pi/Desktop/images/28012025/09/36/image_28012025_09_36_15_9326.jpg
/home/pi/Desktop/images/28012025/09/36/image_28012025_09_36_25_10361.jpg
/home/pi/Desktop/images/28012025/09/36/image_28012025_09_36_35_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332324053","1332324385","1332323356","1332323740","1332323344","1332323431"],"photo_ids_order":["1332323344","1332323356","1332323431","1332323740","1332324053","1332324385"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dacb092572ebc2836a7ff9a2fbe8bb0c.jpg","text":"TemporaryFile(/tmp/multipartBody6625740698091731130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076074067,"filename":"image_28012025_09_36_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/1/28/0829c0b443906dae251b0e40e36858d8.jpg","text":"TemporaryFile(/tmp/multipartBody8535742857318353534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076074067,"filename":"image_28012025_09_36_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/1/28/6fee616c0878eb1ce141245e72d04333.jpg","text":"TemporaryFile(/tmp/multipartBody8951527874298740401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076074067,"filename":"image_28012025_09_35_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/1/28/9e8ef3073aa9aeac068b1c673fb267de.jpg","text":"TemporaryFile(/tmp/multipartBody317650051254089721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076074067,"filename":"image_28012025_09_36_15_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1242e87fe74fdb9a269fe928e2c28113.jpg","text":"TemporaryFile(/tmp/multipartBody8513085963310934689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076074067,"filename":"image_28012025_09_35_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/1/28/0074fe6bd2a4527c657fd7783829658d.jpg","text":"TemporaryFile(/tmp/multipartBody5980478950069834353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076074067,"filename":"image_28012025_09_36_05_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332323431","file1":"1332323356","file0":"1332323344","file4":"1332324053","file5":"1332324385","file3":"1332323740"},"map_files_photo_id_array":[{"photo_id":"1332324385","filename":"file5"},{"photo_id":"1332323431","filename":"file2"},{"photo_id":"1332324053","filename":"file4"},{"photo_id":"1332323356","filename":"file1"},{"photo_id":"1332323344","filename":"file0"},{"photo_id":"1332323740","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332324053":["hashtag1","hashtag2"]},{"1332324385":["hashtag1","hashtag2"]},{"1332323356":["hashtag1","hashtag2"]},{"1332323740":["hashtag1","hashtag2"]},{"1332323344":["hashtag1","hashtag2"]},{"1332323431":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332324053, 1332324385, 1332323356, 1332323740, 1332323344, 1332323431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.883678674697876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:54:32.240209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/36/image_28012025_09_36_45_9396.jpg', '/home/pi/Desktop/images/28012025/09/36/image_28012025_09_36_55_10371.jpg', '/home/pi/Desktop/images/28012025/09/36/image_28012025_09_37_05_9436.jpg', '/home/pi/Desktop/images/28012025/09/37/image_28012025_09_37_15_10361.jpg', '/home/pi/Desktop/images/28012025/09/37/image_28012025_09_37_24_9490.jpg', '/home/pi/Desktop/images/28012025/09/37/image_28012025_09_37_35_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/36/image_28012025_09_36_45_9396.jpg
/home/pi/Desktop/images/28012025/09/36/image_28012025_09_36_55_10371.jpg
/home/pi/Desktop/images/28012025/09/36/image_28012025_09_37_05_9436.jpg
/home/pi/Desktop/images/28012025/09/37/image_28012025_09_37_15_10361.jpg
/home/pi/Desktop/images/28012025/09/37/image_28012025_09_37_24_9490.jpg
/home/pi/Desktop/images/28012025/09/37/image_28012025_09_37_35_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":["1332324764","1332325112","1332325001","1332325237","1332324883","1332324808"],"photo_ids_order":["1332324764","1332324808","1332324883","1332325001","1332325112","1332325237"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/014e459827d3147baefcfc3dd5e698ca.jpg","text":"TemporaryFile(/tmp/multipartBody4404751690896876808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076133215,"filename":"image_28012025_09_36_45_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/02fad576cedaa5ac7db3f1fc8b7395d4.jpg","text":"TemporaryFile(/tmp/multipartBody2602541459007579058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076133215,"filename":"image_28012025_09_37_24_9490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ba9b7d816bfd8125e842221dd0d5775d.jpg","text":"TemporaryFile(/tmp/multipartBody1674732307312129880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076133215,"filename":"image_28012025_09_37_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/1/28/f4b3ee380b9915f663b4823ac7c47520.jpg","text":"TemporaryFile(/tmp/multipartBody2402491670610205826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076133215,"filename":"image_28012025_09_37_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/1/28/dfb1929b49f9bd0d5e3c5371de5beedd.jpg","text":"TemporaryFile(/tmp/multipartBody7408425308731928475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076133215,"filename":"image_28012025_09_37_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/1/28/b55bb155ba724f0cdf391221218cf491.jpg","text":"TemporaryFile(/tmp/multipartBody5620887799874291200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076133215,"filename":"image_28012025_09_36_55_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332324883","file1":"1332324808","file0":"1332324764","file4":"1332325112","file5":"1332325237","file3":"1332325001"},"map_files_photo_id_array":[{"photo_id":"1332325237","filename":"file5"},{"photo_id":"1332324883","filename":"file2"},{"photo_id":"1332325112","filename":"file4"},{"photo_id":"1332324808","filename":"file1"},{"photo_id":"1332324764","filename":"file0"},{"photo_id":"1332325001","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332324764":["hashtag1","hashtag2"]},{"1332325112":["hashtag1","hashtag2"]},{"1332325001":["hashtag1","hashtag2"]},{"1332325237":["hashtag1","hashtag2"]},{"1332324883":["hashtag1","hashtag2"]},{"1332324808":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332324764, 1332325112, 1332325001, 1332325237, 1332324883, 1332324808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.87872076034546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:55:32.543244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/37/image_28012025_09_37_45_10353.jpg', '/home/pi/Desktop/images/28012025/09/37/image_28012025_09_37_55_9466.jpg', '/home/pi/Desktop/images/28012025/09/37/image_28012025_09_38_05_10358.jpg', '/home/pi/Desktop/images/28012025/09/38/image_28012025_09_38_15_10404.jpg', '/home/pi/Desktop/images/28012025/09/38/image_28012025_09_38_25_9350.jpg', '/home/pi/Desktop/images/28012025/09/38/image_28012025_09_38_35_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/37/image_28012025_09_37_45_10353.jpg
/home/pi/Desktop/images/28012025/09/37/image_28012025_09_37_55_9466.jpg
/home/pi/Desktop/images/28012025/09/37/image_28012025_09_38_05_10358.jpg
/home/pi/Desktop/images/28012025/09/38/image_28012025_09_38_15_10404.jpg
/home/pi/Desktop/images/28012025/09/38/image_28012025_09_38_25_9350.jpg
/home/pi/Desktop/images/28012025/09/38/image_28012025_09_38_35_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":["1332325553","1332325547","1332325549","1332325542","1332325551","1332325545"],"photo_ids_order":["1332325542","1332325545","1332325547","1332325549","1332325551","1332325553"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/19eb0cfe702ef4dafd3661eb70b71ddc.jpg","text":"TemporaryFile(/tmp/multipartBody8912806228557019213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076193508,"filename":"image_28012025_09_38_35_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/75331356770e255fdc2ae44c52d60ad2.jpg","text":"TemporaryFile(/tmp/multipartBody4535798004017001898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076193508,"filename":"image_28012025_09_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/1/28/8f84b81ca7378d158dca58c3669d783c.jpg","text":"TemporaryFile(/tmp/multipartBody1907225364346334291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076193508,"filename":"image_28012025_09_38_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/1/28/7978a21ccd1705fce33444b969ee3866.jpg","text":"TemporaryFile(/tmp/multipartBody5660232308215568788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076193508,"filename":"image_28012025_09_37_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/1/28/3713baf3952e7a4bd91ab0b0a161d14e.jpg","text":"TemporaryFile(/tmp/multipartBody5279653609874237768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076193508,"filename":"image_28012025_09_38_25_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dfea65801c08a2c0976146ef7988494e.jpg","text":"TemporaryFile(/tmp/multipartBody2495180183925147698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076193508,"filename":"image_28012025_09_37_55_9466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332325547","file1":"1332325545","file0":"1332325542","file4":"1332325551","file5":"1332325553","file3":"1332325549"},"map_files_photo_id_array":[{"photo_id":"1332325553","filename":"file5"},{"photo_id":"1332325547","filename":"file2"},{"photo_id":"1332325551","filename":"file4"},{"photo_id":"1332325545","filename":"file1"},{"photo_id":"1332325542","filename":"file0"},{"photo_id":"1332325549","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332325553":["hashtag1","hashtag2"]},{"1332325547":["hashtag1","hashtag2"]},{"1332325549":["hashtag1","hashtag2"]},{"1332325542":["hashtag1","hashtag2"]},{"1332325551":["hashtag1","hashtag2"]},{"1332325545":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332325553, 1332325547, 1332325549, 1332325542, 1332325551, 1332325545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.55046272277832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:56:32.662992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/38/image_28012025_09_38_44_9426.jpg', '/home/pi/Desktop/images/28012025/09/38/image_28012025_09_38_55_10361.jpg', '/home/pi/Desktop/images/28012025/09/38/image_28012025_09_39_05_10332.jpg', '/home/pi/Desktop/images/28012025/09/39/image_28012025_09_39_25_10354.jpg', '/home/pi/Desktop/images/28012025/09/39/image_28012025_09_39_35_10388.jpg', '/home/pi/Desktop/images/28012025/09/39/image_28012025_09_39_45_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/38/image_28012025_09_38_44_9426.jpg
/home/pi/Desktop/images/28012025/09/38/image_28012025_09_38_55_10361.jpg
/home/pi/Desktop/images/28012025/09/38/image_28012025_09_39_05_10332.jpg
/home/pi/Desktop/images/28012025/09/39/image_28012025_09_39_25_10354.jpg
/home/pi/Desktop/images/28012025/09/39/image_28012025_09_39_35_10388.jpg
/home/pi/Desktop/images/28012025/09/39/image_28012025_09_39_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":["1332325583","1332325685","1332326386","1332326512","1332326649","1332326022"],"photo_ids_order":["1332325583","1332325685","1332326022","1332326386","1332326512","1332326649"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3bdd771997f06fcfe1ba65495340bfb5.jpg","text":"TemporaryFile(/tmp/multipartBody7310101433663635368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076253648,"filename":"image_28012025_09_38_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/1/28/79965e83c55d05c1c0f785514666518c.jpg","text":"TemporaryFile(/tmp/multipartBody6380221835044406149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076253648,"filename":"image_28012025_09_38_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/1/28/d230085a25a99817765adbeb9788565c.jpg","text":"TemporaryFile(/tmp/multipartBody4470345623834932025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076253648,"filename":"image_28012025_09_39_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/1/28/6e7589e4e5f47bc58d822f45042ec039.jpg","text":"TemporaryFile(/tmp/multipartBody8555829781982837148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076253648,"filename":"image_28012025_09_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/1/28/67712b1123b3234eaa410a9f9c39d12d.jpg","text":"TemporaryFile(/tmp/multipartBody6059530800111878808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076253648,"filename":"image_28012025_09_39_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/1/28/2badefc278efdfe5d3b4b66c959ea443.jpg","text":"TemporaryFile(/tmp/multipartBody3134170529607567411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076253648,"filename":"image_28012025_09_39_05_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332326022","file1":"1332325685","file0":"1332325583","file4":"1332326512","file5":"1332326649","file3":"1332326386"},"map_files_photo_id_array":[{"photo_id":"1332326649","filename":"file5"},{"photo_id":"1332326022","filename":"file2"},{"photo_id":"1332326512","filename":"file4"},{"photo_id":"1332325685","filename":"file1"},{"photo_id":"1332325583","filename":"file0"},{"photo_id":"1332326386","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332325583":["hashtag1","hashtag2"]},{"1332325685":["hashtag1","hashtag2"]},{"1332326386":["hashtag1","hashtag2"]},{"1332326512":["hashtag1","hashtag2"]},{"1332326649":["hashtag1","hashtag2"]},{"1332326022":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332325583, 1332325685, 1332326386, 1332326512, 1332326649, 1332326022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.879825830459595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 15:57:32.883398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/39/image_28012025_09_40_04_9424.jpg', '/home/pi/Desktop/images/28012025/09/40/image_28012025_09_40_15_10410.jpg', '/home/pi/Desktop/images/28012025/09/40/image_28012025_09_40_35_9340.jpg', '/home/pi/Desktop/images/28012025/09/40/image_28012025_09_40_45_10347.jpg', '/home/pi/Desktop/images/28012025/09/40/image_28012025_09_40_55_10399.jpg', '/home/pi/Desktop/images/28012025/09/40/image_28012025_09_41_05_9336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/39/image_28012025_09_40_04_9424.jpg
/home/pi/Desktop/images/28012025/09/40/image_28012025_09_40_15_10410.jpg
/home/pi/Desktop/images/28012025/09/40/image_28012025_09_40_35_9340.jpg
/home/pi/Desktop/images/28012025/09/40/image_28012025_09_40_45_10347.jpg
/home/pi/Desktop/images/28012025/09/40/image_28012025_09_40_55_10399.jpg
/home/pi/Desktop/images/28012025/09/40/image_28012025_09_41_05_9336.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 www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 15:59:04.089004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/39/image_28012025_09_40_04_9424.jpg', '/home/pi/Desktop/images/28012025/09/40/image_28012025_09_40_15_10410.jpg', '/home/pi/Desktop/images/28012025/09/40/image_28012025_09_40_35_9340.jpg', '/home/pi/Desktop/images/28012025/09/40/image_28012025_09_40_45_10347.jpg', '/home/pi/Desktop/images/28012025/09/40/image_28012025_09_40_55_10399.jpg', '/home/pi/Desktop/images/28012025/09/40/image_28012025_09_41_05_9336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/39/image_28012025_09_40_04_9424.jpg
/home/pi/Desktop/images/28012025/09/40/image_28012025_09_40_15_10410.jpg
/home/pi/Desktop/images/28012025/09/40/image_28012025_09_40_35_9340.jpg
/home/pi/Desktop/images/28012025/09/40/image_28012025_09_40_45_10347.jpg
/home/pi/Desktop/images/28012025/09/40/image_28012025_09_40_55_10399.jpg
/home/pi/Desktop/images/28012025/09/40/image_28012025_09_41_05_9336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332328095","1332328182","1332328242","1332328170","1332328145","1332328177"],"photo_ids_order":["1332328095","1332328145","1332328170","1332328177","1332328182","1332328242"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7af66a4c9f21b906fe6a02ca33fb02f2.jpg","text":"TemporaryFile(/tmp/multipartBody5910266472230012707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076405166,"filename":"image_28012025_09_40_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/1/28/e849405080ed7ec3be9bca3c46047810.jpg","text":"TemporaryFile(/tmp/multipartBody7557818580558419718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076405166,"filename":"image_28012025_09_40_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/1/28/02e9970b748fb6705e9d385a60f59d7d.jpg","text":"TemporaryFile(/tmp/multipartBody8785692559412576979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076405166,"filename":"image_28012025_09_41_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/1/28/68d69ef3c978e4201e9868431c3084fb.jpg","text":"TemporaryFile(/tmp/multipartBody2764685774428456971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076405166,"filename":"image_28012025_09_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/1/28/6134d66c49a5668d6c33b53283bfe600.jpg","text":"TemporaryFile(/tmp/multipartBody6254813870326328187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076405166,"filename":"image_28012025_09_40_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/1/28/b762d21267aaf1221dd29bc33ba4917e.jpg","text":"TemporaryFile(/tmp/multipartBody5792470999077522197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076405166,"filename":"image_28012025_09_40_45_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332328170","file1":"1332328145","file0":"1332328095","file4":"1332328182","file5":"1332328242","file3":"1332328177"},"map_files_photo_id_array":[{"photo_id":"1332328242","filename":"file5"},{"photo_id":"1332328170","filename":"file2"},{"photo_id":"1332328182","filename":"file4"},{"photo_id":"1332328145","filename":"file1"},{"photo_id":"1332328095","filename":"file0"},{"photo_id":"1332328177","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332328095":["hashtag1","hashtag2"]},{"1332328182":["hashtag1","hashtag2"]},{"1332328242":["hashtag1","hashtag2"]},{"1332328170":["hashtag1","hashtag2"]},{"1332328145":["hashtag1","hashtag2"]},{"1332328177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332328095, 1332328182, 1332328242, 1332328170, 1332328145, 1332328177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.03127884864807 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 15:59:52.671692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/22/image_23012025_23_22_26_10350.jpg', '/home/pi/Desktop/images/23012025/23/22/image_23012025_23_22_37_10444.jpg', '/home/pi/Desktop/images/23012025/23/22/image_23012025_23_22_46_9474.jpg', '/home/pi/Desktop/images/23012025/23/22/image_23012025_23_22_56_10373.jpg', '/home/pi/Desktop/images/23012025/23/22/image_23012025_23_23_06_9349.jpg', '/home/pi/Desktop/images/23012025/23/23/image_23012025_23_23_16_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/22/image_23012025_23_22_26_10350.jpg
/home/pi/Desktop/images/23012025/23/22/image_23012025_23_22_37_10444.jpg
/home/pi/Desktop/images/23012025/23/22/image_23012025_23_22_46_9474.jpg
/home/pi/Desktop/images/23012025/23/22/image_23012025_23_22_56_10373.jpg
/home/pi/Desktop/images/23012025/23/22/image_23012025_23_23_06_9349.jpg
/home/pi/Desktop/images/23012025/23/23/image_23012025_23_23_16_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332328352","1332328355","1332328349","1332328343","1332328346","1332328339"],"photo_ids_order":["1332328339","1332328343","1332328346","1332328349","1332328352","1332328355"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2ac35664e7efac2f09e08404963a937f.jpg","text":"TemporaryFile(/tmp/multipartBody1135077113566418807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076454794,"filename":"image_23012025_23_23_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/1/28/6e38d3f2a16d11f8615f612b1be99085.jpg","text":"TemporaryFile(/tmp/multipartBody2250947691229430215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076454794,"filename":"image_23012025_23_23_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/1/28/c320b883e3bb0b09e67e669264b30ecb.jpg","text":"TemporaryFile(/tmp/multipartBody6817564269997220526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076454794,"filename":"image_23012025_23_22_56_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/22f4946b92b0774081858fd11007cd71.jpg","text":"TemporaryFile(/tmp/multipartBody256816265573665353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076454794,"filename":"image_23012025_23_22_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/1/28/b4443f112eac099b2ed0ef74cd9774af.jpg","text":"TemporaryFile(/tmp/multipartBody5057214689399860684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076454794,"filename":"image_23012025_23_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/1/28/8062b3d08e78d42ecf569c736e823209.jpg","text":"TemporaryFile(/tmp/multipartBody290558470447757096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076454794,"filename":"image_23012025_23_22_26_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332328346","file1":"1332328343","file0":"1332328339","file4":"1332328352","file5":"1332328355","file3":"1332328349"},"map_files_photo_id_array":[{"photo_id":"1332328355","filename":"file5"},{"photo_id":"1332328346","filename":"file2"},{"photo_id":"1332328352","filename":"file4"},{"photo_id":"1332328343","filename":"file1"},{"photo_id":"1332328339","filename":"file0"},{"photo_id":"1332328349","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332328352":["hashtag1","hashtag2"]},{"1332328355":["hashtag1","hashtag2"]},{"1332328349":["hashtag1","hashtag2"]},{"1332328343":["hashtag1","hashtag2"]},{"1332328346":["hashtag1","hashtag2"]},{"1332328339":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332328352, 1332328355, 1332328349, 1332328343, 1332328346, 1332328339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.56848359107971 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 16:00:42.886327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/41/image_28012025_09_41_15_10352.jpg', '/home/pi/Desktop/images/28012025/09/41/image_28012025_09_41_24_9451.jpg', '/home/pi/Desktop/images/28012025/09/41/image_28012025_09_41_35_10353.jpg', '/home/pi/Desktop/images/28012025/09/41/image_28012025_09_41_45_10377.jpg', '/home/pi/Desktop/images/28012025/09/41/image_28012025_09_41_55_9395.jpg', '/home/pi/Desktop/images/28012025/09/41/image_28012025_09_42_05_10395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/41/image_28012025_09_41_15_10352.jpg
/home/pi/Desktop/images/28012025/09/41/image_28012025_09_41_24_9451.jpg
/home/pi/Desktop/images/28012025/09/41/image_28012025_09_41_35_10353.jpg
/home/pi/Desktop/images/28012025/09/41/image_28012025_09_41_45_10377.jpg
/home/pi/Desktop/images/28012025/09/41/image_28012025_09_41_55_9395.jpg
/home/pi/Desktop/images/28012025/09/41/image_28012025_09_42_05_10395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332328369","1332328365","1332328379","1332328367","1332328376","1332328381"],"photo_ids_order":["1332328365","1332328367","1332328369","1332328376","1332328379","1332328381"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/95a25c13e52be0699df565d07267cd42.jpg","text":"TemporaryFile(/tmp/multipartBody7413194228406515705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076503955,"filename":"image_28012025_09_41_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/1/28/b0bdbb4bd5c7a436320a0b90d9230648.jpg","text":"TemporaryFile(/tmp/multipartBody4164074669946564547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076503955,"filename":"image_28012025_09_41_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/1/28/d2b85d7fd59d887ecef335e4b80678e2.jpg","text":"TemporaryFile(/tmp/multipartBody3699122854430989146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076503955,"filename":"image_28012025_09_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/1/28/b0d3755ca6f692c36e54b915831489b6.jpg","text":"TemporaryFile(/tmp/multipartBody6862329457979293602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076503955,"filename":"image_28012025_09_41_24_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e21c6075c1aa8acd8eb652b1bd865631.jpg","text":"TemporaryFile(/tmp/multipartBody7388133780991419825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076503955,"filename":"image_28012025_09_41_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/1/28/16da05d94b874db1a59b23a68ddc2773.jpg","text":"TemporaryFile(/tmp/multipartBody6293428718173530824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076503955,"filename":"image_28012025_09_42_05_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332328369","file1":"1332328367","file0":"1332328365","file4":"1332328379","file5":"1332328381","file3":"1332328376"},"map_files_photo_id_array":[{"photo_id":"1332328381","filename":"file5"},{"photo_id":"1332328369","filename":"file2"},{"photo_id":"1332328379","filename":"file4"},{"photo_id":"1332328367","filename":"file1"},{"photo_id":"1332328365","filename":"file0"},{"photo_id":"1332328376","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332328369":["hashtag1","hashtag2"]},{"1332328365":["hashtag1","hashtag2"]},{"1332328379":["hashtag1","hashtag2"]},{"1332328367":["hashtag1","hashtag2"]},{"1332328376":["hashtag1","hashtag2"]},{"1332328381":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332328369, 1332328365, 1332328379, 1332328367, 1332328376, 1332328381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.936288833618164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:01:33.152810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/42/image_28012025_09_42_14_9461.jpg', '/home/pi/Desktop/images/28012025/09/42/image_28012025_09_42_25_10361.jpg', '/home/pi/Desktop/images/28012025/09/42/image_28012025_09_42_35_10338.jpg', '/home/pi/Desktop/images/28012025/09/42/image_28012025_09_42_44_9412.jpg', '/home/pi/Desktop/images/28012025/09/42/image_28012025_09_42_55_10351.jpg', '/home/pi/Desktop/images/28012025/09/42/image_28012025_09_43_05_10405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/42/image_28012025_09_42_14_9461.jpg
/home/pi/Desktop/images/28012025/09/42/image_28012025_09_42_25_10361.jpg
/home/pi/Desktop/images/28012025/09/42/image_28012025_09_42_35_10338.jpg
/home/pi/Desktop/images/28012025/09/42/image_28012025_09_42_44_9412.jpg
/home/pi/Desktop/images/28012025/09/42/image_28012025_09_42_55_10351.jpg
/home/pi/Desktop/images/28012025/09/42/image_28012025_09_43_05_10405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332329271","1332328906","1332329189","1332328559","1332329344","1332329347"],"photo_ids_order":["1332328559","1332328906","1332329189","1332329271","1332329344","1332329347"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a3ba239d514b9d1a3e119071bc3ff07b.jpg","text":"TemporaryFile(/tmp/multipartBody8471052840935819686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076554151,"filename":"image_28012025_09_42_44_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/762a3a9e7be31d05ecbc8df956c6f029.jpg","text":"TemporaryFile(/tmp/multipartBody3138336473119874836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076554151,"filename":"image_28012025_09_42_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/1/28/484ef952cec4480f9034da43a3ef2c5b.jpg","text":"TemporaryFile(/tmp/multipartBody7711425286636823553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076554151,"filename":"image_28012025_09_42_35_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c8bc38fbd4af85d35f27c7bf8de02349.jpg","text":"TemporaryFile(/tmp/multipartBody1537415486603612304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076554151,"filename":"image_28012025_09_42_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/1/28/0416c2a38481ae613f68a36b1ecc1a93.jpg","text":"TemporaryFile(/tmp/multipartBody9048784089705716267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076554151,"filename":"image_28012025_09_42_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/1/28/a81dc3a1998b5c3871a710c338a508f0.jpg","text":"TemporaryFile(/tmp/multipartBody583222667782394827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076554151,"filename":"image_28012025_09_43_05_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332329189","file1":"1332328906","file0":"1332328559","file4":"1332329344","file5":"1332329347","file3":"1332329271"},"map_files_photo_id_array":[{"photo_id":"1332329347","filename":"file5"},{"photo_id":"1332329189","filename":"file2"},{"photo_id":"1332329344","filename":"file4"},{"photo_id":"1332328906","filename":"file1"},{"photo_id":"1332328559","filename":"file0"},{"photo_id":"1332329271","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332329271":["hashtag1","hashtag2"]},{"1332328906":["hashtag1","hashtag2"]},{"1332329189":["hashtag1","hashtag2"]},{"1332328559":["hashtag1","hashtag2"]},{"1332329344":["hashtag1","hashtag2"]},{"1332329347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332329271, 1332328906, 1332329189, 1332328559, 1332329344, 1332329347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.87414216995239 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:02:32.296219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/43/image_28012025_09_43_15_9337.jpg', '/home/pi/Desktop/images/28012025/09/43/image_28012025_09_43_25_10351.jpg', '/home/pi/Desktop/images/28012025/09/43/image_28012025_09_43_34_9487.jpg', '/home/pi/Desktop/images/28012025/09/43/image_28012025_09_43_45_10370.jpg', '/home/pi/Desktop/images/28012025/09/43/image_28012025_09_43_55_10441.jpg', '/home/pi/Desktop/images/28012025/09/43/image_28012025_09_44_05_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/43/image_28012025_09_43_15_9337.jpg
/home/pi/Desktop/images/28012025/09/43/image_28012025_09_43_25_10351.jpg
/home/pi/Desktop/images/28012025/09/43/image_28012025_09_43_34_9487.jpg
/home/pi/Desktop/images/28012025/09/43/image_28012025_09_43_45_10370.jpg
/home/pi/Desktop/images/28012025/09/43/image_28012025_09_43_55_10441.jpg
/home/pi/Desktop/images/28012025/09/43/image_28012025_09_44_05_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":["1332329691","1332329801","1332329692","1332329686","1332329689","1332329688"],"photo_ids_order":["1332329686","1332329688","1332329689","1332329691","1332329692","1332329801"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a08b2509f3379b907ab9ca057ec9531a.jpg","text":"TemporaryFile(/tmp/multipartBody1654709723725222252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076613267,"filename":"image_28012025_09_43_45_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d7b83e04afb24e7597a7d88a19108d8f.jpg","text":"TemporaryFile(/tmp/multipartBody2819337360889789702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076613267,"filename":"image_28012025_09_44_05_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/74b74fbe171fd3fc3e3ea785c2992774.jpg","text":"TemporaryFile(/tmp/multipartBody1907929190753430956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076613267,"filename":"image_28012025_09_43_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/1/28/30820defb8530476556689b92644c5f1.jpg","text":"TemporaryFile(/tmp/multipartBody1424128059309556507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076613267,"filename":"image_28012025_09_43_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/1/28/b7c08ae735baaa0c636efcbc826399d1.jpg","text":"TemporaryFile(/tmp/multipartBody7134003050639534015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076613267,"filename":"image_28012025_09_43_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/1/28/869afb1d4a71c1b4055e7cb8cff257b6.jpg","text":"TemporaryFile(/tmp/multipartBody341549127429485453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076613267,"filename":"image_28012025_09_43_25_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332329689","file1":"1332329688","file0":"1332329686","file4":"1332329692","file5":"1332329801","file3":"1332329691"},"map_files_photo_id_array":[{"photo_id":"1332329801","filename":"file5"},{"photo_id":"1332329689","filename":"file2"},{"photo_id":"1332329692","filename":"file4"},{"photo_id":"1332329688","filename":"file1"},{"photo_id":"1332329686","filename":"file0"},{"photo_id":"1332329691","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332329691":["hashtag1","hashtag2"]},{"1332329801":["hashtag1","hashtag2"]},{"1332329692":["hashtag1","hashtag2"]},{"1332329686":["hashtag1","hashtag2"]},{"1332329689":["hashtag1","hashtag2"]},{"1332329688":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332329691, 1332329801, 1332329692, 1332329686, 1332329689, 1332329688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.11135220527649 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:03:32.573316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/44/image_28012025_09_44_15_10361.jpg', '/home/pi/Desktop/images/28012025/09/44/image_28012025_09_44_24_9397.jpg', '/home/pi/Desktop/images/28012025/09/44/image_28012025_09_44_45_10359.jpg', '/home/pi/Desktop/images/28012025/09/44/image_28012025_09_44_54_9412.jpg', '/home/pi/Desktop/images/28012025/09/44/image_28012025_09_45_05_10367.jpg', '/home/pi/Desktop/images/28012025/09/45/image_28012025_09_45_15_10404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/44/image_28012025_09_44_15_10361.jpg
/home/pi/Desktop/images/28012025/09/44/image_28012025_09_44_24_9397.jpg
/home/pi/Desktop/images/28012025/09/44/image_28012025_09_44_45_10359.jpg
/home/pi/Desktop/images/28012025/09/44/image_28012025_09_44_54_9412.jpg
/home/pi/Desktop/images/28012025/09/44/image_28012025_09_45_05_10367.jpg
/home/pi/Desktop/images/28012025/09/45/image_28012025_09_45_15_10404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332330442","1332330337","1332330310","1332330441","1332330443","1332330446"],"photo_ids_order":["1332330310","1332330337","1332330441","1332330442","1332330443","1332330446"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c3e7720e263bcacb78d019979dea7c9b.jpg","text":"TemporaryFile(/tmp/multipartBody1847012151954170644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076673550,"filename":"image_28012025_09_44_54_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a02e8ee3bf11c4a6a029e37ca3791f50.jpg","text":"TemporaryFile(/tmp/multipartBody4273380366959509800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076673550,"filename":"image_28012025_09_44_24_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0c5d1aa7c0b74635a4ecc753c6528d8b.jpg","text":"TemporaryFile(/tmp/multipartBody634672331331002091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076673550,"filename":"image_28012025_09_44_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/1/28/df07ddbdd0d5f3dffdc0529412bea7a6.jpg","text":"TemporaryFile(/tmp/multipartBody3264667165499378994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076673550,"filename":"image_28012025_09_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/1/28/e2993ff1501ee6b48af7b954175b3359.jpg","text":"TemporaryFile(/tmp/multipartBody3503666096535338202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076673550,"filename":"image_28012025_09_45_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/1/28/25d9304ec8541c134313a25a3bc62b41.jpg","text":"TemporaryFile(/tmp/multipartBody4665741042407717090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076673550,"filename":"image_28012025_09_45_15_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332330441","file1":"1332330337","file0":"1332330310","file4":"1332330443","file5":"1332330446","file3":"1332330442"},"map_files_photo_id_array":[{"photo_id":"1332330446","filename":"file5"},{"photo_id":"1332330441","filename":"file2"},{"photo_id":"1332330443","filename":"file4"},{"photo_id":"1332330337","filename":"file1"},{"photo_id":"1332330310","filename":"file0"},{"photo_id":"1332330442","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332330442":["hashtag1","hashtag2"]},{"1332330337":["hashtag1","hashtag2"]},{"1332330310":["hashtag1","hashtag2"]},{"1332330441":["hashtag1","hashtag2"]},{"1332330443":["hashtag1","hashtag2"]},{"1332330446":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332330442, 1332330337, 1332330310, 1332330441, 1332330443, 1332330446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.484463930130005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:04:32.679726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/45/image_28012025_09_45_25_9425.jpg', '/home/pi/Desktop/images/28012025/09/45/image_28012025_09_45_35_10338.jpg', '/home/pi/Desktop/images/28012025/09/45/image_28012025_09_45_55_10379.jpg', '/home/pi/Desktop/images/28012025/09/45/image_28012025_09_46_05_10420.jpg', '/home/pi/Desktop/images/28012025/09/46/image_28012025_09_46_15_9353.jpg', '/home/pi/Desktop/images/28012025/09/46/image_28012025_09_46_25_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/45/image_28012025_09_45_25_9425.jpg
/home/pi/Desktop/images/28012025/09/45/image_28012025_09_45_35_10338.jpg
/home/pi/Desktop/images/28012025/09/45/image_28012025_09_45_55_10379.jpg
/home/pi/Desktop/images/28012025/09/45/image_28012025_09_46_05_10420.jpg
/home/pi/Desktop/images/28012025/09/46/image_28012025_09_46_15_9353.jpg
/home/pi/Desktop/images/28012025/09/46/image_28012025_09_46_25_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332330477","1332330473","1332330476","1332330479","1332330464","1332330478"],"photo_ids_order":["1332330464","1332330473","1332330476","1332330477","1332330478","1332330479"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3f88d73797e5e42a084401f022e560af.jpg","text":"TemporaryFile(/tmp/multipartBody1871057096893251358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076733694,"filename":"image_28012025_09_46_05_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e5821c0e374e1a8c70bdc2082fcd26b0.jpg","text":"TemporaryFile(/tmp/multipartBody8263280088669311721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076733694,"filename":"image_28012025_09_45_35_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/14701437947ca7599d6889e6406a3eec.jpg","text":"TemporaryFile(/tmp/multipartBody1219835132161936735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076733694,"filename":"image_28012025_09_45_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/1/28/68d2c10a990fe55b0814f4d9b5582757.jpg","text":"TemporaryFile(/tmp/multipartBody2471674131244347062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076733694,"filename":"image_28012025_09_46_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/1/28/bfa1fc8c1a060206d0f39a5636e416ac.jpg","text":"TemporaryFile(/tmp/multipartBody7505725642112361984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076733694,"filename":"image_28012025_09_45_25_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c232e8e715a832ef14f1cef7ace2a48e.jpg","text":"TemporaryFile(/tmp/multipartBody5278735791791678186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076733694,"filename":"image_28012025_09_46_15_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332330476","file1":"1332330473","file0":"1332330464","file4":"1332330478","file5":"1332330479","file3":"1332330477"},"map_files_photo_id_array":[{"photo_id":"1332330479","filename":"file5"},{"photo_id":"1332330476","filename":"file2"},{"photo_id":"1332330478","filename":"file4"},{"photo_id":"1332330473","filename":"file1"},{"photo_id":"1332330464","filename":"file0"},{"photo_id":"1332330477","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332330477":["hashtag1","hashtag2"]},{"1332330473":["hashtag1","hashtag2"]},{"1332330476":["hashtag1","hashtag2"]},{"1332330479":["hashtag1","hashtag2"]},{"1332330464":["hashtag1","hashtag2"]},{"1332330478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332330477, 1332330473, 1332330476, 1332330479, 1332330464, 1332330478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.82816004753113 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:05:33.165102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/46/image_28012025_09_46_34_9398.jpg', '/home/pi/Desktop/images/28012025/09/46/image_28012025_09_46_45_10365.jpg', '/home/pi/Desktop/images/28012025/09/46/image_28012025_09_46_55_10542.jpg', '/home/pi/Desktop/images/28012025/09/46/image_28012025_09_47_05_9332.jpg', '/home/pi/Desktop/images/28012025/09/47/image_28012025_09_47_15_10333.jpg', '/home/pi/Desktop/images/28012025/09/47/image_28012025_09_47_25_10291.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/46/image_28012025_09_46_34_9398.jpg
/home/pi/Desktop/images/28012025/09/46/image_28012025_09_46_45_10365.jpg
/home/pi/Desktop/images/28012025/09/46/image_28012025_09_46_55_10542.jpg
/home/pi/Desktop/images/28012025/09/46/image_28012025_09_47_05_9332.jpg
/home/pi/Desktop/images/28012025/09/47/image_28012025_09_47_15_10333.jpg
/home/pi/Desktop/images/28012025/09/47/image_28012025_09_47_25_10291.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332330727","1332330492","1332330495","1332330489","1332330498","1332330998"],"photo_ids_order":["1332330489","1332330492","1332330495","1332330498","1332330727","1332330998"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ef71d136eb3756a7f43f193059cc1e8a.jpg","text":"TemporaryFile(/tmp/multipartBody2608354254567625520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076794137,"filename":"image_28012025_09_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/1/28/c068b54ebf701c712988f7bcaee06096.jpg","text":"TemporaryFile(/tmp/multipartBody6298944435921518623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076794137,"filename":"image_28012025_09_46_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/1/28/6973ef615007533c506139f6eb66f2d2.jpg","text":"TemporaryFile(/tmp/multipartBody3731643893542919741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076794137,"filename":"image_28012025_09_46_55_10542.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/85814a455a321fec5f87ef48a4f8dbb4.jpg","text":"TemporaryFile(/tmp/multipartBody7783210085334398760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076794137,"filename":"image_28012025_09_46_34_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e43b71dcaacad1f125298be525feccf8.jpg","text":"TemporaryFile(/tmp/multipartBody7668528754991700284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076794137,"filename":"image_28012025_09_47_05_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ea4742cf6fe34021d3cf95a2aa9dc126.jpg","text":"TemporaryFile(/tmp/multipartBody412924181138282789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076794137,"filename":"image_28012025_09_47_25_10291.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332330495","file1":"1332330492","file0":"1332330489","file4":"1332330727","file5":"1332330998","file3":"1332330498"},"map_files_photo_id_array":[{"photo_id":"1332330998","filename":"file5"},{"photo_id":"1332330495","filename":"file2"},{"photo_id":"1332330727","filename":"file4"},{"photo_id":"1332330492","filename":"file1"},{"photo_id":"1332330489","filename":"file0"},{"photo_id":"1332330498","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332330727":["hashtag1","hashtag2"]},{"1332330492":["hashtag1","hashtag2"]},{"1332330495":["hashtag1","hashtag2"]},{"1332330489":["hashtag1","hashtag2"]},{"1332330498":["hashtag1","hashtag2"]},{"1332330998":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332330727, 1332330492, 1332330495, 1332330489, 1332330498, 1332330998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.888290882110596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:06:32.157266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/47/image_28012025_09_47_35_9377.jpg', '/home/pi/Desktop/images/28012025/09/47/image_28012025_09_47_45_10362.jpg', '/home/pi/Desktop/images/28012025/09/47/image_28012025_09_47_54_9400.jpg', '/home/pi/Desktop/images/28012025/09/47/image_28012025_09_48_05_10365.jpg', '/home/pi/Desktop/images/28012025/09/48/image_28012025_09_48_15_10350.jpg', '/home/pi/Desktop/images/28012025/09/48/image_28012025_09_48_25_9443.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/47/image_28012025_09_47_35_9377.jpg
/home/pi/Desktop/images/28012025/09/47/image_28012025_09_47_45_10362.jpg
/home/pi/Desktop/images/28012025/09/47/image_28012025_09_47_54_9400.jpg
/home/pi/Desktop/images/28012025/09/47/image_28012025_09_48_05_10365.jpg
/home/pi/Desktop/images/28012025/09/48/image_28012025_09_48_15_10350.jpg
/home/pi/Desktop/images/28012025/09/48/image_28012025_09_48_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":["1332331374","1332331368","1332331371","1332331373","1332331372","1332331369"],"photo_ids_order":["1332331368","1332331369","1332331371","1332331372","1332331373","1332331374"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ca9e8c5a75828e57061f59e8a4a26096.jpg","text":"TemporaryFile(/tmp/multipartBody2902060726524238944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076853154,"filename":"image_28012025_09_48_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/1/28/53cd1e9fc2d448a2aa0801a1ecfe7b38.jpg","text":"TemporaryFile(/tmp/multipartBody6202919716090365161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076853154,"filename":"image_28012025_09_47_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/1/28/3401f2dacf6f98dff8403f7973c36b15.jpg","text":"TemporaryFile(/tmp/multipartBody3887646934211476064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076853154,"filename":"image_28012025_09_47_54_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/74ad6fe6bd82ca595fea95f205a95ba2.jpg","text":"TemporaryFile(/tmp/multipartBody7940934457309476104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076853154,"filename":"image_28012025_09_48_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/1/28/3d3d232b03e23a59d24ce53139aa3b3d.jpg","text":"TemporaryFile(/tmp/multipartBody6796804612220778840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076853154,"filename":"image_28012025_09_48_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/1/28/6c875ee8240edefb3daa7096d07ec4ce.jpg","text":"TemporaryFile(/tmp/multipartBody2483258018443862944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076853154,"filename":"image_28012025_09_47_45_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332331371","file1":"1332331369","file0":"1332331368","file4":"1332331373","file5":"1332331374","file3":"1332331372"},"map_files_photo_id_array":[{"photo_id":"1332331374","filename":"file5"},{"photo_id":"1332331371","filename":"file2"},{"photo_id":"1332331373","filename":"file4"},{"photo_id":"1332331369","filename":"file1"},{"photo_id":"1332331368","filename":"file0"},{"photo_id":"1332331372","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332331374":["hashtag1","hashtag2"]},{"1332331368":["hashtag1","hashtag2"]},{"1332331371":["hashtag1","hashtag2"]},{"1332331373":["hashtag1","hashtag2"]},{"1332331372":["hashtag1","hashtag2"]},{"1332331369":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332331374, 1332331368, 1332331371, 1332331373, 1332331372, 1332331369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54986310005188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:07:32.467190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/48/image_28012025_09_48_35_10449.jpg', '/home/pi/Desktop/images/28012025/09/48/image_28012025_09_48_45_10369.jpg', '/home/pi/Desktop/images/28012025/09/48/image_28012025_09_48_55_9334.jpg', '/home/pi/Desktop/images/28012025/09/48/image_28012025_09_49_05_10367.jpg', '/home/pi/Desktop/images/28012025/09/49/image_28012025_09_49_14_9339.jpg', '/home/pi/Desktop/images/28012025/09/49/image_28012025_09_49_25_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/48/image_28012025_09_48_35_10449.jpg
/home/pi/Desktop/images/28012025/09/48/image_28012025_09_48_45_10369.jpg
/home/pi/Desktop/images/28012025/09/48/image_28012025_09_48_55_9334.jpg
/home/pi/Desktop/images/28012025/09/48/image_28012025_09_49_05_10367.jpg
/home/pi/Desktop/images/28012025/09/49/image_28012025_09_49_14_9339.jpg
/home/pi/Desktop/images/28012025/09/49/image_28012025_09_49_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":["1332331734","1332331821","1332331803","1332331745","1332331736","1332331822"],"photo_ids_order":["1332331734","1332331736","1332331745","1332331803","1332331821","1332331822"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7dbf8de74e6127675a6c7cd4cd394b33.jpg","text":"TemporaryFile(/tmp/multipartBody7071231190008636621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076913450,"filename":"image_28012025_09_48_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/1/28/532d877d4d8aa3180404e7de04705929.jpg","text":"TemporaryFile(/tmp/multipartBody6555494511267675458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076913450,"filename":"image_28012025_09_49_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/1/28/cae291dac755e4c6465e9ad0b54e4acb.jpg","text":"TemporaryFile(/tmp/multipartBody1704176501815336763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076913450,"filename":"image_28012025_09_49_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/1/28/c4175948e228223c0a2b02bda0e4e31e.jpg","text":"TemporaryFile(/tmp/multipartBody377293080540078157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076913450,"filename":"image_28012025_09_48_55_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c3fa1b5d572fc61fbb88c24419641417.jpg","text":"TemporaryFile(/tmp/multipartBody3585437082170907052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076913450,"filename":"image_28012025_09_48_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/1/28/eae5bbadfaca4ad16459a84a8ba73595.jpg","text":"TemporaryFile(/tmp/multipartBody1329857067144901858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076913450,"filename":"image_28012025_09_49_25_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332331745","file1":"1332331736","file0":"1332331734","file4":"1332331821","file5":"1332331822","file3":"1332331803"},"map_files_photo_id_array":[{"photo_id":"1332331822","filename":"file5"},{"photo_id":"1332331745","filename":"file2"},{"photo_id":"1332331821","filename":"file4"},{"photo_id":"1332331736","filename":"file1"},{"photo_id":"1332331734","filename":"file0"},{"photo_id":"1332331803","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332331734":["hashtag1","hashtag2"]},{"1332331821":["hashtag1","hashtag2"]},{"1332331803":["hashtag1","hashtag2"]},{"1332331745":["hashtag1","hashtag2"]},{"1332331736":["hashtag1","hashtag2"]},{"1332331822":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332331734, 1332331821, 1332331803, 1332331745, 1332331736, 1332331822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.213510274887085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:08:32.611609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/49/image_28012025_09_49_35_10332.jpg', '/home/pi/Desktop/images/28012025/09/49/image_28012025_09_49_44_9344.jpg', '/home/pi/Desktop/images/28012025/09/49/image_28012025_09_49_55_10365.jpg', '/home/pi/Desktop/images/28012025/09/49/image_28012025_09_50_05_10372.jpg', '/home/pi/Desktop/images/28012025/09/50/image_28012025_09_50_14_9321.jpg', '/home/pi/Desktop/images/28012025/09/50/image_28012025_09_50_25_10438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/49/image_28012025_09_49_35_10332.jpg
/home/pi/Desktop/images/28012025/09/49/image_28012025_09_49_44_9344.jpg
/home/pi/Desktop/images/28012025/09/49/image_28012025_09_49_55_10365.jpg
/home/pi/Desktop/images/28012025/09/49/image_28012025_09_50_05_10372.jpg
/home/pi/Desktop/images/28012025/09/50/image_28012025_09_50_14_9321.jpg
/home/pi/Desktop/images/28012025/09/50/image_28012025_09_50_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":["1332331839","1332331844","1332331853","1332331867","1332331849","1332331875"],"photo_ids_order":["1332331839","1332331844","1332331849","1332331853","1332331867","1332331875"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1462fe034cea2b1b8037f8ca8ff23d92.jpg","text":"TemporaryFile(/tmp/multipartBody3657442841753422849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076973591,"filename":"image_28012025_09_49_35_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/52f82b69731b9b960af750a7cb16a2b9.jpg","text":"TemporaryFile(/tmp/multipartBody5613451016687702643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076973591,"filename":"image_28012025_09_49_44_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f452cb4767709bc5499fcca62cc40f70.jpg","text":"TemporaryFile(/tmp/multipartBody166519526498547186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076973591,"filename":"image_28012025_09_50_05_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/17eaefff6c3086637a4ba05e79dc2775.jpg","text":"TemporaryFile(/tmp/multipartBody904311772810663014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076973591,"filename":"image_28012025_09_50_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/1/28/542f6cf6532acda872ee3010bdb616ec.jpg","text":"TemporaryFile(/tmp/multipartBody3441178767285427952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076973591,"filename":"image_28012025_09_49_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/1/28/c56d5b3101243cbf3c753741689feeed.jpg","text":"TemporaryFile(/tmp/multipartBody7029401220413196639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738076973591,"filename":"image_28012025_09_50_25_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332331849","file1":"1332331844","file0":"1332331839","file4":"1332331867","file5":"1332331875","file3":"1332331853"},"map_files_photo_id_array":[{"photo_id":"1332331875","filename":"file5"},{"photo_id":"1332331849","filename":"file2"},{"photo_id":"1332331867","filename":"file4"},{"photo_id":"1332331844","filename":"file1"},{"photo_id":"1332331839","filename":"file0"},{"photo_id":"1332331853","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332331839":["hashtag1","hashtag2"]},{"1332331844":["hashtag1","hashtag2"]},{"1332331853":["hashtag1","hashtag2"]},{"1332331867":["hashtag1","hashtag2"]},{"1332331849":["hashtag1","hashtag2"]},{"1332331875":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332331839, 1332331844, 1332331853, 1332331867, 1332331849, 1332331875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.39068365097046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:09:32.828872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/50/image_28012025_09_50_35_10400.jpg', '/home/pi/Desktop/images/28012025/09/50/image_28012025_09_50_45_9360.jpg', '/home/pi/Desktop/images/28012025/09/50/image_28012025_09_50_55_10372.jpg', '/home/pi/Desktop/images/28012025/09/50/image_28012025_09_51_04_9419.jpg', '/home/pi/Desktop/images/28012025/09/51/image_28012025_09_51_15_10341.jpg', '/home/pi/Desktop/images/28012025/09/51/image_28012025_09_51_45_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/50/image_28012025_09_50_35_10400.jpg
/home/pi/Desktop/images/28012025/09/50/image_28012025_09_50_45_9360.jpg
/home/pi/Desktop/images/28012025/09/50/image_28012025_09_50_55_10372.jpg
/home/pi/Desktop/images/28012025/09/50/image_28012025_09_51_04_9419.jpg
/home/pi/Desktop/images/28012025/09/51/image_28012025_09_51_15_10341.jpg
/home/pi/Desktop/images/28012025/09/51/image_28012025_09_51_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":["1332331929","1332331914","1332331917","1332331925","1332331933","1332331921"],"photo_ids_order":["1332331914","1332331917","1332331921","1332331925","1332331929","1332331933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/907311662255f4bbad2076fcfa25e008.jpg","text":"TemporaryFile(/tmp/multipartBody293791915579884621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077033819,"filename":"image_28012025_09_51_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/1/28/e901ad1eb1037df116a47815f75a6820.jpg","text":"TemporaryFile(/tmp/multipartBody6102963189239632419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077033819,"filename":"image_28012025_09_50_35_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e465a102f15b5148b380333be4abe38b.jpg","text":"TemporaryFile(/tmp/multipartBody5129028888051792368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077033819,"filename":"image_28012025_09_50_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/1/28/a1c8c085e02edf8ee38ad9087d2e86a6.jpg","text":"TemporaryFile(/tmp/multipartBody1420392387792507476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077033819,"filename":"image_28012025_09_51_04_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ffa0f9d54b073fe190113ecd1c3ffb2c.jpg","text":"TemporaryFile(/tmp/multipartBody6976277416375954596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077033819,"filename":"image_28012025_09_51_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/1/28/75d1220dcd3c212f6f7b355667dbe6fc.jpg","text":"TemporaryFile(/tmp/multipartBody4447429666073718429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077033819,"filename":"image_28012025_09_50_55_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332331921","file1":"1332331917","file0":"1332331914","file4":"1332331929","file5":"1332331933","file3":"1332331925"},"map_files_photo_id_array":[{"photo_id":"1332331933","filename":"file5"},{"photo_id":"1332331921","filename":"file2"},{"photo_id":"1332331929","filename":"file4"},{"photo_id":"1332331917","filename":"file1"},{"photo_id":"1332331914","filename":"file0"},{"photo_id":"1332331925","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332331929":["hashtag1","hashtag2"]},{"1332331914":["hashtag1","hashtag2"]},{"1332331917":["hashtag1","hashtag2"]},{"1332331925":["hashtag1","hashtag2"]},{"1332331933":["hashtag1","hashtag2"]},{"1332331921":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332331929, 1332331914, 1332331917, 1332331925, 1332331933, 1332331921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.65640044212341 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:10:33.091624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/51/image_28012025_09_51_55_10449.jpg', '/home/pi/Desktop/images/28012025/09/51/image_28012025_09_52_05_9350.jpg', '/home/pi/Desktop/images/28012025/09/52/image_28012025_09_52_15_10414.jpg', '/home/pi/Desktop/images/28012025/09/52/image_28012025_09_52_25_9461.jpg', '/home/pi/Desktop/images/28012025/09/52/image_28012025_09_52_35_10336.jpg', '/home/pi/Desktop/images/28012025/09/52/image_28012025_09_52_45_10410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/51/image_28012025_09_51_55_10449.jpg
/home/pi/Desktop/images/28012025/09/51/image_28012025_09_52_05_9350.jpg
/home/pi/Desktop/images/28012025/09/52/image_28012025_09_52_15_10414.jpg
/home/pi/Desktop/images/28012025/09/52/image_28012025_09_52_25_9461.jpg
/home/pi/Desktop/images/28012025/09/52/image_28012025_09_52_35_10336.jpg
/home/pi/Desktop/images/28012025/09/52/image_28012025_09_52_45_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":["1332331959","1332331949","1332332089","1332331951","1332332101","1332332043"],"photo_ids_order":["1332331949","1332331951","1332331959","1332332043","1332332089","1332332101"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/523e2cd489f00f38ea93ef0874c06c51.jpg","text":"TemporaryFile(/tmp/multipartBody3435201694397302291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077094068,"filename":"image_28012025_09_52_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/1/28/fea9b6ce2a5b3b2328a67ba3c0e05827.jpg","text":"TemporaryFile(/tmp/multipartBody2110244669083853528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077094068,"filename":"image_28012025_09_51_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/1/28/8b9e616eaa148dd05a2507bcb87e44da.jpg","text":"TemporaryFile(/tmp/multipartBody5163331518013709817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077094068,"filename":"image_28012025_09_52_35_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5cfdf7b627405bf44ac29cda1119c6c2.jpg","text":"TemporaryFile(/tmp/multipartBody5595150867207366229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077094068,"filename":"image_28012025_09_52_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/1/28/af540805e493e4487eafbf1b4da71c1a.jpg","text":"TemporaryFile(/tmp/multipartBody368156000589367180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077094068,"filename":"image_28012025_09_52_45_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c57ed253001eb8b9efb4c159930e0199.jpg","text":"TemporaryFile(/tmp/multipartBody6841580421293910830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077094068,"filename":"image_28012025_09_52_25_9461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332331959","file1":"1332331951","file0":"1332331949","file4":"1332332089","file5":"1332332101","file3":"1332332043"},"map_files_photo_id_array":[{"photo_id":"1332332101","filename":"file5"},{"photo_id":"1332331959","filename":"file2"},{"photo_id":"1332332089","filename":"file4"},{"photo_id":"1332331951","filename":"file1"},{"photo_id":"1332331949","filename":"file0"},{"photo_id":"1332332043","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332331959":["hashtag1","hashtag2"]},{"1332331949":["hashtag1","hashtag2"]},{"1332332089":["hashtag1","hashtag2"]},{"1332331951":["hashtag1","hashtag2"]},{"1332332101":["hashtag1","hashtag2"]},{"1332332043":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332331959, 1332331949, 1332332089, 1332331951, 1332332101, 1332332043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.302168130874634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:11:32.343693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/52/image_28012025_09_52_55_9344.jpg', '/home/pi/Desktop/images/28012025/09/52/image_28012025_09_53_05_10361.jpg', '/home/pi/Desktop/images/28012025/09/53/image_28012025_09_53_14_9356.jpg', '/home/pi/Desktop/images/28012025/09/53/image_28012025_09_53_25_10446.jpg', '/home/pi/Desktop/images/28012025/09/53/image_28012025_09_53_35_10360.jpg', '/home/pi/Desktop/images/28012025/09/53/image_28012025_09_53_45_9383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/52/image_28012025_09_52_55_9344.jpg
/home/pi/Desktop/images/28012025/09/52/image_28012025_09_53_05_10361.jpg
/home/pi/Desktop/images/28012025/09/53/image_28012025_09_53_14_9356.jpg
/home/pi/Desktop/images/28012025/09/53/image_28012025_09_53_25_10446.jpg
/home/pi/Desktop/images/28012025/09/53/image_28012025_09_53_35_10360.jpg
/home/pi/Desktop/images/28012025/09/53/image_28012025_09_53_45_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332333179","1332333247","1332332819","1332333099","1332332917","1332333021"],"photo_ids_order":["1332332819","1332332917","1332333021","1332333099","1332333179","1332333247"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/37e9b0ba93a58d6c4ed8a12217cd024a.jpg","text":"TemporaryFile(/tmp/multipartBody445208779241802724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077153337,"filename":"image_28012025_09_53_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/1/28/1abf93ff044ab1813fa0ff912e7c5c0f.jpg","text":"TemporaryFile(/tmp/multipartBody3752536710905258658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077153337,"filename":"image_28012025_09_53_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/1/28/bf4aff8046301281b839f9c80bc11ad6.jpg","text":"TemporaryFile(/tmp/multipartBody3650074768928160181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077153337,"filename":"image_28012025_09_52_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/1/28/f0fcdc682540f1464045ccc57d058f50.jpg","text":"TemporaryFile(/tmp/multipartBody568206177261923326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077153337,"filename":"image_28012025_09_53_25_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/080cca96760aec4a4d67862228d1e031.jpg","text":"TemporaryFile(/tmp/multipartBody8810025322331729354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077153337,"filename":"image_28012025_09_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/1/28/fe7e23c7667ddafd0d5e4bd6552352f9.jpg","text":"TemporaryFile(/tmp/multipartBody6914437820730735735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077153337,"filename":"image_28012025_09_53_14_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332333021","file1":"1332332917","file0":"1332332819","file4":"1332333179","file5":"1332333247","file3":"1332333099"},"map_files_photo_id_array":[{"photo_id":"1332333247","filename":"file5"},{"photo_id":"1332333021","filename":"file2"},{"photo_id":"1332333179","filename":"file4"},{"photo_id":"1332332917","filename":"file1"},{"photo_id":"1332332819","filename":"file0"},{"photo_id":"1332333099","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332333179":["hashtag1","hashtag2"]},{"1332333247":["hashtag1","hashtag2"]},{"1332332819":["hashtag1","hashtag2"]},{"1332333099":["hashtag1","hashtag2"]},{"1332332917":["hashtag1","hashtag2"]},{"1332333021":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332333179, 1332333247, 1332332819, 1332333099, 1332332917, 1332333021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.33609938621521 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:12:32.441083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/53/image_28012025_09_53_55_10340.jpg', '/home/pi/Desktop/images/28012025/09/54/image_28012025_09_54_15_9324.jpg', '/home/pi/Desktop/images/28012025/09/54/image_28012025_09_54_25_10411.jpg', '/home/pi/Desktop/images/28012025/09/54/image_28012025_09_54_34_9411.jpg', '/home/pi/Desktop/images/28012025/09/54/image_28012025_09_54_55_10438.jpg', '/home/pi/Desktop/images/28012025/09/54/image_28012025_09_55_05_9330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/53/image_28012025_09_53_55_10340.jpg
/home/pi/Desktop/images/28012025/09/54/image_28012025_09_54_15_9324.jpg
/home/pi/Desktop/images/28012025/09/54/image_28012025_09_54_25_10411.jpg
/home/pi/Desktop/images/28012025/09/54/image_28012025_09_54_34_9411.jpg
/home/pi/Desktop/images/28012025/09/54/image_28012025_09_54_55_10438.jpg
/home/pi/Desktop/images/28012025/09/54/image_28012025_09_55_05_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":["1332333452","1332333448","1332333457","1332333456","1332333441","1332333435"],"photo_ids_order":["1332333435","1332333441","1332333448","1332333452","1332333456","1332333457"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/60e481ecb265177d37ac1512abb2534e.jpg","text":"TemporaryFile(/tmp/multipartBody613278401550453619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077213444,"filename":"image_28012025_09_54_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/1/28/c2861d0dd345a6f903228b41a3f0298e.jpg","text":"TemporaryFile(/tmp/multipartBody3020002657015791321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077213444,"filename":"image_28012025_09_54_25_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b88e18878a727379cd31cc6a04ec5434.jpg","text":"TemporaryFile(/tmp/multipartBody689130234113769936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077213444,"filename":"image_28012025_09_55_05_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e00f020d592a269cd4d2facbb1153aaa.jpg","text":"TemporaryFile(/tmp/multipartBody5522871739593372101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077213444,"filename":"image_28012025_09_54_55_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/50cef81db0e70a4484bf893f24eb9e9e.jpg","text":"TemporaryFile(/tmp/multipartBody5533060355433638426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077213444,"filename":"image_28012025_09_54_15_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8121a871487ec35ed81e951dd634ecb6.jpg","text":"TemporaryFile(/tmp/multipartBody7241062810367850417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077213444,"filename":"image_28012025_09_53_55_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332333448","file1":"1332333441","file0":"1332333435","file4":"1332333456","file5":"1332333457","file3":"1332333452"},"map_files_photo_id_array":[{"photo_id":"1332333457","filename":"file5"},{"photo_id":"1332333448","filename":"file2"},{"photo_id":"1332333456","filename":"file4"},{"photo_id":"1332333441","filename":"file1"},{"photo_id":"1332333435","filename":"file0"},{"photo_id":"1332333452","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332333452":["hashtag1","hashtag2"]},{"1332333448":["hashtag1","hashtag2"]},{"1332333457":["hashtag1","hashtag2"]},{"1332333456":["hashtag1","hashtag2"]},{"1332333441":["hashtag1","hashtag2"]},{"1332333435":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332333452, 1332333448, 1332333457, 1332333456, 1332333441, 1332333435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.55754613876343 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:13:32.782199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/55/image_28012025_09_55_15_10364.jpg', '/home/pi/Desktop/images/28012025/09/55/image_28012025_09_55_24_9396.jpg', '/home/pi/Desktop/images/28012025/09/55/image_28012025_09_55_35_10416.jpg', '/home/pi/Desktop/images/28012025/09/55/image_28012025_09_55_45_10356.jpg', '/home/pi/Desktop/images/28012025/09/55/image_28012025_09_55_54_9383.jpg', '/home/pi/Desktop/images/28012025/09/56/image_28012025_09_56_14_9547.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/55/image_28012025_09_55_15_10364.jpg
/home/pi/Desktop/images/28012025/09/55/image_28012025_09_55_24_9396.jpg
/home/pi/Desktop/images/28012025/09/55/image_28012025_09_55_35_10416.jpg
/home/pi/Desktop/images/28012025/09/55/image_28012025_09_55_45_10356.jpg
/home/pi/Desktop/images/28012025/09/55/image_28012025_09_55_54_9383.jpg
/home/pi/Desktop/images/28012025/09/56/image_28012025_09_56_14_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":["1332333950","1332333788","1332333580","1332333883","1332333691","1332333933"],"photo_ids_order":["1332333580","1332333691","1332333788","1332333883","1332333933","1332333950"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6b3e4dccf54ebc74a9b8f5b2fe03b60a.jpg","text":"TemporaryFile(/tmp/multipartBody5812702141269216204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077273774,"filename":"image_28012025_09_56_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/1/28/7364c678efa9a1e72c8adbcad8ba8073.jpg","text":"TemporaryFile(/tmp/multipartBody3672370832414388800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077273774,"filename":"image_28012025_09_55_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/1/28/765c06ddfb038cd4f2861a59dbf7cc1f.jpg","text":"TemporaryFile(/tmp/multipartBody3331422182352902017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077273774,"filename":"image_28012025_09_55_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/1/28/5bb1697dc6d1994be79d9539a3536a5f.jpg","text":"TemporaryFile(/tmp/multipartBody6199199088069803571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077273774,"filename":"image_28012025_09_55_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/1/28/67d231f3a560181cb8f37c4204fbb629.jpg","text":"TemporaryFile(/tmp/multipartBody4104332438710826825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077273774,"filename":"image_28012025_09_55_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/1/28/1c5288880b5c33a9cabceb80fba4ca80.jpg","text":"TemporaryFile(/tmp/multipartBody5698221773626595416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077273774,"filename":"image_28012025_09_55_54_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332333788","file1":"1332333691","file0":"1332333580","file4":"1332333933","file5":"1332333950","file3":"1332333883"},"map_files_photo_id_array":[{"photo_id":"1332333950","filename":"file5"},{"photo_id":"1332333788","filename":"file2"},{"photo_id":"1332333933","filename":"file4"},{"photo_id":"1332333691","filename":"file1"},{"photo_id":"1332333580","filename":"file0"},{"photo_id":"1332333883","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332333950":["hashtag1","hashtag2"]},{"1332333788":["hashtag1","hashtag2"]},{"1332333580":["hashtag1","hashtag2"]},{"1332333883":["hashtag1","hashtag2"]},{"1332333691":["hashtag1","hashtag2"]},{"1332333933":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332333950, 1332333788, 1332333580, 1332333883, 1332333691, 1332333933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.07908391952515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:14:33.047082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/56/image_28012025_09_56_25_10372.jpg', '/home/pi/Desktop/images/28012025/09/56/image_28012025_09_56_35_10355.jpg', '/home/pi/Desktop/images/28012025/09/56/image_28012025_09_56_55_10361.jpg', '/home/pi/Desktop/images/28012025/09/57/image_28012025_09_57_15_10337.jpg', '/home/pi/Desktop/images/28012025/09/57/image_28012025_09_57_25_10372.jpg', '/home/pi/Desktop/images/28012025/09/57/image_28012025_09_57_34_9413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/56/image_28012025_09_56_25_10372.jpg
/home/pi/Desktop/images/28012025/09/56/image_28012025_09_56_35_10355.jpg
/home/pi/Desktop/images/28012025/09/56/image_28012025_09_56_55_10361.jpg
/home/pi/Desktop/images/28012025/09/57/image_28012025_09_57_15_10337.jpg
/home/pi/Desktop/images/28012025/09/57/image_28012025_09_57_25_10372.jpg
/home/pi/Desktop/images/28012025/09/57/image_28012025_09_57_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":["1332333971","1332334016","1332334159","1332334161","1332334113","1332334157"],"photo_ids_order":["1332333971","1332334016","1332334113","1332334157","1332334159","1332334161"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d77b2ceff7f906b4f5cc01cf38c37052.jpg","text":"TemporaryFile(/tmp/multipartBody5932062760893712863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077334023,"filename":"image_28012025_09_56_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/1/28/81c34e2ebe2e59719e2a45c26a2918fa.jpg","text":"TemporaryFile(/tmp/multipartBody7512313468400985660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077334023,"filename":"image_28012025_09_56_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/1/28/6fc436e4c2eea274b76ecbec6cd4820f.jpg","text":"TemporaryFile(/tmp/multipartBody4583686787336617118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077334023,"filename":"image_28012025_09_57_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6b87a63eaf687b61148127e33392139d.jpg","text":"TemporaryFile(/tmp/multipartBody3465059017132406821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077334023,"filename":"image_28012025_09_57_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/1/28/20328d606d5b4b7726a7d04900c1ee04.jpg","text":"TemporaryFile(/tmp/multipartBody2320117746552429372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077334023,"filename":"image_28012025_09_56_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/1/28/e8a8ede9c13b21a1eb2ff71f50842c51.jpg","text":"TemporaryFile(/tmp/multipartBody2314362725295252687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077334023,"filename":"image_28012025_09_57_15_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332334113","file1":"1332334016","file0":"1332333971","file4":"1332334159","file5":"1332334161","file3":"1332334157"},"map_files_photo_id_array":[{"photo_id":"1332334161","filename":"file5"},{"photo_id":"1332334113","filename":"file2"},{"photo_id":"1332334159","filename":"file4"},{"photo_id":"1332334016","filename":"file1"},{"photo_id":"1332333971","filename":"file0"},{"photo_id":"1332334157","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332333971":["hashtag1","hashtag2"]},{"1332334016":["hashtag1","hashtag2"]},{"1332334159":["hashtag1","hashtag2"]},{"1332334161":["hashtag1","hashtag2"]},{"1332334113":["hashtag1","hashtag2"]},{"1332334157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332333971, 1332334016, 1332334159, 1332334161, 1332334113, 1332334157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.30676889419556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:15:32.215043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/57/image_28012025_09_57_45_10369.jpg', '/home/pi/Desktop/images/28012025/09/57/image_28012025_09_58_05_10345.jpg', '/home/pi/Desktop/images/28012025/09/58/image_28012025_09_58_15_10345.jpg', '/home/pi/Desktop/images/28012025/09/58/image_28012025_09_58_24_9362.jpg', '/home/pi/Desktop/images/28012025/09/58/image_28012025_09_58_35_10352.jpg', '/home/pi/Desktop/images/28012025/09/58/image_28012025_09_58_54_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/57/image_28012025_09_57_45_10369.jpg
/home/pi/Desktop/images/28012025/09/57/image_28012025_09_58_05_10345.jpg
/home/pi/Desktop/images/28012025/09/58/image_28012025_09_58_15_10345.jpg
/home/pi/Desktop/images/28012025/09/58/image_28012025_09_58_24_9362.jpg
/home/pi/Desktop/images/28012025/09/58/image_28012025_09_58_35_10352.jpg
/home/pi/Desktop/images/28012025/09/58/image_28012025_09_58_54_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":["1332334607","1332334529","1332334681","1332334645","1332334182","1332334373"],"photo_ids_order":["1332334182","1332334373","1332334529","1332334607","1332334645","1332334681"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c7138f929f8c78f8c84fde5ed7c24c82.jpg","text":"TemporaryFile(/tmp/multipartBody7227815914476830520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077393210,"filename":"image_28012025_09_58_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/1/28/4f74e315fcd7bb2a3270fcbc8e79f2f5.jpg","text":"TemporaryFile(/tmp/multipartBody3813067635617473798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077393210,"filename":"image_28012025_09_58_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/1/28/6b5d155d3073a83ad31c137a8d5d7922.jpg","text":"TemporaryFile(/tmp/multipartBody1678476977734340768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077393210,"filename":"image_28012025_09_58_54_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bd53072ee6e892f28f298a29d0f7e2bc.jpg","text":"TemporaryFile(/tmp/multipartBody3560550504649864655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077393210,"filename":"image_28012025_09_58_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/1/28/71ea036cab8e86facef5991868bae7fe.jpg","text":"TemporaryFile(/tmp/multipartBody626152752450770419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077393210,"filename":"image_28012025_09_57_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/1/28/076ac3bc871e0e92c9f5148f580122b6.jpg","text":"TemporaryFile(/tmp/multipartBody4294317911744307084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077393210,"filename":"image_28012025_09_58_05_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332334529","file1":"1332334373","file0":"1332334182","file4":"1332334645","file5":"1332334681","file3":"1332334607"},"map_files_photo_id_array":[{"photo_id":"1332334681","filename":"file5"},{"photo_id":"1332334529","filename":"file2"},{"photo_id":"1332334645","filename":"file4"},{"photo_id":"1332334373","filename":"file1"},{"photo_id":"1332334182","filename":"file0"},{"photo_id":"1332334607","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332334607":["hashtag1","hashtag2"]},{"1332334529":["hashtag1","hashtag2"]},{"1332334681":["hashtag1","hashtag2"]},{"1332334645":["hashtag1","hashtag2"]},{"1332334182":["hashtag1","hashtag2"]},{"1332334373":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332334607, 1332334529, 1332334681, 1332334645, 1332334182, 1332334373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.73278093338013 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:16:32.391509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/09/59/image_28012025_09_59_25_9355.jpg', '/home/pi/Desktop/images/28012025/09/59/image_28012025_09_59_35_10337.jpg', '/home/pi/Desktop/images/28012025/09/59/image_28012025_09_59_45_10358.jpg', '/home/pi/Desktop/images/28012025/09/59/image_28012025_09_59_55_9428.jpg', '/home/pi/Desktop/images/28012025/10/01/image_28012025_10_01_15_10077.jpg', '/home/pi/Desktop/images/28012025/10/01/image_28012025_10_01_25_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/09/59/image_28012025_09_59_25_9355.jpg
/home/pi/Desktop/images/28012025/09/59/image_28012025_09_59_35_10337.jpg
/home/pi/Desktop/images/28012025/09/59/image_28012025_09_59_45_10358.jpg
/home/pi/Desktop/images/28012025/09/59/image_28012025_09_59_55_9428.jpg
/home/pi/Desktop/images/28012025/10/01/image_28012025_10_01_15_10077.jpg
/home/pi/Desktop/images/28012025/10/01/image_28012025_10_01_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":["1332334720","1332334723","1332334728","1332334716","1332334710","1332334704"],"photo_ids_order":["1332334704","1332334710","1332334716","1332334720","1332334723","1332334728"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c9aee3833467a096d5e19c9cc940a2b3.jpg","text":"TemporaryFile(/tmp/multipartBody9066062287834574348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077453373,"filename":"image_28012025_09_59_55_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2d49816bc59d5fd475a28c08ee6043f5.jpg","text":"TemporaryFile(/tmp/multipartBody3146272844044947659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077453373,"filename":"image_28012025_10_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/1/28/65b729d4bba76075766ca0c865bc1728.jpg","text":"TemporaryFile(/tmp/multipartBody5148276906133722033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077453373,"filename":"image_28012025_10_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/1/28/640c30a017dd2d9a31f44e4e2ea22877.jpg","text":"TemporaryFile(/tmp/multipartBody1134627691409141732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077453373,"filename":"image_28012025_09_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/1/28/af951c1ac59246590fc7d0604086c5ab.jpg","text":"TemporaryFile(/tmp/multipartBody3519156929715538366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077453373,"filename":"image_28012025_09_59_35_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/58d7184a28b3e72bee3d535ac608f198.jpg","text":"TemporaryFile(/tmp/multipartBody6548014905791475942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077453373,"filename":"image_28012025_09_59_25_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332334716","file1":"1332334710","file0":"1332334704","file4":"1332334723","file5":"1332334728","file3":"1332334720"},"map_files_photo_id_array":[{"photo_id":"1332334728","filename":"file5"},{"photo_id":"1332334716","filename":"file2"},{"photo_id":"1332334723","filename":"file4"},{"photo_id":"1332334710","filename":"file1"},{"photo_id":"1332334704","filename":"file0"},{"photo_id":"1332334720","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332334720":["hashtag1","hashtag2"]},{"1332334723":["hashtag1","hashtag2"]},{"1332334728":["hashtag1","hashtag2"]},{"1332334716":["hashtag1","hashtag2"]},{"1332334710":["hashtag1","hashtag2"]},{"1332334704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332334720, 1332334723, 1332334728, 1332334716, 1332334710, 1332334704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.0660674571991 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:17:32.608377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/01/image_28012025_10_01_35_10449.jpg', '/home/pi/Desktop/images/28012025/10/01/image_28012025_10_01_45_9342.jpg', '/home/pi/Desktop/images/28012025/10/01/image_28012025_10_01_55_10448.jpg', '/home/pi/Desktop/images/28012025/10/01/image_28012025_10_02_05_9329.jpg', '/home/pi/Desktop/images/28012025/10/02/image_28012025_10_02_15_10337.jpg', '/home/pi/Desktop/images/28012025/10/02/image_28012025_10_02_25_10476.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/01/image_28012025_10_01_35_10449.jpg
/home/pi/Desktop/images/28012025/10/01/image_28012025_10_01_45_9342.jpg
/home/pi/Desktop/images/28012025/10/01/image_28012025_10_01_55_10448.jpg
/home/pi/Desktop/images/28012025/10/01/image_28012025_10_02_05_9329.jpg
/home/pi/Desktop/images/28012025/10/02/image_28012025_10_02_15_10337.jpg
/home/pi/Desktop/images/28012025/10/02/image_28012025_10_02_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":["1332334786","1332334788","1332334782","1332334776","1332334779","1332334784"],"photo_ids_order":["1332334776","1332334779","1332334782","1332334784","1332334786","1332334788"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8ce7a1532d2bd255d0591a73532a6d8c.jpg","text":"TemporaryFile(/tmp/multipartBody7069061148234205825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077513582,"filename":"image_28012025_10_02_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/1/28/4cff842c1bab3d35560876d213b3b35c.jpg","text":"TemporaryFile(/tmp/multipartBody832185836621195161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077513582,"filename":"image_28012025_10_02_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/1/28/4dfb2a0c61a04e12465f7a2dfc21e64a.jpg","text":"TemporaryFile(/tmp/multipartBody6951573040548344864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077513582,"filename":"image_28012025_10_01_55_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/12e641b71ff2798ea16b23a797dc3141.jpg","text":"TemporaryFile(/tmp/multipartBody615974040930027013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077513582,"filename":"image_28012025_10_01_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/1/28/9791dc51932f0a8cd057f29907ab12df.jpg","text":"TemporaryFile(/tmp/multipartBody4004906704612561364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077513582,"filename":"image_28012025_10_01_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/1/28/75abd91d0c09c8055d0f559159baad73.jpg","text":"TemporaryFile(/tmp/multipartBody2695115363700911246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077513582,"filename":"image_28012025_10_02_05_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332334782","file1":"1332334779","file0":"1332334776","file4":"1332334786","file5":"1332334788","file3":"1332334784"},"map_files_photo_id_array":[{"photo_id":"1332334788","filename":"file5"},{"photo_id":"1332334782","filename":"file2"},{"photo_id":"1332334786","filename":"file4"},{"photo_id":"1332334779","filename":"file1"},{"photo_id":"1332334776","filename":"file0"},{"photo_id":"1332334784","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332334786":["hashtag1","hashtag2"]},{"1332334788":["hashtag1","hashtag2"]},{"1332334782":["hashtag1","hashtag2"]},{"1332334776":["hashtag1","hashtag2"]},{"1332334779":["hashtag1","hashtag2"]},{"1332334784":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332334786, 1332334788, 1332334782, 1332334776, 1332334779, 1332334784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.90061569213867 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:18:32.804126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/02/image_28012025_10_02_35_9348.jpg', '/home/pi/Desktop/images/28012025/10/02/image_28012025_10_02_45_10475.jpg', '/home/pi/Desktop/images/28012025/10/02/image_28012025_10_02_55_9348.jpg', '/home/pi/Desktop/images/28012025/10/02/image_28012025_10_03_05_10351.jpg', '/home/pi/Desktop/images/28012025/10/03/image_28012025_10_03_15_10359.jpg', '/home/pi/Desktop/images/28012025/10/03/image_28012025_10_03_25_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/02/image_28012025_10_02_35_9348.jpg
/home/pi/Desktop/images/28012025/10/02/image_28012025_10_02_45_10475.jpg
/home/pi/Desktop/images/28012025/10/02/image_28012025_10_02_55_9348.jpg
/home/pi/Desktop/images/28012025/10/02/image_28012025_10_03_05_10351.jpg
/home/pi/Desktop/images/28012025/10/03/image_28012025_10_03_15_10359.jpg
/home/pi/Desktop/images/28012025/10/03/image_28012025_10_03_25_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":["1332334819","1332334807","1332334944","1332334815","1332334895","1332334955"],"photo_ids_order":["1332334807","1332334815","1332334819","1332334895","1332334944","1332334955"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c267cd462f1f026c3b6d5a7e36084b83.jpg","text":"TemporaryFile(/tmp/multipartBody2949358370349541576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077573795,"filename":"image_28012025_10_02_55_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/89a636867d7784e2a1629b3d9c495536.jpg","text":"TemporaryFile(/tmp/multipartBody1231863987291624509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077573795,"filename":"image_28012025_10_02_35_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/313c3ea1fb66ea209f987d194678c8e7.jpg","text":"TemporaryFile(/tmp/multipartBody3975365600139572258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077573795,"filename":"image_28012025_10_03_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/1/28/9de2d53268fe548b43bcbbf1ead35277.jpg","text":"TemporaryFile(/tmp/multipartBody7141920339344272325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077573795,"filename":"image_28012025_10_02_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/1/28/5b034756cd709525fa40aacf0889d74a.jpg","text":"TemporaryFile(/tmp/multipartBody867773238517451752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077573795,"filename":"image_28012025_10_03_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/1/28/5456fbf51d2850bde2577abb444ac1fc.jpg","text":"TemporaryFile(/tmp/multipartBody6110855070581730175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077573795,"filename":"image_28012025_10_03_25_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332334819","file1":"1332334815","file0":"1332334807","file4":"1332334944","file5":"1332334955","file3":"1332334895"},"map_files_photo_id_array":[{"photo_id":"1332334955","filename":"file5"},{"photo_id":"1332334819","filename":"file2"},{"photo_id":"1332334944","filename":"file4"},{"photo_id":"1332334815","filename":"file1"},{"photo_id":"1332334807","filename":"file0"},{"photo_id":"1332334895","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332334819":["hashtag1","hashtag2"]},{"1332334807":["hashtag1","hashtag2"]},{"1332334944":["hashtag1","hashtag2"]},{"1332334815":["hashtag1","hashtag2"]},{"1332334895":["hashtag1","hashtag2"]},{"1332334955":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332334819, 1332334807, 1332334944, 1332334815, 1332334895, 1332334955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.82347059249878 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:19:33.042871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/03/image_28012025_10_03_35_10349.jpg', '/home/pi/Desktop/images/28012025/10/03/image_28012025_10_03_45_10361.jpg', '/home/pi/Desktop/images/28012025/10/03/image_28012025_10_03_55_9345.jpg', '/home/pi/Desktop/images/28012025/10/03/image_28012025_10_04_05_10348.jpg', '/home/pi/Desktop/images/28012025/10/04/image_28012025_10_04_15_10356.jpg', '/home/pi/Desktop/images/28012025/10/04/image_28012025_10_04_25_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/03/image_28012025_10_03_35_10349.jpg
/home/pi/Desktop/images/28012025/10/03/image_28012025_10_03_45_10361.jpg
/home/pi/Desktop/images/28012025/10/03/image_28012025_10_03_55_9345.jpg
/home/pi/Desktop/images/28012025/10/03/image_28012025_10_04_05_10348.jpg
/home/pi/Desktop/images/28012025/10/04/image_28012025_10_04_15_10356.jpg
/home/pi/Desktop/images/28012025/10/04/image_28012025_10_04_25_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":["1332335023","1332334974","1332335004","1332334977","1332334985","1332334982"],"photo_ids_order":["1332334974","1332334977","1332334982","1332334985","1332335004","1332335023"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cf46d5d14aa32edca3dc911d3c4d65d8.jpg","text":"TemporaryFile(/tmp/multipartBody8564875474444665431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077634025,"filename":"image_28012025_10_04_25_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9ee1813e5b75db889ab7ef07085e6295.jpg","text":"TemporaryFile(/tmp/multipartBody1716334492125348002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077634025,"filename":"image_28012025_10_03_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/1/28/74db5fab67cf96bcf4d08cff8aad45db.jpg","text":"TemporaryFile(/tmp/multipartBody6581032404172780205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077634025,"filename":"image_28012025_10_04_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/1/28/b435475aae9a675e5aa261623dcfda82.jpg","text":"TemporaryFile(/tmp/multipartBody1769810484979801976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077634025,"filename":"image_28012025_10_03_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/1/28/3ff885d09ec3711e53eaf60e1883a06c.jpg","text":"TemporaryFile(/tmp/multipartBody3512490836943373462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077634025,"filename":"image_28012025_10_04_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/1/28/863d101b65c3477d822835a5ac688d5d.jpg","text":"TemporaryFile(/tmp/multipartBody1721117147716017864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077634025,"filename":"image_28012025_10_03_55_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332334982","file1":"1332334977","file0":"1332334974","file4":"1332335004","file5":"1332335023","file3":"1332334985"},"map_files_photo_id_array":[{"photo_id":"1332335023","filename":"file5"},{"photo_id":"1332334982","filename":"file2"},{"photo_id":"1332335004","filename":"file4"},{"photo_id":"1332334977","filename":"file1"},{"photo_id":"1332334974","filename":"file0"},{"photo_id":"1332334985","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332335023":["hashtag1","hashtag2"]},{"1332334974":["hashtag1","hashtag2"]},{"1332335004":["hashtag1","hashtag2"]},{"1332334977":["hashtag1","hashtag2"]},{"1332334985":["hashtag1","hashtag2"]},{"1332334982":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332335023, 1332334974, 1332335004, 1332334977, 1332334985, 1332334982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.75802564620972 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:20:32.207558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/04/image_28012025_10_04_35_10368.jpg', '/home/pi/Desktop/images/28012025/10/04/image_28012025_10_04_46_10376.jpg', '/home/pi/Desktop/images/28012025/10/04/image_28012025_10_04_55_9348.jpg', '/home/pi/Desktop/images/28012025/10/04/image_28012025_10_05_05_10392.jpg', '/home/pi/Desktop/images/28012025/10/05/image_28012025_10_05_16_10328.jpg', '/home/pi/Desktop/images/28012025/10/05/image_28012025_10_05_25_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/04/image_28012025_10_04_35_10368.jpg
/home/pi/Desktop/images/28012025/10/04/image_28012025_10_04_46_10376.jpg
/home/pi/Desktop/images/28012025/10/04/image_28012025_10_04_55_9348.jpg
/home/pi/Desktop/images/28012025/10/04/image_28012025_10_05_05_10392.jpg
/home/pi/Desktop/images/28012025/10/05/image_28012025_10_05_16_10328.jpg
/home/pi/Desktop/images/28012025/10/05/image_28012025_10_05_25_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332335362","1332335952","1332335778","1332335451","1332335568","1332335287"],"photo_ids_order":["1332335287","1332335362","1332335451","1332335568","1332335778","1332335952"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dbb5eb9600ade10c103dcb12c7931ec8.jpg","text":"TemporaryFile(/tmp/multipartBody7047816032440755776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077693195,"filename":"image_28012025_10_04_46_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f931229aef5f079bc0cef7ed52ced23b.jpg","text":"TemporaryFile(/tmp/multipartBody506798578118259317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077693195,"filename":"image_28012025_10_05_25_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7c06f0a1eb3fa8dfea1d06a7af730ca2.jpg","text":"TemporaryFile(/tmp/multipartBody8713342686771500118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077693195,"filename":"image_28012025_10_05_16_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ab1cc936f682dda24cc311d0bf0b9629.jpg","text":"TemporaryFile(/tmp/multipartBody8503947329419092308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077693195,"filename":"image_28012025_10_04_55_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a147c0c9e874e4f5fa5281c35c4e0269.jpg","text":"TemporaryFile(/tmp/multipartBody772986533975023251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077693195,"filename":"image_28012025_10_05_05_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e0e90ecf8b04734284921566a5cf93ef.jpg","text":"TemporaryFile(/tmp/multipartBody8833291388224636629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077693195,"filename":"image_28012025_10_04_35_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332335451","file1":"1332335362","file0":"1332335287","file4":"1332335778","file5":"1332335952","file3":"1332335568"},"map_files_photo_id_array":[{"photo_id":"1332335952","filename":"file5"},{"photo_id":"1332335451","filename":"file2"},{"photo_id":"1332335778","filename":"file4"},{"photo_id":"1332335362","filename":"file1"},{"photo_id":"1332335287","filename":"file0"},{"photo_id":"1332335568","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332335362":["hashtag1","hashtag2"]},{"1332335952":["hashtag1","hashtag2"]},{"1332335778":["hashtag1","hashtag2"]},{"1332335451":["hashtag1","hashtag2"]},{"1332335568":["hashtag1","hashtag2"]},{"1332335287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332335362, 1332335952, 1332335778, 1332335451, 1332335568, 1332335287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.563047647476196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:21:32.483641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/05/image_28012025_10_05_35_10040.jpg', '/home/pi/Desktop/images/28012025/10/05/image_28012025_10_05_45_10352.jpg', '/home/pi/Desktop/images/28012025/10/05/image_28012025_10_05_55_9442.jpg', '/home/pi/Desktop/images/28012025/10/05/image_28012025_10_06_05_10352.jpg', '/home/pi/Desktop/images/28012025/10/06/image_28012025_10_06_25_9395.jpg', '/home/pi/Desktop/images/28012025/10/06/image_28012025_10_06_35_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/05/image_28012025_10_05_35_10040.jpg
/home/pi/Desktop/images/28012025/10/05/image_28012025_10_05_45_10352.jpg
/home/pi/Desktop/images/28012025/10/05/image_28012025_10_05_55_9442.jpg
/home/pi/Desktop/images/28012025/10/05/image_28012025_10_06_05_10352.jpg
/home/pi/Desktop/images/28012025/10/06/image_28012025_10_06_25_9395.jpg
/home/pi/Desktop/images/28012025/10/06/image_28012025_10_06_35_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":["1332336151","1332336150","1332336092","1332336146","1332336110","1332336149"],"photo_ids_order":["1332336092","1332336110","1332336146","1332336149","1332336150","1332336151"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/21f02e4a8bf19915ea4f7700f03ba974.jpg","text":"TemporaryFile(/tmp/multipartBody5514379332300750375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077753455,"filename":"image_28012025_10_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/1/28/8c3e03c739d09b280c04df3d2d01c417.jpg","text":"TemporaryFile(/tmp/multipartBody6336820183747444417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077753455,"filename":"image_28012025_10_06_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/1/28/94acf137eeb9bcb3dd51dc7c3172d6b1.jpg","text":"TemporaryFile(/tmp/multipartBody3127007935831152228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077753455,"filename":"image_28012025_10_05_35_10040.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2a32b207dc4912a1e5a150c4a03e261b.jpg","text":"TemporaryFile(/tmp/multipartBody4778077216159942424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077753455,"filename":"image_28012025_10_05_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/1/28/7481284821f914df6ac4162e09c8b39a.jpg","text":"TemporaryFile(/tmp/multipartBody2711722210454844813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077753455,"filename":"image_28012025_10_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/1/28/6374b2c08f492d745b0141ec413a3861.jpg","text":"TemporaryFile(/tmp/multipartBody5123259999849916392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077753455,"filename":"image_28012025_10_06_05_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332336146","file1":"1332336110","file0":"1332336092","file4":"1332336150","file5":"1332336151","file3":"1332336149"},"map_files_photo_id_array":[{"photo_id":"1332336151","filename":"file5"},{"photo_id":"1332336146","filename":"file2"},{"photo_id":"1332336150","filename":"file4"},{"photo_id":"1332336110","filename":"file1"},{"photo_id":"1332336092","filename":"file0"},{"photo_id":"1332336149","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332336151":["hashtag1","hashtag2"]},{"1332336150":["hashtag1","hashtag2"]},{"1332336092":["hashtag1","hashtag2"]},{"1332336146":["hashtag1","hashtag2"]},{"1332336110":["hashtag1","hashtag2"]},{"1332336149":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332336151, 1332336150, 1332336092, 1332336146, 1332336110, 1332336149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.458985567092896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:22:32.654611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/06/image_28012025_10_06_45_9429.jpg', '/home/pi/Desktop/images/28012025/10/06/image_28012025_10_06_55_10341.jpg', '/home/pi/Desktop/images/28012025/10/06/image_28012025_10_07_05_10392.jpg', '/home/pi/Desktop/images/28012025/10/07/image_28012025_10_07_25_10550.jpg', '/home/pi/Desktop/images/28012025/10/07/image_28012025_10_07_45_10371.jpg', '/home/pi/Desktop/images/28012025/10/07/image_28012025_10_07_56_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/06/image_28012025_10_06_45_9429.jpg
/home/pi/Desktop/images/28012025/10/06/image_28012025_10_06_55_10341.jpg
/home/pi/Desktop/images/28012025/10/06/image_28012025_10_07_05_10392.jpg
/home/pi/Desktop/images/28012025/10/07/image_28012025_10_07_25_10550.jpg
/home/pi/Desktop/images/28012025/10/07/image_28012025_10_07_45_10371.jpg
/home/pi/Desktop/images/28012025/10/07/image_28012025_10_07_56_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332336591","1332336495","1332336561","1332336593","1332336365","1332336589"],"photo_ids_order":["1332336365","1332336495","1332336561","1332336589","1332336591","1332336593"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4948d1636ee3ce7d333ea193b2f1f1ac.jpg","text":"TemporaryFile(/tmp/multipartBody6099274599576024376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077813629,"filename":"image_28012025_10_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/1/28/08ed6f148afb42e10ea40214d95e4500.jpg","text":"TemporaryFile(/tmp/multipartBody4573481386620732948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077813629,"filename":"image_28012025_10_06_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/1/28/81ac659527a5e1481b632bd6ac308876.jpg","text":"TemporaryFile(/tmp/multipartBody4360722890074063131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077813629,"filename":"image_28012025_10_07_05_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/519e93a309e6c7de717ea1dfa3b66883.jpg","text":"TemporaryFile(/tmp/multipartBody4509945417336902617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077813629,"filename":"image_28012025_10_07_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/1/28/78851dcaf4cfaaff9b970494bc15deca.jpg","text":"TemporaryFile(/tmp/multipartBody4846347473515979301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077813629,"filename":"image_28012025_10_06_45_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5a5b80907fa34ce21d97239e3f4188d5.jpg","text":"TemporaryFile(/tmp/multipartBody9216037327448354235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077813629,"filename":"image_28012025_10_07_25_10550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332336561","file1":"1332336495","file0":"1332336365","file4":"1332336591","file5":"1332336593","file3":"1332336589"},"map_files_photo_id_array":[{"photo_id":"1332336593","filename":"file5"},{"photo_id":"1332336561","filename":"file2"},{"photo_id":"1332336591","filename":"file4"},{"photo_id":"1332336495","filename":"file1"},{"photo_id":"1332336365","filename":"file0"},{"photo_id":"1332336589","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332336591":["hashtag1","hashtag2"]},{"1332336495":["hashtag1","hashtag2"]},{"1332336561":["hashtag1","hashtag2"]},{"1332336593":["hashtag1","hashtag2"]},{"1332336365":["hashtag1","hashtag2"]},{"1332336589":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332336591, 1332336495, 1332336561, 1332336593, 1332336365, 1332336589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.0197057723999 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:23:35.681559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/07/image_28012025_10_08_05_9366.jpg', '/home/pi/Desktop/images/28012025/10/08/image_28012025_10_08_15_10395.jpg', '/home/pi/Desktop/images/28012025/10/08/image_28012025_10_08_25_9348.jpg', '/home/pi/Desktop/images/28012025/10/08/image_28012025_10_08_35_10328.jpg', '/home/pi/Desktop/images/28012025/10/08/image_28012025_10_08_45_10455.jpg', '/home/pi/Desktop/images/28012025/10/08/image_28012025_10_08_55_9330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/07/image_28012025_10_08_05_9366.jpg
/home/pi/Desktop/images/28012025/10/08/image_28012025_10_08_15_10395.jpg
/home/pi/Desktop/images/28012025/10/08/image_28012025_10_08_25_9348.jpg
/home/pi/Desktop/images/28012025/10/08/image_28012025_10_08_35_10328.jpg
/home/pi/Desktop/images/28012025/10/08/image_28012025_10_08_45_10455.jpg
/home/pi/Desktop/images/28012025/10/08/image_28012025_10_08_55_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":["1332336759","1332336756","1332336750","1332336744","1332336761","1332336754"],"photo_ids_order":["1332336744","1332336750","1332336754","1332336756","1332336759","1332336761"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9eedb378251d3717768233a44c968647.jpg","text":"TemporaryFile(/tmp/multipartBody7714646659930952010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077880547,"filename":"image_28012025_10_08_45_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5e22f285770c19730f9d1ed4b2d0a7fc.jpg","text":"TemporaryFile(/tmp/multipartBody4096521721792808529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077880547,"filename":"image_28012025_10_08_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/1/28/8ec02000ef2280e1f2f02d636adab4f1.jpg","text":"TemporaryFile(/tmp/multipartBody8159982200669365692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077880547,"filename":"image_28012025_10_08_15_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d5738236454828a1c8c810a03f17f38b.jpg","text":"TemporaryFile(/tmp/multipartBody467203497944671221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077880547,"filename":"image_28012025_10_08_05_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/325fc0e7e522ea450c53d524f3f8708d.jpg","text":"TemporaryFile(/tmp/multipartBody1440717355310929674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077880547,"filename":"image_28012025_10_08_55_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/41520171f993dd90bfdf2114f31a1c7b.jpg","text":"TemporaryFile(/tmp/multipartBody9193138790812338223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077880547,"filename":"image_28012025_10_08_25_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332336754","file1":"1332336750","file0":"1332336744","file4":"1332336759","file5":"1332336761","file3":"1332336756"},"map_files_photo_id_array":[{"photo_id":"1332336761","filename":"file5"},{"photo_id":"1332336754","filename":"file2"},{"photo_id":"1332336759","filename":"file4"},{"photo_id":"1332336750","filename":"file1"},{"photo_id":"1332336744","filename":"file0"},{"photo_id":"1332336756","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332336759":["hashtag1","hashtag2"]},{"1332336756":["hashtag1","hashtag2"]},{"1332336750":["hashtag1","hashtag2"]},{"1332336744":["hashtag1","hashtag2"]},{"1332336761":["hashtag1","hashtag2"]},{"1332336754":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332336759, 1332336756, 1332336750, 1332336744, 1332336761, 1332336754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.33364200592041 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:24:32.186468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/08/image_28012025_10_09_05_10328.jpg', '/home/pi/Desktop/images/28012025/10/09/image_28012025_10_09_15_10339.jpg', '/home/pi/Desktop/images/28012025/10/09/image_28012025_10_09_25_9326.jpg', '/home/pi/Desktop/images/28012025/10/09/image_28012025_10_09_35_10371.jpg', '/home/pi/Desktop/images/28012025/10/09/image_28012025_10_09_45_10368.jpg', '/home/pi/Desktop/images/28012025/10/09/image_28012025_10_09_55_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/08/image_28012025_10_09_05_10328.jpg
/home/pi/Desktop/images/28012025/10/09/image_28012025_10_09_15_10339.jpg
/home/pi/Desktop/images/28012025/10/09/image_28012025_10_09_25_9326.jpg
/home/pi/Desktop/images/28012025/10/09/image_28012025_10_09_35_10371.jpg
/home/pi/Desktop/images/28012025/10/09/image_28012025_10_09_45_10368.jpg
/home/pi/Desktop/images/28012025/10/09/image_28012025_10_09_55_9334.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5798723697662354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 16:24:42.243947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/08/image_28012025_10_09_05_10328.jpg', '/home/pi/Desktop/images/28012025/10/09/image_28012025_10_09_15_10339.jpg', '/home/pi/Desktop/images/28012025/10/09/image_28012025_10_09_25_9326.jpg', '/home/pi/Desktop/images/28012025/10/09/image_28012025_10_09_35_10371.jpg', '/home/pi/Desktop/images/28012025/10/09/image_28012025_10_09_45_10368.jpg', '/home/pi/Desktop/images/28012025/10/09/image_28012025_10_09_55_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/08/image_28012025_10_09_05_10328.jpg
/home/pi/Desktop/images/28012025/10/09/image_28012025_10_09_15_10339.jpg
/home/pi/Desktop/images/28012025/10/09/image_28012025_10_09_25_9326.jpg
/home/pi/Desktop/images/28012025/10/09/image_28012025_10_09_35_10371.jpg
/home/pi/Desktop/images/28012025/10/09/image_28012025_10_09_45_10368.jpg
/home/pi/Desktop/images/28012025/10/09/image_28012025_10_09_55_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332337056","1332337065","1332337029","1332337023","1332337049","1332337060"],"photo_ids_order":["1332337023","1332337029","1332337049","1332337056","1332337060","1332337065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e6dc154c38d08b50d9d1b33cfc264ed6.jpg","text":"TemporaryFile(/tmp/multipartBody4948535050685190699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077943142,"filename":"image_28012025_10_09_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/1/28/27127930e9d97e70514f260189911d28.jpg","text":"TemporaryFile(/tmp/multipartBody606702902438436713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077943142,"filename":"image_28012025_10_09_55_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/627d82100ef53e74ca6498fc995cb2c5.jpg","text":"TemporaryFile(/tmp/multipartBody216248947846163429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077943142,"filename":"image_28012025_10_09_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/1/28/cd88983e4a60ccc6ce6cc2169863a7e3.jpg","text":"TemporaryFile(/tmp/multipartBody6098760417172700769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077943142,"filename":"image_28012025_10_09_05_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6763f30dbf4f639e2d1902bf622ace83.jpg","text":"TemporaryFile(/tmp/multipartBody4353792158361262265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077943142,"filename":"image_28012025_10_09_25_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b554a1bbfba4f5e1b8deea7c567e51eb.jpg","text":"TemporaryFile(/tmp/multipartBody561493734070545671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077943142,"filename":"image_28012025_10_09_45_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332337049","file1":"1332337029","file0":"1332337023","file4":"1332337060","file5":"1332337065","file3":"1332337056"},"map_files_photo_id_array":[{"photo_id":"1332337065","filename":"file5"},{"photo_id":"1332337049","filename":"file2"},{"photo_id":"1332337060","filename":"file4"},{"photo_id":"1332337029","filename":"file1"},{"photo_id":"1332337023","filename":"file0"},{"photo_id":"1332337056","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332337056":["hashtag1","hashtag2"]},{"1332337065":["hashtag1","hashtag2"]},{"1332337029":["hashtag1","hashtag2"]},{"1332337023":["hashtag1","hashtag2"]},{"1332337049":["hashtag1","hashtag2"]},{"1332337060":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332337056, 1332337065, 1332337029, 1332337023, 1332337049, 1332337060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.06157660484314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:25:32.607177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/09/image_28012025_10_10_05_10380.jpg', '/home/pi/Desktop/images/28012025/10/10/image_28012025_10_10_16_10349.jpg', '/home/pi/Desktop/images/28012025/10/10/image_28012025_10_10_25_9366.jpg', '/home/pi/Desktop/images/28012025/10/10/image_28012025_10_10_35_10436.jpg', '/home/pi/Desktop/images/28012025/10/10/image_28012025_10_10_45_9357.jpg', '/home/pi/Desktop/images/28012025/10/10/image_28012025_10_10_55_10443.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/09/image_28012025_10_10_05_10380.jpg
/home/pi/Desktop/images/28012025/10/10/image_28012025_10_10_16_10349.jpg
/home/pi/Desktop/images/28012025/10/10/image_28012025_10_10_25_9366.jpg
/home/pi/Desktop/images/28012025/10/10/image_28012025_10_10_35_10436.jpg
/home/pi/Desktop/images/28012025/10/10/image_28012025_10_10_45_9357.jpg
/home/pi/Desktop/images/28012025/10/10/image_28012025_10_10_55_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":["1332337236","1332337233","1332337079","1332337226","1332337111","1332337074"],"photo_ids_order":["1332337074","1332337079","1332337111","1332337226","1332337233","1332337236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e8c9160715092278c0725d3ba920814c.jpg","text":"TemporaryFile(/tmp/multipartBody3798238465739227661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077993651,"filename":"image_28012025_10_10_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/1/28/729bd5c99175940fb6e3b07387bdcfbb.jpg","text":"TemporaryFile(/tmp/multipartBody1467270003410434855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077993651,"filename":"image_28012025_10_10_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/1/28/18f8756ee42dad7405bcd583a366bf5b.jpg","text":"TemporaryFile(/tmp/multipartBody5443783834753154771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077993651,"filename":"image_28012025_10_10_16_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/13568ff23a46d5d76173b6dc28b7c776.jpg","text":"TemporaryFile(/tmp/multipartBody3667159058119324318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077993651,"filename":"image_28012025_10_10_35_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cf1db4b88f3150aca5a1572de0ebc892.jpg","text":"TemporaryFile(/tmp/multipartBody4582820871550411984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077993651,"filename":"image_28012025_10_10_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/1/28/e28553541f639dce369efbdf3ed82bc7.jpg","text":"TemporaryFile(/tmp/multipartBody2657237646870403502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738077993651,"filename":"image_28012025_10_10_05_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332337111","file1":"1332337079","file0":"1332337074","file4":"1332337233","file5":"1332337236","file3":"1332337226"},"map_files_photo_id_array":[{"photo_id":"1332337236","filename":"file5"},{"photo_id":"1332337111","filename":"file2"},{"photo_id":"1332337233","filename":"file4"},{"photo_id":"1332337079","filename":"file1"},{"photo_id":"1332337074","filename":"file0"},{"photo_id":"1332337226","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332337236":["hashtag1","hashtag2"]},{"1332337233":["hashtag1","hashtag2"]},{"1332337079":["hashtag1","hashtag2"]},{"1332337226":["hashtag1","hashtag2"]},{"1332337111":["hashtag1","hashtag2"]},{"1332337074":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332337236, 1332337233, 1332337079, 1332337226, 1332337111, 1332337074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.394604206085205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:26:32.863701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/10/image_28012025_10_11_06_10380.jpg', '/home/pi/Desktop/images/28012025/10/11/image_28012025_10_11_15_9341.jpg', '/home/pi/Desktop/images/28012025/10/11/image_28012025_10_11_25_10377.jpg', '/home/pi/Desktop/images/28012025/10/11/image_28012025_10_11_35_9345.jpg', '/home/pi/Desktop/images/28012025/10/11/image_28012025_10_11_45_10369.jpg', '/home/pi/Desktop/images/28012025/10/11/image_28012025_10_12_05_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/10/image_28012025_10_11_06_10380.jpg
/home/pi/Desktop/images/28012025/10/11/image_28012025_10_11_15_9341.jpg
/home/pi/Desktop/images/28012025/10/11/image_28012025_10_11_25_10377.jpg
/home/pi/Desktop/images/28012025/10/11/image_28012025_10_11_35_9345.jpg
/home/pi/Desktop/images/28012025/10/11/image_28012025_10_11_45_10369.jpg
/home/pi/Desktop/images/28012025/10/11/image_28012025_10_12_05_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":["1332337593","1332337572","1332337591","1332337579","1332337604","1332337599"],"photo_ids_order":["1332337572","1332337579","1332337591","1332337593","1332337599","1332337604"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/77047479714e1d2649253109017a78eb.jpg","text":"TemporaryFile(/tmp/multipartBody7732218923585440656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078053856,"filename":"image_28012025_10_11_35_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fa34aa08e0240ab7ed88846d4305f6c4.jpg","text":"TemporaryFile(/tmp/multipartBody5267502404455846682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078053856,"filename":"image_28012025_10_11_06_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/412552c448258db38959d01bfacc554c.jpg","text":"TemporaryFile(/tmp/multipartBody4182415942292407518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078053856,"filename":"image_28012025_10_11_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/1/28/948a4a14987eda40e2df3881a88247ff.jpg","text":"TemporaryFile(/tmp/multipartBody4603192216502264999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078053856,"filename":"image_28012025_10_11_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/1/28/8ff9de94089591c62908dea849899ac9.jpg","text":"TemporaryFile(/tmp/multipartBody5299440514085573753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078053856,"filename":"image_28012025_10_12_05_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bf818ebeaf1036da7093c7ba52cf6419.jpg","text":"TemporaryFile(/tmp/multipartBody5965636381325915215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078053856,"filename":"image_28012025_10_11_45_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332337591","file1":"1332337579","file0":"1332337572","file4":"1332337599","file5":"1332337604","file3":"1332337593"},"map_files_photo_id_array":[{"photo_id":"1332337604","filename":"file5"},{"photo_id":"1332337591","filename":"file2"},{"photo_id":"1332337599","filename":"file4"},{"photo_id":"1332337579","filename":"file1"},{"photo_id":"1332337572","filename":"file0"},{"photo_id":"1332337593","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332337593":["hashtag1","hashtag2"]},{"1332337572":["hashtag1","hashtag2"]},{"1332337591":["hashtag1","hashtag2"]},{"1332337579":["hashtag1","hashtag2"]},{"1332337604":["hashtag1","hashtag2"]},{"1332337599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332337593, 1332337572, 1332337591, 1332337579, 1332337604, 1332337599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.602967262268066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:27:33.164355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/12/image_28012025_10_12_15_10340.jpg', '/home/pi/Desktop/images/28012025/10/12/image_28012025_10_12_26_10427.jpg', '/home/pi/Desktop/images/28012025/10/12/image_28012025_10_12_35_9424.jpg', '/home/pi/Desktop/images/28012025/10/12/image_28012025_10_12_45_10361.jpg', '/home/pi/Desktop/images/28012025/10/12/image_28012025_10_12_55_9351.jpg', '/home/pi/Desktop/images/28012025/10/12/image_28012025_10_13_05_10418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/12/image_28012025_10_12_15_10340.jpg
/home/pi/Desktop/images/28012025/10/12/image_28012025_10_12_26_10427.jpg
/home/pi/Desktop/images/28012025/10/12/image_28012025_10_12_35_9424.jpg
/home/pi/Desktop/images/28012025/10/12/image_28012025_10_12_45_10361.jpg
/home/pi/Desktop/images/28012025/10/12/image_28012025_10_12_55_9351.jpg
/home/pi/Desktop/images/28012025/10/12/image_28012025_10_13_05_10418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332337629","1332337631","1332337619","1332337636","1332337624","1332337633"],"photo_ids_order":["1332337619","1332337624","1332337629","1332337631","1332337633","1332337636"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6a597311d7271b928e66fe23119b16ff.jpg","text":"TemporaryFile(/tmp/multipartBody3994459786407823031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078114149,"filename":"image_28012025_10_12_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/1/28/69a492a2939888c6722ba252c6689ef1.jpg","text":"TemporaryFile(/tmp/multipartBody1077972131375439856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078114149,"filename":"image_28012025_10_12_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/1/28/336ad37343661cdbe5fe6ef2893a7033.jpg","text":"TemporaryFile(/tmp/multipartBody5576162251946313125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078114149,"filename":"image_28012025_10_12_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/1/28/a221077a74e2858734117a1202f18fc8.jpg","text":"TemporaryFile(/tmp/multipartBody7256053394245829295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078114149,"filename":"image_28012025_10_13_05_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d90cfa2cb41da60090940a952aadf601.jpg","text":"TemporaryFile(/tmp/multipartBody4027557871053597192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078114149,"filename":"image_28012025_10_12_26_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8a70c41972aa499c7d14d3811df6203b.jpg","text":"TemporaryFile(/tmp/multipartBody8145544516325380661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078114149,"filename":"image_28012025_10_12_55_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332337629","file1":"1332337624","file0":"1332337619","file4":"1332337633","file5":"1332337636","file3":"1332337631"},"map_files_photo_id_array":[{"photo_id":"1332337636","filename":"file5"},{"photo_id":"1332337629","filename":"file2"},{"photo_id":"1332337633","filename":"file4"},{"photo_id":"1332337624","filename":"file1"},{"photo_id":"1332337619","filename":"file0"},{"photo_id":"1332337631","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332337629":["hashtag1","hashtag2"]},{"1332337631":["hashtag1","hashtag2"]},{"1332337619":["hashtag1","hashtag2"]},{"1332337636":["hashtag1","hashtag2"]},{"1332337624":["hashtag1","hashtag2"]},{"1332337633":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332337629, 1332337631, 1332337619, 1332337636, 1332337624, 1332337633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.480613231658936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:28:32.273081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/13/image_28012025_10_13_15_10353.jpg', '/home/pi/Desktop/images/28012025/10/13/image_28012025_10_13_25_9346.jpg', '/home/pi/Desktop/images/28012025/10/13/image_28012025_10_13_35_10467.jpg', '/home/pi/Desktop/images/28012025/10/13/image_28012025_10_13_45_9425.jpg', '/home/pi/Desktop/images/28012025/10/13/image_28012025_10_13_55_10380.jpg', '/home/pi/Desktop/images/28012025/10/13/image_28012025_10_14_05_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/13/image_28012025_10_13_15_10353.jpg
/home/pi/Desktop/images/28012025/10/13/image_28012025_10_13_25_9346.jpg
/home/pi/Desktop/images/28012025/10/13/image_28012025_10_13_35_10467.jpg
/home/pi/Desktop/images/28012025/10/13/image_28012025_10_13_45_9425.jpg
/home/pi/Desktop/images/28012025/10/13/image_28012025_10_13_55_10380.jpg
/home/pi/Desktop/images/28012025/10/13/image_28012025_10_14_05_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332337659","1332337688","1332337670","1332337664","1332337652","1332337677"],"photo_ids_order":["1332337652","1332337659","1332337664","1332337670","1332337677","1332337688"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d66aa8711555c5b19bc01dab3e6e9a0d.jpg","text":"TemporaryFile(/tmp/multipartBody177105021481907614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078173268,"filename":"image_28012025_10_13_25_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1ccce3713fdc88ba8573b0b18178e21a.jpg","text":"TemporaryFile(/tmp/multipartBody6276916162909034049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078173268,"filename":"image_28012025_10_14_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/1/28/8780c4b49f512cb7b2972a2c05bb4b22.jpg","text":"TemporaryFile(/tmp/multipartBody7922662990706595687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078173268,"filename":"image_28012025_10_13_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/1/28/4f14d296a3b8729830788483cc121f5a.jpg","text":"TemporaryFile(/tmp/multipartBody5635652669712622939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078173268,"filename":"image_28012025_10_13_35_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/200980e99bca2d64f6497f8ae4926fb2.jpg","text":"TemporaryFile(/tmp/multipartBody7751770618605505355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078173268,"filename":"image_28012025_10_13_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/1/28/b8b32b9a67477ea0bfb44a8fb08e52c5.jpg","text":"TemporaryFile(/tmp/multipartBody4954040863880878997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078173268,"filename":"image_28012025_10_13_55_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332337664","file1":"1332337659","file0":"1332337652","file4":"1332337677","file5":"1332337688","file3":"1332337670"},"map_files_photo_id_array":[{"photo_id":"1332337688","filename":"file5"},{"photo_id":"1332337664","filename":"file2"},{"photo_id":"1332337677","filename":"file4"},{"photo_id":"1332337659","filename":"file1"},{"photo_id":"1332337652","filename":"file0"},{"photo_id":"1332337670","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332337659":["hashtag1","hashtag2"]},{"1332337688":["hashtag1","hashtag2"]},{"1332337670":["hashtag1","hashtag2"]},{"1332337664":["hashtag1","hashtag2"]},{"1332337652":["hashtag1","hashtag2"]},{"1332337677":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332337659, 1332337688, 1332337670, 1332337664, 1332337652, 1332337677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.85636520385742 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:29:32.444206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/14/image_28012025_10_14_25_10381.jpg', '/home/pi/Desktop/images/28012025/10/14/image_28012025_10_14_36_10397.jpg', '/home/pi/Desktop/images/28012025/10/14/image_28012025_10_14_45_9340.jpg', '/home/pi/Desktop/images/28012025/10/14/image_28012025_10_14_55_10461.jpg', '/home/pi/Desktop/images/28012025/10/14/image_28012025_10_15_05_9335.jpg', '/home/pi/Desktop/images/28012025/10/15/image_28012025_10_15_15_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/14/image_28012025_10_14_25_10381.jpg
/home/pi/Desktop/images/28012025/10/14/image_28012025_10_14_36_10397.jpg
/home/pi/Desktop/images/28012025/10/14/image_28012025_10_14_45_9340.jpg
/home/pi/Desktop/images/28012025/10/14/image_28012025_10_14_55_10461.jpg
/home/pi/Desktop/images/28012025/10/14/image_28012025_10_15_05_9335.jpg
/home/pi/Desktop/images/28012025/10/15/image_28012025_10_15_15_10331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332337743","1332337766","1332337769","1332337748","1332337753","1332337738"],"photo_ids_order":["1332337738","1332337743","1332337748","1332337753","1332337766","1332337769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a7cf8c9d73644eaf99706d72083059a0.jpg","text":"TemporaryFile(/tmp/multipartBody1656862240291939935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078233430,"filename":"image_28012025_10_14_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/1/28/04ca2f30edf49eca1de158f2379c82ae.jpg","text":"TemporaryFile(/tmp/multipartBody3204345828761138415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078233430,"filename":"image_28012025_10_15_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/1/28/62217a0a8ab9b07009044be13a1b88b9.jpg","text":"TemporaryFile(/tmp/multipartBody3352741054547978197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078233430,"filename":"image_28012025_10_15_15_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a9b8f1c85e9e1a9269715109a61299c9.jpg","text":"TemporaryFile(/tmp/multipartBody5944377860520135259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078233430,"filename":"image_28012025_10_14_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/1/28/313c4721a5f2a0d2b56db4fccd7e11b8.jpg","text":"TemporaryFile(/tmp/multipartBody3808902350674007695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078233430,"filename":"image_28012025_10_14_55_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0b4281c668d5337a80e9344ecd0821e1.jpg","text":"TemporaryFile(/tmp/multipartBody5928443205444646850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078233430,"filename":"image_28012025_10_14_25_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332337748","file1":"1332337743","file0":"1332337738","file4":"1332337766","file5":"1332337769","file3":"1332337753"},"map_files_photo_id_array":[{"photo_id":"1332337769","filename":"file5"},{"photo_id":"1332337748","filename":"file2"},{"photo_id":"1332337766","filename":"file4"},{"photo_id":"1332337743","filename":"file1"},{"photo_id":"1332337738","filename":"file0"},{"photo_id":"1332337753","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332337743":["hashtag1","hashtag2"]},{"1332337766":["hashtag1","hashtag2"]},{"1332337769":["hashtag1","hashtag2"]},{"1332337748":["hashtag1","hashtag2"]},{"1332337753":["hashtag1","hashtag2"]},{"1332337738":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332337743, 1332337766, 1332337769, 1332337748, 1332337753, 1332337738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.99783229827881 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:30:32.807571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/15/image_28012025_10_15_25_10463.jpg', '/home/pi/Desktop/images/28012025/10/15/image_28012025_10_15_35_9370.jpg', '/home/pi/Desktop/images/28012025/10/15/image_28012025_10_15_45_10471.jpg', '/home/pi/Desktop/images/28012025/10/15/image_28012025_10_15_55_9333.jpg', '/home/pi/Desktop/images/28012025/10/15/image_28012025_10_16_05_10358.jpg', '/home/pi/Desktop/images/28012025/10/16/image_28012025_10_16_15_10428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/15/image_28012025_10_15_25_10463.jpg
/home/pi/Desktop/images/28012025/10/15/image_28012025_10_15_35_9370.jpg
/home/pi/Desktop/images/28012025/10/15/image_28012025_10_15_45_10471.jpg
/home/pi/Desktop/images/28012025/10/15/image_28012025_10_15_55_9333.jpg
/home/pi/Desktop/images/28012025/10/15/image_28012025_10_16_05_10358.jpg
/home/pi/Desktop/images/28012025/10/16/image_28012025_10_16_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":["1332337791","1332337932","1332337920","1332337964","1332337976","1332337879"],"photo_ids_order":["1332337791","1332337879","1332337920","1332337932","1332337964","1332337976"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0af75115bbb03e9cd0c9b773306b744d.jpg","text":"TemporaryFile(/tmp/multipartBody7905926761082677928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078293875,"filename":"image_28012025_10_15_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/1/28/5dd34e6878c3821be65aabf4fc8b2ed6.jpg","text":"TemporaryFile(/tmp/multipartBody9125134592890288908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078293875,"filename":"image_28012025_10_15_55_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e69803ddb34756d3fb31540380591a08.jpg","text":"TemporaryFile(/tmp/multipartBody4233120489535676249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078293875,"filename":"image_28012025_10_15_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/1/28/1a291dcc2e29fc3a0b941ca904f7bd0c.jpg","text":"TemporaryFile(/tmp/multipartBody8065600567279180210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078293875,"filename":"image_28012025_10_16_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/1/28/c04890936fea85966a9b11f2d0bddf09.jpg","text":"TemporaryFile(/tmp/multipartBody4191802774008083131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078293875,"filename":"image_28012025_10_16_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/1/28/a4a675353c84e075676bbdc55efc7e62.jpg","text":"TemporaryFile(/tmp/multipartBody762482692371668337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078293875,"filename":"image_28012025_10_15_35_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332337920","file1":"1332337879","file0":"1332337791","file4":"1332337964","file5":"1332337976","file3":"1332337932"},"map_files_photo_id_array":[{"photo_id":"1332337976","filename":"file5"},{"photo_id":"1332337920","filename":"file2"},{"photo_id":"1332337964","filename":"file4"},{"photo_id":"1332337879","filename":"file1"},{"photo_id":"1332337791","filename":"file0"},{"photo_id":"1332337932","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332337791":["hashtag1","hashtag2"]},{"1332337932":["hashtag1","hashtag2"]},{"1332337920":["hashtag1","hashtag2"]},{"1332337964":["hashtag1","hashtag2"]},{"1332337976":["hashtag1","hashtag2"]},{"1332337879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332337791, 1332337932, 1332337920, 1332337964, 1332337976, 1332337879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.16751027107239 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:31:33.235648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/16/image_28012025_10_16_25_9327.jpg', '/home/pi/Desktop/images/28012025/10/16/image_28012025_10_16_35_10374.jpg', '/home/pi/Desktop/images/28012025/10/16/image_28012025_10_16_46_10409.jpg', '/home/pi/Desktop/images/28012025/10/16/image_28012025_10_16_55_9346.jpg', '/home/pi/Desktop/images/28012025/10/16/image_28012025_10_17_05_10429.jpg', '/home/pi/Desktop/images/28012025/10/17/image_28012025_10_17_25_10410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/16/image_28012025_10_16_25_9327.jpg
/home/pi/Desktop/images/28012025/10/16/image_28012025_10_16_35_10374.jpg
/home/pi/Desktop/images/28012025/10/16/image_28012025_10_16_46_10409.jpg
/home/pi/Desktop/images/28012025/10/16/image_28012025_10_16_55_9346.jpg
/home/pi/Desktop/images/28012025/10/16/image_28012025_10_17_05_10429.jpg
/home/pi/Desktop/images/28012025/10/17/image_28012025_10_17_25_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":["1332338034","1332338051","1332338048","1332338038","1332338029","1332338023"],"photo_ids_order":["1332338023","1332338029","1332338034","1332338038","1332338048","1332338051"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/105f8e568a9c649c3067b23a1b7b30b2.jpg","text":"TemporaryFile(/tmp/multipartBody2199291667813108381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078354211,"filename":"image_28012025_10_16_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/1/28/c8ce715f3c5fa87dd35060a4155d6a3d.jpg","text":"TemporaryFile(/tmp/multipartBody7260505993475687428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078354211,"filename":"image_28012025_10_17_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/1/28/a8bc88cf5338c76dc303a2be9ebcf2b1.jpg","text":"TemporaryFile(/tmp/multipartBody8517578280072046371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078354211,"filename":"image_28012025_10_17_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/1/28/b697f79bc91e71c5e4faf943c0b1e147.jpg","text":"TemporaryFile(/tmp/multipartBody7279931247464670562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078354211,"filename":"image_28012025_10_16_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/1/28/6b31f210b3a6468b2f42ae934f100c6f.jpg","text":"TemporaryFile(/tmp/multipartBody6406122275898797657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078354211,"filename":"image_28012025_10_16_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/1/28/8a5480bab2789d68dd0ba1e226dd864c.jpg","text":"TemporaryFile(/tmp/multipartBody783649315772647595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078354211,"filename":"image_28012025_10_16_25_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332338034","file1":"1332338029","file0":"1332338023","file4":"1332338048","file5":"1332338051","file3":"1332338038"},"map_files_photo_id_array":[{"photo_id":"1332338051","filename":"file5"},{"photo_id":"1332338034","filename":"file2"},{"photo_id":"1332338048","filename":"file4"},{"photo_id":"1332338029","filename":"file1"},{"photo_id":"1332338023","filename":"file0"},{"photo_id":"1332338038","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332338034":["hashtag1","hashtag2"]},{"1332338051":["hashtag1","hashtag2"]},{"1332338048":["hashtag1","hashtag2"]},{"1332338038":["hashtag1","hashtag2"]},{"1332338029":["hashtag1","hashtag2"]},{"1332338023":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332338034, 1332338051, 1332338048, 1332338038, 1332338029, 1332338023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.51158356666565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:32:32.230405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/17/image_28012025_10_17_35_10435.jpg', '/home/pi/Desktop/images/28012025/10/17/image_28012025_10_17_45_9621.jpg', '/home/pi/Desktop/images/28012025/10/17/image_28012025_10_17_56_10421.jpg', '/home/pi/Desktop/images/28012025/10/17/image_28012025_10_18_05_9343.jpg', '/home/pi/Desktop/images/28012025/10/18/image_28012025_10_18_15_9972.jpg', '/home/pi/Desktop/images/28012025/10/18/image_28012025_10_18_25_10405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/17/image_28012025_10_17_35_10435.jpg
/home/pi/Desktop/images/28012025/10/17/image_28012025_10_17_45_9621.jpg
/home/pi/Desktop/images/28012025/10/17/image_28012025_10_17_56_10421.jpg
/home/pi/Desktop/images/28012025/10/17/image_28012025_10_18_05_9343.jpg
/home/pi/Desktop/images/28012025/10/18/image_28012025_10_18_15_9972.jpg
/home/pi/Desktop/images/28012025/10/18/image_28012025_10_18_25_10405.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6211378574371338 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 16:32:42.203120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/17/image_28012025_10_17_35_10435.jpg', '/home/pi/Desktop/images/28012025/10/17/image_28012025_10_17_45_9621.jpg', '/home/pi/Desktop/images/28012025/10/17/image_28012025_10_17_56_10421.jpg', '/home/pi/Desktop/images/28012025/10/17/image_28012025_10_18_05_9343.jpg', '/home/pi/Desktop/images/28012025/10/18/image_28012025_10_18_15_9972.jpg', '/home/pi/Desktop/images/28012025/10/18/image_28012025_10_18_25_10405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/17/image_28012025_10_17_35_10435.jpg
/home/pi/Desktop/images/28012025/10/17/image_28012025_10_17_45_9621.jpg
/home/pi/Desktop/images/28012025/10/17/image_28012025_10_17_56_10421.jpg
/home/pi/Desktop/images/28012025/10/17/image_28012025_10_18_05_9343.jpg
/home/pi/Desktop/images/28012025/10/18/image_28012025_10_18_15_9972.jpg
/home/pi/Desktop/images/28012025/10/18/image_28012025_10_18_25_10405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332338139","1332338155","1332338152","1332338134","1332338148","1332338157"],"photo_ids_order":["1332338134","1332338139","1332338148","1332338152","1332338155","1332338157"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4fccb9f99a6ac3dd0ebc23ce7fb8266e.jpg","text":"TemporaryFile(/tmp/multipartBody6043025098224179348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078423111,"filename":"image_28012025_10_17_45_9621.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/55ce4c7b165fa95cca6ed50f049d6338.jpg","text":"TemporaryFile(/tmp/multipartBody3354069828187680571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078423111,"filename":"image_28012025_10_18_15_9972.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8abcac324bffa94526ba30274d47ea73.jpg","text":"TemporaryFile(/tmp/multipartBody8429243072701539797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078423111,"filename":"image_28012025_10_18_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/1/28/47847707e36062902f11cfdbac2deb8b.jpg","text":"TemporaryFile(/tmp/multipartBody371821571348631617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078423111,"filename":"image_28012025_10_17_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/1/28/b6ff534baddfa32e3a990897dc4b315f.jpg","text":"TemporaryFile(/tmp/multipartBody1062555334238798507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078423111,"filename":"image_28012025_10_17_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/1/28/7f6fe9142d0ca56c2ccdc9e89b36f7e6.jpg","text":"TemporaryFile(/tmp/multipartBody8673036170618659672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078423111,"filename":"image_28012025_10_18_25_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332338148","file1":"1332338139","file0":"1332338134","file4":"1332338155","file5":"1332338157","file3":"1332338152"},"map_files_photo_id_array":[{"photo_id":"1332338157","filename":"file5"},{"photo_id":"1332338148","filename":"file2"},{"photo_id":"1332338155","filename":"file4"},{"photo_id":"1332338139","filename":"file1"},{"photo_id":"1332338134","filename":"file0"},{"photo_id":"1332338152","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332338139":["hashtag1","hashtag2"]},{"1332338155":["hashtag1","hashtag2"]},{"1332338152":["hashtag1","hashtag2"]},{"1332338134":["hashtag1","hashtag2"]},{"1332338148":["hashtag1","hashtag2"]},{"1332338157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332338139, 1332338155, 1332338152, 1332338134, 1332338148, 1332338157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75151443481445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:33:32.602473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/18/image_28012025_10_18_35_9353.jpg', '/home/pi/Desktop/images/28012025/10/18/image_28012025_10_18_45_10363.jpg', '/home/pi/Desktop/images/28012025/10/18/image_28012025_10_18_55_10393.jpg', '/home/pi/Desktop/images/28012025/10/18/image_28012025_10_19_05_9323.jpg', '/home/pi/Desktop/images/28012025/10/19/image_28012025_10_19_15_10358.jpg', '/home/pi/Desktop/images/28012025/10/19/image_28012025_10_19_25_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/18/image_28012025_10_18_35_9353.jpg
/home/pi/Desktop/images/28012025/10/18/image_28012025_10_18_45_10363.jpg
/home/pi/Desktop/images/28012025/10/18/image_28012025_10_18_55_10393.jpg
/home/pi/Desktop/images/28012025/10/18/image_28012025_10_19_05_9323.jpg
/home/pi/Desktop/images/28012025/10/19/image_28012025_10_19_15_10358.jpg
/home/pi/Desktop/images/28012025/10/19/image_28012025_10_19_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":["1332338177","1332338171","1332338174","1332338168","1332338179","1332338181"],"photo_ids_order":["1332338168","1332338171","1332338174","1332338177","1332338179","1332338181"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7162d5288703085a13dbba021a20ba6d.jpg","text":"TemporaryFile(/tmp/multipartBody6442676647705606000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078473584,"filename":"image_28012025_10_19_05_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f78da4fe380c521978497c6c4da046f7.jpg","text":"TemporaryFile(/tmp/multipartBody2420435659630502855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078473584,"filename":"image_28012025_10_18_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/1/28/95e975410f2e1870bf9a01cbb988671e.jpg","text":"TemporaryFile(/tmp/multipartBody5856227861286151783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078473584,"filename":"image_28012025_10_18_55_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ddb0f891d8ccaa48018b3c4f5c8173f6.jpg","text":"TemporaryFile(/tmp/multipartBody606156705395992639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078473584,"filename":"image_28012025_10_18_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/1/28/df908735be23e47c7afdb2b3c9e32f73.jpg","text":"TemporaryFile(/tmp/multipartBody853238102604765526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078473584,"filename":"image_28012025_10_19_15_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1b1b803ef865da1c8e7ff8472ef3d7f4.jpg","text":"TemporaryFile(/tmp/multipartBody6481473952179533711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078473584,"filename":"image_28012025_10_19_25_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332338174","file1":"1332338171","file0":"1332338168","file4":"1332338179","file5":"1332338181","file3":"1332338177"},"map_files_photo_id_array":[{"photo_id":"1332338181","filename":"file5"},{"photo_id":"1332338174","filename":"file2"},{"photo_id":"1332338179","filename":"file4"},{"photo_id":"1332338171","filename":"file1"},{"photo_id":"1332338168","filename":"file0"},{"photo_id":"1332338177","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332338177":["hashtag1","hashtag2"]},{"1332338171":["hashtag1","hashtag2"]},{"1332338174":["hashtag1","hashtag2"]},{"1332338168":["hashtag1","hashtag2"]},{"1332338179":["hashtag1","hashtag2"]},{"1332338181":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332338177, 1332338171, 1332338174, 1332338168, 1332338179, 1332338181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.01615762710571 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:34:32.639046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/19/image_28012025_10_19_35_9342.jpg', '/home/pi/Desktop/images/28012025/10/19/image_28012025_10_19_55_10373.jpg', '/home/pi/Desktop/images/28012025/10/19/image_28012025_10_20_05_9333.jpg', '/home/pi/Desktop/images/28012025/10/20/image_28012025_10_20_15_10462.jpg', '/home/pi/Desktop/images/28012025/10/20/image_28012025_10_20_35_10349.jpg', '/home/pi/Desktop/images/28012025/10/21/image_28012025_10_22_05_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/19/image_28012025_10_19_35_9342.jpg
/home/pi/Desktop/images/28012025/10/19/image_28012025_10_19_55_10373.jpg
/home/pi/Desktop/images/28012025/10/19/image_28012025_10_20_05_9333.jpg
/home/pi/Desktop/images/28012025/10/20/image_28012025_10_20_15_10462.jpg
/home/pi/Desktop/images/28012025/10/20/image_28012025_10_20_35_10349.jpg
/home/pi/Desktop/images/28012025/10/21/image_28012025_10_22_05_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332338205","1332338228","1332338201","1332338224","1332338218","1332338221"],"photo_ids_order":["1332338201","1332338205","1332338218","1332338221","1332338224","1332338228"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/247b6500f61e897871f9de1cc42ab70b.jpg","text":"TemporaryFile(/tmp/multipartBody3973626282159646706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078533640,"filename":"image_28012025_10_19_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/1/28/1ed7d32e1f40eb8b1b41518f1c70080d.jpg","text":"TemporaryFile(/tmp/multipartBody7754227609963988481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078533640,"filename":"image_28012025_10_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/1/28/bbc6115f18b7b1eb8028322fa7ade096.jpg","text":"TemporaryFile(/tmp/multipartBody8016245015817787072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078533640,"filename":"image_28012025_10_19_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/1/28/9ce18e306753368f14113a5102ed3343.jpg","text":"TemporaryFile(/tmp/multipartBody1935816379816562441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078533640,"filename":"image_28012025_10_20_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/1/28/7dbe44016b492156517b777839d1f753.jpg","text":"TemporaryFile(/tmp/multipartBody8706484130329052556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078533640,"filename":"image_28012025_10_20_05_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5b66bc7efb93088dfd42038f19a1d7cb.jpg","text":"TemporaryFile(/tmp/multipartBody3449043406640576674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078533640,"filename":"image_28012025_10_20_15_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332338218","file1":"1332338205","file0":"1332338201","file4":"1332338224","file5":"1332338228","file3":"1332338221"},"map_files_photo_id_array":[{"photo_id":"1332338228","filename":"file5"},{"photo_id":"1332338218","filename":"file2"},{"photo_id":"1332338224","filename":"file4"},{"photo_id":"1332338205","filename":"file1"},{"photo_id":"1332338201","filename":"file0"},{"photo_id":"1332338221","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332338205":["hashtag1","hashtag2"]},{"1332338228":["hashtag1","hashtag2"]},{"1332338201":["hashtag1","hashtag2"]},{"1332338224":["hashtag1","hashtag2"]},{"1332338218":["hashtag1","hashtag2"]},{"1332338221":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332338205, 1332338228, 1332338201, 1332338224, 1332338218, 1332338221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.027297258377075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:35:32.900371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/22/image_28012025_10_22_15_9435.jpg', '/home/pi/Desktop/images/28012025/10/22/image_28012025_10_22_25_10402.jpg', '/home/pi/Desktop/images/28012025/10/22/image_28012025_10_22_35_9347.jpg', '/home/pi/Desktop/images/28012025/10/22/image_28012025_10_22_45_10360.jpg', '/home/pi/Desktop/images/28012025/10/22/image_28012025_10_22_55_10414.jpg', '/home/pi/Desktop/images/28012025/10/22/image_28012025_10_23_05_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/22/image_28012025_10_22_15_9435.jpg
/home/pi/Desktop/images/28012025/10/22/image_28012025_10_22_25_10402.jpg
/home/pi/Desktop/images/28012025/10/22/image_28012025_10_22_35_9347.jpg
/home/pi/Desktop/images/28012025/10/22/image_28012025_10_22_45_10360.jpg
/home/pi/Desktop/images/28012025/10/22/image_28012025_10_22_55_10414.jpg
/home/pi/Desktop/images/28012025/10/22/image_28012025_10_23_05_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":["1332338399","1332338396","1332338392","1332338389","1332338281","1332338274"],"photo_ids_order":["1332338274","1332338281","1332338389","1332338392","1332338396","1332338399"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6fb35467bbdaa3b4ff2349b5dfecf760.jpg","text":"TemporaryFile(/tmp/multipartBody7480061228708247622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078594448,"filename":"image_28012025_10_23_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/1/28/1841e21d91b845a51157670fc54fdbbd.jpg","text":"TemporaryFile(/tmp/multipartBody5650798322016631648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078594448,"filename":"image_28012025_10_22_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/1/28/0dce4adbf8a19bee1cd91325879ea4b1.jpg","text":"TemporaryFile(/tmp/multipartBody5754155648737423539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078594448,"filename":"image_28012025_10_22_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/1/28/13f14216ce8ec9f9cee2a97617780eb8.jpg","text":"TemporaryFile(/tmp/multipartBody1399251467479364135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078594448,"filename":"image_28012025_10_22_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/1/28/a4be6410cf1950634188567af07ea0a7.jpg","text":"TemporaryFile(/tmp/multipartBody9181632324418774172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078594448,"filename":"image_28012025_10_22_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/1/28/df572bda0a6df83a97592816ba43ba88.jpg","text":"TemporaryFile(/tmp/multipartBody537843290237630156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078594448,"filename":"image_28012025_10_22_15_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332338389","file1":"1332338281","file0":"1332338274","file4":"1332338396","file5":"1332338399","file3":"1332338392"},"map_files_photo_id_array":[{"photo_id":"1332338399","filename":"file5"},{"photo_id":"1332338389","filename":"file2"},{"photo_id":"1332338396","filename":"file4"},{"photo_id":"1332338281","filename":"file1"},{"photo_id":"1332338274","filename":"file0"},{"photo_id":"1332338392","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332338399":["hashtag1","hashtag2"]},{"1332338396":["hashtag1","hashtag2"]},{"1332338392":["hashtag1","hashtag2"]},{"1332338389":["hashtag1","hashtag2"]},{"1332338281":["hashtag1","hashtag2"]},{"1332338274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332338399, 1332338396, 1332338392, 1332338389, 1332338281, 1332338274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.74740743637085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:36:33.091248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/23/image_28012025_10_23_15_10464.jpg', '/home/pi/Desktop/images/28012025/10/23/image_28012025_10_23_26_10380.jpg', '/home/pi/Desktop/images/28012025/10/23/image_28012025_10_23_35_9344.jpg', '/home/pi/Desktop/images/28012025/10/23/image_28012025_10_23_45_10411.jpg', '/home/pi/Desktop/images/28012025/10/23/image_28012025_10_23_55_9444.jpg', '/home/pi/Desktop/images/28012025/10/23/image_28012025_10_24_05_10389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/23/image_28012025_10_23_15_10464.jpg
/home/pi/Desktop/images/28012025/10/23/image_28012025_10_23_26_10380.jpg
/home/pi/Desktop/images/28012025/10/23/image_28012025_10_23_35_9344.jpg
/home/pi/Desktop/images/28012025/10/23/image_28012025_10_23_45_10411.jpg
/home/pi/Desktop/images/28012025/10/23/image_28012025_10_23_55_9444.jpg
/home/pi/Desktop/images/28012025/10/23/image_28012025_10_24_05_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":["1332338436","1332338426","1332338455","1332338416","1332338451","1332338430"],"photo_ids_order":["1332338416","1332338426","1332338430","1332338436","1332338451","1332338455"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/00151d4dd8d3bb8008512179d17f77d1.jpg","text":"TemporaryFile(/tmp/multipartBody7233564565598894017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078654059,"filename":"image_28012025_10_23_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/1/28/7bc7ef2ecadbc8b1d30ce3e3efd30d1d.jpg","text":"TemporaryFile(/tmp/multipartBody5724812411146894787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078654059,"filename":"image_28012025_10_23_26_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8a949d1172d8334a0677010bf73d24e7.jpg","text":"TemporaryFile(/tmp/multipartBody1549298988576619036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078654059,"filename":"image_28012025_10_24_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/1/28/15e677d1573d179a075b7b4ab59320fb.jpg","text":"TemporaryFile(/tmp/multipartBody8867478966893899153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078654059,"filename":"image_28012025_10_23_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/1/28/7c72f05031408e398f3169591c9c5a03.jpg","text":"TemporaryFile(/tmp/multipartBody4399912475406276627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078654059,"filename":"image_28012025_10_23_55_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8f86385ca6afb13c9eaa611a4f83b4df.jpg","text":"TemporaryFile(/tmp/multipartBody4558273656217579846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078654059,"filename":"image_28012025_10_23_35_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332338430","file1":"1332338426","file0":"1332338416","file4":"1332338451","file5":"1332338455","file3":"1332338436"},"map_files_photo_id_array":[{"photo_id":"1332338455","filename":"file5"},{"photo_id":"1332338430","filename":"file2"},{"photo_id":"1332338451","filename":"file4"},{"photo_id":"1332338426","filename":"file1"},{"photo_id":"1332338416","filename":"file0"},{"photo_id":"1332338436","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332338436":["hashtag1","hashtag2"]},{"1332338426":["hashtag1","hashtag2"]},{"1332338455":["hashtag1","hashtag2"]},{"1332338416":["hashtag1","hashtag2"]},{"1332338451":["hashtag1","hashtag2"]},{"1332338430":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332338436, 1332338426, 1332338455, 1332338416, 1332338451, 1332338430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.55901861190796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:37:32.323352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/24/image_28012025_10_24_35_10449.jpg', '/home/pi/Desktop/images/28012025/10/24/image_28012025_10_24_45_9363.jpg', '/home/pi/Desktop/images/28012025/10/24/image_28012025_10_24_55_10336.jpg', '/home/pi/Desktop/images/28012025/10/25/image_28012025_10_25_25_10371.jpg', '/home/pi/Desktop/images/28012025/10/25/image_28012025_10_25_45_9340.jpg', '/home/pi/Desktop/images/28012025/10/26/image_28012025_10_26_25_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/24/image_28012025_10_24_35_10449.jpg
/home/pi/Desktop/images/28012025/10/24/image_28012025_10_24_45_9363.jpg
/home/pi/Desktop/images/28012025/10/24/image_28012025_10_24_55_10336.jpg
/home/pi/Desktop/images/28012025/10/25/image_28012025_10_25_25_10371.jpg
/home/pi/Desktop/images/28012025/10/25/image_28012025_10_25_45_9340.jpg
/home/pi/Desktop/images/28012025/10/26/image_28012025_10_26_25_10351.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.59100341796875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 16:37:42.316001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/24/image_28012025_10_24_35_10449.jpg', '/home/pi/Desktop/images/28012025/10/24/image_28012025_10_24_45_9363.jpg', '/home/pi/Desktop/images/28012025/10/24/image_28012025_10_24_55_10336.jpg', '/home/pi/Desktop/images/28012025/10/25/image_28012025_10_25_25_10371.jpg', '/home/pi/Desktop/images/28012025/10/25/image_28012025_10_25_45_9340.jpg', '/home/pi/Desktop/images/28012025/10/26/image_28012025_10_26_25_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/24/image_28012025_10_24_35_10449.jpg
/home/pi/Desktop/images/28012025/10/24/image_28012025_10_24_45_9363.jpg
/home/pi/Desktop/images/28012025/10/24/image_28012025_10_24_55_10336.jpg
/home/pi/Desktop/images/28012025/10/25/image_28012025_10_25_25_10371.jpg
/home/pi/Desktop/images/28012025/10/25/image_28012025_10_25_45_9340.jpg
/home/pi/Desktop/images/28012025/10/26/image_28012025_10_26_25_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332338486","1332338497","1332338476","1332338518","1332338481","1332338526"],"photo_ids_order":["1332338476","1332338481","1332338486","1332338497","1332338518","1332338526"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d66c39350ab531314f92a320cc1ad92f.jpg","text":"TemporaryFile(/tmp/multipartBody2926147571923621880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078723227,"filename":"image_28012025_10_24_55_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9c98e739110359f0a9e3528711c26cc4.jpg","text":"TemporaryFile(/tmp/multipartBody3803662490733813805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078723227,"filename":"image_28012025_10_25_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/1/28/1b77a7af5006c8085779b6183ff8616a.jpg","text":"TemporaryFile(/tmp/multipartBody7285529621271528192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078723227,"filename":"image_28012025_10_24_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/1/28/3a7f47fc47d98b4c271161356d9bd79b.jpg","text":"TemporaryFile(/tmp/multipartBody4889498573689674291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078723227,"filename":"image_28012025_10_25_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/1/28/0f051e37a2dae95b30a032e62963e6c6.jpg","text":"TemporaryFile(/tmp/multipartBody8803010704660742338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078723227,"filename":"image_28012025_10_24_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/1/28/8e71797add461b0da52e7fb491b3acf8.jpg","text":"TemporaryFile(/tmp/multipartBody1170960960385871250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078723227,"filename":"image_28012025_10_26_25_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332338486","file1":"1332338481","file0":"1332338476","file4":"1332338518","file5":"1332338526","file3":"1332338497"},"map_files_photo_id_array":[{"photo_id":"1332338526","filename":"file5"},{"photo_id":"1332338486","filename":"file2"},{"photo_id":"1332338518","filename":"file4"},{"photo_id":"1332338481","filename":"file1"},{"photo_id":"1332338476","filename":"file0"},{"photo_id":"1332338497","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332338486":["hashtag1","hashtag2"]},{"1332338497":["hashtag1","hashtag2"]},{"1332338476":["hashtag1","hashtag2"]},{"1332338518":["hashtag1","hashtag2"]},{"1332338481":["hashtag1","hashtag2"]},{"1332338526":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332338486, 1332338497, 1332338476, 1332338518, 1332338481, 1332338526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14598369598389 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:38:32.530735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/26/image_28012025_10_26_35_9354.jpg', '/home/pi/Desktop/images/28012025/10/26/image_28012025_10_26_45_10367.jpg', '/home/pi/Desktop/images/28012025/10/26/image_28012025_10_26_56_10463.jpg', '/home/pi/Desktop/images/28012025/10/26/image_28012025_10_27_05_9322.jpg', '/home/pi/Desktop/images/28012025/10/27/image_28012025_10_27_25_9350.jpg', '/home/pi/Desktop/images/28012025/10/27/image_28012025_10_27_35_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/26/image_28012025_10_26_35_9354.jpg
/home/pi/Desktop/images/28012025/10/26/image_28012025_10_26_45_10367.jpg
/home/pi/Desktop/images/28012025/10/26/image_28012025_10_26_56_10463.jpg
/home/pi/Desktop/images/28012025/10/26/image_28012025_10_27_05_9322.jpg
/home/pi/Desktop/images/28012025/10/27/image_28012025_10_27_25_9350.jpg
/home/pi/Desktop/images/28012025/10/27/image_28012025_10_27_35_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332338558","1332338563","1332338566","1332338554","1332338568","1332338544"],"photo_ids_order":["1332338544","1332338554","1332338558","1332338563","1332338566","1332338568"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7b0c8c574985254de6c445a264f9cec3.jpg","text":"TemporaryFile(/tmp/multipartBody1122557708603150882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078773508,"filename":"image_28012025_10_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/1/28/954ec5e2612682714214dc3b690fe8ed.jpg","text":"TemporaryFile(/tmp/multipartBody5616071815749244145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078773508,"filename":"image_28012025_10_27_05_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/42d986d9fe0f5a0270e97051bedfc326.jpg","text":"TemporaryFile(/tmp/multipartBody3582654696016758061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078773508,"filename":"image_28012025_10_27_25_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0fc209b4ab9e12df0cfee17028ace7e6.jpg","text":"TemporaryFile(/tmp/multipartBody8685450225838012170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078773508,"filename":"image_28012025_10_26_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/1/28/744cfd79e30543082079715365987952.jpg","text":"TemporaryFile(/tmp/multipartBody5390946617353104594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078773508,"filename":"image_28012025_10_27_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/1/28/9c1961aa5203239b62030e49bb42d643.jpg","text":"TemporaryFile(/tmp/multipartBody4807934752466726581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078773508,"filename":"image_28012025_10_26_35_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332338558","file1":"1332338554","file0":"1332338544","file4":"1332338566","file5":"1332338568","file3":"1332338563"},"map_files_photo_id_array":[{"photo_id":"1332338568","filename":"file5"},{"photo_id":"1332338558","filename":"file2"},{"photo_id":"1332338566","filename":"file4"},{"photo_id":"1332338554","filename":"file1"},{"photo_id":"1332338544","filename":"file0"},{"photo_id":"1332338563","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332338558":["hashtag1","hashtag2"]},{"1332338563":["hashtag1","hashtag2"]},{"1332338566":["hashtag1","hashtag2"]},{"1332338554":["hashtag1","hashtag2"]},{"1332338568":["hashtag1","hashtag2"]},{"1332338544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332338558, 1332338563, 1332338566, 1332338554, 1332338568, 1332338544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.834498167037964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:39:32.907072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/27/image_28012025_10_27_45_10351.jpg', '/home/pi/Desktop/images/28012025/10/27/image_28012025_10_27_55_9345.jpg', '/home/pi/Desktop/images/28012025/10/27/image_28012025_10_28_05_10355.jpg', '/home/pi/Desktop/images/28012025/10/28/image_28012025_10_28_15_10335.jpg', '/home/pi/Desktop/images/28012025/10/28/image_28012025_10_28_25_9331.jpg', '/home/pi/Desktop/images/28012025/10/28/image_28012025_10_28_35_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/27/image_28012025_10_27_45_10351.jpg
/home/pi/Desktop/images/28012025/10/27/image_28012025_10_27_55_9345.jpg
/home/pi/Desktop/images/28012025/10/27/image_28012025_10_28_05_10355.jpg
/home/pi/Desktop/images/28012025/10/28/image_28012025_10_28_15_10335.jpg
/home/pi/Desktop/images/28012025/10/28/image_28012025_10_28_25_9331.jpg
/home/pi/Desktop/images/28012025/10/28/image_28012025_10_28_35_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":["1332338628","1332338636","1332338603","1332338649","1332338643","1332338652"],"photo_ids_order":["1332338603","1332338628","1332338636","1332338643","1332338649","1332338652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/343bf3e283b0196b59a3a82ca562786d.jpg","text":"TemporaryFile(/tmp/multipartBody3389496526678116072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078833888,"filename":"image_28012025_10_27_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/1/28/322d96eb2edcd9b2a8c0225f5b1cc8b8.jpg","text":"TemporaryFile(/tmp/multipartBody3041049005170065544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078833888,"filename":"image_28012025_10_28_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/1/28/7e583c176105f18f59a2c771e7def3b6.jpg","text":"TemporaryFile(/tmp/multipartBody4410366269426651190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078833888,"filename":"image_28012025_10_27_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/1/28/90232d7d5ef6badb5dc3442ccf90b378.jpg","text":"TemporaryFile(/tmp/multipartBody2190466852905409558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078833888,"filename":"image_28012025_10_28_25_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4f64ab253d645ce7c8723a6c123740f1.jpg","text":"TemporaryFile(/tmp/multipartBody644745640681091575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078833888,"filename":"image_28012025_10_28_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/1/28/661b71502937853acea96039a883f948.jpg","text":"TemporaryFile(/tmp/multipartBody3370647068750024753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078833888,"filename":"image_28012025_10_28_35_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332338636","file1":"1332338628","file0":"1332338603","file4":"1332338649","file5":"1332338652","file3":"1332338643"},"map_files_photo_id_array":[{"photo_id":"1332338652","filename":"file5"},{"photo_id":"1332338636","filename":"file2"},{"photo_id":"1332338649","filename":"file4"},{"photo_id":"1332338628","filename":"file1"},{"photo_id":"1332338603","filename":"file0"},{"photo_id":"1332338643","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332338628":["hashtag1","hashtag2"]},{"1332338636":["hashtag1","hashtag2"]},{"1332338603":["hashtag1","hashtag2"]},{"1332338649":["hashtag1","hashtag2"]},{"1332338643":["hashtag1","hashtag2"]},{"1332338652":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332338628, 1332338636, 1332338603, 1332338649, 1332338643, 1332338652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.231740951538086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:40:33.171821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/28/image_28012025_10_28_45_10353.jpg', '/home/pi/Desktop/images/28012025/10/28/image_28012025_10_28_55_9421.jpg', '/home/pi/Desktop/images/28012025/10/28/image_28012025_10_29_05_10335.jpg', '/home/pi/Desktop/images/28012025/10/29/image_28012025_10_29_15_10345.jpg', '/home/pi/Desktop/images/28012025/10/29/image_28012025_10_29_25_9355.jpg', '/home/pi/Desktop/images/28012025/10/29/image_28012025_10_29_35_10381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/28/image_28012025_10_28_45_10353.jpg
/home/pi/Desktop/images/28012025/10/28/image_28012025_10_28_55_9421.jpg
/home/pi/Desktop/images/28012025/10/28/image_28012025_10_29_05_10335.jpg
/home/pi/Desktop/images/28012025/10/29/image_28012025_10_29_15_10345.jpg
/home/pi/Desktop/images/28012025/10/29/image_28012025_10_29_25_9355.jpg
/home/pi/Desktop/images/28012025/10/29/image_28012025_10_29_35_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":["1332338795","1332338804","1332338773","1332338800","1332338787","1332338769"],"photo_ids_order":["1332338769","1332338773","1332338787","1332338795","1332338800","1332338804"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/892383e3f7322b28260e35d8d56333e2.jpg","text":"TemporaryFile(/tmp/multipartBody9217307312568591016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078894151,"filename":"image_28012025_10_29_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/1/28/822a6560dfeea71a537ee35c1c2736e7.jpg","text":"TemporaryFile(/tmp/multipartBody441405957909785076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078894151,"filename":"image_28012025_10_29_35_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dbee209681f5a620b7266f7857515991.jpg","text":"TemporaryFile(/tmp/multipartBody824608656454179703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078894151,"filename":"image_28012025_10_28_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/1/28/321843bfbf79f0143c62ba42fdbcc6c6.jpg","text":"TemporaryFile(/tmp/multipartBody3607423302270009911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078894151,"filename":"image_28012025_10_29_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/1/28/999c523778251bd8bd05bc316eeb5780.jpg","text":"TemporaryFile(/tmp/multipartBody2682115842868492676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078894151,"filename":"image_28012025_10_29_05_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b8d36e5ce95501afde21833a7af5024b.jpg","text":"TemporaryFile(/tmp/multipartBody8110241861315835700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078894151,"filename":"image_28012025_10_28_45_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332338787","file1":"1332338773","file0":"1332338769","file4":"1332338800","file5":"1332338804","file3":"1332338795"},"map_files_photo_id_array":[{"photo_id":"1332338804","filename":"file5"},{"photo_id":"1332338787","filename":"file2"},{"photo_id":"1332338800","filename":"file4"},{"photo_id":"1332338773","filename":"file1"},{"photo_id":"1332338769","filename":"file0"},{"photo_id":"1332338795","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332338795":["hashtag1","hashtag2"]},{"1332338804":["hashtag1","hashtag2"]},{"1332338773":["hashtag1","hashtag2"]},{"1332338800":["hashtag1","hashtag2"]},{"1332338787":["hashtag1","hashtag2"]},{"1332338769":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332338795, 1332338804, 1332338773, 1332338800, 1332338787, 1332338769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2025146484375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:41:32.388020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/29/image_28012025_10_29_46_10370.jpg', '/home/pi/Desktop/images/28012025/10/29/image_28012025_10_29_55_9356.jpg', '/home/pi/Desktop/images/28012025/10/29/image_28012025_10_30_05_10435.jpg', '/home/pi/Desktop/images/28012025/10/30/image_28012025_10_30_15_9342.jpg', '/home/pi/Desktop/images/28012025/10/30/image_28012025_10_30_25_10344.jpg', '/home/pi/Desktop/images/28012025/10/30/image_28012025_10_30_45_9329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/29/image_28012025_10_29_46_10370.jpg
/home/pi/Desktop/images/28012025/10/29/image_28012025_10_29_55_9356.jpg
/home/pi/Desktop/images/28012025/10/29/image_28012025_10_30_05_10435.jpg
/home/pi/Desktop/images/28012025/10/30/image_28012025_10_30_15_9342.jpg
/home/pi/Desktop/images/28012025/10/30/image_28012025_10_30_25_10344.jpg
/home/pi/Desktop/images/28012025/10/30/image_28012025_10_30_45_9329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332338831","1332338855","1332338843","1332338837","1332338848","1332338853"],"photo_ids_order":["1332338831","1332338837","1332338843","1332338848","1332338853","1332338855"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8d86bc0e7e395ff4e50a6d399e0100ef.jpg","text":"TemporaryFile(/tmp/multipartBody6215144655355578569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078953356,"filename":"image_28012025_10_29_46_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/91aef9501659d9af89bcba2f52a1a222.jpg","text":"TemporaryFile(/tmp/multipartBody7478288900136725059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078953356,"filename":"image_28012025_10_30_45_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/836e9184ca701df841506b8340a18446.jpg","text":"TemporaryFile(/tmp/multipartBody9035907979728068705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078953356,"filename":"image_28012025_10_30_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/1/28/4732ee5aa544ec873617b9d6ac30665d.jpg","text":"TemporaryFile(/tmp/multipartBody6167768613112682581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078953356,"filename":"image_28012025_10_29_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/1/28/0a4faeecc53d0fb2003735fa095bca32.jpg","text":"TemporaryFile(/tmp/multipartBody5576068514304613643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078953356,"filename":"image_28012025_10_30_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/1/28/91bddcaa9f64c6647d6a3f33b0e6531b.jpg","text":"TemporaryFile(/tmp/multipartBody6687225162664236059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738078953356,"filename":"image_28012025_10_30_25_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332338843","file1":"1332338837","file0":"1332338831","file4":"1332338853","file5":"1332338855","file3":"1332338848"},"map_files_photo_id_array":[{"photo_id":"1332338855","filename":"file5"},{"photo_id":"1332338843","filename":"file2"},{"photo_id":"1332338853","filename":"file4"},{"photo_id":"1332338837","filename":"file1"},{"photo_id":"1332338831","filename":"file0"},{"photo_id":"1332338848","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332338831":["hashtag1","hashtag2"]},{"1332338855":["hashtag1","hashtag2"]},{"1332338843":["hashtag1","hashtag2"]},{"1332338837":["hashtag1","hashtag2"]},{"1332338848":["hashtag1","hashtag2"]},{"1332338853":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332338831, 1332338855, 1332338843, 1332338837, 1332338848, 1332338853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.40381455421448 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:42:32.568436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/30/image_28012025_10_30_55_10346.jpg', '/home/pi/Desktop/images/28012025/10/30/image_28012025_10_31_05_10357.jpg', '/home/pi/Desktop/images/28012025/10/31/image_28012025_10_31_15_9323.jpg', '/home/pi/Desktop/images/28012025/10/31/image_28012025_10_31_25_10347.jpg', '/home/pi/Desktop/images/28012025/10/31/image_28012025_10_31_36_10395.jpg', '/home/pi/Desktop/images/28012025/10/31/image_28012025_10_31_45_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/30/image_28012025_10_30_55_10346.jpg
/home/pi/Desktop/images/28012025/10/30/image_28012025_10_31_05_10357.jpg
/home/pi/Desktop/images/28012025/10/31/image_28012025_10_31_15_9323.jpg
/home/pi/Desktop/images/28012025/10/31/image_28012025_10_31_25_10347.jpg
/home/pi/Desktop/images/28012025/10/31/image_28012025_10_31_36_10395.jpg
/home/pi/Desktop/images/28012025/10/31/image_28012025_10_31_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":["1332339032","1332338990","1332339029","1332339058","1332339025","1332339000"],"photo_ids_order":["1332338990","1332339000","1332339025","1332339029","1332339032","1332339058"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/edc31d46c15839c9dda47bc227496da4.jpg","text":"TemporaryFile(/tmp/multipartBody2836089101588683651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079013558,"filename":"image_28012025_10_31_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/1/28/f4754525d833970d0d90d5f2c3edc874.jpg","text":"TemporaryFile(/tmp/multipartBody1667496543368963387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079013558,"filename":"image_28012025_10_30_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/1/28/73cd027a563a334a154d6dc78ae3ade8.jpg","text":"TemporaryFile(/tmp/multipartBody8285242475112406893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079013558,"filename":"image_28012025_10_31_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/1/28/05d0cd3a8a37822736a4b911a2aba87a.jpg","text":"TemporaryFile(/tmp/multipartBody7491248168554982377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079013558,"filename":"image_28012025_10_31_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/1/28/6ebb18f0edec0a8140a48377df842c97.jpg","text":"TemporaryFile(/tmp/multipartBody8594613909280705820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079013558,"filename":"image_28012025_10_31_15_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9f634bf60580f61b845fc05ebad9511f.jpg","text":"TemporaryFile(/tmp/multipartBody5176916795067060128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079013558,"filename":"image_28012025_10_31_05_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332339025","file1":"1332339000","file0":"1332338990","file4":"1332339032","file5":"1332339058","file3":"1332339029"},"map_files_photo_id_array":[{"photo_id":"1332339058","filename":"file5"},{"photo_id":"1332339025","filename":"file2"},{"photo_id":"1332339032","filename":"file4"},{"photo_id":"1332339000","filename":"file1"},{"photo_id":"1332338990","filename":"file0"},{"photo_id":"1332339029","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332339032":["hashtag1","hashtag2"]},{"1332338990":["hashtag1","hashtag2"]},{"1332339029":["hashtag1","hashtag2"]},{"1332339058":["hashtag1","hashtag2"]},{"1332339025":["hashtag1","hashtag2"]},{"1332339000":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332339032, 1332338990, 1332339029, 1332339058, 1332339025, 1332339000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.880380630493164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:43:32.848941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/31/image_28012025_10_31_55_10428.jpg', '/home/pi/Desktop/images/28012025/10/31/image_28012025_10_32_05_9329.jpg', '/home/pi/Desktop/images/28012025/10/32/image_28012025_10_32_15_10338.jpg', '/home/pi/Desktop/images/28012025/10/32/image_28012025_10_32_25_10372.jpg', '/home/pi/Desktop/images/28012025/10/32/image_28012025_10_32_35_9353.jpg', '/home/pi/Desktop/images/28012025/10/32/image_28012025_10_32_45_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/31/image_28012025_10_31_55_10428.jpg
/home/pi/Desktop/images/28012025/10/31/image_28012025_10_32_05_9329.jpg
/home/pi/Desktop/images/28012025/10/32/image_28012025_10_32_15_10338.jpg
/home/pi/Desktop/images/28012025/10/32/image_28012025_10_32_25_10372.jpg
/home/pi/Desktop/images/28012025/10/32/image_28012025_10_32_35_9353.jpg
/home/pi/Desktop/images/28012025/10/32/image_28012025_10_32_45_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332339155","1332339184","1332339181","1332339115","1332339165","1332339135"],"photo_ids_order":["1332339115","1332339135","1332339155","1332339165","1332339181","1332339184"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fe50d3f72291a75c4c39565e184b8484.jpg","text":"TemporaryFile(/tmp/multipartBody2210770015179120611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079073827,"filename":"image_28012025_10_32_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/1/28/9f7b3d180c3a0784fae63e81abaf963d.jpg","text":"TemporaryFile(/tmp/multipartBody3713409476213910731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079073827,"filename":"image_28012025_10_32_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/1/28/0b8cdf415d542f8c0c2ff0eca1a5bb8b.jpg","text":"TemporaryFile(/tmp/multipartBody2219123500385972978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079073827,"filename":"image_28012025_10_32_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/1/28/692ffd7441484b664888ddba04f7936b.jpg","text":"TemporaryFile(/tmp/multipartBody2420204112222405269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079073827,"filename":"image_28012025_10_31_55_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/952167da4e6b777a83243a71abe3a210.jpg","text":"TemporaryFile(/tmp/multipartBody3413318412984782470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079073827,"filename":"image_28012025_10_32_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2179a55a2aff4573fa4ed5880c4a2e5a.jpg","text":"TemporaryFile(/tmp/multipartBody7206468015533864537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079073827,"filename":"image_28012025_10_32_05_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332339155","file1":"1332339135","file0":"1332339115","file4":"1332339181","file5":"1332339184","file3":"1332339165"},"map_files_photo_id_array":[{"photo_id":"1332339184","filename":"file5"},{"photo_id":"1332339155","filename":"file2"},{"photo_id":"1332339181","filename":"file4"},{"photo_id":"1332339135","filename":"file1"},{"photo_id":"1332339115","filename":"file0"},{"photo_id":"1332339165","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332339155":["hashtag1","hashtag2"]},{"1332339184":["hashtag1","hashtag2"]},{"1332339181":["hashtag1","hashtag2"]},{"1332339115":["hashtag1","hashtag2"]},{"1332339165":["hashtag1","hashtag2"]},{"1332339135":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332339155, 1332339184, 1332339181, 1332339115, 1332339165, 1332339135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.494853019714355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:44:32.987694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/32/image_28012025_10_32_55_10376.jpg', '/home/pi/Desktop/images/28012025/10/32/image_28012025_10_33_05_9378.jpg', '/home/pi/Desktop/images/28012025/10/33/image_28012025_10_33_15_10403.jpg', '/home/pi/Desktop/images/28012025/10/33/image_28012025_10_33_25_9399.jpg', '/home/pi/Desktop/images/28012025/10/33/image_28012025_10_33_35_10422.jpg', '/home/pi/Desktop/images/28012025/10/33/image_28012025_10_33_55_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/32/image_28012025_10_32_55_10376.jpg
/home/pi/Desktop/images/28012025/10/32/image_28012025_10_33_05_9378.jpg
/home/pi/Desktop/images/28012025/10/33/image_28012025_10_33_15_10403.jpg
/home/pi/Desktop/images/28012025/10/33/image_28012025_10_33_25_9399.jpg
/home/pi/Desktop/images/28012025/10/33/image_28012025_10_33_35_10422.jpg
/home/pi/Desktop/images/28012025/10/33/image_28012025_10_33_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":["1332339395","1332339434","1332339356","1332339350","1332339345","1332339339"],"photo_ids_order":["1332339339","1332339345","1332339350","1332339356","1332339395","1332339434"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0ee9a89f9f8c2a3ab63e9d4140327709.jpg","text":"TemporaryFile(/tmp/multipartBody5004242473780429135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079133960,"filename":"image_28012025_10_33_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/1/28/161e7ccd1f793544d9c0840770eab976.jpg","text":"TemporaryFile(/tmp/multipartBody6868130513918345159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079133960,"filename":"image_28012025_10_33_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/1/28/cbf266599a4b24bad2268a9bf59599b5.jpg","text":"TemporaryFile(/tmp/multipartBody1751710218037579934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079133960,"filename":"image_28012025_10_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/1/28/ed81ca29383ce2cae300b9ed63589703.jpg","text":"TemporaryFile(/tmp/multipartBody3412608695828509508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079133960,"filename":"image_28012025_10_33_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/1/28/344de1bffdf6b163e2e7b8a1c5ffe0be.jpg","text":"TemporaryFile(/tmp/multipartBody4680430558731436288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079133960,"filename":"image_28012025_10_33_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/1/28/cd1d8a08709016507e1af44d98bba77d.jpg","text":"TemporaryFile(/tmp/multipartBody2530888415831999194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079133960,"filename":"image_28012025_10_32_55_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332339350","file1":"1332339345","file0":"1332339339","file4":"1332339395","file5":"1332339434","file3":"1332339356"},"map_files_photo_id_array":[{"photo_id":"1332339434","filename":"file5"},{"photo_id":"1332339350","filename":"file2"},{"photo_id":"1332339395","filename":"file4"},{"photo_id":"1332339345","filename":"file1"},{"photo_id":"1332339339","filename":"file0"},{"photo_id":"1332339356","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332339395":["hashtag1","hashtag2"]},{"1332339434":["hashtag1","hashtag2"]},{"1332339356":["hashtag1","hashtag2"]},{"1332339350":["hashtag1","hashtag2"]},{"1332339345":["hashtag1","hashtag2"]},{"1332339339":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332339395, 1332339434, 1332339356, 1332339350, 1332339345, 1332339339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.63853979110718 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:45:32.281417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/33/image_28012025_10_34_05_10395.jpg', '/home/pi/Desktop/images/28012025/10/34/image_28012025_10_34_15_9475.jpg', '/home/pi/Desktop/images/28012025/10/34/image_28012025_10_34_25_10007.jpg', '/home/pi/Desktop/images/28012025/10/34/image_28012025_10_34_45_10453.jpg', '/home/pi/Desktop/images/28012025/10/34/image_28012025_10_34_55_9377.jpg', '/home/pi/Desktop/images/28012025/10/34/image_28012025_10_35_05_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/33/image_28012025_10_34_05_10395.jpg
/home/pi/Desktop/images/28012025/10/34/image_28012025_10_34_15_9475.jpg
/home/pi/Desktop/images/28012025/10/34/image_28012025_10_34_25_10007.jpg
/home/pi/Desktop/images/28012025/10/34/image_28012025_10_34_45_10453.jpg
/home/pi/Desktop/images/28012025/10/34/image_28012025_10_34_55_9377.jpg
/home/pi/Desktop/images/28012025/10/34/image_28012025_10_35_05_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":["1332339659","1332339656","1332339602","1332339595","1332339589","1332339599"],"photo_ids_order":["1332339589","1332339595","1332339599","1332339602","1332339656","1332339659"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5d86c029181137a0aa5609dc9248f695.jpg","text":"TemporaryFile(/tmp/multipartBody370144866125086744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079193248,"filename":"image_28012025_10_35_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/1/28/2d611541ecf3fe967f048420ab36dcb7.jpg","text":"TemporaryFile(/tmp/multipartBody5714563391913775240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079193248,"filename":"image_28012025_10_34_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/1/28/c5eaa34c2728254f50a56f28260ec0b1.jpg","text":"TemporaryFile(/tmp/multipartBody1535950678330214068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079193248,"filename":"image_28012025_10_34_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/1/28/0de08e119bf82ab82a750130f730a48c.jpg","text":"TemporaryFile(/tmp/multipartBody64968116889571174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079193248,"filename":"image_28012025_10_34_15_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2cafd9bc98cf230c87c4982dd522a386.jpg","text":"TemporaryFile(/tmp/multipartBody7779087118961434723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079193248,"filename":"image_28012025_10_34_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/1/28/66d15e12516424466619c655715cf30d.jpg","text":"TemporaryFile(/tmp/multipartBody7407474430686603396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079193248,"filename":"image_28012025_10_34_25_10007.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332339599","file1":"1332339595","file0":"1332339589","file4":"1332339656","file5":"1332339659","file3":"1332339602"},"map_files_photo_id_array":[{"photo_id":"1332339659","filename":"file5"},{"photo_id":"1332339599","filename":"file2"},{"photo_id":"1332339656","filename":"file4"},{"photo_id":"1332339595","filename":"file1"},{"photo_id":"1332339589","filename":"file0"},{"photo_id":"1332339602","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332339659":["hashtag1","hashtag2"]},{"1332339656":["hashtag1","hashtag2"]},{"1332339602":["hashtag1","hashtag2"]},{"1332339595":["hashtag1","hashtag2"]},{"1332339589":["hashtag1","hashtag2"]},{"1332339599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332339659, 1332339656, 1332339602, 1332339595, 1332339589, 1332339599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07335305213928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:46:32.459797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/35/image_28012025_10_35_15_9329.jpg', '/home/pi/Desktop/images/28012025/10/35/image_28012025_10_35_25_10362.jpg', '/home/pi/Desktop/images/28012025/10/35/image_28012025_10_35_45_9367.jpg', '/home/pi/Desktop/images/28012025/10/35/image_28012025_10_35_55_10356.jpg', '/home/pi/Desktop/images/28012025/10/35/image_28012025_10_36_06_10429.jpg', '/home/pi/Desktop/images/28012025/10/36/image_28012025_10_36_15_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/35/image_28012025_10_35_15_9329.jpg
/home/pi/Desktop/images/28012025/10/35/image_28012025_10_35_25_10362.jpg
/home/pi/Desktop/images/28012025/10/35/image_28012025_10_35_45_9367.jpg
/home/pi/Desktop/images/28012025/10/35/image_28012025_10_35_55_10356.jpg
/home/pi/Desktop/images/28012025/10/35/image_28012025_10_36_06_10429.jpg
/home/pi/Desktop/images/28012025/10/36/image_28012025_10_36_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":["1332339764","1332339743","1332339812","1332339784","1332339676","1332339732"],"photo_ids_order":["1332339676","1332339732","1332339743","1332339764","1332339784","1332339812"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/05e9c9e083f773119a04bb5d87e4f85f.jpg","text":"TemporaryFile(/tmp/multipartBody7986040609267725104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079253531,"filename":"image_28012025_10_35_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/1/28/f92aee84eb75703f2857b0175d5fd4c9.jpg","text":"TemporaryFile(/tmp/multipartBody4358061836314283351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079253531,"filename":"image_28012025_10_35_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/1/28/d242610e2a3966f278964c41482c6e57.jpg","text":"TemporaryFile(/tmp/multipartBody3556674806040519573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079253531,"filename":"image_28012025_10_36_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/1/28/68f53294d6e5bae13b8b178a3478ab3e.jpg","text":"TemporaryFile(/tmp/multipartBody2355217022294823110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079253531,"filename":"image_28012025_10_36_06_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a75221c71486f655ce58d1e154a85832.jpg","text":"TemporaryFile(/tmp/multipartBody1980076292490265249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079253531,"filename":"image_28012025_10_35_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/1/28/e3ff17accf74227256b242d9c8fa556d.jpg","text":"TemporaryFile(/tmp/multipartBody1071363183234340961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079253531,"filename":"image_28012025_10_35_25_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332339743","file1":"1332339732","file0":"1332339676","file4":"1332339784","file5":"1332339812","file3":"1332339764"},"map_files_photo_id_array":[{"photo_id":"1332339812","filename":"file5"},{"photo_id":"1332339743","filename":"file2"},{"photo_id":"1332339784","filename":"file4"},{"photo_id":"1332339732","filename":"file1"},{"photo_id":"1332339676","filename":"file0"},{"photo_id":"1332339764","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332339764":["hashtag1","hashtag2"]},{"1332339743":["hashtag1","hashtag2"]},{"1332339812":["hashtag1","hashtag2"]},{"1332339784":["hashtag1","hashtag2"]},{"1332339676":["hashtag1","hashtag2"]},{"1332339732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332339764, 1332339743, 1332339812, 1332339784, 1332339676, 1332339732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.59881043434143 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:47:32.740816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/36/image_28012025_10_36_25_10448.jpg', '/home/pi/Desktop/images/28012025/10/36/image_28012025_10_36_35_9350.jpg', '/home/pi/Desktop/images/28012025/10/36/image_28012025_10_36_45_10361.jpg', '/home/pi/Desktop/images/28012025/10/36/image_28012025_10_36_55_10438.jpg', '/home/pi/Desktop/images/28012025/10/36/image_28012025_10_37_05_9341.jpg', '/home/pi/Desktop/images/28012025/10/37/image_28012025_10_37_15_10396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/36/image_28012025_10_36_25_10448.jpg
/home/pi/Desktop/images/28012025/10/36/image_28012025_10_36_35_9350.jpg
/home/pi/Desktop/images/28012025/10/36/image_28012025_10_36_45_10361.jpg
/home/pi/Desktop/images/28012025/10/36/image_28012025_10_36_55_10438.jpg
/home/pi/Desktop/images/28012025/10/36/image_28012025_10_37_05_9341.jpg
/home/pi/Desktop/images/28012025/10/37/image_28012025_10_37_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":["1332339905","1332339855","1332339900","1332339903","1332339896","1332339881"],"photo_ids_order":["1332339855","1332339881","1332339896","1332339900","1332339903","1332339905"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/28b6e3b15709351d97359624d8fcfb96.jpg","text":"TemporaryFile(/tmp/multipartBody3844490085632069145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079313739,"filename":"image_28012025_10_37_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/1/28/13eddb30504233d4c5315158c4ff7fce.jpg","text":"TemporaryFile(/tmp/multipartBody1519535190332832037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079313739,"filename":"image_28012025_10_36_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/1/28/139088361598eace96e3f90eb6f96a71.jpg","text":"TemporaryFile(/tmp/multipartBody4437882931334751056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079313739,"filename":"image_28012025_10_36_55_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/25092b71e4b53aad621aa55589557048.jpg","text":"TemporaryFile(/tmp/multipartBody1767572550152002886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079313739,"filename":"image_28012025_10_37_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/1/28/c16883b942a44b5ac6e5b1cb69f6f80e.jpg","text":"TemporaryFile(/tmp/multipartBody969353143811259754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079313739,"filename":"image_28012025_10_36_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/1/28/93bddba2e5396a495042aa0d86d1bc3e.jpg","text":"TemporaryFile(/tmp/multipartBody2277774692069351789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079313739,"filename":"image_28012025_10_36_35_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332339896","file1":"1332339881","file0":"1332339855","file4":"1332339903","file5":"1332339905","file3":"1332339900"},"map_files_photo_id_array":[{"photo_id":"1332339905","filename":"file5"},{"photo_id":"1332339896","filename":"file2"},{"photo_id":"1332339903","filename":"file4"},{"photo_id":"1332339881","filename":"file1"},{"photo_id":"1332339855","filename":"file0"},{"photo_id":"1332339900","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332339905":["hashtag1","hashtag2"]},{"1332339855":["hashtag1","hashtag2"]},{"1332339900":["hashtag1","hashtag2"]},{"1332339903":["hashtag1","hashtag2"]},{"1332339896":["hashtag1","hashtag2"]},{"1332339881":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332339905, 1332339855, 1332339900, 1332339903, 1332339896, 1332339881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.58065843582153 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:48:32.961723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/37/image_28012025_10_37_26_10360.jpg', '/home/pi/Desktop/images/28012025/10/37/image_28012025_10_37_35_9444.jpg', '/home/pi/Desktop/images/28012025/10/37/image_28012025_10_37_45_10437.jpg', '/home/pi/Desktop/images/28012025/10/37/image_28012025_10_37_55_9412.jpg', '/home/pi/Desktop/images/28012025/10/37/image_28012025_10_38_05_10381.jpg', '/home/pi/Desktop/images/28012025/10/38/image_28012025_10_38_15_9324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/37/image_28012025_10_37_26_10360.jpg
/home/pi/Desktop/images/28012025/10/37/image_28012025_10_37_35_9444.jpg
/home/pi/Desktop/images/28012025/10/37/image_28012025_10_37_45_10437.jpg
/home/pi/Desktop/images/28012025/10/37/image_28012025_10_37_55_9412.jpg
/home/pi/Desktop/images/28012025/10/37/image_28012025_10_38_05_10381.jpg
/home/pi/Desktop/images/28012025/10/38/image_28012025_10_38_15_9324.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332339923","1332339937","1332339919","1332339942","1332339945","1332339948"],"photo_ids_order":["1332339919","1332339923","1332339937","1332339942","1332339945","1332339948"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8b92adba3441d433b073210216d0467e.jpg","text":"TemporaryFile(/tmp/multipartBody7107712957090811397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079373970,"filename":"image_28012025_10_37_35_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8a20ac2c94b3fff3f76f7c6d4cd5757d.jpg","text":"TemporaryFile(/tmp/multipartBody3362325258695888495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079373970,"filename":"image_28012025_10_37_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/1/28/80a396cebf0417972d6cad8adc03cb5b.jpg","text":"TemporaryFile(/tmp/multipartBody9030308883486432241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079373970,"filename":"image_28012025_10_37_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/1/28/fef2feee6079a6ca4feaf2c7fce09f16.jpg","text":"TemporaryFile(/tmp/multipartBody4234914349895066364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079373970,"filename":"image_28012025_10_37_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/1/28/4de1507b557d1dad3df535df19452660.jpg","text":"TemporaryFile(/tmp/multipartBody5933563703711766529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079373970,"filename":"image_28012025_10_38_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/1/28/9f4387318645d6efa21138ff09808f48.jpg","text":"TemporaryFile(/tmp/multipartBody183313529794184526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079373970,"filename":"image_28012025_10_38_15_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332339937","file1":"1332339923","file0":"1332339919","file4":"1332339945","file5":"1332339948","file3":"1332339942"},"map_files_photo_id_array":[{"photo_id":"1332339948","filename":"file5"},{"photo_id":"1332339937","filename":"file2"},{"photo_id":"1332339945","filename":"file4"},{"photo_id":"1332339923","filename":"file1"},{"photo_id":"1332339919","filename":"file0"},{"photo_id":"1332339942","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332339923":["hashtag1","hashtag2"]},{"1332339937":["hashtag1","hashtag2"]},{"1332339919":["hashtag1","hashtag2"]},{"1332339942":["hashtag1","hashtag2"]},{"1332339945":["hashtag1","hashtag2"]},{"1332339948":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332339923, 1332339937, 1332339919, 1332339942, 1332339945, 1332339948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22548222541809 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:49:32.219301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/38/image_28012025_10_38_25_10463.jpg', '/home/pi/Desktop/images/28012025/10/38/image_28012025_10_38_35_10438.jpg', '/home/pi/Desktop/images/28012025/10/38/image_28012025_10_38_45_9353.jpg', '/home/pi/Desktop/images/28012025/10/38/image_28012025_10_38_55_10415.jpg', '/home/pi/Desktop/images/28012025/10/38/image_28012025_10_39_05_9340.jpg', '/home/pi/Desktop/images/28012025/10/39/image_28012025_10_39_15_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/38/image_28012025_10_38_25_10463.jpg
/home/pi/Desktop/images/28012025/10/38/image_28012025_10_38_35_10438.jpg
/home/pi/Desktop/images/28012025/10/38/image_28012025_10_38_45_9353.jpg
/home/pi/Desktop/images/28012025/10/38/image_28012025_10_38_55_10415.jpg
/home/pi/Desktop/images/28012025/10/38/image_28012025_10_39_05_9340.jpg
/home/pi/Desktop/images/28012025/10/39/image_28012025_10_39_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":["1332339962","1332339956","1332339981","1332339966","1332339980","1332339974"],"photo_ids_order":["1332339956","1332339962","1332339966","1332339974","1332339980","1332339981"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f74c451e4c8f219bda40e2c61cde5f37.jpg","text":"TemporaryFile(/tmp/multipartBody5217493753886136577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079433189,"filename":"image_28012025_10_38_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/1/28/169c5bc8c90fdad187ee3722396375cf.jpg","text":"TemporaryFile(/tmp/multipartBody5061284232989889995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079433189,"filename":"image_28012025_10_38_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/1/28/85ad27ef19458f1eb0c65e6b72974bbc.jpg","text":"TemporaryFile(/tmp/multipartBody1932248771409644590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079433189,"filename":"image_28012025_10_39_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/1/28/8a0cbb3412a35be603142f55b00bfe2b.jpg","text":"TemporaryFile(/tmp/multipartBody8269037101585384579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079433189,"filename":"image_28012025_10_38_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/1/28/df213c4e803281f78b9a874b62b7cf32.jpg","text":"TemporaryFile(/tmp/multipartBody4772225889530329858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079433189,"filename":"image_28012025_10_39_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/1/28/8debc44f65c0cc1fbaaa94cd788468b4.jpg","text":"TemporaryFile(/tmp/multipartBody4283301407833487696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079433189,"filename":"image_28012025_10_38_55_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332339966","file1":"1332339962","file0":"1332339956","file4":"1332339980","file5":"1332339981","file3":"1332339974"},"map_files_photo_id_array":[{"photo_id":"1332339981","filename":"file5"},{"photo_id":"1332339966","filename":"file2"},{"photo_id":"1332339980","filename":"file4"},{"photo_id":"1332339962","filename":"file1"},{"photo_id":"1332339956","filename":"file0"},{"photo_id":"1332339974","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332339962":["hashtag1","hashtag2"]},{"1332339956":["hashtag1","hashtag2"]},{"1332339981":["hashtag1","hashtag2"]},{"1332339966":["hashtag1","hashtag2"]},{"1332339980":["hashtag1","hashtag2"]},{"1332339974":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332339962, 1332339956, 1332339981, 1332339966, 1332339980, 1332339974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.77558636665344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:50:32.378307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/39/image_28012025_10_39_25_10438.jpg', '/home/pi/Desktop/images/28012025/10/39/image_28012025_10_39_35_9338.jpg', '/home/pi/Desktop/images/28012025/10/39/image_28012025_10_39_45_10341.jpg', '/home/pi/Desktop/images/28012025/10/39/image_28012025_10_39_56_10443.jpg', '/home/pi/Desktop/images/28012025/10/39/image_28012025_10_40_05_9338.jpg', '/home/pi/Desktop/images/28012025/10/40/image_28012025_10_40_15_10395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/39/image_28012025_10_39_25_10438.jpg
/home/pi/Desktop/images/28012025/10/39/image_28012025_10_39_35_9338.jpg
/home/pi/Desktop/images/28012025/10/39/image_28012025_10_39_45_10341.jpg
/home/pi/Desktop/images/28012025/10/39/image_28012025_10_39_56_10443.jpg
/home/pi/Desktop/images/28012025/10/39/image_28012025_10_40_05_9338.jpg
/home/pi/Desktop/images/28012025/10/40/image_28012025_10_40_15_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":["1332340212","1332340181","1332340109","1332340216","1332340219","1332340161"],"photo_ids_order":["1332340109","1332340161","1332340181","1332340212","1332340216","1332340219"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/54fe331a830b2e56c4f4fc96acd85401.jpg","text":"TemporaryFile(/tmp/multipartBody3833944891130852432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079493387,"filename":"image_28012025_10_39_56_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3201ba8dff3a974457d228ab53922380.jpg","text":"TemporaryFile(/tmp/multipartBody4856222756912616128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079493387,"filename":"image_28012025_10_39_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/1/28/0cc4df807b58da358e228a7b4ed7b04a.jpg","text":"TemporaryFile(/tmp/multipartBody159406668022750359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079493387,"filename":"image_28012025_10_39_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/1/28/473c551a92922db02be9d261a7aab607.jpg","text":"TemporaryFile(/tmp/multipartBody2600570970062439531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079493387,"filename":"image_28012025_10_40_05_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b26a3fb22fccf121db25815e5cd95a45.jpg","text":"TemporaryFile(/tmp/multipartBody99515565881669826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079493387,"filename":"image_28012025_10_40_15_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9a2d9a692ef8a42d89ec862bd1441b90.jpg","text":"TemporaryFile(/tmp/multipartBody5799020063975994050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079493387,"filename":"image_28012025_10_39_35_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332340181","file1":"1332340161","file0":"1332340109","file4":"1332340216","file5":"1332340219","file3":"1332340212"},"map_files_photo_id_array":[{"photo_id":"1332340219","filename":"file5"},{"photo_id":"1332340181","filename":"file2"},{"photo_id":"1332340216","filename":"file4"},{"photo_id":"1332340161","filename":"file1"},{"photo_id":"1332340109","filename":"file0"},{"photo_id":"1332340212","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332340212":["hashtag1","hashtag2"]},{"1332340181":["hashtag1","hashtag2"]},{"1332340109":["hashtag1","hashtag2"]},{"1332340216":["hashtag1","hashtag2"]},{"1332340219":["hashtag1","hashtag2"]},{"1332340161":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332340212, 1332340181, 1332340109, 1332340216, 1332340219, 1332340161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.305992603302 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:51:32.566581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/40/image_28012025_10_40_25_9346.jpg', '/home/pi/Desktop/images/28012025/10/40/image_28012025_10_40_35_10336.jpg', '/home/pi/Desktop/images/28012025/10/40/image_28012025_10_40_45_10458.jpg', '/home/pi/Desktop/images/28012025/10/40/image_28012025_10_40_55_9357.jpg', '/home/pi/Desktop/images/28012025/10/40/image_28012025_10_41_05_10338.jpg', '/home/pi/Desktop/images/28012025/10/41/image_28012025_10_41_16_10447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/40/image_28012025_10_40_25_9346.jpg
/home/pi/Desktop/images/28012025/10/40/image_28012025_10_40_35_10336.jpg
/home/pi/Desktop/images/28012025/10/40/image_28012025_10_40_45_10458.jpg
/home/pi/Desktop/images/28012025/10/40/image_28012025_10_40_55_9357.jpg
/home/pi/Desktop/images/28012025/10/40/image_28012025_10_41_05_10338.jpg
/home/pi/Desktop/images/28012025/10/41/image_28012025_10_41_16_10447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332340248","1332340259","1332340253","1332340241","1332340244","1332340257"],"photo_ids_order":["1332340241","1332340244","1332340248","1332340253","1332340257","1332340259"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fe5e31c22ddac6e08a60379acd87dad0.jpg","text":"TemporaryFile(/tmp/multipartBody3721871433833316104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079553545,"filename":"image_28012025_10_40_45_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8f1f459ed6b2f42c712a8d6844d94d9d.jpg","text":"TemporaryFile(/tmp/multipartBody5406469743180592180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079553545,"filename":"image_28012025_10_41_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/1/28/dac1313761172ea96516daa5e0be6b5b.jpg","text":"TemporaryFile(/tmp/multipartBody7779973811452418789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079553545,"filename":"image_28012025_10_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/1/28/947782fb7dc91d92225b87da8f02e1d3.jpg","text":"TemporaryFile(/tmp/multipartBody7257295942216909640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079553545,"filename":"image_28012025_10_40_25_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7c97579207dc061ea4cf4ea3b8f59b23.jpg","text":"TemporaryFile(/tmp/multipartBody5683928100930672786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079553545,"filename":"image_28012025_10_40_35_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/982477c9559965afaf5fa5f9f45f40f7.jpg","text":"TemporaryFile(/tmp/multipartBody6604608369496945744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079553545,"filename":"image_28012025_10_41_05_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332340248","file1":"1332340244","file0":"1332340241","file4":"1332340257","file5":"1332340259","file3":"1332340253"},"map_files_photo_id_array":[{"photo_id":"1332340259","filename":"file5"},{"photo_id":"1332340248","filename":"file2"},{"photo_id":"1332340257","filename":"file4"},{"photo_id":"1332340244","filename":"file1"},{"photo_id":"1332340241","filename":"file0"},{"photo_id":"1332340253","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332340248":["hashtag1","hashtag2"]},{"1332340259":["hashtag1","hashtag2"]},{"1332340253":["hashtag1","hashtag2"]},{"1332340241":["hashtag1","hashtag2"]},{"1332340244":["hashtag1","hashtag2"]},{"1332340257":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332340248, 1332340259, 1332340253, 1332340241, 1332340244, 1332340257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09097337722778 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:52:33.108076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/41/image_28012025_10_41_25_9257.jpg', '/home/pi/Desktop/images/28012025/10/41/image_28012025_10_41_35_10337.jpg', '/home/pi/Desktop/images/28012025/10/41/image_28012025_10_41_46_10428.jpg', '/home/pi/Desktop/images/28012025/10/41/image_28012025_10_41_55_9350.jpg', '/home/pi/Desktop/images/28012025/10/41/image_28012025_10_42_05_10397.jpg', '/home/pi/Desktop/images/28012025/10/42/image_28012025_10_42_15_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/41/image_28012025_10_41_25_9257.jpg
/home/pi/Desktop/images/28012025/10/41/image_28012025_10_41_35_10337.jpg
/home/pi/Desktop/images/28012025/10/41/image_28012025_10_41_46_10428.jpg
/home/pi/Desktop/images/28012025/10/41/image_28012025_10_41_55_9350.jpg
/home/pi/Desktop/images/28012025/10/41/image_28012025_10_42_05_10397.jpg
/home/pi/Desktop/images/28012025/10/42/image_28012025_10_42_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":["1332340314","1332340340","1332340310","1332340327","1332340312","1332340338"],"photo_ids_order":["1332340310","1332340312","1332340314","1332340327","1332340338","1332340340"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/adf571c23214401274ed532a5b76effa.jpg","text":"TemporaryFile(/tmp/multipartBody508577677737893504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079614089,"filename":"image_28012025_10_41_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/1/28/628731a49b9006025217d43c1714b4cf.jpg","text":"TemporaryFile(/tmp/multipartBody7929219712635370713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079614089,"filename":"image_28012025_10_42_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/1/28/1a7768cc7c410c8b4b46bc9858f0d66f.jpg","text":"TemporaryFile(/tmp/multipartBody7582005791395802738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079614089,"filename":"image_28012025_10_41_25_9257.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d3290094f4d1afcdaa1c568bf2c0ac36.jpg","text":"TemporaryFile(/tmp/multipartBody4555913284779078785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079614089,"filename":"image_28012025_10_41_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/1/28/98baf6a3171375af5b94ab60519be061.jpg","text":"TemporaryFile(/tmp/multipartBody7749177594537519676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079614089,"filename":"image_28012025_10_41_35_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9c9d777892fe06370c86524f554833d6.jpg","text":"TemporaryFile(/tmp/multipartBody4680130349095632716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079614089,"filename":"image_28012025_10_42_05_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332340314","file1":"1332340312","file0":"1332340310","file4":"1332340338","file5":"1332340340","file3":"1332340327"},"map_files_photo_id_array":[{"photo_id":"1332340340","filename":"file5"},{"photo_id":"1332340314","filename":"file2"},{"photo_id":"1332340338","filename":"file4"},{"photo_id":"1332340312","filename":"file1"},{"photo_id":"1332340310","filename":"file0"},{"photo_id":"1332340327","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332340314":["hashtag1","hashtag2"]},{"1332340340":["hashtag1","hashtag2"]},{"1332340310":["hashtag1","hashtag2"]},{"1332340327":["hashtag1","hashtag2"]},{"1332340312":["hashtag1","hashtag2"]},{"1332340338":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332340314, 1332340340, 1332340310, 1332340327, 1332340312, 1332340338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77329134941101 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:53:32.181704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/42/image_28012025_10_42_25_10356.jpg', '/home/pi/Desktop/images/28012025/10/42/image_28012025_10_42_35_10421.jpg', '/home/pi/Desktop/images/28012025/10/42/image_28012025_10_42_45_9338.jpg', '/home/pi/Desktop/images/28012025/10/42/image_28012025_10_42_55_10483.jpg', '/home/pi/Desktop/images/28012025/10/42/image_28012025_10_43_06_10332.jpg', '/home/pi/Desktop/images/28012025/10/43/image_28012025_10_43_15_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/42/image_28012025_10_42_25_10356.jpg
/home/pi/Desktop/images/28012025/10/42/image_28012025_10_42_35_10421.jpg
/home/pi/Desktop/images/28012025/10/42/image_28012025_10_42_45_9338.jpg
/home/pi/Desktop/images/28012025/10/42/image_28012025_10_42_55_10483.jpg
/home/pi/Desktop/images/28012025/10/42/image_28012025_10_43_06_10332.jpg
/home/pi/Desktop/images/28012025/10/43/image_28012025_10_43_15_9328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332340391","1332340373","1332340412","1332340415","1332340393","1332340389"],"photo_ids_order":["1332340373","1332340389","1332340391","1332340393","1332340412","1332340415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/283e648f2969c6db0cbad84f8d9c3d4a.jpg","text":"TemporaryFile(/tmp/multipartBody1176652899419384126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079673156,"filename":"image_28012025_10_42_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/1/28/1b663029266464dd3b1c346ecc0c203d.jpg","text":"TemporaryFile(/tmp/multipartBody1807990709450288653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079673156,"filename":"image_28012025_10_42_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/1/28/f4412a0d4a0fad25a814cdc4b2e80555.jpg","text":"TemporaryFile(/tmp/multipartBody5474716498041849575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079673156,"filename":"image_28012025_10_43_06_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/91773bb6743f49be43fd7dda3a3fc495.jpg","text":"TemporaryFile(/tmp/multipartBody6701613073598231903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079673156,"filename":"image_28012025_10_43_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/1/28/4ceff1bd4e7ca641045fe23dafc037e0.jpg","text":"TemporaryFile(/tmp/multipartBody3235938242532958690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079673156,"filename":"image_28012025_10_42_55_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1439506461d75e58a7fd4a79cfb90b9b.jpg","text":"TemporaryFile(/tmp/multipartBody557941704599352478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079673156,"filename":"image_28012025_10_42_35_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332340391","file1":"1332340389","file0":"1332340373","file4":"1332340412","file5":"1332340415","file3":"1332340393"},"map_files_photo_id_array":[{"photo_id":"1332340415","filename":"file5"},{"photo_id":"1332340391","filename":"file2"},{"photo_id":"1332340412","filename":"file4"},{"photo_id":"1332340389","filename":"file1"},{"photo_id":"1332340373","filename":"file0"},{"photo_id":"1332340393","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332340391":["hashtag1","hashtag2"]},{"1332340373":["hashtag1","hashtag2"]},{"1332340412":["hashtag1","hashtag2"]},{"1332340415":["hashtag1","hashtag2"]},{"1332340393":["hashtag1","hashtag2"]},{"1332340389":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332340391, 1332340373, 1332340412, 1332340415, 1332340393, 1332340389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.970701932907104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:54:32.428419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/43/image_28012025_10_43_25_10413.jpg', '/home/pi/Desktop/images/28012025/10/43/image_28012025_10_43_35_9408.jpg', '/home/pi/Desktop/images/28012025/10/43/image_28012025_10_43_45_10358.jpg', '/home/pi/Desktop/images/28012025/10/43/image_28012025_10_43_55_10408.jpg', '/home/pi/Desktop/images/28012025/10/43/image_28012025_10_44_05_9335.jpg', '/home/pi/Desktop/images/28012025/10/44/image_28012025_10_44_15_10465.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/43/image_28012025_10_43_25_10413.jpg
/home/pi/Desktop/images/28012025/10/43/image_28012025_10_43_35_9408.jpg
/home/pi/Desktop/images/28012025/10/43/image_28012025_10_43_45_10358.jpg
/home/pi/Desktop/images/28012025/10/43/image_28012025_10_43_55_10408.jpg
/home/pi/Desktop/images/28012025/10/43/image_28012025_10_44_05_9335.jpg
/home/pi/Desktop/images/28012025/10/44/image_28012025_10_44_15_10465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332340468","1332340465","1332340452","1332340461","1332340455","1332340458"],"photo_ids_order":["1332340452","1332340455","1332340458","1332340461","1332340465","1332340468"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/12be9c17ad49fd68c70b4b5f5c744785.jpg","text":"TemporaryFile(/tmp/multipartBody2661750589299212432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079733412,"filename":"image_28012025_10_44_15_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/46b0d98e7723e1034452b441e4073eab.jpg","text":"TemporaryFile(/tmp/multipartBody4971675132030775324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079733412,"filename":"image_28012025_10_44_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/1/28/163bb2fd5c20d9dbfe1d1455023105fc.jpg","text":"TemporaryFile(/tmp/multipartBody5415246500468305804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079733412,"filename":"image_28012025_10_43_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/1/28/50d092788df73844ee8019e995f03124.jpg","text":"TemporaryFile(/tmp/multipartBody5580886096121458193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079733412,"filename":"image_28012025_10_43_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/1/28/e3383ed271477c96ce9c406c7985c747.jpg","text":"TemporaryFile(/tmp/multipartBody715395628588909521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079733412,"filename":"image_28012025_10_43_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/1/28/04b85ed2210b86a124a6ef52da926d50.jpg","text":"TemporaryFile(/tmp/multipartBody6255388222470927511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079733412,"filename":"image_28012025_10_43_45_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332340458","file1":"1332340455","file0":"1332340452","file4":"1332340465","file5":"1332340468","file3":"1332340461"},"map_files_photo_id_array":[{"photo_id":"1332340468","filename":"file5"},{"photo_id":"1332340458","filename":"file2"},{"photo_id":"1332340465","filename":"file4"},{"photo_id":"1332340455","filename":"file1"},{"photo_id":"1332340452","filename":"file0"},{"photo_id":"1332340461","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332340468":["hashtag1","hashtag2"]},{"1332340465":["hashtag1","hashtag2"]},{"1332340452":["hashtag1","hashtag2"]},{"1332340461":["hashtag1","hashtag2"]},{"1332340455":["hashtag1","hashtag2"]},{"1332340458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332340468, 1332340465, 1332340452, 1332340461, 1332340455, 1332340458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.02607846260071 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:55:32.754760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/44/image_28012025_10_44_25_9358.jpg', '/home/pi/Desktop/images/28012025/10/44/image_28012025_10_44_35_10342.jpg', '/home/pi/Desktop/images/28012025/10/44/image_28012025_10_44_46_10562.jpg', '/home/pi/Desktop/images/28012025/10/44/image_28012025_10_44_55_9333.jpg', '/home/pi/Desktop/images/28012025/10/44/image_28012025_10_45_05_10458.jpg', '/home/pi/Desktop/images/28012025/10/45/image_28012025_10_45_15_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/44/image_28012025_10_44_25_9358.jpg
/home/pi/Desktop/images/28012025/10/44/image_28012025_10_44_35_10342.jpg
/home/pi/Desktop/images/28012025/10/44/image_28012025_10_44_46_10562.jpg
/home/pi/Desktop/images/28012025/10/44/image_28012025_10_44_55_9333.jpg
/home/pi/Desktop/images/28012025/10/44/image_28012025_10_45_05_10458.jpg
/home/pi/Desktop/images/28012025/10/45/image_28012025_10_45_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":["1332340617","1332340675","1332340720","1332340711","1332340612","1332340614"],"photo_ids_order":["1332340612","1332340614","1332340617","1332340675","1332340711","1332340720"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2c5c845d74f065b3f6c6701e3ffd3456.jpg","text":"TemporaryFile(/tmp/multipartBody9099000219842488994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079793834,"filename":"image_28012025_10_44_46_10562.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/59a9a0f129a036943a7a7fae37e5f26f.jpg","text":"TemporaryFile(/tmp/multipartBody3162495291871096691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079793834,"filename":"image_28012025_10_44_55_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f7346562c2e51bd3ecdf9722b9110a35.jpg","text":"TemporaryFile(/tmp/multipartBody7544472604915201196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079793834,"filename":"image_28012025_10_45_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/1/28/d03ff5cd71d20b1d58bc851cb6714742.jpg","text":"TemporaryFile(/tmp/multipartBody1430748239486024308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079793834,"filename":"image_28012025_10_45_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/1/28/f090f88132a583b47f510ba43fe9b936.jpg","text":"TemporaryFile(/tmp/multipartBody2083341096808014196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079793834,"filename":"image_28012025_10_44_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/1/28/ce1d5d859dbf24b87ae0d9b3a8ddf233.jpg","text":"TemporaryFile(/tmp/multipartBody2255877354948013762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079793834,"filename":"image_28012025_10_44_35_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332340617","file1":"1332340614","file0":"1332340612","file4":"1332340711","file5":"1332340720","file3":"1332340675"},"map_files_photo_id_array":[{"photo_id":"1332340720","filename":"file5"},{"photo_id":"1332340617","filename":"file2"},{"photo_id":"1332340711","filename":"file4"},{"photo_id":"1332340614","filename":"file1"},{"photo_id":"1332340612","filename":"file0"},{"photo_id":"1332340675","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332340617":["hashtag1","hashtag2"]},{"1332340675":["hashtag1","hashtag2"]},{"1332340720":["hashtag1","hashtag2"]},{"1332340711":["hashtag1","hashtag2"]},{"1332340612":["hashtag1","hashtag2"]},{"1332340614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332340617, 1332340675, 1332340720, 1332340711, 1332340612, 1332340614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45081448554993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:56:32.946894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/45/image_28012025_10_45_25_10355.jpg', '/home/pi/Desktop/images/28012025/10/45/image_28012025_10_45_35_10346.jpg', '/home/pi/Desktop/images/28012025/10/45/image_28012025_10_45_45_9359.jpg', '/home/pi/Desktop/images/28012025/10/45/image_28012025_10_45_55_10350.jpg', '/home/pi/Desktop/images/28012025/10/45/image_28012025_10_46_06_10450.jpg', '/home/pi/Desktop/images/28012025/10/46/image_28012025_10_46_15_9329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/45/image_28012025_10_45_25_10355.jpg
/home/pi/Desktop/images/28012025/10/45/image_28012025_10_45_35_10346.jpg
/home/pi/Desktop/images/28012025/10/45/image_28012025_10_45_45_9359.jpg
/home/pi/Desktop/images/28012025/10/45/image_28012025_10_45_55_10350.jpg
/home/pi/Desktop/images/28012025/10/45/image_28012025_10_46_06_10450.jpg
/home/pi/Desktop/images/28012025/10/46/image_28012025_10_46_15_9329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332340889","1332340853","1332340856","1332340829","1332340850","1332340854"],"photo_ids_order":["1332340829","1332340850","1332340853","1332340854","1332340856","1332340889"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/545975f806db8db7e5295998fb2826a2.jpg","text":"TemporaryFile(/tmp/multipartBody1731877435723126040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079853941,"filename":"image_28012025_10_46_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/1/28/24ac7c5efeee56b508da75c94fe0caea.jpg","text":"TemporaryFile(/tmp/multipartBody4856823716758444185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079853941,"filename":"image_28012025_10_45_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/1/28/2bbc65aa082213824815085727f97edd.jpg","text":"TemporaryFile(/tmp/multipartBody8839428351562540518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079853941,"filename":"image_28012025_10_46_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/1/28/6b8013acf78eac4263b464e55c33cec3.jpg","text":"TemporaryFile(/tmp/multipartBody2853932706691344512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079853941,"filename":"image_28012025_10_45_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/1/28/97aeb72099c2dd3a32942cea5e714a22.jpg","text":"TemporaryFile(/tmp/multipartBody2407552571359830335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079853941,"filename":"image_28012025_10_45_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/1/28/eca1259019900cae5d0da32905b64528.jpg","text":"TemporaryFile(/tmp/multipartBody7920647607325379310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738079853941,"filename":"image_28012025_10_45_55_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332340853","file1":"1332340850","file0":"1332340829","file4":"1332340856","file5":"1332340889","file3":"1332340854"},"map_files_photo_id_array":[{"photo_id":"1332340889","filename":"file5"},{"photo_id":"1332340853","filename":"file2"},{"photo_id":"1332340856","filename":"file4"},{"photo_id":"1332340850","filename":"file1"},{"photo_id":"1332340829","filename":"file0"},{"photo_id":"1332340854","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332340889":["hashtag1","hashtag2"]},{"1332340853":["hashtag1","hashtag2"]},{"1332340856":["hashtag1","hashtag2"]},{"1332340829":["hashtag1","hashtag2"]},{"1332340850":["hashtag1","hashtag2"]},{"1332340854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332340889, 1332340853, 1332340856, 1332340829, 1332340850, 1332340854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.15406537055969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 16:57:32.239312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/46/image_28012025_10_46_25_10496.jpg', '/home/pi/Desktop/images/28012025/10/46/image_28012025_10_46_35_9354.jpg', '/home/pi/Desktop/images/28012025/10/46/image_28012025_10_46_45_10346.jpg', '/home/pi/Desktop/images/28012025/10/46/image_28012025_10_46_56_10441.jpg', '/home/pi/Desktop/images/28012025/10/46/image_28012025_10_47_05_9332.jpg', '/home/pi/Desktop/images/28012025/10/47/image_28012025_10_47_15_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/46/image_28012025_10_46_25_10496.jpg
/home/pi/Desktop/images/28012025/10/46/image_28012025_10_46_35_9354.jpg
/home/pi/Desktop/images/28012025/10/46/image_28012025_10_46_45_10346.jpg
/home/pi/Desktop/images/28012025/10/46/image_28012025_10_46_56_10441.jpg
/home/pi/Desktop/images/28012025/10/46/image_28012025_10_47_05_9332.jpg
/home/pi/Desktop/images/28012025/10/47/image_28012025_10_47_15_10419.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 www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 16:59:03.527736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/46/image_28012025_10_46_25_10496.jpg', '/home/pi/Desktop/images/28012025/10/46/image_28012025_10_46_35_9354.jpg', '/home/pi/Desktop/images/28012025/10/46/image_28012025_10_46_45_10346.jpg', '/home/pi/Desktop/images/28012025/10/46/image_28012025_10_46_56_10441.jpg', '/home/pi/Desktop/images/28012025/10/46/image_28012025_10_47_05_9332.jpg', '/home/pi/Desktop/images/28012025/10/47/image_28012025_10_47_15_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/46/image_28012025_10_46_25_10496.jpg
/home/pi/Desktop/images/28012025/10/46/image_28012025_10_46_35_9354.jpg
/home/pi/Desktop/images/28012025/10/46/image_28012025_10_46_45_10346.jpg
/home/pi/Desktop/images/28012025/10/46/image_28012025_10_46_56_10441.jpg
/home/pi/Desktop/images/28012025/10/46/image_28012025_10_47_05_9332.jpg
/home/pi/Desktop/images/28012025/10/47/image_28012025_10_47_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":["1332341080","1332341091","1332341085","1332341073","1332341076","1332341096"],"photo_ids_order":["1332341073","1332341076","1332341080","1332341085","1332341091","1332341096"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bb5528deb606ed4c6a8933f25c4b12dc.jpg","text":"TemporaryFile(/tmp/multipartBody4385869714600395692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080004513,"filename":"image_28012025_10_46_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/1/28/fd072df4d6b9ff884b3fc8e05e847d26.jpg","text":"TemporaryFile(/tmp/multipartBody7662784533371526975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080004513,"filename":"image_28012025_10_47_05_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5b896ffe3e1a6a81362029e9c3858275.jpg","text":"TemporaryFile(/tmp/multipartBody3606660791419291035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080004513,"filename":"image_28012025_10_46_56_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/12104f89b10d2ec4424591da89ea0471.jpg","text":"TemporaryFile(/tmp/multipartBody7344597821590441547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080004513,"filename":"image_28012025_10_46_25_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/76eeda6dd8406eac20afc9582e8e86f1.jpg","text":"TemporaryFile(/tmp/multipartBody6305272887422695279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080004513,"filename":"image_28012025_10_46_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/1/28/2b66c68ff99e13304577441ced891dd3.jpg","text":"TemporaryFile(/tmp/multipartBody2570337079111841587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080004513,"filename":"image_28012025_10_47_15_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332341080","file1":"1332341076","file0":"1332341073","file4":"1332341091","file5":"1332341096","file3":"1332341085"},"map_files_photo_id_array":[{"photo_id":"1332341096","filename":"file5"},{"photo_id":"1332341080","filename":"file2"},{"photo_id":"1332341091","filename":"file4"},{"photo_id":"1332341076","filename":"file1"},{"photo_id":"1332341073","filename":"file0"},{"photo_id":"1332341085","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332341080":["hashtag1","hashtag2"]},{"1332341091":["hashtag1","hashtag2"]},{"1332341085":["hashtag1","hashtag2"]},{"1332341073":["hashtag1","hashtag2"]},{"1332341076":["hashtag1","hashtag2"]},{"1332341096":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332341080, 1332341091, 1332341085, 1332341073, 1332341076, 1332341096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.900108098983765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 16:59:52.313626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/23/image_23012025_23_23_26_10362.jpg', '/home/pi/Desktop/images/23012025/23/23/image_23012025_23_23_36_9489.jpg', '/home/pi/Desktop/images/23012025/23/23/image_23012025_23_23_46_10402.jpg', '/home/pi/Desktop/images/23012025/23/23/image_23012025_23_23_57_10356.jpg', '/home/pi/Desktop/images/23012025/23/23/image_23012025_23_24_06_9338.jpg', '/home/pi/Desktop/images/23012025/23/24/image_23012025_23_24_16_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/23/image_23012025_23_23_26_10362.jpg
/home/pi/Desktop/images/23012025/23/23/image_23012025_23_23_36_9489.jpg
/home/pi/Desktop/images/23012025/23/23/image_23012025_23_23_46_10402.jpg
/home/pi/Desktop/images/23012025/23/23/image_23012025_23_23_57_10356.jpg
/home/pi/Desktop/images/23012025/23/23/image_23012025_23_24_06_9338.jpg
/home/pi/Desktop/images/23012025/23/24/image_23012025_23_24_16_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332341126","1332341113","1332341122","1332341124","1332341118","1332341115"],"photo_ids_order":["1332341113","1332341115","1332341118","1332341122","1332341124","1332341126"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/33da5ffcb380bae4e89a9ba29f9f3d4f.jpg","text":"TemporaryFile(/tmp/multipartBody466810584061436440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080054420,"filename":"image_23012025_23_24_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/1/28/8222df75ca5a18c1457e676bddbb353b.jpg","text":"TemporaryFile(/tmp/multipartBody4040156633564688114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080054420,"filename":"image_23012025_23_23_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/1/28/94c7e538940d55d1d0df9aeef575e3b6.jpg","text":"TemporaryFile(/tmp/multipartBody6487091167943457340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080054420,"filename":"image_23012025_23_23_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/1/28/f51cf20c9f78629f1a244080f53e4d67.jpg","text":"TemporaryFile(/tmp/multipartBody4304929895714135544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080054420,"filename":"image_23012025_23_24_06_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b39074c52b492e2ae7a95433dea20e91.jpg","text":"TemporaryFile(/tmp/multipartBody3258528474432843201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080054420,"filename":"image_23012025_23_23_46_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8e30f17e5f6703b4266bf360370da390.jpg","text":"TemporaryFile(/tmp/multipartBody2197078900817579020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080054420,"filename":"image_23012025_23_23_36_9489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332341118","file1":"1332341115","file0":"1332341113","file4":"1332341124","file5":"1332341126","file3":"1332341122"},"map_files_photo_id_array":[{"photo_id":"1332341126","filename":"file5"},{"photo_id":"1332341118","filename":"file2"},{"photo_id":"1332341124","filename":"file4"},{"photo_id":"1332341115","filename":"file1"},{"photo_id":"1332341113","filename":"file0"},{"photo_id":"1332341122","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332341126":["hashtag1","hashtag2"]},{"1332341113":["hashtag1","hashtag2"]},{"1332341122":["hashtag1","hashtag2"]},{"1332341124":["hashtag1","hashtag2"]},{"1332341118":["hashtag1","hashtag2"]},{"1332341115":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332341126, 1332341113, 1332341122, 1332341124, 1332341118, 1332341115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.94011187553406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 17:00:42.612973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/47/image_28012025_10_47_25_9375.jpg', '/home/pi/Desktop/images/28012025/10/47/image_28012025_10_47_35_10333.jpg', '/home/pi/Desktop/images/28012025/10/47/image_28012025_10_47_45_10436.jpg', '/home/pi/Desktop/images/28012025/10/47/image_28012025_10_47_55_9468.jpg', '/home/pi/Desktop/images/28012025/10/47/image_28012025_10_48_05_10433.jpg', '/home/pi/Desktop/images/28012025/10/48/image_28012025_10_48_15_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/47/image_28012025_10_47_25_9375.jpg
/home/pi/Desktop/images/28012025/10/47/image_28012025_10_47_35_10333.jpg
/home/pi/Desktop/images/28012025/10/47/image_28012025_10_47_45_10436.jpg
/home/pi/Desktop/images/28012025/10/47/image_28012025_10_47_55_9468.jpg
/home/pi/Desktop/images/28012025/10/47/image_28012025_10_48_05_10433.jpg
/home/pi/Desktop/images/28012025/10/48/image_28012025_10_48_15_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332341351","1332341333","1332341336","1332341347","1332341338","1332341295"],"photo_ids_order":["1332341295","1332341333","1332341336","1332341338","1332341347","1332341351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/797aaa9bbe8b36e49a61a6a31717e81a.jpg","text":"TemporaryFile(/tmp/multipartBody2259317367217605434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080103612,"filename":"image_28012025_10_48_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/1/28/84b93a899a3572adda20b36a455b11db.jpg","text":"TemporaryFile(/tmp/multipartBody2501698355921478975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080103612,"filename":"image_28012025_10_47_35_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5cff1b30df0ffd38d857f0b27d52a1c4.jpg","text":"TemporaryFile(/tmp/multipartBody5857411873769463155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080103612,"filename":"image_28012025_10_47_45_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d60a9fafc17ef66872bf6e098019b0f3.jpg","text":"TemporaryFile(/tmp/multipartBody1898406459974975314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080103612,"filename":"image_28012025_10_48_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/1/28/218a899cc6047409f00679960e953796.jpg","text":"TemporaryFile(/tmp/multipartBody312394078706249996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080103612,"filename":"image_28012025_10_47_55_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fb033457aeb23d50847346800d4a5df0.jpg","text":"TemporaryFile(/tmp/multipartBody7134650544773386614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080103612,"filename":"image_28012025_10_47_25_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332341336","file1":"1332341333","file0":"1332341295","file4":"1332341347","file5":"1332341351","file3":"1332341338"},"map_files_photo_id_array":[{"photo_id":"1332341351","filename":"file5"},{"photo_id":"1332341336","filename":"file2"},{"photo_id":"1332341347","filename":"file4"},{"photo_id":"1332341333","filename":"file1"},{"photo_id":"1332341295","filename":"file0"},{"photo_id":"1332341338","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332341351":["hashtag1","hashtag2"]},{"1332341333":["hashtag1","hashtag2"]},{"1332341336":["hashtag1","hashtag2"]},{"1332341347":["hashtag1","hashtag2"]},{"1332341338":["hashtag1","hashtag2"]},{"1332341295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332341351, 1332341333, 1332341336, 1332341347, 1332341338, 1332341295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.214818477630615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:01:32.733521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/48/image_28012025_10_48_25_10325.jpg', '/home/pi/Desktop/images/28012025/10/48/image_28012025_10_48_35_10460.jpg', '/home/pi/Desktop/images/28012025/10/48/image_28012025_10_48_55_10342.jpg', '/home/pi/Desktop/images/28012025/10/48/image_28012025_10_49_05_10350.jpg', '/home/pi/Desktop/images/28012025/10/49/image_28012025_10_49_15_9319.jpg', '/home/pi/Desktop/images/28012025/10/49/image_28012025_10_49_25_10436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/48/image_28012025_10_48_25_10325.jpg
/home/pi/Desktop/images/28012025/10/48/image_28012025_10_48_35_10460.jpg
/home/pi/Desktop/images/28012025/10/48/image_28012025_10_48_55_10342.jpg
/home/pi/Desktop/images/28012025/10/48/image_28012025_10_49_05_10350.jpg
/home/pi/Desktop/images/28012025/10/49/image_28012025_10_49_15_9319.jpg
/home/pi/Desktop/images/28012025/10/49/image_28012025_10_49_25_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":["1332341399","1332341392","1332341386","1332341389","1332341401","1332341396"],"photo_ids_order":["1332341386","1332341389","1332341392","1332341396","1332341399","1332341401"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/20ff63f2b662e7689cc29f7988acb4d5.jpg","text":"TemporaryFile(/tmp/multipartBody322718122458460867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080153724,"filename":"image_28012025_10_49_15_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b61b3b7b4cb158d01da565e2e24ac20d.jpg","text":"TemporaryFile(/tmp/multipartBody6057124642462253113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080153724,"filename":"image_28012025_10_48_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/1/28/453b5cac014d7e36351f439c64bc3a1e.jpg","text":"TemporaryFile(/tmp/multipartBody298252200716547791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080153724,"filename":"image_28012025_10_48_25_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3b081767864bd4fadc5c12de653fe458.jpg","text":"TemporaryFile(/tmp/multipartBody3693077421229349263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080153724,"filename":"image_28012025_10_48_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/1/28/e4a6fada8de0ff2fd6312e15df08e83d.jpg","text":"TemporaryFile(/tmp/multipartBody6895278662311921286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080153724,"filename":"image_28012025_10_49_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/1/28/527a26761efe02bf90ca22f579bec798.jpg","text":"TemporaryFile(/tmp/multipartBody4622879127308423870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080153724,"filename":"image_28012025_10_49_05_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332341392","file1":"1332341389","file0":"1332341386","file4":"1332341399","file5":"1332341401","file3":"1332341396"},"map_files_photo_id_array":[{"photo_id":"1332341401","filename":"file5"},{"photo_id":"1332341392","filename":"file2"},{"photo_id":"1332341399","filename":"file4"},{"photo_id":"1332341389","filename":"file1"},{"photo_id":"1332341386","filename":"file0"},{"photo_id":"1332341396","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332341399":["hashtag1","hashtag2"]},{"1332341392":["hashtag1","hashtag2"]},{"1332341386":["hashtag1","hashtag2"]},{"1332341389":["hashtag1","hashtag2"]},{"1332341401":["hashtag1","hashtag2"]},{"1332341396":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332341399, 1332341392, 1332341386, 1332341389, 1332341401, 1332341396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93524408340454 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:02:32.895153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/49/image_28012025_10_49_36_10347.jpg', '/home/pi/Desktop/images/28012025/10/49/image_28012025_10_49_45_9335.jpg', '/home/pi/Desktop/images/28012025/10/49/image_28012025_10_49_55_10426.jpg', '/home/pi/Desktop/images/28012025/10/49/image_28012025_10_50_05_9322.jpg', '/home/pi/Desktop/images/28012025/10/50/image_28012025_10_50_15_10351.jpg', '/home/pi/Desktop/images/28012025/10/50/image_28012025_10_50_25_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/49/image_28012025_10_49_36_10347.jpg
/home/pi/Desktop/images/28012025/10/49/image_28012025_10_49_45_9335.jpg
/home/pi/Desktop/images/28012025/10/49/image_28012025_10_49_55_10426.jpg
/home/pi/Desktop/images/28012025/10/49/image_28012025_10_50_05_9322.jpg
/home/pi/Desktop/images/28012025/10/50/image_28012025_10_50_15_10351.jpg
/home/pi/Desktop/images/28012025/10/50/image_28012025_10_50_25_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":["1332341432","1332341428","1332341422","1332341425","1332341433","1332341436"],"photo_ids_order":["1332341422","1332341425","1332341428","1332341432","1332341433","1332341436"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f19b308d522e5fadf7c728f0bc0dbf98.jpg","text":"TemporaryFile(/tmp/multipartBody4164044632961007198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080213878,"filename":"image_28012025_10_50_05_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e1ddde1c6664c860cd56db9e4a879351.jpg","text":"TemporaryFile(/tmp/multipartBody8324714233687410006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080213878,"filename":"image_28012025_10_49_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/1/28/4a6be0bf684d42a255390939d9e45e6b.jpg","text":"TemporaryFile(/tmp/multipartBody1440060424742639808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080213878,"filename":"image_28012025_10_49_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/1/28/8f31a84ec7a8884cd58973250397a212.jpg","text":"TemporaryFile(/tmp/multipartBody4493529603331803401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080213878,"filename":"image_28012025_10_49_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/1/28/6669506b4270604f95341e7eb9983140.jpg","text":"TemporaryFile(/tmp/multipartBody9132717671041411253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080213878,"filename":"image_28012025_10_50_15_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4db8d366ddbbfd054e464cb17e4495bb.jpg","text":"TemporaryFile(/tmp/multipartBody820943275505931772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080213878,"filename":"image_28012025_10_50_25_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332341428","file1":"1332341425","file0":"1332341422","file4":"1332341433","file5":"1332341436","file3":"1332341432"},"map_files_photo_id_array":[{"photo_id":"1332341436","filename":"file5"},{"photo_id":"1332341428","filename":"file2"},{"photo_id":"1332341433","filename":"file4"},{"photo_id":"1332341425","filename":"file1"},{"photo_id":"1332341422","filename":"file0"},{"photo_id":"1332341432","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332341432":["hashtag1","hashtag2"]},{"1332341428":["hashtag1","hashtag2"]},{"1332341422":["hashtag1","hashtag2"]},{"1332341425":["hashtag1","hashtag2"]},{"1332341433":["hashtag1","hashtag2"]},{"1332341436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332341432, 1332341428, 1332341422, 1332341425, 1332341433, 1332341436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.110074281692505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:03:33.167727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/50/image_28012025_10_50_35_9348.jpg', '/home/pi/Desktop/images/28012025/10/50/image_28012025_10_50_45_10368.jpg', '/home/pi/Desktop/images/28012025/10/50/image_28012025_10_50_55_10401.jpg', '/home/pi/Desktop/images/28012025/10/50/image_28012025_10_51_05_9347.jpg', '/home/pi/Desktop/images/28012025/10/51/image_28012025_10_51_15_10424.jpg', '/home/pi/Desktop/images/28012025/10/51/image_28012025_10_51_25_9431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/50/image_28012025_10_50_35_9348.jpg
/home/pi/Desktop/images/28012025/10/50/image_28012025_10_50_45_10368.jpg
/home/pi/Desktop/images/28012025/10/50/image_28012025_10_50_55_10401.jpg
/home/pi/Desktop/images/28012025/10/50/image_28012025_10_51_05_9347.jpg
/home/pi/Desktop/images/28012025/10/51/image_28012025_10_51_15_10424.jpg
/home/pi/Desktop/images/28012025/10/51/image_28012025_10_51_25_9431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332341504","1332341497","1332341575","1332341509","1332341500","1332341512"],"photo_ids_order":["1332341497","1332341500","1332341504","1332341509","1332341512","1332341575"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fafd44d98fac3e9666fc732a8c55bbe6.jpg","text":"TemporaryFile(/tmp/multipartBody8803869666742931689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080276468,"filename":"image_28012025_10_50_55_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e746e045234697682861edd2f1757b24.jpg","text":"TemporaryFile(/tmp/multipartBody6345798618893841400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080276468,"filename":"image_28012025_10_50_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/1/28/63465fc5e81fe44c68d5083a18061b95.jpg","text":"TemporaryFile(/tmp/multipartBody3828566195243012959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080276468,"filename":"image_28012025_10_51_25_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f046bc6449ea0b06982487c6e6e79af4.jpg","text":"TemporaryFile(/tmp/multipartBody4262230736290898746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080276468,"filename":"image_28012025_10_51_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/1/28/61e4de32d6d8256621d24cf34ca94ca2.jpg","text":"TemporaryFile(/tmp/multipartBody4786569468713653327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080276468,"filename":"image_28012025_10_50_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/1/28/f88679d83879be7bfef60b6fad0ed476.jpg","text":"TemporaryFile(/tmp/multipartBody8052174841670583226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080276468,"filename":"image_28012025_10_51_15_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332341504","file1":"1332341500","file0":"1332341497","file4":"1332341512","file5":"1332341575","file3":"1332341509"},"map_files_photo_id_array":[{"photo_id":"1332341575","filename":"file5"},{"photo_id":"1332341504","filename":"file2"},{"photo_id":"1332341512","filename":"file4"},{"photo_id":"1332341500","filename":"file1"},{"photo_id":"1332341497","filename":"file0"},{"photo_id":"1332341509","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332341504":["hashtag1","hashtag2"]},{"1332341497":["hashtag1","hashtag2"]},{"1332341575":["hashtag1","hashtag2"]},{"1332341509":["hashtag1","hashtag2"]},{"1332341500":["hashtag1","hashtag2"]},{"1332341512":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332341504, 1332341497, 1332341575, 1332341509, 1332341500, 1332341512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.661781787872314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:04:32.374744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/51/image_28012025_10_51_35_10347.jpg', '/home/pi/Desktop/images/28012025/10/51/image_28012025_10_51_45_10431.jpg', '/home/pi/Desktop/images/28012025/10/51/image_28012025_10_51_55_9366.jpg', '/home/pi/Desktop/images/28012025/10/51/image_28012025_10_52_05_10441.jpg', '/home/pi/Desktop/images/28012025/10/52/image_28012025_10_52_15_9327.jpg', '/home/pi/Desktop/images/28012025/10/52/image_28012025_10_52_25_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/51/image_28012025_10_51_35_10347.jpg
/home/pi/Desktop/images/28012025/10/51/image_28012025_10_51_45_10431.jpg
/home/pi/Desktop/images/28012025/10/51/image_28012025_10_51_55_9366.jpg
/home/pi/Desktop/images/28012025/10/51/image_28012025_10_52_05_10441.jpg
/home/pi/Desktop/images/28012025/10/52/image_28012025_10_52_15_9327.jpg
/home/pi/Desktop/images/28012025/10/52/image_28012025_10_52_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":["1332342227","1332342232","1332342217","1332342234","1332342213","1332342222"],"photo_ids_order":["1332342213","1332342217","1332342222","1332342227","1332342232","1332342234"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f00a1bfefc7eba07ab0099df06f82272.jpg","text":"TemporaryFile(/tmp/multipartBody7651002525794609952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080333378,"filename":"image_28012025_10_52_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/1/28/38c31d0d1eb04d9a561b0542aaa1731e.jpg","text":"TemporaryFile(/tmp/multipartBody1221934072429879804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080333378,"filename":"image_28012025_10_52_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/1/28/5c37bc6add14600dd3da7fdae4bc3255.jpg","text":"TemporaryFile(/tmp/multipartBody4677637893265967781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080333378,"filename":"image_28012025_10_51_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/1/28/cd2fcfa898a3bbc588bfb90cae8c1236.jpg","text":"TemporaryFile(/tmp/multipartBody4746383219801849623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080333378,"filename":"image_28012025_10_52_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/1/28/b0a15189486693dd5215aa38f3784450.jpg","text":"TemporaryFile(/tmp/multipartBody2722165421543506972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080333378,"filename":"image_28012025_10_51_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/1/28/6d8b2d22e4edc936b1c470e180ddce70.jpg","text":"TemporaryFile(/tmp/multipartBody3604637650190655147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080333378,"filename":"image_28012025_10_51_55_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332342222","file1":"1332342217","file0":"1332342213","file4":"1332342232","file5":"1332342234","file3":"1332342227"},"map_files_photo_id_array":[{"photo_id":"1332342234","filename":"file5"},{"photo_id":"1332342222","filename":"file2"},{"photo_id":"1332342232","filename":"file4"},{"photo_id":"1332342217","filename":"file1"},{"photo_id":"1332342213","filename":"file0"},{"photo_id":"1332342227","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332342227":["hashtag1","hashtag2"]},{"1332342232":["hashtag1","hashtag2"]},{"1332342217":["hashtag1","hashtag2"]},{"1332342234":["hashtag1","hashtag2"]},{"1332342213":["hashtag1","hashtag2"]},{"1332342222":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332342227, 1332342232, 1332342217, 1332342234, 1332342213, 1332342222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.134427309036255 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:05:32.618641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/52/image_28012025_10_52_35_10455.jpg', '/home/pi/Desktop/images/28012025/10/52/image_28012025_10_52_45_9356.jpg', '/home/pi/Desktop/images/28012025/10/52/image_28012025_10_53_06_10335.jpg', '/home/pi/Desktop/images/28012025/10/53/image_28012025_10_53_15_9366.jpg', '/home/pi/Desktop/images/28012025/10/53/image_28012025_10_53_25_10478.jpg', '/home/pi/Desktop/images/28012025/10/53/image_28012025_10_53_45_10464.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/52/image_28012025_10_52_35_10455.jpg
/home/pi/Desktop/images/28012025/10/52/image_28012025_10_52_45_9356.jpg
/home/pi/Desktop/images/28012025/10/52/image_28012025_10_53_06_10335.jpg
/home/pi/Desktop/images/28012025/10/53/image_28012025_10_53_15_9366.jpg
/home/pi/Desktop/images/28012025/10/53/image_28012025_10_53_25_10478.jpg
/home/pi/Desktop/images/28012025/10/53/image_28012025_10_53_45_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":["1332342460","1332342471","1332342453","1332342456","1332342464","1332342467"],"photo_ids_order":["1332342453","1332342456","1332342460","1332342464","1332342467","1332342471"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ff5109a55f7a737080c07f1db1b9a821.jpg","text":"TemporaryFile(/tmp/multipartBody3812913411441174738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080393596,"filename":"image_28012025_10_53_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/1/28/a44da4de84e7d9a7415f18d177aeeafb.jpg","text":"TemporaryFile(/tmp/multipartBody5210411956643327012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080393596,"filename":"image_28012025_10_53_45_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5f708f72b919c758ad0bb1d5cf5e035d.jpg","text":"TemporaryFile(/tmp/multipartBody3345941557932218803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080393596,"filename":"image_28012025_10_52_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/1/28/27a7ce219cb9342c6047bd1b17dc5f68.jpg","text":"TemporaryFile(/tmp/multipartBody9183113814658765702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080393596,"filename":"image_28012025_10_52_45_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/98cab4857e1d9c83022b890885d443d3.jpg","text":"TemporaryFile(/tmp/multipartBody8284873676958697352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080393596,"filename":"image_28012025_10_53_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/1/28/e370f489bbed3dbd4438181d95ab4ee6.jpg","text":"TemporaryFile(/tmp/multipartBody2202023964010349171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080393596,"filename":"image_28012025_10_53_25_10478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332342460","file1":"1332342456","file0":"1332342453","file4":"1332342467","file5":"1332342471","file3":"1332342464"},"map_files_photo_id_array":[{"photo_id":"1332342471","filename":"file5"},{"photo_id":"1332342460","filename":"file2"},{"photo_id":"1332342467","filename":"file4"},{"photo_id":"1332342456","filename":"file1"},{"photo_id":"1332342453","filename":"file0"},{"photo_id":"1332342464","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332342460":["hashtag1","hashtag2"]},{"1332342471":["hashtag1","hashtag2"]},{"1332342453":["hashtag1","hashtag2"]},{"1332342456":["hashtag1","hashtag2"]},{"1332342464":["hashtag1","hashtag2"]},{"1332342467":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332342460, 1332342471, 1332342453, 1332342456, 1332342464, 1332342467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.9829375743866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:06:32.894493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/53/image_28012025_10_53_55_9527.jpg', '/home/pi/Desktop/images/28012025/10/53/image_28012025_10_54_05_10394.jpg', '/home/pi/Desktop/images/28012025/10/54/image_28012025_10_54_15_9391.jpg', '/home/pi/Desktop/images/28012025/10/54/image_28012025_10_54_25_10341.jpg', '/home/pi/Desktop/images/28012025/10/54/image_28012025_10_54_35_10402.jpg', '/home/pi/Desktop/images/28012025/10/54/image_28012025_10_54_45_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/53/image_28012025_10_53_55_9527.jpg
/home/pi/Desktop/images/28012025/10/53/image_28012025_10_54_05_10394.jpg
/home/pi/Desktop/images/28012025/10/54/image_28012025_10_54_15_9391.jpg
/home/pi/Desktop/images/28012025/10/54/image_28012025_10_54_25_10341.jpg
/home/pi/Desktop/images/28012025/10/54/image_28012025_10_54_35_10402.jpg
/home/pi/Desktop/images/28012025/10/54/image_28012025_10_54_45_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332342586","1332342679","1332342765","1332342596","1332342593","1332342629"],"photo_ids_order":["1332342586","1332342593","1332342596","1332342629","1332342679","1332342765"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/09fd68568ef585211ca408602acacaa3.jpg","text":"TemporaryFile(/tmp/multipartBody2245012625040983514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080453872,"filename":"image_28012025_10_53_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/1/28/24f3485c960065de628557f095329630.jpg","text":"TemporaryFile(/tmp/multipartBody3618678360317631817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080453872,"filename":"image_28012025_10_54_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/1/28/190758e182dcfde84505fd2627678713.jpg","text":"TemporaryFile(/tmp/multipartBody8745252554882443468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080453872,"filename":"image_28012025_10_54_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/1/28/1a4bcf0d2f1217bc1d54288fb94658f0.jpg","text":"TemporaryFile(/tmp/multipartBody8803502714424749900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080453872,"filename":"image_28012025_10_54_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/1/28/44ebc1716b1168e63798841d37e69de1.jpg","text":"TemporaryFile(/tmp/multipartBody2379590915360623807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080453872,"filename":"image_28012025_10_54_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/1/28/9c06de46993938fdd452acb6231f6440.jpg","text":"TemporaryFile(/tmp/multipartBody2712661081295844054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080453872,"filename":"image_28012025_10_54_25_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332342596","file1":"1332342593","file0":"1332342586","file4":"1332342679","file5":"1332342765","file3":"1332342629"},"map_files_photo_id_array":[{"photo_id":"1332342765","filename":"file5"},{"photo_id":"1332342596","filename":"file2"},{"photo_id":"1332342679","filename":"file4"},{"photo_id":"1332342593","filename":"file1"},{"photo_id":"1332342586","filename":"file0"},{"photo_id":"1332342629","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332342586":["hashtag1","hashtag2"]},{"1332342679":["hashtag1","hashtag2"]},{"1332342765":["hashtag1","hashtag2"]},{"1332342596":["hashtag1","hashtag2"]},{"1332342593":["hashtag1","hashtag2"]},{"1332342629":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332342586, 1332342679, 1332342765, 1332342596, 1332342593, 1332342629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.93675875663757 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:07:33.188942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/54/image_28012025_10_54_55_10348.jpg', '/home/pi/Desktop/images/28012025/10/54/image_28012025_10_55_05_10436.jpg', '/home/pi/Desktop/images/28012025/10/55/image_28012025_10_55_15_9320.jpg', '/home/pi/Desktop/images/28012025/10/55/image_28012025_10_55_25_10410.jpg', '/home/pi/Desktop/images/28012025/10/55/image_28012025_10_55_35_9373.jpg', '/home/pi/Desktop/images/28012025/10/55/image_28012025_10_55_45_10409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/54/image_28012025_10_54_55_10348.jpg
/home/pi/Desktop/images/28012025/10/54/image_28012025_10_55_05_10436.jpg
/home/pi/Desktop/images/28012025/10/55/image_28012025_10_55_15_9320.jpg
/home/pi/Desktop/images/28012025/10/55/image_28012025_10_55_25_10410.jpg
/home/pi/Desktop/images/28012025/10/55/image_28012025_10_55_35_9373.jpg
/home/pi/Desktop/images/28012025/10/55/image_28012025_10_55_45_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":["1332343120","1332342937","1332343119","1332342939","1332342992","1332343100"],"photo_ids_order":["1332342937","1332342939","1332342992","1332343100","1332343119","1332343120"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/585ca2d3b392b1195a3fb3a70fe15cfb.jpg","text":"TemporaryFile(/tmp/multipartBody4500770082210725758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080514177,"filename":"image_28012025_10_55_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/1/28/379e191e892765d6b54f5c3e5322c494.jpg","text":"TemporaryFile(/tmp/multipartBody2706474161521734245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080514177,"filename":"image_28012025_10_54_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/1/28/259e2763e045ede2d4ecb26a57ce5cff.jpg","text":"TemporaryFile(/tmp/multipartBody5207866944107847164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080514177,"filename":"image_28012025_10_55_35_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e0f457364ce18e1c3d78cc8a43f9d39e.jpg","text":"TemporaryFile(/tmp/multipartBody7055288909433269406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080514177,"filename":"image_28012025_10_55_05_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2ad31bed56070d49f7479178a0300308.jpg","text":"TemporaryFile(/tmp/multipartBody2588747824249641972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080514177,"filename":"image_28012025_10_55_15_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7b6d1d6db3e9983fb5036cada1a0bf29.jpg","text":"TemporaryFile(/tmp/multipartBody3011930071273190768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080514177,"filename":"image_28012025_10_55_25_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332342992","file1":"1332342939","file0":"1332342937","file4":"1332343119","file5":"1332343120","file3":"1332343100"},"map_files_photo_id_array":[{"photo_id":"1332343120","filename":"file5"},{"photo_id":"1332342992","filename":"file2"},{"photo_id":"1332343119","filename":"file4"},{"photo_id":"1332342939","filename":"file1"},{"photo_id":"1332342937","filename":"file0"},{"photo_id":"1332343100","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332343120":["hashtag1","hashtag2"]},{"1332342937":["hashtag1","hashtag2"]},{"1332343119":["hashtag1","hashtag2"]},{"1332342939":["hashtag1","hashtag2"]},{"1332342992":["hashtag1","hashtag2"]},{"1332343100":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332343120, 1332342937, 1332343119, 1332342939, 1332342992, 1332343100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.483537673950195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:08:32.428149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/55/image_28012025_10_55_55_10442.jpg', '/home/pi/Desktop/images/28012025/10/55/image_28012025_10_56_05_9345.jpg', '/home/pi/Desktop/images/28012025/10/56/image_28012025_10_56_15_10415.jpg', '/home/pi/Desktop/images/28012025/10/56/image_28012025_10_56_25_9375.jpg', '/home/pi/Desktop/images/28012025/10/56/image_28012025_10_56_35_10349.jpg', '/home/pi/Desktop/images/28012025/10/56/image_28012025_10_56_45_10466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/55/image_28012025_10_55_55_10442.jpg
/home/pi/Desktop/images/28012025/10/55/image_28012025_10_56_05_9345.jpg
/home/pi/Desktop/images/28012025/10/56/image_28012025_10_56_15_10415.jpg
/home/pi/Desktop/images/28012025/10/56/image_28012025_10_56_25_9375.jpg
/home/pi/Desktop/images/28012025/10/56/image_28012025_10_56_35_10349.jpg
/home/pi/Desktop/images/28012025/10/56/image_28012025_10_56_45_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":["1332343347","1332343197","1332343335","1332343242","1332343323","1332343316"],"photo_ids_order":["1332343197","1332343242","1332343316","1332343323","1332343335","1332343347"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2970b6e723b33f5e5b3add19a662117e.jpg","text":"TemporaryFile(/tmp/multipartBody779532917173583120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080573406,"filename":"image_28012025_10_56_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/1/28/9727af934be02f904cf879dfdb2fdd67.jpg","text":"TemporaryFile(/tmp/multipartBody4505523389530396875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080573406,"filename":"image_28012025_10_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/1/28/320bc4caa62f458ed9eb15814af593e8.jpg","text":"TemporaryFile(/tmp/multipartBody1700275707695253625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080573406,"filename":"image_28012025_10_56_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/1/28/3cdc8a061aba1b1aee174342c53fa2a5.jpg","text":"TemporaryFile(/tmp/multipartBody7309391920150508037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080573406,"filename":"image_28012025_10_56_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/1/28/fee01f3727f77baef93c34813f316e88.jpg","text":"TemporaryFile(/tmp/multipartBody3359009711944024654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080573406,"filename":"image_28012025_10_56_25_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/44d772617b80a8599a90e5caf836444c.jpg","text":"TemporaryFile(/tmp/multipartBody4181401050348666617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080573406,"filename":"image_28012025_10_56_15_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332343316","file1":"1332343242","file0":"1332343197","file4":"1332343335","file5":"1332343347","file3":"1332343323"},"map_files_photo_id_array":[{"photo_id":"1332343347","filename":"file5"},{"photo_id":"1332343316","filename":"file2"},{"photo_id":"1332343335","filename":"file4"},{"photo_id":"1332343242","filename":"file1"},{"photo_id":"1332343197","filename":"file0"},{"photo_id":"1332343323","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332343347":["hashtag1","hashtag2"]},{"1332343197":["hashtag1","hashtag2"]},{"1332343335":["hashtag1","hashtag2"]},{"1332343242":["hashtag1","hashtag2"]},{"1332343323":["hashtag1","hashtag2"]},{"1332343316":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332343347, 1332343197, 1332343335, 1332343242, 1332343323, 1332343316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.995095014572144 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:09:32.577855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/56/image_28012025_10_56_55_9344.jpg', '/home/pi/Desktop/images/28012025/10/56/image_28012025_10_57_05_10408.jpg', '/home/pi/Desktop/images/28012025/10/57/image_28012025_10_57_15_10338.jpg', '/home/pi/Desktop/images/28012025/10/57/image_28012025_10_57_25_9344.jpg', '/home/pi/Desktop/images/28012025/10/57/image_28012025_10_57_35_10443.jpg', '/home/pi/Desktop/images/28012025/10/57/image_28012025_10_57_45_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/56/image_28012025_10_56_55_9344.jpg
/home/pi/Desktop/images/28012025/10/56/image_28012025_10_57_05_10408.jpg
/home/pi/Desktop/images/28012025/10/57/image_28012025_10_57_15_10338.jpg
/home/pi/Desktop/images/28012025/10/57/image_28012025_10_57_25_9344.jpg
/home/pi/Desktop/images/28012025/10/57/image_28012025_10_57_35_10443.jpg
/home/pi/Desktop/images/28012025/10/57/image_28012025_10_57_45_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332343450","1332343447","1332343452","1332343440","1332343377","1332343443"],"photo_ids_order":["1332343377","1332343440","1332343443","1332343447","1332343450","1332343452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e71725879038e33af8cd3793dc10812f.jpg","text":"TemporaryFile(/tmp/multipartBody8200658878238638729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080633559,"filename":"image_28012025_10_57_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/1/28/0e90419caff298d67e7a65851f2d7871.jpg","text":"TemporaryFile(/tmp/multipartBody1420902782113140139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080633559,"filename":"image_28012025_10_57_25_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5f9007f479dd9a0d97c0163e32ca0699.jpg","text":"TemporaryFile(/tmp/multipartBody1445140737217985643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080633559,"filename":"image_28012025_10_57_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/1/28/9f72e9f42a6af868069f7b53217375b8.jpg","text":"TemporaryFile(/tmp/multipartBody2709935126406396748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080633559,"filename":"image_28012025_10_57_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/1/28/91709509ab8f59138c231464b6ad3080.jpg","text":"TemporaryFile(/tmp/multipartBody6926363698042062055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080633559,"filename":"image_28012025_10_56_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/1/28/c9bb74bc71a5f4951a2be10f6c9f6f31.jpg","text":"TemporaryFile(/tmp/multipartBody1529279908913081762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080633559,"filename":"image_28012025_10_57_15_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332343443","file1":"1332343440","file0":"1332343377","file4":"1332343450","file5":"1332343452","file3":"1332343447"},"map_files_photo_id_array":[{"photo_id":"1332343452","filename":"file5"},{"photo_id":"1332343443","filename":"file2"},{"photo_id":"1332343450","filename":"file4"},{"photo_id":"1332343440","filename":"file1"},{"photo_id":"1332343377","filename":"file0"},{"photo_id":"1332343447","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332343450":["hashtag1","hashtag2"]},{"1332343447":["hashtag1","hashtag2"]},{"1332343452":["hashtag1","hashtag2"]},{"1332343440":["hashtag1","hashtag2"]},{"1332343377":["hashtag1","hashtag2"]},{"1332343443":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332343450, 1332343447, 1332343452, 1332343440, 1332343377, 1332343443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.39695596694946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:10:32.806036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/57/image_28012025_10_57_55_10337.jpg', '/home/pi/Desktop/images/28012025/10/57/image_28012025_10_58_05_10342.jpg', '/home/pi/Desktop/images/28012025/10/58/image_28012025_10_58_15_9344.jpg', '/home/pi/Desktop/images/28012025/10/58/image_28012025_10_58_25_10355.jpg', '/home/pi/Desktop/images/28012025/10/58/image_28012025_10_58_35_10420.jpg', '/home/pi/Desktop/images/28012025/10/58/image_28012025_10_58_45_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/57/image_28012025_10_57_55_10337.jpg
/home/pi/Desktop/images/28012025/10/57/image_28012025_10_58_05_10342.jpg
/home/pi/Desktop/images/28012025/10/58/image_28012025_10_58_15_9344.jpg
/home/pi/Desktop/images/28012025/10/58/image_28012025_10_58_25_10355.jpg
/home/pi/Desktop/images/28012025/10/58/image_28012025_10_58_35_10420.jpg
/home/pi/Desktop/images/28012025/10/58/image_28012025_10_58_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":["1332343698","1332343752","1332343725","1332343653","1332343598","1332343625"],"photo_ids_order":["1332343598","1332343625","1332343653","1332343698","1332343725","1332343752"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1f6f8194fcdd655663e99f202770953b.jpg","text":"TemporaryFile(/tmp/multipartBody6667067611353102340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080693793,"filename":"image_28012025_10_58_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/1/28/b17777fbb3851cf8fca92d2d2d394ec9.jpg","text":"TemporaryFile(/tmp/multipartBody237022405961084612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080693793,"filename":"image_28012025_10_58_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/1/28/b5f6d14f2e8bd4fe1b4cf6b74a20e8ac.jpg","text":"TemporaryFile(/tmp/multipartBody6162227697380181278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080693793,"filename":"image_28012025_10_58_35_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d43b6f9e58dadfed79e57e1f5565238e.jpg","text":"TemporaryFile(/tmp/multipartBody401116120161062845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080693793,"filename":"image_28012025_10_58_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/1/28/76dcf42edabac79256dc5a3302d1fc75.jpg","text":"TemporaryFile(/tmp/multipartBody2637493803721665150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080693793,"filename":"image_28012025_10_57_55_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b2ac5017c8b2995fae015aaa0c75df09.jpg","text":"TemporaryFile(/tmp/multipartBody3610189380184055181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080693793,"filename":"image_28012025_10_58_05_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332343653","file1":"1332343625","file0":"1332343598","file4":"1332343725","file5":"1332343752","file3":"1332343698"},"map_files_photo_id_array":[{"photo_id":"1332343752","filename":"file5"},{"photo_id":"1332343653","filename":"file2"},{"photo_id":"1332343725","filename":"file4"},{"photo_id":"1332343625","filename":"file1"},{"photo_id":"1332343598","filename":"file0"},{"photo_id":"1332343698","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332343698":["hashtag1","hashtag2"]},{"1332343752":["hashtag1","hashtag2"]},{"1332343725":["hashtag1","hashtag2"]},{"1332343653":["hashtag1","hashtag2"]},{"1332343598":["hashtag1","hashtag2"]},{"1332343625":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332343698, 1332343752, 1332343725, 1332343653, 1332343598, 1332343625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2935049533844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:11:33.170314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/10/58/image_28012025_10_59_06_10360.jpg', '/home/pi/Desktop/images/28012025/10/59/image_28012025_10_59_15_9364.jpg', '/home/pi/Desktop/images/28012025/10/59/image_28012025_10_59_25_10363.jpg', '/home/pi/Desktop/images/28012025/10/59/image_28012025_10_59_35_9322.jpg', '/home/pi/Desktop/images/28012025/10/59/image_28012025_10_59_45_10365.jpg', '/home/pi/Desktop/images/28012025/10/59/image_28012025_10_59_55_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/10/58/image_28012025_10_59_06_10360.jpg
/home/pi/Desktop/images/28012025/10/59/image_28012025_10_59_15_9364.jpg
/home/pi/Desktop/images/28012025/10/59/image_28012025_10_59_25_10363.jpg
/home/pi/Desktop/images/28012025/10/59/image_28012025_10_59_35_9322.jpg
/home/pi/Desktop/images/28012025/10/59/image_28012025_10_59_45_10365.jpg
/home/pi/Desktop/images/28012025/10/59/image_28012025_10_59_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":["1332343972","1332343962","1332343958","1332343967","1332343943","1332343975"],"photo_ids_order":["1332343943","1332343958","1332343962","1332343967","1332343972","1332343975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f1ec766a3715830fc29dea856f2b5095.jpg","text":"TemporaryFile(/tmp/multipartBody7438783764742701431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080754143,"filename":"image_28012025_10_59_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/1/28/b4fa7952bb4fcca35dc0f33824f348e6.jpg","text":"TemporaryFile(/tmp/multipartBody4305797008966198015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080754143,"filename":"image_28012025_10_59_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/1/28/ef418516671fa50aa620c31740685214.jpg","text":"TemporaryFile(/tmp/multipartBody5461159480433585753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080754143,"filename":"image_28012025_10_59_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/1/28/5db2bf712b3c67e5332d422e5ee707d1.jpg","text":"TemporaryFile(/tmp/multipartBody8355665663583824608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080754143,"filename":"image_28012025_10_59_35_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/45b4f0840882812f9653246ea4b7fda7.jpg","text":"TemporaryFile(/tmp/multipartBody8473819606155977848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080754143,"filename":"image_28012025_10_59_06_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/11219afb824700761c87fc276400f68f.jpg","text":"TemporaryFile(/tmp/multipartBody5025334163798696922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080754143,"filename":"image_28012025_10_59_55_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332343962","file1":"1332343958","file0":"1332343943","file4":"1332343972","file5":"1332343975","file3":"1332343967"},"map_files_photo_id_array":[{"photo_id":"1332343975","filename":"file5"},{"photo_id":"1332343962","filename":"file2"},{"photo_id":"1332343972","filename":"file4"},{"photo_id":"1332343958","filename":"file1"},{"photo_id":"1332343943","filename":"file0"},{"photo_id":"1332343967","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332343972":["hashtag1","hashtag2"]},{"1332343962":["hashtag1","hashtag2"]},{"1332343958":["hashtag1","hashtag2"]},{"1332343967":["hashtag1","hashtag2"]},{"1332343943":["hashtag1","hashtag2"]},{"1332343975":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332343972, 1332343962, 1332343958, 1332343967, 1332343943, 1332343975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.90335202217102 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:12:32.271411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/00/image_28012025_11_00_15_10075.jpg', '/home/pi/Desktop/images/28012025/11/00/image_28012025_11_00_26_10361.jpg', '/home/pi/Desktop/images/28012025/11/00/image_28012025_11_00_36_10360.jpg', '/home/pi/Desktop/images/28012025/11/00/image_28012025_11_00_45_9415.jpg', '/home/pi/Desktop/images/28012025/11/00/image_28012025_11_00_56_10358.jpg', '/home/pi/Desktop/images/28012025/11/00/image_28012025_11_01_06_10385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/00/image_28012025_11_00_15_10075.jpg
/home/pi/Desktop/images/28012025/11/00/image_28012025_11_00_26_10361.jpg
/home/pi/Desktop/images/28012025/11/00/image_28012025_11_00_36_10360.jpg
/home/pi/Desktop/images/28012025/11/00/image_28012025_11_00_45_9415.jpg
/home/pi/Desktop/images/28012025/11/00/image_28012025_11_00_56_10358.jpg
/home/pi/Desktop/images/28012025/11/00/image_28012025_11_01_06_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332344020","1332343992","1332344022","1332344016","1332344003","1332343996"],"photo_ids_order":["1332343992","1332343996","1332344003","1332344016","1332344020","1332344022"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4ccbd5ddfe7f992f4b3b333b0198abc6.jpg","text":"TemporaryFile(/tmp/multipartBody5001530029851906942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080813243,"filename":"image_28012025_11_00_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/1/28/e096f129307aad9a59b601fb473f2cdf.jpg","text":"TemporaryFile(/tmp/multipartBody1151000976854974631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080813243,"filename":"image_28012025_11_00_15_10075.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4d445ab1c382e291594f31021422e655.jpg","text":"TemporaryFile(/tmp/multipartBody7983956924394013195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080813243,"filename":"image_28012025_11_01_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/1/28/c67abaddb43982c2d4f484b381d19e74.jpg","text":"TemporaryFile(/tmp/multipartBody1422919975794716567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080813243,"filename":"image_28012025_11_00_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/1/28/a664162327741f60fe32433e4a63eb57.jpg","text":"TemporaryFile(/tmp/multipartBody1726602077541196983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080813243,"filename":"image_28012025_11_00_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/1/28/5c9198cd9ace917f56e937f87942616f.jpg","text":"TemporaryFile(/tmp/multipartBody844928600039229332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080813243,"filename":"image_28012025_11_00_26_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332344003","file1":"1332343996","file0":"1332343992","file4":"1332344020","file5":"1332344022","file3":"1332344016"},"map_files_photo_id_array":[{"photo_id":"1332344022","filename":"file5"},{"photo_id":"1332344003","filename":"file2"},{"photo_id":"1332344020","filename":"file4"},{"photo_id":"1332343996","filename":"file1"},{"photo_id":"1332343992","filename":"file0"},{"photo_id":"1332344016","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332344020":["hashtag1","hashtag2"]},{"1332343992":["hashtag1","hashtag2"]},{"1332344022":["hashtag1","hashtag2"]},{"1332344016":["hashtag1","hashtag2"]},{"1332344003":["hashtag1","hashtag2"]},{"1332343996":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332344020, 1332343992, 1332344022, 1332344016, 1332344003, 1332343996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74915027618408 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:13:32.460238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/01/image_28012025_11_01_16_9357.jpg', '/home/pi/Desktop/images/28012025/11/01/image_28012025_11_01_26_10393.jpg', '/home/pi/Desktop/images/28012025/11/01/image_28012025_11_01_35_9431.jpg', '/home/pi/Desktop/images/28012025/11/01/image_28012025_11_01_46_10336.jpg', '/home/pi/Desktop/images/28012025/11/01/image_28012025_11_01_56_10356.jpg', '/home/pi/Desktop/images/28012025/11/01/image_28012025_11_02_05_9369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/01/image_28012025_11_01_16_9357.jpg
/home/pi/Desktop/images/28012025/11/01/image_28012025_11_01_26_10393.jpg
/home/pi/Desktop/images/28012025/11/01/image_28012025_11_01_35_9431.jpg
/home/pi/Desktop/images/28012025/11/01/image_28012025_11_01_46_10336.jpg
/home/pi/Desktop/images/28012025/11/01/image_28012025_11_01_56_10356.jpg
/home/pi/Desktop/images/28012025/11/01/image_28012025_11_02_05_9369.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5805521011352539 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 17:13:42.483175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/01/image_28012025_11_01_16_9357.jpg', '/home/pi/Desktop/images/28012025/11/01/image_28012025_11_01_26_10393.jpg', '/home/pi/Desktop/images/28012025/11/01/image_28012025_11_01_35_9431.jpg', '/home/pi/Desktop/images/28012025/11/01/image_28012025_11_01_46_10336.jpg', '/home/pi/Desktop/images/28012025/11/01/image_28012025_11_01_56_10356.jpg', '/home/pi/Desktop/images/28012025/11/01/image_28012025_11_02_05_9369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/01/image_28012025_11_01_16_9357.jpg
/home/pi/Desktop/images/28012025/11/01/image_28012025_11_01_26_10393.jpg
/home/pi/Desktop/images/28012025/11/01/image_28012025_11_01_35_9431.jpg
/home/pi/Desktop/images/28012025/11/01/image_28012025_11_01_46_10336.jpg
/home/pi/Desktop/images/28012025/11/01/image_28012025_11_01_56_10356.jpg
/home/pi/Desktop/images/28012025/11/01/image_28012025_11_02_05_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":["1332344097","1332344067","1332344087","1332344102","1332344092","1332344083"],"photo_ids_order":["1332344067","1332344083","1332344087","1332344092","1332344097","1332344102"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c3466b93c3526663d1cb3f281cb4a1fc.jpg","text":"TemporaryFile(/tmp/multipartBody2454250648078370848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080883384,"filename":"image_28012025_11_01_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3fb35fe7454281eb30a47b87aead252c.jpg","text":"TemporaryFile(/tmp/multipartBody3215958698702131855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080883384,"filename":"image_28012025_11_01_16_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dcd95b2210270f6a3d6273c9e88b360a.jpg","text":"TemporaryFile(/tmp/multipartBody7120414514992060625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080883384,"filename":"image_28012025_11_01_35_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7230dfb61810a182847d6ab138645b33.jpg","text":"TemporaryFile(/tmp/multipartBody6826572674835524620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080883384,"filename":"image_28012025_11_02_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/1/28/a75f4686613ab338a8f0138b85094416.jpg","text":"TemporaryFile(/tmp/multipartBody8527343247539352653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080883384,"filename":"image_28012025_11_01_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/1/28/9a5c2f0c3ff9611ec5ffb25a3a210022.jpg","text":"TemporaryFile(/tmp/multipartBody7394906984209440053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080883384,"filename":"image_28012025_11_01_26_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332344087","file1":"1332344083","file0":"1332344067","file4":"1332344097","file5":"1332344102","file3":"1332344092"},"map_files_photo_id_array":[{"photo_id":"1332344102","filename":"file5"},{"photo_id":"1332344087","filename":"file2"},{"photo_id":"1332344097","filename":"file4"},{"photo_id":"1332344083","filename":"file1"},{"photo_id":"1332344067","filename":"file0"},{"photo_id":"1332344092","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332344097":["hashtag1","hashtag2"]},{"1332344067":["hashtag1","hashtag2"]},{"1332344087":["hashtag1","hashtag2"]},{"1332344102":["hashtag1","hashtag2"]},{"1332344092":["hashtag1","hashtag2"]},{"1332344083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332344097, 1332344067, 1332344087, 1332344102, 1332344092, 1332344083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.486432790756226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:14:32.686220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/02/image_28012025_11_02_16_10334.jpg', '/home/pi/Desktop/images/28012025/11/02/image_28012025_11_02_26_10395.jpg', '/home/pi/Desktop/images/28012025/11/02/image_28012025_11_02_35_9351.jpg', '/home/pi/Desktop/images/28012025/11/02/image_28012025_11_02_46_10415.jpg', '/home/pi/Desktop/images/28012025/11/02/image_28012025_11_03_06_10346.jpg', '/home/pi/Desktop/images/28012025/11/03/image_28012025_11_03_16_10385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/02/image_28012025_11_02_16_10334.jpg
/home/pi/Desktop/images/28012025/11/02/image_28012025_11_02_26_10395.jpg
/home/pi/Desktop/images/28012025/11/02/image_28012025_11_02_35_9351.jpg
/home/pi/Desktop/images/28012025/11/02/image_28012025_11_02_46_10415.jpg
/home/pi/Desktop/images/28012025/11/02/image_28012025_11_03_06_10346.jpg
/home/pi/Desktop/images/28012025/11/03/image_28012025_11_03_16_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":["1332344139","1332344126","1332344135","1332344129","1332344120","1332344123"],"photo_ids_order":["1332344120","1332344123","1332344126","1332344129","1332344135","1332344139"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/713fb796575e74c8a5a57a7a81203a86.jpg","text":"TemporaryFile(/tmp/multipartBody8783903066367388518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080933678,"filename":"image_28012025_11_03_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/1/28/5380e64afe0c46a8e8b7efc930c00f60.jpg","text":"TemporaryFile(/tmp/multipartBody1874510965250963865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080933678,"filename":"image_28012025_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/1/28/52a59d06335e4f6ce79cd0cdfead5aaa.jpg","text":"TemporaryFile(/tmp/multipartBody3540235951841299625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080933678,"filename":"image_28012025_11_03_06_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/01ff478f91db78f2adfd4c724852ee68.jpg","text":"TemporaryFile(/tmp/multipartBody904816185530921581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080933678,"filename":"image_28012025_11_02_46_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/009456ff185a919dd09264fe659c5840.jpg","text":"TemporaryFile(/tmp/multipartBody3954440274805415991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080933678,"filename":"image_28012025_11_02_16_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/145ac80bdb0d89a0ce6a485a8ddb1530.jpg","text":"TemporaryFile(/tmp/multipartBody7586268829905095864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080933678,"filename":"image_28012025_11_02_26_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332344126","file1":"1332344123","file0":"1332344120","file4":"1332344135","file5":"1332344139","file3":"1332344129"},"map_files_photo_id_array":[{"photo_id":"1332344139","filename":"file5"},{"photo_id":"1332344126","filename":"file2"},{"photo_id":"1332344135","filename":"file4"},{"photo_id":"1332344123","filename":"file1"},{"photo_id":"1332344120","filename":"file0"},{"photo_id":"1332344129","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332344139":["hashtag1","hashtag2"]},{"1332344126":["hashtag1","hashtag2"]},{"1332344135":["hashtag1","hashtag2"]},{"1332344129":["hashtag1","hashtag2"]},{"1332344120":["hashtag1","hashtag2"]},{"1332344123":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332344139, 1332344126, 1332344135, 1332344129, 1332344120, 1332344123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.098193883895874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:15:32.922422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/03/image_28012025_11_03_25_9365.jpg', '/home/pi/Desktop/images/28012025/11/03/image_28012025_11_03_36_10349.jpg', '/home/pi/Desktop/images/28012025/11/03/image_28012025_11_03_45_9454.jpg', '/home/pi/Desktop/images/28012025/11/03/image_28012025_11_03_56_10359.jpg', '/home/pi/Desktop/images/28012025/11/03/image_28012025_11_04_06_10321.jpg', '/home/pi/Desktop/images/28012025/11/04/image_28012025_11_04_15_9429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/03/image_28012025_11_03_25_9365.jpg
/home/pi/Desktop/images/28012025/11/03/image_28012025_11_03_36_10349.jpg
/home/pi/Desktop/images/28012025/11/03/image_28012025_11_03_45_9454.jpg
/home/pi/Desktop/images/28012025/11/03/image_28012025_11_03_56_10359.jpg
/home/pi/Desktop/images/28012025/11/03/image_28012025_11_04_06_10321.jpg
/home/pi/Desktop/images/28012025/11/04/image_28012025_11_04_15_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":["1332344326","1332344175","1332344171","1332344324","1332344168","1332344222"],"photo_ids_order":["1332344168","1332344171","1332344175","1332344222","1332344324","1332344326"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/04142f46926292953ddec15ef6455261.jpg","text":"TemporaryFile(/tmp/multipartBody3687894097466986622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080993916,"filename":"image_28012025_11_04_15_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a81e818af202f49057866ee0255810fe.jpg","text":"TemporaryFile(/tmp/multipartBody5341811082915573385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080993916,"filename":"image_28012025_11_03_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/1/28/70c6cba3483f5a02410d00343a1862ea.jpg","text":"TemporaryFile(/tmp/multipartBody5916728235303164658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080993916,"filename":"image_28012025_11_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/1/28/aae54ddaf7fc5e4f6a63b70df5be7256.jpg","text":"TemporaryFile(/tmp/multipartBody3800996962637526460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080993916,"filename":"image_28012025_11_04_06_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5503e29df7c1254ca60af2c6036f4106.jpg","text":"TemporaryFile(/tmp/multipartBody8618784890169678855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080993916,"filename":"image_28012025_11_03_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/1/28/cce2ed4df7d7a3c224be03fc9a330098.jpg","text":"TemporaryFile(/tmp/multipartBody9097636657928494616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738080993916,"filename":"image_28012025_11_03_56_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332344175","file1":"1332344171","file0":"1332344168","file4":"1332344324","file5":"1332344326","file3":"1332344222"},"map_files_photo_id_array":[{"photo_id":"1332344326","filename":"file5"},{"photo_id":"1332344175","filename":"file2"},{"photo_id":"1332344324","filename":"file4"},{"photo_id":"1332344171","filename":"file1"},{"photo_id":"1332344168","filename":"file0"},{"photo_id":"1332344222","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332344326":["hashtag1","hashtag2"]},{"1332344175":["hashtag1","hashtag2"]},{"1332344171":["hashtag1","hashtag2"]},{"1332344324":["hashtag1","hashtag2"]},{"1332344168":["hashtag1","hashtag2"]},{"1332344222":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332344326, 1332344175, 1332344171, 1332344324, 1332344168, 1332344222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29697561264038 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:16:33.101808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/04/image_28012025_11_04_26_10335.jpg', '/home/pi/Desktop/images/28012025/11/04/image_28012025_11_04_36_10446.jpg', '/home/pi/Desktop/images/28012025/11/04/image_28012025_11_04_46_9474.jpg', '/home/pi/Desktop/images/28012025/11/04/image_28012025_11_04_56_10360.jpg', '/home/pi/Desktop/images/28012025/11/04/image_28012025_11_05_05_9388.jpg', '/home/pi/Desktop/images/28012025/11/05/image_28012025_11_05_16_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/04/image_28012025_11_04_26_10335.jpg
/home/pi/Desktop/images/28012025/11/04/image_28012025_11_04_36_10446.jpg
/home/pi/Desktop/images/28012025/11/04/image_28012025_11_04_46_9474.jpg
/home/pi/Desktop/images/28012025/11/04/image_28012025_11_04_56_10360.jpg
/home/pi/Desktop/images/28012025/11/04/image_28012025_11_05_05_9388.jpg
/home/pi/Desktop/images/28012025/11/05/image_28012025_11_05_16_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":["1332344512","1332344541","1332344517","1332344528","1332344539","1332344509"],"photo_ids_order":["1332344509","1332344512","1332344517","1332344528","1332344539","1332344541"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fe8fea5cfeef1e0d2ee1047bbeaf19c5.jpg","text":"TemporaryFile(/tmp/multipartBody402938050129580914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081054081,"filename":"image_28012025_11_04_36_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bbab8276d741d7755e40058b18376ebf.jpg","text":"TemporaryFile(/tmp/multipartBody7209079100649010721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081054081,"filename":"image_28012025_11_05_16_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/70daccd37c200135aa1d60235bba195d.jpg","text":"TemporaryFile(/tmp/multipartBody6776189187140149664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081054081,"filename":"image_28012025_11_04_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/1/28/494f1cc18ea1b3bf5baa7a39e4016490.jpg","text":"TemporaryFile(/tmp/multipartBody396845935133867046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081054081,"filename":"image_28012025_11_04_56_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f880a8650f6a4445ab27e1b12b44db3c.jpg","text":"TemporaryFile(/tmp/multipartBody1182871849072328120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081054081,"filename":"image_28012025_11_05_05_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/33afdfe417264920086eb8de2fc9b783.jpg","text":"TemporaryFile(/tmp/multipartBody832068310055450487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081054081,"filename":"image_28012025_11_04_26_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332344517","file1":"1332344512","file0":"1332344509","file4":"1332344539","file5":"1332344541","file3":"1332344528"},"map_files_photo_id_array":[{"photo_id":"1332344541","filename":"file5"},{"photo_id":"1332344517","filename":"file2"},{"photo_id":"1332344539","filename":"file4"},{"photo_id":"1332344512","filename":"file1"},{"photo_id":"1332344509","filename":"file0"},{"photo_id":"1332344528","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332344512":["hashtag1","hashtag2"]},{"1332344541":["hashtag1","hashtag2"]},{"1332344517":["hashtag1","hashtag2"]},{"1332344528":["hashtag1","hashtag2"]},{"1332344539":["hashtag1","hashtag2"]},{"1332344509":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332344512, 1332344541, 1332344517, 1332344528, 1332344539, 1332344509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.33458495140076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:17:32.351397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/05/image_28012025_11_05_26_10406.jpg', '/home/pi/Desktop/images/28012025/11/05/image_28012025_11_05_35_9248.jpg', '/home/pi/Desktop/images/28012025/11/05/image_28012025_11_05_46_10465.jpg', '/home/pi/Desktop/images/28012025/11/05/image_28012025_11_05_56_10346.jpg', '/home/pi/Desktop/images/28012025/11/05/image_28012025_11_06_05_9327.jpg', '/home/pi/Desktop/images/28012025/11/06/image_28012025_11_06_16_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/05/image_28012025_11_05_26_10406.jpg
/home/pi/Desktop/images/28012025/11/05/image_28012025_11_05_35_9248.jpg
/home/pi/Desktop/images/28012025/11/05/image_28012025_11_05_46_10465.jpg
/home/pi/Desktop/images/28012025/11/05/image_28012025_11_05_56_10346.jpg
/home/pi/Desktop/images/28012025/11/05/image_28012025_11_06_05_9327.jpg
/home/pi/Desktop/images/28012025/11/06/image_28012025_11_06_16_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":["1332344574","1332344565","1332344570","1332344596","1332344578","1332344587"],"photo_ids_order":["1332344565","1332344570","1332344574","1332344578","1332344587","1332344596"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cb8579df032d0a62256a1d17e5092468.jpg","text":"TemporaryFile(/tmp/multipartBody8117287038444332069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081113315,"filename":"image_28012025_11_05_46_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b8fd61c4456a59f153f955f5ebf43324.jpg","text":"TemporaryFile(/tmp/multipartBody3713422882940636337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081113315,"filename":"image_28012025_11_05_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/1/28/ec36008d7077c0136dd2db54fa1cfb72.jpg","text":"TemporaryFile(/tmp/multipartBody507879332583089369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081113315,"filename":"image_28012025_11_05_35_9248.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8327e581dfca384b518a2fcea58c0d0c.jpg","text":"TemporaryFile(/tmp/multipartBody861294424721313794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081113315,"filename":"image_28012025_11_06_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/1/28/93e00ab038231d6cfb10ef806bc52edf.jpg","text":"TemporaryFile(/tmp/multipartBody773379042374484843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081113315,"filename":"image_28012025_11_05_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/1/28/46ad510099491000e0d2a9e26ad1694e.jpg","text":"TemporaryFile(/tmp/multipartBody990409822114691982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081113315,"filename":"image_28012025_11_06_05_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332344574","file1":"1332344570","file0":"1332344565","file4":"1332344587","file5":"1332344596","file3":"1332344578"},"map_files_photo_id_array":[{"photo_id":"1332344596","filename":"file5"},{"photo_id":"1332344574","filename":"file2"},{"photo_id":"1332344587","filename":"file4"},{"photo_id":"1332344570","filename":"file1"},{"photo_id":"1332344565","filename":"file0"},{"photo_id":"1332344578","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332344574":["hashtag1","hashtag2"]},{"1332344565":["hashtag1","hashtag2"]},{"1332344570":["hashtag1","hashtag2"]},{"1332344596":["hashtag1","hashtag2"]},{"1332344578":["hashtag1","hashtag2"]},{"1332344587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332344574, 1332344565, 1332344570, 1332344596, 1332344578, 1332344587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86813306808472 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:18:32.651162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/06/image_28012025_11_06_25_9467.jpg', '/home/pi/Desktop/images/28012025/11/06/image_28012025_11_06_36_10342.jpg', '/home/pi/Desktop/images/28012025/11/06/image_28012025_11_06_46_10356.jpg', '/home/pi/Desktop/images/28012025/11/06/image_28012025_11_06_55_9369.jpg', '/home/pi/Desktop/images/28012025/11/06/image_28012025_11_07_06_10344.jpg', '/home/pi/Desktop/images/28012025/11/07/image_28012025_11_07_16_10481.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/06/image_28012025_11_06_25_9467.jpg
/home/pi/Desktop/images/28012025/11/06/image_28012025_11_06_36_10342.jpg
/home/pi/Desktop/images/28012025/11/06/image_28012025_11_06_46_10356.jpg
/home/pi/Desktop/images/28012025/11/06/image_28012025_11_06_55_9369.jpg
/home/pi/Desktop/images/28012025/11/06/image_28012025_11_07_06_10344.jpg
/home/pi/Desktop/images/28012025/11/07/image_28012025_11_07_16_10481.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332344661","1332344648","1332344656","1332344659","1332344650","1332344653"],"photo_ids_order":["1332344648","1332344650","1332344653","1332344656","1332344659","1332344661"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6975b3dc243b724383c5f9a79136624e.jpg","text":"TemporaryFile(/tmp/multipartBody3907231013144443910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081173623,"filename":"image_28012025_11_07_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/1/28/ffd6355abfc78537efebf4258a14c27a.jpg","text":"TemporaryFile(/tmp/multipartBody1400212560661357216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081173623,"filename":"image_28012025_11_06_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/1/28/34a41be99df88eb77b0dde938a325aff.jpg","text":"TemporaryFile(/tmp/multipartBody3461630664814248873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081173623,"filename":"image_28012025_11_06_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/1/28/39a8622163f586dfc1cf641732c3f5ac.jpg","text":"TemporaryFile(/tmp/multipartBody6876527645506383332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081173623,"filename":"image_28012025_11_07_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/1/28/e5b361c4b538159d1fb027beb5aa7f1c.jpg","text":"TemporaryFile(/tmp/multipartBody5401984340303257360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081173623,"filename":"image_28012025_11_06_36_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/59c8d5d7a2c09c5184705f363fa4bed1.jpg","text":"TemporaryFile(/tmp/multipartBody1884687827233990782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081173623,"filename":"image_28012025_11_06_46_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332344653","file1":"1332344650","file0":"1332344648","file4":"1332344659","file5":"1332344661","file3":"1332344656"},"map_files_photo_id_array":[{"photo_id":"1332344661","filename":"file5"},{"photo_id":"1332344653","filename":"file2"},{"photo_id":"1332344659","filename":"file4"},{"photo_id":"1332344650","filename":"file1"},{"photo_id":"1332344648","filename":"file0"},{"photo_id":"1332344656","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332344661":["hashtag1","hashtag2"]},{"1332344648":["hashtag1","hashtag2"]},{"1332344656":["hashtag1","hashtag2"]},{"1332344659":["hashtag1","hashtag2"]},{"1332344650":["hashtag1","hashtag2"]},{"1332344653":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332344661, 1332344648, 1332344656, 1332344659, 1332344650, 1332344653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45815134048462 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:19:32.716294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/07/image_28012025_11_07_26_9319.jpg', '/home/pi/Desktop/images/28012025/11/07/image_28012025_11_07_36_10416.jpg', '/home/pi/Desktop/images/28012025/11/07/image_28012025_11_07_45_9466.jpg', '/home/pi/Desktop/images/28012025/11/07/image_28012025_11_07_56_10401.jpg', '/home/pi/Desktop/images/28012025/11/07/image_28012025_11_08_06_10370.jpg', '/home/pi/Desktop/images/28012025/11/08/image_28012025_11_08_16_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/07/image_28012025_11_07_26_9319.jpg
/home/pi/Desktop/images/28012025/11/07/image_28012025_11_07_36_10416.jpg
/home/pi/Desktop/images/28012025/11/07/image_28012025_11_07_45_9466.jpg
/home/pi/Desktop/images/28012025/11/07/image_28012025_11_07_56_10401.jpg
/home/pi/Desktop/images/28012025/11/07/image_28012025_11_08_06_10370.jpg
/home/pi/Desktop/images/28012025/11/08/image_28012025_11_08_16_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332344916","1332344925","1332344852","1332344927","1332344909","1332344884"],"photo_ids_order":["1332344852","1332344884","1332344909","1332344916","1332344925","1332344927"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0e8e4eaa32a89bf4faf7a3d31ef40341.jpg","text":"TemporaryFile(/tmp/multipartBody645439050670709297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081233710,"filename":"image_28012025_11_07_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/1/28/a3898285d2f17a9d668eef661254db6d.jpg","text":"TemporaryFile(/tmp/multipartBody8419307204679860332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081233710,"filename":"image_28012025_11_08_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/1/28/b7f891b60ed67e24c7427864d3b2da42.jpg","text":"TemporaryFile(/tmp/multipartBody4643654827354127234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081233710,"filename":"image_28012025_11_07_26_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/328a1bfc00730df19a472fbce1df5754.jpg","text":"TemporaryFile(/tmp/multipartBody2912841809058475172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081233710,"filename":"image_28012025_11_08_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/1/28/3a2f68da3e4e118a941bc45d221bd357.jpg","text":"TemporaryFile(/tmp/multipartBody538384983235808632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081233710,"filename":"image_28012025_11_07_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/1/28/fe6b54b636d2e2444e3691226be7e04b.jpg","text":"TemporaryFile(/tmp/multipartBody8450038012945995900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081233710,"filename":"image_28012025_11_07_36_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332344909","file1":"1332344884","file0":"1332344852","file4":"1332344925","file5":"1332344927","file3":"1332344916"},"map_files_photo_id_array":[{"photo_id":"1332344927","filename":"file5"},{"photo_id":"1332344909","filename":"file2"},{"photo_id":"1332344925","filename":"file4"},{"photo_id":"1332344884","filename":"file1"},{"photo_id":"1332344852","filename":"file0"},{"photo_id":"1332344916","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332344916":["hashtag1","hashtag2"]},{"1332344925":["hashtag1","hashtag2"]},{"1332344852":["hashtag1","hashtag2"]},{"1332344927":["hashtag1","hashtag2"]},{"1332344909":["hashtag1","hashtag2"]},{"1332344884":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332344916, 1332344925, 1332344852, 1332344927, 1332344909, 1332344884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71512818336487 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:20:32.896636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/08/image_28012025_11_08_26_10356.jpg', '/home/pi/Desktop/images/28012025/11/08/image_28012025_11_08_35_9330.jpg', '/home/pi/Desktop/images/28012025/11/08/image_28012025_11_08_46_10357.jpg', '/home/pi/Desktop/images/28012025/11/08/image_28012025_11_08_56_10350.jpg', '/home/pi/Desktop/images/28012025/11/08/image_28012025_11_09_05_9423.jpg', '/home/pi/Desktop/images/28012025/11/09/image_28012025_11_09_16_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/08/image_28012025_11_08_26_10356.jpg
/home/pi/Desktop/images/28012025/11/08/image_28012025_11_08_35_9330.jpg
/home/pi/Desktop/images/28012025/11/08/image_28012025_11_08_46_10357.jpg
/home/pi/Desktop/images/28012025/11/08/image_28012025_11_08_56_10350.jpg
/home/pi/Desktop/images/28012025/11/08/image_28012025_11_09_05_9423.jpg
/home/pi/Desktop/images/28012025/11/09/image_28012025_11_09_16_10330.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5929782390594482 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 17:20:42.953259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/08/image_28012025_11_08_26_10356.jpg', '/home/pi/Desktop/images/28012025/11/08/image_28012025_11_08_35_9330.jpg', '/home/pi/Desktop/images/28012025/11/08/image_28012025_11_08_46_10357.jpg', '/home/pi/Desktop/images/28012025/11/08/image_28012025_11_08_56_10350.jpg', '/home/pi/Desktop/images/28012025/11/08/image_28012025_11_09_05_9423.jpg', '/home/pi/Desktop/images/28012025/11/09/image_28012025_11_09_16_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/08/image_28012025_11_08_26_10356.jpg
/home/pi/Desktop/images/28012025/11/08/image_28012025_11_08_35_9330.jpg
/home/pi/Desktop/images/28012025/11/08/image_28012025_11_08_46_10357.jpg
/home/pi/Desktop/images/28012025/11/08/image_28012025_11_08_56_10350.jpg
/home/pi/Desktop/images/28012025/11/08/image_28012025_11_09_05_9423.jpg
/home/pi/Desktop/images/28012025/11/09/image_28012025_11_09_16_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332345912","1332345936","1332345918","1332345962","1332345956","1332345976"],"photo_ids_order":["1332345912","1332345918","1332345936","1332345956","1332345962","1332345976"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e5a993bb2f80b9b08a2719b7310c2556.jpg","text":"TemporaryFile(/tmp/multipartBody4312425242157584463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081303851,"filename":"image_28012025_11_08_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/1/28/1fd0fd9aae85035b794e6e0df36e3da4.jpg","text":"TemporaryFile(/tmp/multipartBody202689576688326506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081303851,"filename":"image_28012025_11_08_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/1/28/17f02e1cd87040f3aab38a1259760393.jpg","text":"TemporaryFile(/tmp/multipartBody3843707911735860883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081303851,"filename":"image_28012025_11_08_35_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/427caf1c8f52740e5eb749b9e33b065d.jpg","text":"TemporaryFile(/tmp/multipartBody6105045097537043744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081303851,"filename":"image_28012025_11_09_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/1/28/3ac0d3bb7a89b1dacd4b2f68c618d09a.jpg","text":"TemporaryFile(/tmp/multipartBody4832924325217142202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081303851,"filename":"image_28012025_11_08_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/1/28/483acafdc63c4724192da1d04774f554.jpg","text":"TemporaryFile(/tmp/multipartBody1740347826361985540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081303851,"filename":"image_28012025_11_09_16_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332345936","file1":"1332345918","file0":"1332345912","file4":"1332345962","file5":"1332345976","file3":"1332345956"},"map_files_photo_id_array":[{"photo_id":"1332345976","filename":"file5"},{"photo_id":"1332345936","filename":"file2"},{"photo_id":"1332345962","filename":"file4"},{"photo_id":"1332345918","filename":"file1"},{"photo_id":"1332345912","filename":"file0"},{"photo_id":"1332345956","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332345912":["hashtag1","hashtag2"]},{"1332345936":["hashtag1","hashtag2"]},{"1332345918":["hashtag1","hashtag2"]},{"1332345962":["hashtag1","hashtag2"]},{"1332345956":["hashtag1","hashtag2"]},{"1332345976":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332345912, 1332345936, 1332345918, 1332345962, 1332345956, 1332345976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.0416316986084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:21:32.220299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/09/image_28012025_11_09_26_10516.jpg', '/home/pi/Desktop/images/28012025/11/09/image_28012025_11_09_36_9472.jpg', '/home/pi/Desktop/images/28012025/11/09/image_28012025_11_09_46_10335.jpg', '/home/pi/Desktop/images/28012025/11/09/image_28012025_11_09_55_9430.jpg', '/home/pi/Desktop/images/28012025/11/09/image_28012025_11_10_06_10366.jpg', '/home/pi/Desktop/images/28012025/11/10/image_28012025_11_10_16_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/09/image_28012025_11_09_26_10516.jpg
/home/pi/Desktop/images/28012025/11/09/image_28012025_11_09_36_9472.jpg
/home/pi/Desktop/images/28012025/11/09/image_28012025_11_09_46_10335.jpg
/home/pi/Desktop/images/28012025/11/09/image_28012025_11_09_55_9430.jpg
/home/pi/Desktop/images/28012025/11/09/image_28012025_11_10_06_10366.jpg
/home/pi/Desktop/images/28012025/11/10/image_28012025_11_10_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":["1332346481","1332346454","1332346695","1332346656","1332346743","1332346335"],"photo_ids_order":["1332346335","1332346454","1332346481","1332346656","1332346695","1332346743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a72ff484360ef00b441be35f51f84d6d.jpg","text":"TemporaryFile(/tmp/multipartBody5069001772538391001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081353198,"filename":"image_28012025_11_09_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/1/28/e1dd9c0e0af8c7c024103799055ebc44.jpg","text":"TemporaryFile(/tmp/multipartBody7933430137041621896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081353198,"filename":"image_28012025_11_09_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/1/28/32c7a8378315ab955241600aceb2c657.jpg","text":"TemporaryFile(/tmp/multipartBody4647470462530723496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081353198,"filename":"image_28012025_11_10_06_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c52241757233994f7f7eca31f4da3591.jpg","text":"TemporaryFile(/tmp/multipartBody3831453552797764618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081353198,"filename":"image_28012025_11_09_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/1/28/23a78184c193371b9bf5835b71716b51.jpg","text":"TemporaryFile(/tmp/multipartBody7306888551898659184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081353198,"filename":"image_28012025_11_10_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/1/28/da01f62fd32e75bff97e543874030faa.jpg","text":"TemporaryFile(/tmp/multipartBody6096140376560565585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081353198,"filename":"image_28012025_11_09_26_10516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332346481","file1":"1332346454","file0":"1332346335","file4":"1332346695","file5":"1332346743","file3":"1332346656"},"map_files_photo_id_array":[{"photo_id":"1332346743","filename":"file5"},{"photo_id":"1332346481","filename":"file2"},{"photo_id":"1332346695","filename":"file4"},{"photo_id":"1332346454","filename":"file1"},{"photo_id":"1332346335","filename":"file0"},{"photo_id":"1332346656","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332346481":["hashtag1","hashtag2"]},{"1332346454":["hashtag1","hashtag2"]},{"1332346695":["hashtag1","hashtag2"]},{"1332346656":["hashtag1","hashtag2"]},{"1332346743":["hashtag1","hashtag2"]},{"1332346335":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332346481, 1332346454, 1332346695, 1332346656, 1332346743, 1332346335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.96403694152832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:22:33.173713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/10/image_28012025_11_10_25_9340.jpg', '/home/pi/Desktop/images/28012025/11/10/image_28012025_11_10_36_10332.jpg', '/home/pi/Desktop/images/28012025/11/10/image_28012025_11_10_45_9450.jpg', '/home/pi/Desktop/images/28012025/11/10/image_28012025_11_10_56_10461.jpg', '/home/pi/Desktop/images/28012025/11/10/image_28012025_11_11_05_9564.jpg', '/home/pi/Desktop/images/28012025/11/11/image_28012025_11_11_16_10453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/10/image_28012025_11_10_25_9340.jpg
/home/pi/Desktop/images/28012025/11/10/image_28012025_11_10_36_10332.jpg
/home/pi/Desktop/images/28012025/11/10/image_28012025_11_10_45_9450.jpg
/home/pi/Desktop/images/28012025/11/10/image_28012025_11_10_56_10461.jpg
/home/pi/Desktop/images/28012025/11/10/image_28012025_11_11_05_9564.jpg
/home/pi/Desktop/images/28012025/11/11/image_28012025_11_11_16_10453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332346914","1332346889","1332346940","1332346951","1332346906","1332346909"],"photo_ids_order":["1332346889","1332346906","1332346909","1332346914","1332346940","1332346951"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2aced7ff914da559535d61570f60ac3d.jpg","text":"TemporaryFile(/tmp/multipartBody20054659440189049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081414161,"filename":"image_28012025_11_10_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/1/28/792a0a1502293fe0e56d6001f9916256.jpg","text":"TemporaryFile(/tmp/multipartBody3278581610719601141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081414161,"filename":"image_28012025_11_10_25_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d53688472420b728afa63dff760b2914.jpg","text":"TemporaryFile(/tmp/multipartBody7634034379236205843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081414161,"filename":"image_28012025_11_11_05_9564.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/aa6c0d44f1e252f87ed49693f5bf9ab3.jpg","text":"TemporaryFile(/tmp/multipartBody4458662790438828182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081414161,"filename":"image_28012025_11_11_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/1/28/008a499253419646a25b8321f960b874.jpg","text":"TemporaryFile(/tmp/multipartBody4136342285004976257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081414161,"filename":"image_28012025_11_10_36_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7b35c10f2ee4cfec20e3436b2a59d852.jpg","text":"TemporaryFile(/tmp/multipartBody468741574278774755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081414161,"filename":"image_28012025_11_10_45_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332346909","file1":"1332346906","file0":"1332346889","file4":"1332346940","file5":"1332346951","file3":"1332346914"},"map_files_photo_id_array":[{"photo_id":"1332346951","filename":"file5"},{"photo_id":"1332346909","filename":"file2"},{"photo_id":"1332346940","filename":"file4"},{"photo_id":"1332346906","filename":"file1"},{"photo_id":"1332346889","filename":"file0"},{"photo_id":"1332346914","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332346914":["hashtag1","hashtag2"]},{"1332346889":["hashtag1","hashtag2"]},{"1332346940":["hashtag1","hashtag2"]},{"1332346951":["hashtag1","hashtag2"]},{"1332346906":["hashtag1","hashtag2"]},{"1332346909":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332346914, 1332346889, 1332346940, 1332346951, 1332346906, 1332346909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.20741510391235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:23:32.613321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/11/image_28012025_11_11_26_10380.jpg', '/home/pi/Desktop/images/28012025/11/11/image_28012025_11_11_35_9346.jpg', '/home/pi/Desktop/images/28012025/11/11/image_28012025_11_11_46_10346.jpg', '/home/pi/Desktop/images/28012025/11/11/image_28012025_11_11_55_9416.jpg', '/home/pi/Desktop/images/28012025/11/11/image_28012025_11_12_06_10343.jpg', '/home/pi/Desktop/images/28012025/11/12/image_28012025_11_12_16_10319.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/11/image_28012025_11_11_26_10380.jpg
/home/pi/Desktop/images/28012025/11/11/image_28012025_11_11_35_9346.jpg
/home/pi/Desktop/images/28012025/11/11/image_28012025_11_11_46_10346.jpg
/home/pi/Desktop/images/28012025/11/11/image_28012025_11_11_55_9416.jpg
/home/pi/Desktop/images/28012025/11/11/image_28012025_11_12_06_10343.jpg
/home/pi/Desktop/images/28012025/11/12/image_28012025_11_12_16_10319.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332346973","1332346987","1332346981","1332346975","1332346972","1332346977"],"photo_ids_order":["1332346972","1332346973","1332346975","1332346977","1332346981","1332346987"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dca6d517e2b56e7b8b679b3b74b5f00b.jpg","text":"TemporaryFile(/tmp/multipartBody5796093680227028472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081473583,"filename":"image_28012025_11_11_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/1/28/eefb2884f28c3b62bea7f258de5910b1.jpg","text":"TemporaryFile(/tmp/multipartBody3055172127149886651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081473583,"filename":"image_28012025_11_12_16_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/42b997195ecbcd03db0c7078e1dbc34d.jpg","text":"TemporaryFile(/tmp/multipartBody8824742447858138748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081473583,"filename":"image_28012025_11_12_06_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a3d96cf919f17503d8b4234b095f47c5.jpg","text":"TemporaryFile(/tmp/multipartBody6055697002087187849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081473583,"filename":"image_28012025_11_11_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/1/28/cad17fdfc41133c6a6c195651d8bc609.jpg","text":"TemporaryFile(/tmp/multipartBody3598066226769167667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081473583,"filename":"image_28012025_11_11_26_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6e51a675410089dd08b71e63733e262d.jpg","text":"TemporaryFile(/tmp/multipartBody2650260074160512476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081473583,"filename":"image_28012025_11_11_55_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332346975","file1":"1332346973","file0":"1332346972","file4":"1332346981","file5":"1332346987","file3":"1332346977"},"map_files_photo_id_array":[{"photo_id":"1332346987","filename":"file5"},{"photo_id":"1332346975","filename":"file2"},{"photo_id":"1332346981","filename":"file4"},{"photo_id":"1332346973","filename":"file1"},{"photo_id":"1332346972","filename":"file0"},{"photo_id":"1332346977","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332346973":["hashtag1","hashtag2"]},{"1332346987":["hashtag1","hashtag2"]},{"1332346981":["hashtag1","hashtag2"]},{"1332346975":["hashtag1","hashtag2"]},{"1332346972":["hashtag1","hashtag2"]},{"1332346977":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332346973, 1332346987, 1332346981, 1332346975, 1332346972, 1332346977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.18045377731323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:24:32.784941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/12/image_28012025_11_12_25_9420.jpg', '/home/pi/Desktop/images/28012025/11/12/image_28012025_11_12_36_10343.jpg', '/home/pi/Desktop/images/28012025/11/12/image_28012025_11_12_46_10460.jpg', '/home/pi/Desktop/images/28012025/11/12/image_28012025_11_13_06_10421.jpg', '/home/pi/Desktop/images/28012025/11/13/image_28012025_11_13_15_9343.jpg', '/home/pi/Desktop/images/28012025/11/13/image_28012025_11_13_26_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/12/image_28012025_11_12_25_9420.jpg
/home/pi/Desktop/images/28012025/11/12/image_28012025_11_12_36_10343.jpg
/home/pi/Desktop/images/28012025/11/12/image_28012025_11_12_46_10460.jpg
/home/pi/Desktop/images/28012025/11/12/image_28012025_11_13_06_10421.jpg
/home/pi/Desktop/images/28012025/11/13/image_28012025_11_13_15_9343.jpg
/home/pi/Desktop/images/28012025/11/13/image_28012025_11_13_26_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":["1332347012","1332347015","1332347006","1332347041","1332347035","1332347020"],"photo_ids_order":["1332347006","1332347012","1332347015","1332347020","1332347035","1332347041"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/348ff7d2c063d565077e12bcc2c0594c.jpg","text":"TemporaryFile(/tmp/multipartBody2762284393199534321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081533761,"filename":"image_28012025_11_12_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/1/28/ba31c48ddcec3c9894351289d25aeec2.jpg","text":"TemporaryFile(/tmp/multipartBody4243146602037468928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081533761,"filename":"image_28012025_11_12_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/1/28/8ab17250fbdea53b08538486cafbde28.jpg","text":"TemporaryFile(/tmp/multipartBody100766771314787464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081533761,"filename":"image_28012025_11_12_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/1/28/723a3c563387e6b216d5930ba8cb63bb.jpg","text":"TemporaryFile(/tmp/multipartBody5803727151078789260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081533761,"filename":"image_28012025_11_13_26_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0ce87dd080d7ef339ba5209be460d59c.jpg","text":"TemporaryFile(/tmp/multipartBody8629897763852054366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081533761,"filename":"image_28012025_11_13_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/1/28/35b2d244f9801d532767677d50106fea.jpg","text":"TemporaryFile(/tmp/multipartBody9219885333163131249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081533761,"filename":"image_28012025_11_13_06_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332347015","file1":"1332347012","file0":"1332347006","file4":"1332347035","file5":"1332347041","file3":"1332347020"},"map_files_photo_id_array":[{"photo_id":"1332347041","filename":"file5"},{"photo_id":"1332347015","filename":"file2"},{"photo_id":"1332347035","filename":"file4"},{"photo_id":"1332347012","filename":"file1"},{"photo_id":"1332347006","filename":"file0"},{"photo_id":"1332347020","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332347012":["hashtag1","hashtag2"]},{"1332347015":["hashtag1","hashtag2"]},{"1332347006":["hashtag1","hashtag2"]},{"1332347041":["hashtag1","hashtag2"]},{"1332347035":["hashtag1","hashtag2"]},{"1332347020":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332347012, 1332347015, 1332347006, 1332347041, 1332347035, 1332347020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.38897466659546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:25:32.923209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/13/image_28012025_11_13_36_10332.jpg', '/home/pi/Desktop/images/28012025/11/13/image_28012025_11_13_45_9443.jpg', '/home/pi/Desktop/images/28012025/11/13/image_28012025_11_13_56_10348.jpg', '/home/pi/Desktop/images/28012025/11/13/image_28012025_11_14_06_10392.jpg', '/home/pi/Desktop/images/28012025/11/14/image_28012025_11_14_15_9344.jpg', '/home/pi/Desktop/images/28012025/11/14/image_28012025_11_14_26_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/13/image_28012025_11_13_36_10332.jpg
/home/pi/Desktop/images/28012025/11/13/image_28012025_11_13_45_9443.jpg
/home/pi/Desktop/images/28012025/11/13/image_28012025_11_13_56_10348.jpg
/home/pi/Desktop/images/28012025/11/13/image_28012025_11_14_06_10392.jpg
/home/pi/Desktop/images/28012025/11/14/image_28012025_11_14_15_9344.jpg
/home/pi/Desktop/images/28012025/11/14/image_28012025_11_14_26_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":["1332347092","1332347140","1332347137","1332347115","1332347118","1332347103"],"photo_ids_order":["1332347092","1332347103","1332347115","1332347118","1332347137","1332347140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e35f67c77b7c8982b74154e8604cd666.jpg","text":"TemporaryFile(/tmp/multipartBody8437701248961369388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081593911,"filename":"image_28012025_11_13_36_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cf9f315921b643f59f084b8c9f4f33dd.jpg","text":"TemporaryFile(/tmp/multipartBody8195747708355414426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081593911,"filename":"image_28012025_11_14_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/1/28/97074bc8a02f366edc6021a4502823fe.jpg","text":"TemporaryFile(/tmp/multipartBody8320941391186255232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081593911,"filename":"image_28012025_11_14_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/1/28/a22f0f4de807b0d194fe9d3d17063add.jpg","text":"TemporaryFile(/tmp/multipartBody2105912069283491212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081593911,"filename":"image_28012025_11_13_56_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/78bfc4016085caf8296d59d213ab86c8.jpg","text":"TemporaryFile(/tmp/multipartBody7261184756118902483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081593911,"filename":"image_28012025_11_14_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/1/28/3696e3b7806d87eea3372baa81413556.jpg","text":"TemporaryFile(/tmp/multipartBody9022392492506404492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081593911,"filename":"image_28012025_11_13_45_9443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332347115","file1":"1332347103","file0":"1332347092","file4":"1332347137","file5":"1332347140","file3":"1332347118"},"map_files_photo_id_array":[{"photo_id":"1332347140","filename":"file5"},{"photo_id":"1332347115","filename":"file2"},{"photo_id":"1332347137","filename":"file4"},{"photo_id":"1332347103","filename":"file1"},{"photo_id":"1332347092","filename":"file0"},{"photo_id":"1332347118","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332347092":["hashtag1","hashtag2"]},{"1332347140":["hashtag1","hashtag2"]},{"1332347137":["hashtag1","hashtag2"]},{"1332347115":["hashtag1","hashtag2"]},{"1332347118":["hashtag1","hashtag2"]},{"1332347103":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332347092, 1332347140, 1332347137, 1332347115, 1332347118, 1332347103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.306634187698364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:26:32.303713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/14/image_28012025_11_14_36_10395.jpg', '/home/pi/Desktop/images/28012025/11/14/image_28012025_11_14_46_9340.jpg', '/home/pi/Desktop/images/28012025/11/14/image_28012025_11_14_56_10350.jpg', '/home/pi/Desktop/images/28012025/11/15/image_28012025_11_15_16_10341.jpg', '/home/pi/Desktop/images/28012025/11/15/image_28012025_11_15_26_10369.jpg', '/home/pi/Desktop/images/28012025/11/15/image_28012025_11_15_35_9467.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/14/image_28012025_11_14_36_10395.jpg
/home/pi/Desktop/images/28012025/11/14/image_28012025_11_14_46_9340.jpg
/home/pi/Desktop/images/28012025/11/14/image_28012025_11_14_56_10350.jpg
/home/pi/Desktop/images/28012025/11/15/image_28012025_11_15_16_10341.jpg
/home/pi/Desktop/images/28012025/11/15/image_28012025_11_15_26_10369.jpg
/home/pi/Desktop/images/28012025/11/15/image_28012025_11_15_35_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":["1332347219","1332347281","1332347209","1332347286","1332347214","1332347217"],"photo_ids_order":["1332347209","1332347214","1332347217","1332347219","1332347281","1332347286"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/26a2b9375ff699011b4f7e681f619ed4.jpg","text":"TemporaryFile(/tmp/multipartBody3026300507409532278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081653274,"filename":"image_28012025_11_15_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/1/28/0cdc17dee41d1a480e8f1eefa49423fd.jpg","text":"TemporaryFile(/tmp/multipartBody3656012220165905563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081653274,"filename":"image_28012025_11_15_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/1/28/e50cff8f924f0a550c1f1d8f2f6a027e.jpg","text":"TemporaryFile(/tmp/multipartBody5351867673154796650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081653274,"filename":"image_28012025_11_14_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/1/28/88885478f57a9c1ad28392d0062dbfd9.jpg","text":"TemporaryFile(/tmp/multipartBody4465902347082771618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081653274,"filename":"image_28012025_11_15_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/1/28/f05c2383698d9b4ff0b757436c83061b.jpg","text":"TemporaryFile(/tmp/multipartBody1641023968412850702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081653274,"filename":"image_28012025_11_14_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/1/28/b6e830f3178f4ff7b9d3e79b9a98172b.jpg","text":"TemporaryFile(/tmp/multipartBody5795258375621786327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081653274,"filename":"image_28012025_11_14_56_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332347217","file1":"1332347214","file0":"1332347209","file4":"1332347281","file5":"1332347286","file3":"1332347219"},"map_files_photo_id_array":[{"photo_id":"1332347286","filename":"file5"},{"photo_id":"1332347217","filename":"file2"},{"photo_id":"1332347281","filename":"file4"},{"photo_id":"1332347214","filename":"file1"},{"photo_id":"1332347209","filename":"file0"},{"photo_id":"1332347219","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332347219":["hashtag1","hashtag2"]},{"1332347281":["hashtag1","hashtag2"]},{"1332347209":["hashtag1","hashtag2"]},{"1332347286":["hashtag1","hashtag2"]},{"1332347214":["hashtag1","hashtag2"]},{"1332347217":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332347219, 1332347281, 1332347209, 1332347286, 1332347214, 1332347217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.85790991783142 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:27:32.453707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/15/image_28012025_11_15_56_10364.jpg', '/home/pi/Desktop/images/28012025/11/15/image_28012025_11_16_05_9335.jpg', '/home/pi/Desktop/images/28012025/11/16/image_28012025_11_16_16_10328.jpg', '/home/pi/Desktop/images/28012025/11/16/image_28012025_11_16_25_9446.jpg', '/home/pi/Desktop/images/28012025/11/16/image_28012025_11_16_36_10342.jpg', '/home/pi/Desktop/images/28012025/11/16/image_28012025_11_16_46_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/15/image_28012025_11_15_56_10364.jpg
/home/pi/Desktop/images/28012025/11/15/image_28012025_11_16_05_9335.jpg
/home/pi/Desktop/images/28012025/11/16/image_28012025_11_16_16_10328.jpg
/home/pi/Desktop/images/28012025/11/16/image_28012025_11_16_25_9446.jpg
/home/pi/Desktop/images/28012025/11/16/image_28012025_11_16_36_10342.jpg
/home/pi/Desktop/images/28012025/11/16/image_28012025_11_16_46_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332347423","1332347398","1332347392","1332347412","1332347384","1332347387"],"photo_ids_order":["1332347384","1332347387","1332347392","1332347398","1332347412","1332347423"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5777dd8090aeeee3d7022e1c4c0f1191.jpg","text":"TemporaryFile(/tmp/multipartBody8681078334067170537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081713423,"filename":"image_28012025_11_16_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/1/28/69a0dec2d6ecb3542403e1d2f3eb8b66.jpg","text":"TemporaryFile(/tmp/multipartBody4988995792887536090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081713423,"filename":"image_28012025_11_16_25_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fd490eea4519ef1a0b6b819fb451537c.jpg","text":"TemporaryFile(/tmp/multipartBody5563321396431026785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081713423,"filename":"image_28012025_11_16_16_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4bb581c408ab15ab737d1e8ceb283f8d.jpg","text":"TemporaryFile(/tmp/multipartBody1221415974509008834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081713423,"filename":"image_28012025_11_16_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/1/28/a35b5cf082cc356f3f9a448f8f150c80.jpg","text":"TemporaryFile(/tmp/multipartBody1838040395650271022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081713423,"filename":"image_28012025_11_15_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/1/28/234a03a44136af627352e5a3315b5b63.jpg","text":"TemporaryFile(/tmp/multipartBody3427025866829814369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081713423,"filename":"image_28012025_11_16_05_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332347392","file1":"1332347387","file0":"1332347384","file4":"1332347412","file5":"1332347423","file3":"1332347398"},"map_files_photo_id_array":[{"photo_id":"1332347423","filename":"file5"},{"photo_id":"1332347392","filename":"file2"},{"photo_id":"1332347412","filename":"file4"},{"photo_id":"1332347387","filename":"file1"},{"photo_id":"1332347384","filename":"file0"},{"photo_id":"1332347398","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332347423":["hashtag1","hashtag2"]},{"1332347398":["hashtag1","hashtag2"]},{"1332347392":["hashtag1","hashtag2"]},{"1332347412":["hashtag1","hashtag2"]},{"1332347384":["hashtag1","hashtag2"]},{"1332347387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332347423, 1332347398, 1332347392, 1332347412, 1332347384, 1332347387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.42404842376709 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:28:32.712308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/16/image_28012025_11_16_55_9382.jpg', '/home/pi/Desktop/images/28012025/11/16/image_28012025_11_17_06_10327.jpg', '/home/pi/Desktop/images/28012025/11/17/image_28012025_11_17_16_10412.jpg', '/home/pi/Desktop/images/28012025/11/17/image_28012025_11_17_25_9377.jpg', '/home/pi/Desktop/images/28012025/11/17/image_28012025_11_17_36_10350.jpg', '/home/pi/Desktop/images/28012025/11/17/image_28012025_11_17_46_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/16/image_28012025_11_16_55_9382.jpg
/home/pi/Desktop/images/28012025/11/16/image_28012025_11_17_06_10327.jpg
/home/pi/Desktop/images/28012025/11/17/image_28012025_11_17_16_10412.jpg
/home/pi/Desktop/images/28012025/11/17/image_28012025_11_17_25_9377.jpg
/home/pi/Desktop/images/28012025/11/17/image_28012025_11_17_36_10350.jpg
/home/pi/Desktop/images/28012025/11/17/image_28012025_11_17_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":["1332347540","1332347578","1332347518","1332347580","1332347559","1332347523"],"photo_ids_order":["1332347518","1332347523","1332347540","1332347559","1332347578","1332347580"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7a640e6552942427ea7764288db4c338.jpg","text":"TemporaryFile(/tmp/multipartBody7622454788647923004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081773686,"filename":"image_28012025_11_17_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/1/28/1e730be9ecb1c89bf709eaff5950b154.jpg","text":"TemporaryFile(/tmp/multipartBody9051100389052988274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081773686,"filename":"image_28012025_11_17_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/1/28/6a478d9cf1069115055848d626cdbaf9.jpg","text":"TemporaryFile(/tmp/multipartBody3854579076434308696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081773686,"filename":"image_28012025_11_16_55_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/164af0e20c832906c0b6fe250a3c7edd.jpg","text":"TemporaryFile(/tmp/multipartBody743107524345491124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081773686,"filename":"image_28012025_11_17_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/1/28/464a954fe72204cadb1f4d8db768e8f7.jpg","text":"TemporaryFile(/tmp/multipartBody7573564581839708927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081773686,"filename":"image_28012025_11_17_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/1/28/0352de307a63314c704b27461ec0e307.jpg","text":"TemporaryFile(/tmp/multipartBody4346337201944914825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081773686,"filename":"image_28012025_11_17_06_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332347540","file1":"1332347523","file0":"1332347518","file4":"1332347578","file5":"1332347580","file3":"1332347559"},"map_files_photo_id_array":[{"photo_id":"1332347580","filename":"file5"},{"photo_id":"1332347540","filename":"file2"},{"photo_id":"1332347578","filename":"file4"},{"photo_id":"1332347523","filename":"file1"},{"photo_id":"1332347518","filename":"file0"},{"photo_id":"1332347559","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332347540":["hashtag1","hashtag2"]},{"1332347578":["hashtag1","hashtag2"]},{"1332347518":["hashtag1","hashtag2"]},{"1332347580":["hashtag1","hashtag2"]},{"1332347559":["hashtag1","hashtag2"]},{"1332347523":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332347540, 1332347578, 1332347518, 1332347580, 1332347559, 1332347523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.305399894714355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:29:32.959220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/17/image_28012025_11_17_56_9362.jpg', '/home/pi/Desktop/images/28012025/11/17/image_28012025_11_18_06_10343.jpg', '/home/pi/Desktop/images/28012025/11/18/image_28012025_11_18_15_9410.jpg', '/home/pi/Desktop/images/28012025/11/18/image_28012025_11_18_26_10338.jpg', '/home/pi/Desktop/images/28012025/11/18/image_28012025_11_18_36_10472.jpg', '/home/pi/Desktop/images/28012025/11/18/image_28012025_11_18_45_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/17/image_28012025_11_17_56_9362.jpg
/home/pi/Desktop/images/28012025/11/17/image_28012025_11_18_06_10343.jpg
/home/pi/Desktop/images/28012025/11/18/image_28012025_11_18_15_9410.jpg
/home/pi/Desktop/images/28012025/11/18/image_28012025_11_18_26_10338.jpg
/home/pi/Desktop/images/28012025/11/18/image_28012025_11_18_36_10472.jpg
/home/pi/Desktop/images/28012025/11/18/image_28012025_11_18_45_9333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332347729","1332347702","1332347740","1332347737","1332347746","1332347734"],"photo_ids_order":["1332347702","1332347729","1332347734","1332347737","1332347740","1332347746"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e14dd506b6b8e94b8238602dc1cdccb7.jpg","text":"TemporaryFile(/tmp/multipartBody1566380484873002293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081833953,"filename":"image_28012025_11_18_06_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6602029cc62e253c95dbb0bd87fb9885.jpg","text":"TemporaryFile(/tmp/multipartBody604789069228532078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081833953,"filename":"image_28012025_11_17_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/1/28/2587636d525376ad1c286a3c42ab5534.jpg","text":"TemporaryFile(/tmp/multipartBody4626409522349966420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081833953,"filename":"image_28012025_11_18_36_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/da4f4240658939d721468024b54613c2.jpg","text":"TemporaryFile(/tmp/multipartBody2901725645250198541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081833953,"filename":"image_28012025_11_18_26_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/eac721b931bd4ebc1d023851fea69c22.jpg","text":"TemporaryFile(/tmp/multipartBody1969345079208843787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081833953,"filename":"image_28012025_11_18_45_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7ef6c8d1dd91af0559ae76439010894a.jpg","text":"TemporaryFile(/tmp/multipartBody3692378898527674388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081833953,"filename":"image_28012025_11_18_15_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332347734","file1":"1332347729","file0":"1332347702","file4":"1332347740","file5":"1332347746","file3":"1332347737"},"map_files_photo_id_array":[{"photo_id":"1332347746","filename":"file5"},{"photo_id":"1332347734","filename":"file2"},{"photo_id":"1332347740","filename":"file4"},{"photo_id":"1332347729","filename":"file1"},{"photo_id":"1332347702","filename":"file0"},{"photo_id":"1332347737","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332347729":["hashtag1","hashtag2"]},{"1332347702":["hashtag1","hashtag2"]},{"1332347740":["hashtag1","hashtag2"]},{"1332347737":["hashtag1","hashtag2"]},{"1332347746":["hashtag1","hashtag2"]},{"1332347734":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332347729, 1332347702, 1332347740, 1332347737, 1332347746, 1332347734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.0439178943634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:30:32.134526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/18/image_28012025_11_18_56_10345.jpg', '/home/pi/Desktop/images/28012025/11/18/image_28012025_11_19_06_10400.jpg', '/home/pi/Desktop/images/28012025/11/19/image_28012025_11_19_16_9356.jpg', '/home/pi/Desktop/images/28012025/11/19/image_28012025_11_19_26_10365.jpg', '/home/pi/Desktop/images/28012025/11/19/image_28012025_11_19_35_9408.jpg', '/home/pi/Desktop/images/28012025/11/19/image_28012025_11_19_46_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/18/image_28012025_11_18_56_10345.jpg
/home/pi/Desktop/images/28012025/11/18/image_28012025_11_19_06_10400.jpg
/home/pi/Desktop/images/28012025/11/19/image_28012025_11_19_16_9356.jpg
/home/pi/Desktop/images/28012025/11/19/image_28012025_11_19_26_10365.jpg
/home/pi/Desktop/images/28012025/11/19/image_28012025_11_19_35_9408.jpg
/home/pi/Desktop/images/28012025/11/19/image_28012025_11_19_46_10353.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5776915550231934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 17:30:42.129818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/18/image_28012025_11_18_56_10345.jpg', '/home/pi/Desktop/images/28012025/11/18/image_28012025_11_19_06_10400.jpg', '/home/pi/Desktop/images/28012025/11/19/image_28012025_11_19_16_9356.jpg', '/home/pi/Desktop/images/28012025/11/19/image_28012025_11_19_26_10365.jpg', '/home/pi/Desktop/images/28012025/11/19/image_28012025_11_19_35_9408.jpg', '/home/pi/Desktop/images/28012025/11/19/image_28012025_11_19_46_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/18/image_28012025_11_18_56_10345.jpg
/home/pi/Desktop/images/28012025/11/18/image_28012025_11_19_06_10400.jpg
/home/pi/Desktop/images/28012025/11/19/image_28012025_11_19_16_9356.jpg
/home/pi/Desktop/images/28012025/11/19/image_28012025_11_19_26_10365.jpg
/home/pi/Desktop/images/28012025/11/19/image_28012025_11_19_35_9408.jpg
/home/pi/Desktop/images/28012025/11/19/image_28012025_11_19_46_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332347799","1332347769","1332347829","1332347826","1332347795","1332347777"],"photo_ids_order":["1332347769","1332347777","1332347795","1332347799","1332347826","1332347829"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/68fc3bdefbffb29980da71d352b2ea2b.jpg","text":"TemporaryFile(/tmp/multipartBody6559544733045613835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081903030,"filename":"image_28012025_11_19_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/1/28/22c8451f70ee368dc86090e718cc50d9.jpg","text":"TemporaryFile(/tmp/multipartBody9047612673512683632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081903030,"filename":"image_28012025_11_18_56_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b4c8f1ae0674f3651fa7c975f94bfa74.jpg","text":"TemporaryFile(/tmp/multipartBody4380276575046127334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081903030,"filename":"image_28012025_11_19_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/1/28/8b58ded2d88aa10687627b189af919e7.jpg","text":"TemporaryFile(/tmp/multipartBody8996635190989267280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081903030,"filename":"image_28012025_11_19_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/1/28/8298ab69c935334b043bf4aeccb077a4.jpg","text":"TemporaryFile(/tmp/multipartBody3832602156173480597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081903030,"filename":"image_28012025_11_19_16_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6c88d2411b737ae15b24390936aed624.jpg","text":"TemporaryFile(/tmp/multipartBody2438282024146057515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081903030,"filename":"image_28012025_11_19_06_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332347795","file1":"1332347777","file0":"1332347769","file4":"1332347826","file5":"1332347829","file3":"1332347799"},"map_files_photo_id_array":[{"photo_id":"1332347829","filename":"file5"},{"photo_id":"1332347795","filename":"file2"},{"photo_id":"1332347826","filename":"file4"},{"photo_id":"1332347777","filename":"file1"},{"photo_id":"1332347769","filename":"file0"},{"photo_id":"1332347799","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332347799":["hashtag1","hashtag2"]},{"1332347769":["hashtag1","hashtag2"]},{"1332347829":["hashtag1","hashtag2"]},{"1332347826":["hashtag1","hashtag2"]},{"1332347795":["hashtag1","hashtag2"]},{"1332347777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332347799, 1332347769, 1332347829, 1332347826, 1332347795, 1332347777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.11644721031189 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:31:32.502366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/19/image_28012025_11_19_56_10410.jpg', '/home/pi/Desktop/images/28012025/11/19/image_28012025_11_20_05_9320.jpg', '/home/pi/Desktop/images/28012025/11/20/image_28012025_11_20_16_10313.jpg', '/home/pi/Desktop/images/28012025/11/20/image_28012025_11_20_26_10450.jpg', '/home/pi/Desktop/images/28012025/11/20/image_28012025_11_20_46_10420.jpg', '/home/pi/Desktop/images/28012025/11/20/image_28012025_11_20_55_9436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/19/image_28012025_11_19_56_10410.jpg
/home/pi/Desktop/images/28012025/11/19/image_28012025_11_20_05_9320.jpg
/home/pi/Desktop/images/28012025/11/20/image_28012025_11_20_16_10313.jpg
/home/pi/Desktop/images/28012025/11/20/image_28012025_11_20_26_10450.jpg
/home/pi/Desktop/images/28012025/11/20/image_28012025_11_20_46_10420.jpg
/home/pi/Desktop/images/28012025/11/20/image_28012025_11_20_55_9436.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5840699672698975 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 17:31:42.348212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/19/image_28012025_11_19_56_10410.jpg', '/home/pi/Desktop/images/28012025/11/19/image_28012025_11_20_05_9320.jpg', '/home/pi/Desktop/images/28012025/11/20/image_28012025_11_20_16_10313.jpg', '/home/pi/Desktop/images/28012025/11/20/image_28012025_11_20_26_10450.jpg', '/home/pi/Desktop/images/28012025/11/20/image_28012025_11_20_46_10420.jpg', '/home/pi/Desktop/images/28012025/11/20/image_28012025_11_20_55_9436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/19/image_28012025_11_19_56_10410.jpg
/home/pi/Desktop/images/28012025/11/19/image_28012025_11_20_05_9320.jpg
/home/pi/Desktop/images/28012025/11/20/image_28012025_11_20_16_10313.jpg
/home/pi/Desktop/images/28012025/11/20/image_28012025_11_20_26_10450.jpg
/home/pi/Desktop/images/28012025/11/20/image_28012025_11_20_46_10420.jpg
/home/pi/Desktop/images/28012025/11/20/image_28012025_11_20_55_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":["1332347909","1332347890","1332347913","1332347873","1332347907","1332347882"],"photo_ids_order":["1332347873","1332347882","1332347890","1332347907","1332347909","1332347913"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3b06b1b6309feae4a4ecc342e68dc762.jpg","text":"TemporaryFile(/tmp/multipartBody3811472454065988738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081963239,"filename":"image_28012025_11_20_46_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/008b3c071a6eae160c1ff8881860c2c7.jpg","text":"TemporaryFile(/tmp/multipartBody5928311225029654521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081963239,"filename":"image_28012025_11_20_16_10313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8f324c58ae3a8110f54dbc4c69a2cfe6.jpg","text":"TemporaryFile(/tmp/multipartBody8314649097053945696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081963239,"filename":"image_28012025_11_20_55_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2c034a68c1437326892038aa5d605139.jpg","text":"TemporaryFile(/tmp/multipartBody579763234799480807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081963239,"filename":"image_28012025_11_19_56_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e6f3088564751d21f18aa858b3f4f385.jpg","text":"TemporaryFile(/tmp/multipartBody677685146897004169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081963239,"filename":"image_28012025_11_20_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/1/28/6e1e2bbe1045c10a89c32c6ec3c78b93.jpg","text":"TemporaryFile(/tmp/multipartBody1265690507376537200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738081963239,"filename":"image_28012025_11_20_05_9320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332347890","file1":"1332347882","file0":"1332347873","file4":"1332347909","file5":"1332347913","file3":"1332347907"},"map_files_photo_id_array":[{"photo_id":"1332347913","filename":"file5"},{"photo_id":"1332347890","filename":"file2"},{"photo_id":"1332347909","filename":"file4"},{"photo_id":"1332347882","filename":"file1"},{"photo_id":"1332347873","filename":"file0"},{"photo_id":"1332347907","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332347909":["hashtag1","hashtag2"]},{"1332347890":["hashtag1","hashtag2"]},{"1332347913":["hashtag1","hashtag2"]},{"1332347873":["hashtag1","hashtag2"]},{"1332347907":["hashtag1","hashtag2"]},{"1332347882":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332347909, 1332347890, 1332347913, 1332347873, 1332347907, 1332347882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.70731282234192 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 17:32:43.352768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/20/image_28012025_11_21_06_10331.jpg', '/home/pi/Desktop/images/28012025/11/21/image_28012025_11_21_26_9421.jpg', '/home/pi/Desktop/images/28012025/11/21/image_28012025_11_21_36_10342.jpg', '/home/pi/Desktop/images/28012025/11/21/image_28012025_11_21_45_9380.jpg', '/home/pi/Desktop/images/28012025/11/21/image_28012025_11_21_56_10387.jpg', '/home/pi/Desktop/images/28012025/11/22/image_28012025_11_22_15_9384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/20/image_28012025_11_21_06_10331.jpg
/home/pi/Desktop/images/28012025/11/21/image_28012025_11_21_26_9421.jpg
/home/pi/Desktop/images/28012025/11/21/image_28012025_11_21_36_10342.jpg
/home/pi/Desktop/images/28012025/11/21/image_28012025_11_21_45_9380.jpg
/home/pi/Desktop/images/28012025/11/21/image_28012025_11_21_56_10387.jpg
/home/pi/Desktop/images/28012025/11/22/image_28012025_11_22_15_9384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332347939","1332347927","1332347947","1332347931","1332347943","1332347936"],"photo_ids_order":["1332347927","1332347931","1332347936","1332347939","1332347943","1332347947"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e3c4928c51b7f400808514ce21230c98.jpg","text":"TemporaryFile(/tmp/multipartBody220019696677137085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082024319,"filename":"image_28012025_11_21_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/1/28/5eb007f0d6d106e9638d5d1e840a52d9.jpg","text":"TemporaryFile(/tmp/multipartBody6947130770871645795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082024319,"filename":"image_28012025_11_21_06_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ab60f8d24cd923f851d0d764c3f7d02b.jpg","text":"TemporaryFile(/tmp/multipartBody1765761427550920687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082024319,"filename":"image_28012025_11_22_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/1/28/62f2cdaadf3c8e89d8ba914e4462b51d.jpg","text":"TemporaryFile(/tmp/multipartBody3187883681245557045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082024319,"filename":"image_28012025_11_21_26_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/148879795eee07212ac253acc572dab2.jpg","text":"TemporaryFile(/tmp/multipartBody5427440002483540630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082024319,"filename":"image_28012025_11_21_56_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e519343ecf73a30bcf2a1ebafea037cc.jpg","text":"TemporaryFile(/tmp/multipartBody4112612478154839404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082024319,"filename":"image_28012025_11_21_36_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332347936","file1":"1332347931","file0":"1332347927","file4":"1332347943","file5":"1332347947","file3":"1332347939"},"map_files_photo_id_array":[{"photo_id":"1332347947","filename":"file5"},{"photo_id":"1332347936","filename":"file2"},{"photo_id":"1332347943","filename":"file4"},{"photo_id":"1332347931","filename":"file1"},{"photo_id":"1332347927","filename":"file0"},{"photo_id":"1332347939","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332347939":["hashtag1","hashtag2"]},{"1332347927":["hashtag1","hashtag2"]},{"1332347947":["hashtag1","hashtag2"]},{"1332347931":["hashtag1","hashtag2"]},{"1332347943":["hashtag1","hashtag2"]},{"1332347936":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332347939, 1332347927, 1332347947, 1332347931, 1332347943, 1332347936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83993649482727 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:33:32.441925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/22/image_28012025_11_22_26_10363.jpg', '/home/pi/Desktop/images/28012025/11/22/image_28012025_11_22_36_10342.jpg', '/home/pi/Desktop/images/28012025/11/22/image_28012025_11_22_46_9534.jpg', '/home/pi/Desktop/images/28012025/11/22/image_28012025_11_22_56_10334.jpg', '/home/pi/Desktop/images/28012025/11/22/image_28012025_11_23_05_9327.jpg', '/home/pi/Desktop/images/28012025/11/23/image_28012025_11_23_16_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/22/image_28012025_11_22_26_10363.jpg
/home/pi/Desktop/images/28012025/11/22/image_28012025_11_22_36_10342.jpg
/home/pi/Desktop/images/28012025/11/22/image_28012025_11_22_46_9534.jpg
/home/pi/Desktop/images/28012025/11/22/image_28012025_11_22_56_10334.jpg
/home/pi/Desktop/images/28012025/11/22/image_28012025_11_23_05_9327.jpg
/home/pi/Desktop/images/28012025/11/23/image_28012025_11_23_16_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":["1332348020","1332347982","1332348123","1332348105","1332348095","1332348119"],"photo_ids_order":["1332347982","1332348020","1332348095","1332348105","1332348119","1332348123"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/867afeecd38a79d484181fc41a104142.jpg","text":"TemporaryFile(/tmp/multipartBody5038094827419733049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082073406,"filename":"image_28012025_11_22_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/1/28/02d6b7bb4749f58b840ec44540855bdc.jpg","text":"TemporaryFile(/tmp/multipartBody3053793088182909217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082073406,"filename":"image_28012025_11_22_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/1/28/0bb9f32aa10f224ed4d3b2827dcb94d3.jpg","text":"TemporaryFile(/tmp/multipartBody9163279671459518654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082073406,"filename":"image_28012025_11_23_16_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/08cee2413fb6d6e4431c90d3278d4d31.jpg","text":"TemporaryFile(/tmp/multipartBody3129500522926855916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082073406,"filename":"image_28012025_11_22_56_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dbf27c57f7d2e59e5032033b410a9b1e.jpg","text":"TemporaryFile(/tmp/multipartBody1132505503959310330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082073406,"filename":"image_28012025_11_22_46_9534.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/305731a9aa4587e356fd9e467ffe3b16.jpg","text":"TemporaryFile(/tmp/multipartBody6990486276869450086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082073406,"filename":"image_28012025_11_23_05_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332348095","file1":"1332348020","file0":"1332347982","file4":"1332348119","file5":"1332348123","file3":"1332348105"},"map_files_photo_id_array":[{"photo_id":"1332348123","filename":"file5"},{"photo_id":"1332348095","filename":"file2"},{"photo_id":"1332348119","filename":"file4"},{"photo_id":"1332348020","filename":"file1"},{"photo_id":"1332347982","filename":"file0"},{"photo_id":"1332348105","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332348020":["hashtag1","hashtag2"]},{"1332347982":["hashtag1","hashtag2"]},{"1332348123":["hashtag1","hashtag2"]},{"1332348105":["hashtag1","hashtag2"]},{"1332348095":["hashtag1","hashtag2"]},{"1332348119":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332348020, 1332347982, 1332348123, 1332348105, 1332348095, 1332348119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.28641629219055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:34:32.667316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/23/image_28012025_11_23_26_10354.jpg', '/home/pi/Desktop/images/28012025/11/23/image_28012025_11_23_35_9471.jpg', '/home/pi/Desktop/images/28012025/11/23/image_28012025_11_23_46_10355.jpg', '/home/pi/Desktop/images/28012025/11/23/image_28012025_11_23_55_9445.jpg', '/home/pi/Desktop/images/28012025/11/23/image_28012025_11_24_06_10402.jpg', '/home/pi/Desktop/images/28012025/11/24/image_28012025_11_24_16_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/23/image_28012025_11_23_26_10354.jpg
/home/pi/Desktop/images/28012025/11/23/image_28012025_11_23_35_9471.jpg
/home/pi/Desktop/images/28012025/11/23/image_28012025_11_23_46_10355.jpg
/home/pi/Desktop/images/28012025/11/23/image_28012025_11_23_55_9445.jpg
/home/pi/Desktop/images/28012025/11/23/image_28012025_11_24_06_10402.jpg
/home/pi/Desktop/images/28012025/11/24/image_28012025_11_24_16_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":["1332348145","1332348139","1332348165","1332348150","1332348135","1332348170"],"photo_ids_order":["1332348135","1332348139","1332348145","1332348150","1332348165","1332348170"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e771d96a5807352893e52523ac4aa002.jpg","text":"TemporaryFile(/tmp/multipartBody4079908804858492304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082133645,"filename":"image_28012025_11_23_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/1/28/aec4208141df817e7231aa2b9bf50378.jpg","text":"TemporaryFile(/tmp/multipartBody18379406072242143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082133645,"filename":"image_28012025_11_23_35_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f17583d8227d5e6f9b6c084c94396495.jpg","text":"TemporaryFile(/tmp/multipartBody4433293665215289549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082133645,"filename":"image_28012025_11_24_06_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bcf984ff8651926cc6b883a22de46ceb.jpg","text":"TemporaryFile(/tmp/multipartBody9195965205913537485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082133645,"filename":"image_28012025_11_23_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/1/28/dc97ee4c59b90ccff5df6f4a771c5478.jpg","text":"TemporaryFile(/tmp/multipartBody2069708909123988340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082133645,"filename":"image_28012025_11_23_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/1/28/f1825529bd0ce43ef4872a19e72b4afe.jpg","text":"TemporaryFile(/tmp/multipartBody6133191008087000915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082133645,"filename":"image_28012025_11_24_16_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332348145","file1":"1332348139","file0":"1332348135","file4":"1332348165","file5":"1332348170","file3":"1332348150"},"map_files_photo_id_array":[{"photo_id":"1332348170","filename":"file5"},{"photo_id":"1332348145","filename":"file2"},{"photo_id":"1332348165","filename":"file4"},{"photo_id":"1332348139","filename":"file1"},{"photo_id":"1332348135","filename":"file0"},{"photo_id":"1332348150","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332348145":["hashtag1","hashtag2"]},{"1332348139":["hashtag1","hashtag2"]},{"1332348165":["hashtag1","hashtag2"]},{"1332348150":["hashtag1","hashtag2"]},{"1332348135":["hashtag1","hashtag2"]},{"1332348170":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332348145, 1332348139, 1332348165, 1332348150, 1332348135, 1332348170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.493645429611206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:35:32.896111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/24/image_28012025_11_24_25_9447.jpg', '/home/pi/Desktop/images/28012025/11/24/image_28012025_11_24_36_10340.jpg', '/home/pi/Desktop/images/28012025/11/24/image_28012025_11_24_46_10382.jpg', '/home/pi/Desktop/images/28012025/11/24/image_28012025_11_24_55_9331.jpg', '/home/pi/Desktop/images/28012025/11/24/image_28012025_11_25_06_10336.jpg', '/home/pi/Desktop/images/28012025/11/25/image_28012025_11_25_16_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/24/image_28012025_11_24_25_9447.jpg
/home/pi/Desktop/images/28012025/11/24/image_28012025_11_24_36_10340.jpg
/home/pi/Desktop/images/28012025/11/24/image_28012025_11_24_46_10382.jpg
/home/pi/Desktop/images/28012025/11/24/image_28012025_11_24_55_9331.jpg
/home/pi/Desktop/images/28012025/11/24/image_28012025_11_25_06_10336.jpg
/home/pi/Desktop/images/28012025/11/25/image_28012025_11_25_16_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332348809","1332348508","1332349242","1332349245","1332349127","1332349223"],"photo_ids_order":["1332348508","1332348809","1332349127","1332349223","1332349242","1332349245"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8051d5a9d0dd19744a425bcfb1bdfd64.jpg","text":"TemporaryFile(/tmp/multipartBody420701494643310542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082193889,"filename":"image_28012025_11_24_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/1/28/c85364fa75efd893c8ea3832bada4584.jpg","text":"TemporaryFile(/tmp/multipartBody6934399002386837473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082193889,"filename":"image_28012025_11_24_25_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/784ed45f1937097b79ce5edfbee58260.jpg","text":"TemporaryFile(/tmp/multipartBody2191122425507647482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082193889,"filename":"image_28012025_11_25_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/1/28/8564052d5ab9c7ff27473df5d325ade5.jpg","text":"TemporaryFile(/tmp/multipartBody5957930211544976200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082193889,"filename":"image_28012025_11_25_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/1/28/cfba08783540de1d5036d45690934192.jpg","text":"TemporaryFile(/tmp/multipartBody1978104410654127504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082193889,"filename":"image_28012025_11_24_46_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1d5901a7ec953d186dd2d7ec8e8791fd.jpg","text":"TemporaryFile(/tmp/multipartBody5901801507933647292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082193889,"filename":"image_28012025_11_24_55_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332349127","file1":"1332348809","file0":"1332348508","file4":"1332349242","file5":"1332349245","file3":"1332349223"},"map_files_photo_id_array":[{"photo_id":"1332349245","filename":"file5"},{"photo_id":"1332349127","filename":"file2"},{"photo_id":"1332349242","filename":"file4"},{"photo_id":"1332348809","filename":"file1"},{"photo_id":"1332348508","filename":"file0"},{"photo_id":"1332349223","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332348809":["hashtag1","hashtag2"]},{"1332348508":["hashtag1","hashtag2"]},{"1332349242":["hashtag1","hashtag2"]},{"1332349245":["hashtag1","hashtag2"]},{"1332349127":["hashtag1","hashtag2"]},{"1332349223":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332348809, 1332348508, 1332349242, 1332349245, 1332349127, 1332349223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.35798263549805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:36:32.212349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/25/image_28012025_11_25_26_9420.jpg', '/home/pi/Desktop/images/28012025/11/25/image_28012025_11_25_45_9337.jpg', '/home/pi/Desktop/images/28012025/11/25/image_28012025_11_25_56_10337.jpg', '/home/pi/Desktop/images/28012025/11/25/image_28012025_11_26_06_10445.jpg', '/home/pi/Desktop/images/28012025/11/26/image_28012025_11_26_15_9391.jpg', '/home/pi/Desktop/images/28012025/11/26/image_28012025_11_26_26_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/25/image_28012025_11_25_26_9420.jpg
/home/pi/Desktop/images/28012025/11/25/image_28012025_11_25_45_9337.jpg
/home/pi/Desktop/images/28012025/11/25/image_28012025_11_25_56_10337.jpg
/home/pi/Desktop/images/28012025/11/25/image_28012025_11_26_06_10445.jpg
/home/pi/Desktop/images/28012025/11/26/image_28012025_11_26_15_9391.jpg
/home/pi/Desktop/images/28012025/11/26/image_28012025_11_26_26_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":["1332349279","1332349510","1332349272","1332349266","1332349269","1332349394"],"photo_ids_order":["1332349266","1332349269","1332349272","1332349279","1332349394","1332349510"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fc678548808b171632ca0393c3f97087.jpg","text":"TemporaryFile(/tmp/multipartBody4933797225396798060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082253192,"filename":"image_28012025_11_26_06_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3d3c79928af5ef2cd07a13e13a0a66dc.jpg","text":"TemporaryFile(/tmp/multipartBody5667056823903829987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082253192,"filename":"image_28012025_11_26_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/1/28/595477597352be02b7a7a3ebdd81ee1d.jpg","text":"TemporaryFile(/tmp/multipartBody5953942861141012644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082253192,"filename":"image_28012025_11_25_56_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c02a748d07d4a652f1d96eb958c0a7f8.jpg","text":"TemporaryFile(/tmp/multipartBody8861084822666700064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082253192,"filename":"image_28012025_11_25_26_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/91f6140038230c9b9cefaf4fe5b81cc3.jpg","text":"TemporaryFile(/tmp/multipartBody4767691329983638381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082253192,"filename":"image_28012025_11_25_45_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/015147b3d08403da9b43f301ee672cec.jpg","text":"TemporaryFile(/tmp/multipartBody2170628751043359865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082253192,"filename":"image_28012025_11_26_15_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332349272","file1":"1332349269","file0":"1332349266","file4":"1332349394","file5":"1332349510","file3":"1332349279"},"map_files_photo_id_array":[{"photo_id":"1332349510","filename":"file5"},{"photo_id":"1332349272","filename":"file2"},{"photo_id":"1332349394","filename":"file4"},{"photo_id":"1332349269","filename":"file1"},{"photo_id":"1332349266","filename":"file0"},{"photo_id":"1332349279","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332349279":["hashtag1","hashtag2"]},{"1332349510":["hashtag1","hashtag2"]},{"1332349272":["hashtag1","hashtag2"]},{"1332349266":["hashtag1","hashtag2"]},{"1332349269":["hashtag1","hashtag2"]},{"1332349394":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332349279, 1332349510, 1332349272, 1332349266, 1332349269, 1332349394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33129262924194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:37:32.457954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/26/image_28012025_11_26_36_10369.jpg', '/home/pi/Desktop/images/28012025/11/26/image_28012025_11_26_46_9359.jpg', '/home/pi/Desktop/images/28012025/11/26/image_28012025_11_26_56_10439.jpg', '/home/pi/Desktop/images/28012025/11/26/image_28012025_11_27_05_9474.jpg', '/home/pi/Desktop/images/28012025/11/27/image_28012025_11_27_16_10341.jpg', '/home/pi/Desktop/images/28012025/11/27/image_28012025_11_27_26_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/26/image_28012025_11_26_36_10369.jpg
/home/pi/Desktop/images/28012025/11/26/image_28012025_11_26_46_9359.jpg
/home/pi/Desktop/images/28012025/11/26/image_28012025_11_26_56_10439.jpg
/home/pi/Desktop/images/28012025/11/26/image_28012025_11_27_05_9474.jpg
/home/pi/Desktop/images/28012025/11/27/image_28012025_11_27_16_10341.jpg
/home/pi/Desktop/images/28012025/11/27/image_28012025_11_27_26_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":["1332349854","1332349772","1332349757","1332349739","1332349780","1332349696"],"photo_ids_order":["1332349696","1332349739","1332349757","1332349772","1332349780","1332349854"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5bb2f525c88f36d798c85b09213a9622.jpg","text":"TemporaryFile(/tmp/multipartBody8189640464571836789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082313432,"filename":"image_28012025_11_27_26_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b1bb3a9e893c47db1059ec5067b56e16.jpg","text":"TemporaryFile(/tmp/multipartBody8530092294820914169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082313432,"filename":"image_28012025_11_27_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/1/28/12574444977091ed485bba0799c38926.jpg","text":"TemporaryFile(/tmp/multipartBody1862275602998015658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082313432,"filename":"image_28012025_11_26_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/1/28/70cf95e057c454e1b92695f11820f394.jpg","text":"TemporaryFile(/tmp/multipartBody7136230189675732548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082313432,"filename":"image_28012025_11_26_46_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7d68af727a29accb849e200ef126c78e.jpg","text":"TemporaryFile(/tmp/multipartBody4809260900767467837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082313432,"filename":"image_28012025_11_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/1/28/ad1dd3976c762e1f0d8a970fba3b0a46.jpg","text":"TemporaryFile(/tmp/multipartBody4228983891826331980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082313432,"filename":"image_28012025_11_26_36_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332349757","file1":"1332349739","file0":"1332349696","file4":"1332349780","file5":"1332349854","file3":"1332349772"},"map_files_photo_id_array":[{"photo_id":"1332349854","filename":"file5"},{"photo_id":"1332349757","filename":"file2"},{"photo_id":"1332349780","filename":"file4"},{"photo_id":"1332349739","filename":"file1"},{"photo_id":"1332349696","filename":"file0"},{"photo_id":"1332349772","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332349854":["hashtag1","hashtag2"]},{"1332349772":["hashtag1","hashtag2"]},{"1332349757":["hashtag1","hashtag2"]},{"1332349739":["hashtag1","hashtag2"]},{"1332349780":["hashtag1","hashtag2"]},{"1332349696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332349854, 1332349772, 1332349757, 1332349739, 1332349780, 1332349696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36491417884827 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:38:32.634716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/27/image_28012025_11_27_35_9360.jpg', '/home/pi/Desktop/images/28012025/11/27/image_28012025_11_27_46_10383.jpg', '/home/pi/Desktop/images/28012025/11/27/image_28012025_11_27_55_9338.jpg', '/home/pi/Desktop/images/28012025/11/27/image_28012025_11_28_06_10346.jpg', '/home/pi/Desktop/images/28012025/11/28/image_28012025_11_28_16_10345.jpg', '/home/pi/Desktop/images/28012025/11/28/image_28012025_11_28_25_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/27/image_28012025_11_27_35_9360.jpg
/home/pi/Desktop/images/28012025/11/27/image_28012025_11_27_46_10383.jpg
/home/pi/Desktop/images/28012025/11/27/image_28012025_11_27_55_9338.jpg
/home/pi/Desktop/images/28012025/11/27/image_28012025_11_28_06_10346.jpg
/home/pi/Desktop/images/28012025/11/28/image_28012025_11_28_16_10345.jpg
/home/pi/Desktop/images/28012025/11/28/image_28012025_11_28_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":["1332350305","1332350376","1332350373","1332350316","1332350319","1332350132"],"photo_ids_order":["1332350132","1332350305","1332350316","1332350319","1332350373","1332350376"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a6f4d4ea446ce101faea46f862f27916.jpg","text":"TemporaryFile(/tmp/multipartBody8859009729469686858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082373606,"filename":"image_28012025_11_27_46_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6da47c11414f6405bd1b86fe5762c42b.jpg","text":"TemporaryFile(/tmp/multipartBody6808483179083432837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082373606,"filename":"image_28012025_11_28_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/1/28/8c412a099c65002fa54c632a2a7d3de9.jpg","text":"TemporaryFile(/tmp/multipartBody2507886305495827510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082373606,"filename":"image_28012025_11_28_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/1/28/b30e6edbad4806a45b3767368c216d17.jpg","text":"TemporaryFile(/tmp/multipartBody8458153651773403298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082373606,"filename":"image_28012025_11_27_55_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c4f3700e28beff98f5f795d5b22b35d5.jpg","text":"TemporaryFile(/tmp/multipartBody2645659612813738367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082373606,"filename":"image_28012025_11_28_06_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b58a47f028779b8e5027a1d931d47c49.jpg","text":"TemporaryFile(/tmp/multipartBody5103104357450166138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082373606,"filename":"image_28012025_11_27_35_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332350316","file1":"1332350305","file0":"1332350132","file4":"1332350373","file5":"1332350376","file3":"1332350319"},"map_files_photo_id_array":[{"photo_id":"1332350376","filename":"file5"},{"photo_id":"1332350316","filename":"file2"},{"photo_id":"1332350373","filename":"file4"},{"photo_id":"1332350305","filename":"file1"},{"photo_id":"1332350132","filename":"file0"},{"photo_id":"1332350319","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332350305":["hashtag1","hashtag2"]},{"1332350376":["hashtag1","hashtag2"]},{"1332350373":["hashtag1","hashtag2"]},{"1332350316":["hashtag1","hashtag2"]},{"1332350319":["hashtag1","hashtag2"]},{"1332350132":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332350305, 1332350376, 1332350373, 1332350316, 1332350319, 1332350132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.41348624229431 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:39:32.869299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/28/image_28012025_11_28_36_10426.jpg', '/home/pi/Desktop/images/28012025/11/28/image_28012025_11_28_46_10346.jpg', '/home/pi/Desktop/images/28012025/11/28/image_28012025_11_28_56_9476.jpg', '/home/pi/Desktop/images/28012025/11/28/image_28012025_11_29_06_10387.jpg', '/home/pi/Desktop/images/28012025/11/29/image_28012025_11_29_15_9326.jpg', '/home/pi/Desktop/images/28012025/11/29/image_28012025_11_29_26_10376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/28/image_28012025_11_28_36_10426.jpg
/home/pi/Desktop/images/28012025/11/28/image_28012025_11_28_46_10346.jpg
/home/pi/Desktop/images/28012025/11/28/image_28012025_11_28_56_9476.jpg
/home/pi/Desktop/images/28012025/11/28/image_28012025_11_29_06_10387.jpg
/home/pi/Desktop/images/28012025/11/29/image_28012025_11_29_15_9326.jpg
/home/pi/Desktop/images/28012025/11/29/image_28012025_11_29_26_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5940978527069092 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 17:39:42.955283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/28/image_28012025_11_28_36_10426.jpg', '/home/pi/Desktop/images/28012025/11/28/image_28012025_11_28_46_10346.jpg', '/home/pi/Desktop/images/28012025/11/28/image_28012025_11_28_56_9476.jpg', '/home/pi/Desktop/images/28012025/11/28/image_28012025_11_29_06_10387.jpg', '/home/pi/Desktop/images/28012025/11/29/image_28012025_11_29_15_9326.jpg', '/home/pi/Desktop/images/28012025/11/29/image_28012025_11_29_26_10376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/28/image_28012025_11_28_36_10426.jpg
/home/pi/Desktop/images/28012025/11/28/image_28012025_11_28_46_10346.jpg
/home/pi/Desktop/images/28012025/11/28/image_28012025_11_28_56_9476.jpg
/home/pi/Desktop/images/28012025/11/28/image_28012025_11_29_06_10387.jpg
/home/pi/Desktop/images/28012025/11/29/image_28012025_11_29_15_9326.jpg
/home/pi/Desktop/images/28012025/11/29/image_28012025_11_29_26_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":["1332350536","1332350518","1332350523","1332350532","1332350540","1332350528"],"photo_ids_order":["1332350518","1332350523","1332350528","1332350532","1332350536","1332350540"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/037dabfa2c4838a16cc14faaf9229e41.jpg","text":"TemporaryFile(/tmp/multipartBody2338403462847162647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082443853,"filename":"image_28012025_11_29_15_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a73da8dda928c3b133db33a6f5c5cc17.jpg","text":"TemporaryFile(/tmp/multipartBody8896056275359671502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082443853,"filename":"image_28012025_11_28_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/1/28/9f96558727108f8e3ac2424677df0bdf.jpg","text":"TemporaryFile(/tmp/multipartBody7379550765393334494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082443853,"filename":"image_28012025_11_28_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/1/28/48ad83fa5764ded8bef17c0d0319b330.jpg","text":"TemporaryFile(/tmp/multipartBody7198342708790642939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082443853,"filename":"image_28012025_11_29_06_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6e164be4d963d9fd6bb4f933957dbb6a.jpg","text":"TemporaryFile(/tmp/multipartBody2739590906263437849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082443853,"filename":"image_28012025_11_29_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/1/28/f234eb764786be99c72f816708711dca.jpg","text":"TemporaryFile(/tmp/multipartBody8337934938226901531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082443853,"filename":"image_28012025_11_28_56_9476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332350528","file1":"1332350523","file0":"1332350518","file4":"1332350536","file5":"1332350540","file3":"1332350532"},"map_files_photo_id_array":[{"photo_id":"1332350540","filename":"file5"},{"photo_id":"1332350528","filename":"file2"},{"photo_id":"1332350536","filename":"file4"},{"photo_id":"1332350523","filename":"file1"},{"photo_id":"1332350518","filename":"file0"},{"photo_id":"1332350532","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332350536":["hashtag1","hashtag2"]},{"1332350518":["hashtag1","hashtag2"]},{"1332350523":["hashtag1","hashtag2"]},{"1332350532":["hashtag1","hashtag2"]},{"1332350540":["hashtag1","hashtag2"]},{"1332350528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332350536, 1332350518, 1332350523, 1332350532, 1332350540, 1332350528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8415150642395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:40:33.152486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/29/image_28012025_11_29_36_10356.jpg', '/home/pi/Desktop/images/28012025/11/29/image_28012025_11_29_45_9337.jpg', '/home/pi/Desktop/images/28012025/11/29/image_28012025_11_29_56_10434.jpg', '/home/pi/Desktop/images/28012025/11/29/image_28012025_11_30_06_10456.jpg', '/home/pi/Desktop/images/28012025/11/30/image_28012025_11_30_16_9420.jpg', '/home/pi/Desktop/images/28012025/11/30/image_28012025_11_30_26_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/29/image_28012025_11_29_36_10356.jpg
/home/pi/Desktop/images/28012025/11/29/image_28012025_11_29_45_9337.jpg
/home/pi/Desktop/images/28012025/11/29/image_28012025_11_29_56_10434.jpg
/home/pi/Desktop/images/28012025/11/29/image_28012025_11_30_06_10456.jpg
/home/pi/Desktop/images/28012025/11/30/image_28012025_11_30_16_9420.jpg
/home/pi/Desktop/images/28012025/11/30/image_28012025_11_30_26_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":["1332350584","1332350605","1332350556","1332350553","1332350570","1332350729"],"photo_ids_order":["1332350553","1332350556","1332350570","1332350584","1332350605","1332350729"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/45b3f54baeaf0d9567996c6b20de560f.jpg","text":"TemporaryFile(/tmp/multipartBody3953349361679092150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082494127,"filename":"image_28012025_11_30_06_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/267685042c0b3f6bd77658fb8f3fbdb7.jpg","text":"TemporaryFile(/tmp/multipartBody7080322334351032584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082494127,"filename":"image_28012025_11_30_16_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c3edffc94b41dd8b9f5636cb7ac54697.jpg","text":"TemporaryFile(/tmp/multipartBody9016562164203806956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082494127,"filename":"image_28012025_11_29_45_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/684a5b74c4b6578d1b14e82c96bcee3a.jpg","text":"TemporaryFile(/tmp/multipartBody4001702146934927654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082494127,"filename":"image_28012025_11_29_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/1/28/d183bb739e245f30a48d09b5ed646ec7.jpg","text":"TemporaryFile(/tmp/multipartBody7871528193503879330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082494127,"filename":"image_28012025_11_29_56_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9abe07c9f83d923446f2ee1852aae97a.jpg","text":"TemporaryFile(/tmp/multipartBody6412560626105617902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082494127,"filename":"image_28012025_11_30_26_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332350570","file1":"1332350556","file0":"1332350553","file4":"1332350605","file5":"1332350729","file3":"1332350584"},"map_files_photo_id_array":[{"photo_id":"1332350729","filename":"file5"},{"photo_id":"1332350570","filename":"file2"},{"photo_id":"1332350605","filename":"file4"},{"photo_id":"1332350556","filename":"file1"},{"photo_id":"1332350553","filename":"file0"},{"photo_id":"1332350584","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332350584":["hashtag1","hashtag2"]},{"1332350605":["hashtag1","hashtag2"]},{"1332350556":["hashtag1","hashtag2"]},{"1332350553":["hashtag1","hashtag2"]},{"1332350570":["hashtag1","hashtag2"]},{"1332350729":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332350584, 1332350605, 1332350556, 1332350553, 1332350570, 1332350729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8532280921936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:41:32.281038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/30/image_28012025_11_30_35_9334.jpg', '/home/pi/Desktop/images/28012025/11/30/image_28012025_11_30_46_10376.jpg', '/home/pi/Desktop/images/28012025/11/30/image_28012025_11_30_56_10345.jpg', '/home/pi/Desktop/images/28012025/11/30/image_28012025_11_31_06_9669.jpg', '/home/pi/Desktop/images/28012025/11/31/image_28012025_11_31_16_10354.jpg', '/home/pi/Desktop/images/28012025/11/31/image_28012025_11_31_25_9405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/30/image_28012025_11_30_35_9334.jpg
/home/pi/Desktop/images/28012025/11/30/image_28012025_11_30_46_10376.jpg
/home/pi/Desktop/images/28012025/11/30/image_28012025_11_30_56_10345.jpg
/home/pi/Desktop/images/28012025/11/30/image_28012025_11_31_06_9669.jpg
/home/pi/Desktop/images/28012025/11/31/image_28012025_11_31_16_10354.jpg
/home/pi/Desktop/images/28012025/11/31/image_28012025_11_31_25_9405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332350929","1332350920","1332350924","1332350933","1332350912","1332350915"],"photo_ids_order":["1332350912","1332350915","1332350920","1332350924","1332350929","1332350933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/71be8f43f8e2016f2de8c9ef7b94e415.jpg","text":"TemporaryFile(/tmp/multipartBody7188729578329021427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082553260,"filename":"image_28012025_11_31_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/1/28/f61dbfbb7b35ade4368c902372711ae0.jpg","text":"TemporaryFile(/tmp/multipartBody7807189806164658554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082553260,"filename":"image_28012025_11_30_56_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/882d9c1e4a2e05fdec85d88d29f2ebc3.jpg","text":"TemporaryFile(/tmp/multipartBody2473039650241684093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082553260,"filename":"image_28012025_11_31_06_9669.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cb7edddb7e25a4ccf141e966d05ba282.jpg","text":"TemporaryFile(/tmp/multipartBody6833214103631466600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082553260,"filename":"image_28012025_11_31_25_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8842ba463de6b43d1aea35c9abad406b.jpg","text":"TemporaryFile(/tmp/multipartBody4709473069263802741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082553260,"filename":"image_28012025_11_30_35_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d81bf4cfdbbb7e160291d8e80165f852.jpg","text":"TemporaryFile(/tmp/multipartBody1858565955813009827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082553260,"filename":"image_28012025_11_30_46_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332350920","file1":"1332350915","file0":"1332350912","file4":"1332350929","file5":"1332350933","file3":"1332350924"},"map_files_photo_id_array":[{"photo_id":"1332350933","filename":"file5"},{"photo_id":"1332350920","filename":"file2"},{"photo_id":"1332350929","filename":"file4"},{"photo_id":"1332350915","filename":"file1"},{"photo_id":"1332350912","filename":"file0"},{"photo_id":"1332350924","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332350929":["hashtag1","hashtag2"]},{"1332350920":["hashtag1","hashtag2"]},{"1332350924":["hashtag1","hashtag2"]},{"1332350933":["hashtag1","hashtag2"]},{"1332350912":["hashtag1","hashtag2"]},{"1332350915":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332350929, 1332350920, 1332350924, 1332350933, 1332350912, 1332350915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.53843855857849 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:42:32.543196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/31/image_28012025_11_31_36_10368.jpg', '/home/pi/Desktop/images/28012025/11/31/image_28012025_11_31_56_10439.jpg', '/home/pi/Desktop/images/28012025/11/31/image_28012025_11_32_06_10343.jpg', '/home/pi/Desktop/images/28012025/11/32/image_28012025_11_32_15_9383.jpg', '/home/pi/Desktop/images/28012025/11/32/image_28012025_11_32_26_10368.jpg', '/home/pi/Desktop/images/28012025/11/32/image_28012025_11_32_36_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/31/image_28012025_11_31_36_10368.jpg
/home/pi/Desktop/images/28012025/11/31/image_28012025_11_31_56_10439.jpg
/home/pi/Desktop/images/28012025/11/31/image_28012025_11_32_06_10343.jpg
/home/pi/Desktop/images/28012025/11/32/image_28012025_11_32_15_9383.jpg
/home/pi/Desktop/images/28012025/11/32/image_28012025_11_32_26_10368.jpg
/home/pi/Desktop/images/28012025/11/32/image_28012025_11_32_36_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332350964","1332350967","1332350961","1332350972","1332350954","1332350948"],"photo_ids_order":["1332350948","1332350954","1332350961","1332350964","1332350967","1332350972"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/71610e5db4a4d643a464436134181ecf.jpg","text":"TemporaryFile(/tmp/multipartBody7105707921309611694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082613518,"filename":"image_28012025_11_32_15_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cbe8f72e42a302b778b76c0d796d2b0a.jpg","text":"TemporaryFile(/tmp/multipartBody979437713423467228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082613518,"filename":"image_28012025_11_32_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/1/28/e750bb411cf85c2f45a4f78c1ea869f6.jpg","text":"TemporaryFile(/tmp/multipartBody7834340954665314016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082613518,"filename":"image_28012025_11_32_06_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cbac660031bc7063f5c22cc960ad355b.jpg","text":"TemporaryFile(/tmp/multipartBody439144664553223471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082613518,"filename":"image_28012025_11_32_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/1/28/fc1ad3c348ba68435b558fcb0019c498.jpg","text":"TemporaryFile(/tmp/multipartBody5975490120911287064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082613518,"filename":"image_28012025_11_31_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/1/28/699b5c16eb1c9839ea61ef8231545c7c.jpg","text":"TemporaryFile(/tmp/multipartBody467546691102823365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082613518,"filename":"image_28012025_11_31_36_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332350961","file1":"1332350954","file0":"1332350948","file4":"1332350967","file5":"1332350972","file3":"1332350964"},"map_files_photo_id_array":[{"photo_id":"1332350972","filename":"file5"},{"photo_id":"1332350961","filename":"file2"},{"photo_id":"1332350967","filename":"file4"},{"photo_id":"1332350954","filename":"file1"},{"photo_id":"1332350948","filename":"file0"},{"photo_id":"1332350964","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332350964":["hashtag1","hashtag2"]},{"1332350967":["hashtag1","hashtag2"]},{"1332350961":["hashtag1","hashtag2"]},{"1332350972":["hashtag1","hashtag2"]},{"1332350954":["hashtag1","hashtag2"]},{"1332350948":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332350964, 1332350967, 1332350961, 1332350972, 1332350954, 1332350948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.210411071777344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:43:32.888074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/32/image_28012025_11_32_46_9435.jpg', '/home/pi/Desktop/images/28012025/11/32/image_28012025_11_32_56_10333.jpg', '/home/pi/Desktop/images/28012025/11/32/image_28012025_11_33_05_9364.jpg', '/home/pi/Desktop/images/28012025/11/33/image_28012025_11_33_16_10415.jpg', '/home/pi/Desktop/images/28012025/11/33/image_28012025_11_34_06_9411.jpg', '/home/pi/Desktop/images/28012025/11/34/image_28012025_11_34_16_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/32/image_28012025_11_32_46_9435.jpg
/home/pi/Desktop/images/28012025/11/32/image_28012025_11_32_56_10333.jpg
/home/pi/Desktop/images/28012025/11/32/image_28012025_11_33_05_9364.jpg
/home/pi/Desktop/images/28012025/11/33/image_28012025_11_33_16_10415.jpg
/home/pi/Desktop/images/28012025/11/33/image_28012025_11_34_06_9411.jpg
/home/pi/Desktop/images/28012025/11/34/image_28012025_11_34_16_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":["1332351010","1332351048","1332351042","1332351024","1332351029","1332351052"],"photo_ids_order":["1332351010","1332351024","1332351029","1332351042","1332351048","1332351052"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/88a3cd51946f8ebab35de936fd991c41.jpg","text":"TemporaryFile(/tmp/multipartBody7684864218494115513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082673884,"filename":"image_28012025_11_32_46_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/19277296d94284c6660a087eee53a9af.jpg","text":"TemporaryFile(/tmp/multipartBody3254616916114470494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082673884,"filename":"image_28012025_11_34_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/1/28/9d1ad73d4a551a55aab2cd00800b3b91.jpg","text":"TemporaryFile(/tmp/multipartBody8328160187489913673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082673884,"filename":"image_28012025_11_33_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/1/28/6493c18b497752b0b09ce4f66ed9d262.jpg","text":"TemporaryFile(/tmp/multipartBody946686398780557912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082673884,"filename":"image_28012025_11_32_56_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/32674cfe91bdb4e7ad5b629b02761256.jpg","text":"TemporaryFile(/tmp/multipartBody2115682307684471727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082673884,"filename":"image_28012025_11_33_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/1/28/b4ae4acfe56b720811b4e94c7a31432f.jpg","text":"TemporaryFile(/tmp/multipartBody1669175073980582044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082673884,"filename":"image_28012025_11_34_16_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332351029","file1":"1332351024","file0":"1332351010","file4":"1332351048","file5":"1332351052","file3":"1332351042"},"map_files_photo_id_array":[{"photo_id":"1332351052","filename":"file5"},{"photo_id":"1332351029","filename":"file2"},{"photo_id":"1332351048","filename":"file4"},{"photo_id":"1332351024","filename":"file1"},{"photo_id":"1332351010","filename":"file0"},{"photo_id":"1332351042","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332351010":["hashtag1","hashtag2"]},{"1332351048":["hashtag1","hashtag2"]},{"1332351042":["hashtag1","hashtag2"]},{"1332351024":["hashtag1","hashtag2"]},{"1332351029":["hashtag1","hashtag2"]},{"1332351052":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332351010, 1332351048, 1332351042, 1332351024, 1332351029, 1332351052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48352646827698 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:44:33.125434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/34/image_28012025_11_34_25_9355.jpg', '/home/pi/Desktop/images/28012025/11/34/image_28012025_11_34_36_10443.jpg', '/home/pi/Desktop/images/28012025/11/34/image_28012025_11_34_46_10367.jpg', '/home/pi/Desktop/images/28012025/11/34/image_28012025_11_34_55_9394.jpg', '/home/pi/Desktop/images/28012025/11/34/image_28012025_11_35_06_10337.jpg', '/home/pi/Desktop/images/28012025/11/35/image_28012025_11_35_16_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/34/image_28012025_11_34_25_9355.jpg
/home/pi/Desktop/images/28012025/11/34/image_28012025_11_34_36_10443.jpg
/home/pi/Desktop/images/28012025/11/34/image_28012025_11_34_46_10367.jpg
/home/pi/Desktop/images/28012025/11/34/image_28012025_11_34_55_9394.jpg
/home/pi/Desktop/images/28012025/11/34/image_28012025_11_35_06_10337.jpg
/home/pi/Desktop/images/28012025/11/35/image_28012025_11_35_16_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332351139","1332351152","1332351149","1332351134","1332351128","1332351145"],"photo_ids_order":["1332351128","1332351134","1332351139","1332351145","1332351149","1332351152"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a6d8e9b321eb3ead797da8ca0c7ad5d6.jpg","text":"TemporaryFile(/tmp/multipartBody6107657597264265799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082734094,"filename":"image_28012025_11_34_46_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fabc6e789e1222e6db9a87c39eb8c21d.jpg","text":"TemporaryFile(/tmp/multipartBody698703244989563825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082734094,"filename":"image_28012025_11_35_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/1/28/6ddea682cb2d6ade0d91f59874cb39a5.jpg","text":"TemporaryFile(/tmp/multipartBody4197429310924410087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082734094,"filename":"image_28012025_11_35_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/1/28/df2864914f2000c056f9030a53f2f1b4.jpg","text":"TemporaryFile(/tmp/multipartBody7596188839252007298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082734094,"filename":"image_28012025_11_34_36_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e7748aee4d6b87be5862f49a7299804d.jpg","text":"TemporaryFile(/tmp/multipartBody287164907556402321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082734094,"filename":"image_28012025_11_34_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/1/28/783ce9ef08717e0bede4645997bc6ce8.jpg","text":"TemporaryFile(/tmp/multipartBody9201878237284688335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082734094,"filename":"image_28012025_11_34_55_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332351139","file1":"1332351134","file0":"1332351128","file4":"1332351149","file5":"1332351152","file3":"1332351145"},"map_files_photo_id_array":[{"photo_id":"1332351152","filename":"file5"},{"photo_id":"1332351139","filename":"file2"},{"photo_id":"1332351149","filename":"file4"},{"photo_id":"1332351134","filename":"file1"},{"photo_id":"1332351128","filename":"file0"},{"photo_id":"1332351145","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332351139":["hashtag1","hashtag2"]},{"1332351152":["hashtag1","hashtag2"]},{"1332351149":["hashtag1","hashtag2"]},{"1332351134":["hashtag1","hashtag2"]},{"1332351128":["hashtag1","hashtag2"]},{"1332351145":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332351139, 1332351152, 1332351149, 1332351134, 1332351128, 1332351145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.68942880630493 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:45:32.422426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/35/image_28012025_11_35_26_9409.jpg', '/home/pi/Desktop/images/28012025/11/35/image_28012025_11_35_36_10353.jpg', '/home/pi/Desktop/images/28012025/11/35/image_28012025_11_35_56_10450.jpg', '/home/pi/Desktop/images/28012025/11/36/image_28012025_11_36_15_9397.jpg', '/home/pi/Desktop/images/28012025/11/36/image_28012025_11_36_26_10357.jpg', '/home/pi/Desktop/images/28012025/11/36/image_28012025_11_36_35_9407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/35/image_28012025_11_35_26_9409.jpg
/home/pi/Desktop/images/28012025/11/35/image_28012025_11_35_36_10353.jpg
/home/pi/Desktop/images/28012025/11/35/image_28012025_11_35_56_10450.jpg
/home/pi/Desktop/images/28012025/11/36/image_28012025_11_36_15_9397.jpg
/home/pi/Desktop/images/28012025/11/36/image_28012025_11_36_26_10357.jpg
/home/pi/Desktop/images/28012025/11/36/image_28012025_11_36_35_9407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332351169","1332351334","1332351310","1332351165","1332351330","1332351179"],"photo_ids_order":["1332351165","1332351169","1332351179","1332351310","1332351330","1332351334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a78eba773c9d546f0a7fa3b66297df99.jpg","text":"TemporaryFile(/tmp/multipartBody5540032154986505108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082793407,"filename":"image_28012025_11_35_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/1/28/9bf24494f751b97c919c2da7f4645d5a.jpg","text":"TemporaryFile(/tmp/multipartBody1293823638822899505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082793407,"filename":"image_28012025_11_36_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/1/28/82140d0b3d83a8b203c48e1e02aaf014.jpg","text":"TemporaryFile(/tmp/multipartBody2293979739042738841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082793407,"filename":"image_28012025_11_36_15_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e733faf44c0fe95ac7a50fde0cc3ca49.jpg","text":"TemporaryFile(/tmp/multipartBody9040805260373198615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082793407,"filename":"image_28012025_11_35_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/1/28/ded835594051547b54eb2344275d429e.jpg","text":"TemporaryFile(/tmp/multipartBody4442660849796258289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082793407,"filename":"image_28012025_11_36_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/1/28/6ff163a252de67bb1d9fc8aac7407e9a.jpg","text":"TemporaryFile(/tmp/multipartBody8179326262637469501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082793407,"filename":"image_28012025_11_35_56_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332351179","file1":"1332351169","file0":"1332351165","file4":"1332351330","file5":"1332351334","file3":"1332351310"},"map_files_photo_id_array":[{"photo_id":"1332351334","filename":"file5"},{"photo_id":"1332351179","filename":"file2"},{"photo_id":"1332351330","filename":"file4"},{"photo_id":"1332351169","filename":"file1"},{"photo_id":"1332351165","filename":"file0"},{"photo_id":"1332351310","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332351169":["hashtag1","hashtag2"]},{"1332351334":["hashtag1","hashtag2"]},{"1332351310":["hashtag1","hashtag2"]},{"1332351165":["hashtag1","hashtag2"]},{"1332351330":["hashtag1","hashtag2"]},{"1332351179":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332351169, 1332351334, 1332351310, 1332351165, 1332351330, 1332351179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.61778378486633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:46:32.631723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/36/image_28012025_11_36_46_10437.jpg', '/home/pi/Desktop/images/28012025/11/36/image_28012025_11_36_56_10356.jpg', '/home/pi/Desktop/images/28012025/11/36/image_28012025_11_37_05_9391.jpg', '/home/pi/Desktop/images/28012025/11/37/image_28012025_11_37_16_10345.jpg', '/home/pi/Desktop/images/28012025/11/37/image_28012025_11_37_26_10360.jpg', '/home/pi/Desktop/images/28012025/11/37/image_28012025_11_37_35_9377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/36/image_28012025_11_36_46_10437.jpg
/home/pi/Desktop/images/28012025/11/36/image_28012025_11_36_56_10356.jpg
/home/pi/Desktop/images/28012025/11/36/image_28012025_11_37_05_9391.jpg
/home/pi/Desktop/images/28012025/11/37/image_28012025_11_37_16_10345.jpg
/home/pi/Desktop/images/28012025/11/37/image_28012025_11_37_26_10360.jpg
/home/pi/Desktop/images/28012025/11/37/image_28012025_11_37_35_9377.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.604356050491333 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 17:46:42.634933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/36/image_28012025_11_36_46_10437.jpg', '/home/pi/Desktop/images/28012025/11/36/image_28012025_11_36_56_10356.jpg', '/home/pi/Desktop/images/28012025/11/36/image_28012025_11_37_05_9391.jpg', '/home/pi/Desktop/images/28012025/11/37/image_28012025_11_37_16_10345.jpg', '/home/pi/Desktop/images/28012025/11/37/image_28012025_11_37_26_10360.jpg', '/home/pi/Desktop/images/28012025/11/37/image_28012025_11_37_35_9377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/36/image_28012025_11_36_46_10437.jpg
/home/pi/Desktop/images/28012025/11/36/image_28012025_11_36_56_10356.jpg
/home/pi/Desktop/images/28012025/11/36/image_28012025_11_37_05_9391.jpg
/home/pi/Desktop/images/28012025/11/37/image_28012025_11_37_16_10345.jpg
/home/pi/Desktop/images/28012025/11/37/image_28012025_11_37_26_10360.jpg
/home/pi/Desktop/images/28012025/11/37/image_28012025_11_37_35_9377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332351585","1332351564","1332351593","1332351581","1332351572","1332351577"],"photo_ids_order":["1332351564","1332351572","1332351577","1332351581","1332351585","1332351593"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3e0c86e827cd5b39e0f59b11ef6c55c1.jpg","text":"TemporaryFile(/tmp/multipartBody109544083610056764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082863527,"filename":"image_28012025_11_37_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/1/28/d16cced24928eda24be74673501205ff.jpg","text":"TemporaryFile(/tmp/multipartBody9032984151017166250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082863527,"filename":"image_28012025_11_36_46_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/16a65bda01c0e82644a647efbdef43e3.jpg","text":"TemporaryFile(/tmp/multipartBody966089014345683033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082863527,"filename":"image_28012025_11_37_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/1/28/698a798ca0050bc29cf237db32e4f350.jpg","text":"TemporaryFile(/tmp/multipartBody2913823495884648474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082863527,"filename":"image_28012025_11_37_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/1/28/74b8cc29bf3aef2079389304ca80910f.jpg","text":"TemporaryFile(/tmp/multipartBody9039219346052617891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082863527,"filename":"image_28012025_11_36_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fe410234198d765193b09bd07328755d.jpg","text":"TemporaryFile(/tmp/multipartBody2283693217809687045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082863527,"filename":"image_28012025_11_37_05_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332351577","file1":"1332351572","file0":"1332351564","file4":"1332351585","file5":"1332351593","file3":"1332351581"},"map_files_photo_id_array":[{"photo_id":"1332351593","filename":"file5"},{"photo_id":"1332351577","filename":"file2"},{"photo_id":"1332351585","filename":"file4"},{"photo_id":"1332351572","filename":"file1"},{"photo_id":"1332351564","filename":"file0"},{"photo_id":"1332351581","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332351585":["hashtag1","hashtag2"]},{"1332351564":["hashtag1","hashtag2"]},{"1332351593":["hashtag1","hashtag2"]},{"1332351581":["hashtag1","hashtag2"]},{"1332351572":["hashtag1","hashtag2"]},{"1332351577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332351585, 1332351564, 1332351593, 1332351581, 1332351572, 1332351577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.18571591377258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:47:32.959834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/37/image_28012025_11_37_46_10343.jpg', '/home/pi/Desktop/images/28012025/11/37/image_28012025_11_37_55_9350.jpg', '/home/pi/Desktop/images/28012025/11/37/image_28012025_11_38_06_10364.jpg', '/home/pi/Desktop/images/28012025/11/38/image_28012025_11_38_16_10329.jpg', '/home/pi/Desktop/images/28012025/11/38/image_28012025_11_38_25_9342.jpg', '/home/pi/Desktop/images/28012025/11/38/image_28012025_11_38_36_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/37/image_28012025_11_37_46_10343.jpg
/home/pi/Desktop/images/28012025/11/37/image_28012025_11_37_55_9350.jpg
/home/pi/Desktop/images/28012025/11/37/image_28012025_11_38_06_10364.jpg
/home/pi/Desktop/images/28012025/11/38/image_28012025_11_38_16_10329.jpg
/home/pi/Desktop/images/28012025/11/38/image_28012025_11_38_25_9342.jpg
/home/pi/Desktop/images/28012025/11/38/image_28012025_11_38_36_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":["1332351678","1332351672","1332351686","1332351683","1332351688","1332351667"],"photo_ids_order":["1332351667","1332351672","1332351678","1332351683","1332351686","1332351688"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cb24faa749c4f115e5f30bf3d9f5a808.jpg","text":"TemporaryFile(/tmp/multipartBody4865180222712847154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082913930,"filename":"image_28012025_11_38_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/1/28/fa5134e5a6f99d390302e38dbaf95fc6.jpg","text":"TemporaryFile(/tmp/multipartBody9071457565067847291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082913930,"filename":"image_28012025_11_37_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/1/28/5f9f5eb17850f992279a9634d1b8ec72.jpg","text":"TemporaryFile(/tmp/multipartBody3954238321272587799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082913930,"filename":"image_28012025_11_38_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/1/28/e461ad62a3190e3e0bc54ac76ad29989.jpg","text":"TemporaryFile(/tmp/multipartBody6752598696431950461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082913930,"filename":"image_28012025_11_38_16_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d20ed37c37526424c796bf4af9386ef3.jpg","text":"TemporaryFile(/tmp/multipartBody5238446674957276393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082913930,"filename":"image_28012025_11_38_36_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b94a96ba3f095d8178129046687b6783.jpg","text":"TemporaryFile(/tmp/multipartBody2866363934473689127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082913930,"filename":"image_28012025_11_37_46_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332351678","file1":"1332351672","file0":"1332351667","file4":"1332351686","file5":"1332351688","file3":"1332351683"},"map_files_photo_id_array":[{"photo_id":"1332351688","filename":"file5"},{"photo_id":"1332351678","filename":"file2"},{"photo_id":"1332351686","filename":"file4"},{"photo_id":"1332351672","filename":"file1"},{"photo_id":"1332351667","filename":"file0"},{"photo_id":"1332351683","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332351678":["hashtag1","hashtag2"]},{"1332351672":["hashtag1","hashtag2"]},{"1332351686":["hashtag1","hashtag2"]},{"1332351683":["hashtag1","hashtag2"]},{"1332351688":["hashtag1","hashtag2"]},{"1332351667":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332351678, 1332351672, 1332351686, 1332351683, 1332351688, 1332351667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.376601457595825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:48:32.227098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/38/image_28012025_11_38_46_10341.jpg', '/home/pi/Desktop/images/28012025/11/38/image_28012025_11_38_55_9326.jpg', '/home/pi/Desktop/images/28012025/11/38/image_28012025_11_39_06_10382.jpg', '/home/pi/Desktop/images/28012025/11/39/image_28012025_11_39_16_10342.jpg', '/home/pi/Desktop/images/28012025/11/39/image_28012025_11_39_36_10402.jpg', '/home/pi/Desktop/images/28012025/11/39/image_28012025_11_39_55_9376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/38/image_28012025_11_38_46_10341.jpg
/home/pi/Desktop/images/28012025/11/38/image_28012025_11_38_55_9326.jpg
/home/pi/Desktop/images/28012025/11/38/image_28012025_11_39_06_10382.jpg
/home/pi/Desktop/images/28012025/11/39/image_28012025_11_39_16_10342.jpg
/home/pi/Desktop/images/28012025/11/39/image_28012025_11_39_36_10402.jpg
/home/pi/Desktop/images/28012025/11/39/image_28012025_11_39_55_9376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332351721","1332351706","1332351726","1332351729","1332351711","1332351716"],"photo_ids_order":["1332351706","1332351711","1332351716","1332351721","1332351726","1332351729"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f4ad8e7f16d04214ce1c03216adc76c6.jpg","text":"TemporaryFile(/tmp/multipartBody4750442941145378154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082973196,"filename":"image_28012025_11_39_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/1/28/2adb5ca16e6e4bb8d788f8587f3e9d05.jpg","text":"TemporaryFile(/tmp/multipartBody147005297954052541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082973196,"filename":"image_28012025_11_38_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/1/28/3889759f588c3a86775c0ccb9f33ea2d.jpg","text":"TemporaryFile(/tmp/multipartBody8579782883237618279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082973196,"filename":"image_28012025_11_39_36_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7998279bf1d9cb76fb9b48badd35207d.jpg","text":"TemporaryFile(/tmp/multipartBody6163052718755391075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082973196,"filename":"image_28012025_11_39_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/1/28/bfc16bee37904117183e8abbe0f2ee8b.jpg","text":"TemporaryFile(/tmp/multipartBody2954378938090538455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082973196,"filename":"image_28012025_11_38_55_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f45b8975bbdbb71d4763030f6a4c93f2.jpg","text":"TemporaryFile(/tmp/multipartBody6058402311470996953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738082973196,"filename":"image_28012025_11_39_06_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332351716","file1":"1332351711","file0":"1332351706","file4":"1332351726","file5":"1332351729","file3":"1332351721"},"map_files_photo_id_array":[{"photo_id":"1332351729","filename":"file5"},{"photo_id":"1332351716","filename":"file2"},{"photo_id":"1332351726","filename":"file4"},{"photo_id":"1332351711","filename":"file1"},{"photo_id":"1332351706","filename":"file0"},{"photo_id":"1332351721","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332351721":["hashtag1","hashtag2"]},{"1332351706":["hashtag1","hashtag2"]},{"1332351726":["hashtag1","hashtag2"]},{"1332351729":["hashtag1","hashtag2"]},{"1332351711":["hashtag1","hashtag2"]},{"1332351716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332351721, 1332351706, 1332351726, 1332351729, 1332351711, 1332351716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.097509145736694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:49:32.501105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/40/image_28012025_11_40_16_10000.jpg', '/home/pi/Desktop/images/28012025/11/40/image_28012025_11_40_25_9343.jpg', '/home/pi/Desktop/images/28012025/11/40/image_28012025_11_40_36_10443.jpg', '/home/pi/Desktop/images/28012025/11/40/image_28012025_11_40_46_10374.jpg', '/home/pi/Desktop/images/28012025/11/40/image_28012025_11_40_55_9349.jpg', '/home/pi/Desktop/images/28012025/11/40/image_28012025_11_41_06_10315.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/40/image_28012025_11_40_16_10000.jpg
/home/pi/Desktop/images/28012025/11/40/image_28012025_11_40_25_9343.jpg
/home/pi/Desktop/images/28012025/11/40/image_28012025_11_40_36_10443.jpg
/home/pi/Desktop/images/28012025/11/40/image_28012025_11_40_46_10374.jpg
/home/pi/Desktop/images/28012025/11/40/image_28012025_11_40_55_9349.jpg
/home/pi/Desktop/images/28012025/11/40/image_28012025_11_41_06_10315.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332351817","1332351864","1332351837","1332351828","1332351803","1332351859"],"photo_ids_order":["1332351803","1332351817","1332351828","1332351837","1332351859","1332351864"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8ee1835df4129a002d6255117029ebe5.jpg","text":"TemporaryFile(/tmp/multipartBody319047303505952480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083033464,"filename":"image_28012025_11_40_25_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c589e9040e69f5b9c5edb972fdc67bd5.jpg","text":"TemporaryFile(/tmp/multipartBody129978688548762660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083033464,"filename":"image_28012025_11_41_06_10315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/967e9900de18c4e66e3f4222527852ef.jpg","text":"TemporaryFile(/tmp/multipartBody7828862492657599562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083033464,"filename":"image_28012025_11_40_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/1/28/a02c220b6ec2678de3a115d74903b4ec.jpg","text":"TemporaryFile(/tmp/multipartBody570666590172074347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083033464,"filename":"image_28012025_11_40_36_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/eef4773c50623b1662cb68640360deeb.jpg","text":"TemporaryFile(/tmp/multipartBody7771992689736801006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083033464,"filename":"image_28012025_11_40_16_10000.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/abbf2569fc115077b502975ffa974127.jpg","text":"TemporaryFile(/tmp/multipartBody635324379229228985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083033464,"filename":"image_28012025_11_40_55_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332351828","file1":"1332351817","file0":"1332351803","file4":"1332351859","file5":"1332351864","file3":"1332351837"},"map_files_photo_id_array":[{"photo_id":"1332351864","filename":"file5"},{"photo_id":"1332351828","filename":"file2"},{"photo_id":"1332351859","filename":"file4"},{"photo_id":"1332351817","filename":"file1"},{"photo_id":"1332351803","filename":"file0"},{"photo_id":"1332351837","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332351817":["hashtag1","hashtag2"]},{"1332351864":["hashtag1","hashtag2"]},{"1332351837":["hashtag1","hashtag2"]},{"1332351828":["hashtag1","hashtag2"]},{"1332351803":["hashtag1","hashtag2"]},{"1332351859":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332351817, 1332351864, 1332351837, 1332351828, 1332351803, 1332351859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.705867290496826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:50:33.148218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/41/image_28012025_11_41_16_10328.jpg', '/home/pi/Desktop/images/28012025/11/41/image_28012025_11_41_25_9343.jpg', '/home/pi/Desktop/images/28012025/11/41/image_28012025_11_41_36_10436.jpg', '/home/pi/Desktop/images/28012025/11/41/image_28012025_11_41_46_10364.jpg', '/home/pi/Desktop/images/28012025/11/41/image_28012025_11_41_56_9374.jpg', '/home/pi/Desktop/images/28012025/11/41/image_28012025_11_42_06_10318.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/41/image_28012025_11_41_16_10328.jpg
/home/pi/Desktop/images/28012025/11/41/image_28012025_11_41_25_9343.jpg
/home/pi/Desktop/images/28012025/11/41/image_28012025_11_41_36_10436.jpg
/home/pi/Desktop/images/28012025/11/41/image_28012025_11_41_46_10364.jpg
/home/pi/Desktop/images/28012025/11/41/image_28012025_11_41_56_9374.jpg
/home/pi/Desktop/images/28012025/11/41/image_28012025_11_42_06_10318.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332351960","1332351882","1332352073","1332352025","1332352045","1332351985"],"photo_ids_order":["1332351882","1332351960","1332351985","1332352025","1332352045","1332352073"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e1da399f57e02f7b3f4d5d9ea74f296c.jpg","text":"TemporaryFile(/tmp/multipartBody7726871533722170596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083094110,"filename":"image_28012025_11_41_25_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0ebe6d767b507ad08622a2bf4c03b66a.jpg","text":"TemporaryFile(/tmp/multipartBody6894874462141325683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083094110,"filename":"image_28012025_11_41_16_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5f58f1001aa10a327ca9d9f19713a48b.jpg","text":"TemporaryFile(/tmp/multipartBody2226577035664139972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083094110,"filename":"image_28012025_11_42_06_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9b2b4f3a933088ac8cea98f1b7de48b8.jpg","text":"TemporaryFile(/tmp/multipartBody8049763776954075056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083094110,"filename":"image_28012025_11_41_46_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9e1a303787eb30581defeeb98d3e520e.jpg","text":"TemporaryFile(/tmp/multipartBody9691074512847241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083094110,"filename":"image_28012025_11_41_56_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/48f910842d3a4dad08f1908d86f1c464.jpg","text":"TemporaryFile(/tmp/multipartBody883733419972361110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083094110,"filename":"image_28012025_11_41_36_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332351985","file1":"1332351960","file0":"1332351882","file4":"1332352045","file5":"1332352073","file3":"1332352025"},"map_files_photo_id_array":[{"photo_id":"1332352073","filename":"file5"},{"photo_id":"1332351985","filename":"file2"},{"photo_id":"1332352045","filename":"file4"},{"photo_id":"1332351960","filename":"file1"},{"photo_id":"1332351882","filename":"file0"},{"photo_id":"1332352025","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332351960":["hashtag1","hashtag2"]},{"1332351882":["hashtag1","hashtag2"]},{"1332352073":["hashtag1","hashtag2"]},{"1332352025":["hashtag1","hashtag2"]},{"1332352045":["hashtag1","hashtag2"]},{"1332351985":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332351960, 1332351882, 1332352073, 1332352025, 1332352045, 1332351985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.42005729675293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:51:32.296377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/42/image_28012025_11_42_16_10325.jpg', '/home/pi/Desktop/images/28012025/11/42/image_28012025_11_42_26_9397.jpg', '/home/pi/Desktop/images/28012025/11/42/image_28012025_11_42_36_10441.jpg', '/home/pi/Desktop/images/28012025/11/42/image_28012025_11_42_45_9352.jpg', '/home/pi/Desktop/images/28012025/11/42/image_28012025_11_42_56_10460.jpg', '/home/pi/Desktop/images/28012025/11/42/image_28012025_11_43_06_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/42/image_28012025_11_42_16_10325.jpg
/home/pi/Desktop/images/28012025/11/42/image_28012025_11_42_26_9397.jpg
/home/pi/Desktop/images/28012025/11/42/image_28012025_11_42_36_10441.jpg
/home/pi/Desktop/images/28012025/11/42/image_28012025_11_42_45_9352.jpg
/home/pi/Desktop/images/28012025/11/42/image_28012025_11_42_56_10460.jpg
/home/pi/Desktop/images/28012025/11/42/image_28012025_11_43_06_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332352137","1332352131","1332352125","1332352119","1332352141","1332352114"],"photo_ids_order":["1332352114","1332352119","1332352125","1332352131","1332352137","1332352141"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1e46469c76339fb338cda8b98debe7f2.jpg","text":"TemporaryFile(/tmp/multipartBody1056270190017541934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083153272,"filename":"image_28012025_11_42_56_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/62953cc54399ee108d8d836e2725eb1e.jpg","text":"TemporaryFile(/tmp/multipartBody5838932984063856923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083153272,"filename":"image_28012025_11_42_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/1/28/bb21287f75b13fe03f2fd7f0015fbc51.jpg","text":"TemporaryFile(/tmp/multipartBody4927318153301433781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083153272,"filename":"image_28012025_11_42_36_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0611c529ece3c091a83c38fc2c98533f.jpg","text":"TemporaryFile(/tmp/multipartBody1085705949335335614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083153272,"filename":"image_28012025_11_42_26_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1913d91bfb3a861c25ce9f1a4f6dcdec.jpg","text":"TemporaryFile(/tmp/multipartBody196919794784571496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083153272,"filename":"image_28012025_11_43_06_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8d371568d75c6784b7f32fc1f9eaa102.jpg","text":"TemporaryFile(/tmp/multipartBody6796837862393227695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083153272,"filename":"image_28012025_11_42_16_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332352125","file1":"1332352119","file0":"1332352114","file4":"1332352137","file5":"1332352141","file3":"1332352131"},"map_files_photo_id_array":[{"photo_id":"1332352141","filename":"file5"},{"photo_id":"1332352125","filename":"file2"},{"photo_id":"1332352137","filename":"file4"},{"photo_id":"1332352119","filename":"file1"},{"photo_id":"1332352114","filename":"file0"},{"photo_id":"1332352131","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332352137":["hashtag1","hashtag2"]},{"1332352131":["hashtag1","hashtag2"]},{"1332352125":["hashtag1","hashtag2"]},{"1332352119":["hashtag1","hashtag2"]},{"1332352141":["hashtag1","hashtag2"]},{"1332352114":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332352137, 1332352131, 1332352125, 1332352119, 1332352141, 1332352114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.316232204437256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:52:32.560277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/43/image_28012025_11_43_16_9351.jpg', '/home/pi/Desktop/images/28012025/11/43/image_28012025_11_43_26_10389.jpg', '/home/pi/Desktop/images/28012025/11/43/image_28012025_11_43_35_9335.jpg', '/home/pi/Desktop/images/28012025/11/43/image_28012025_11_43_46_10451.jpg', '/home/pi/Desktop/images/28012025/11/43/image_28012025_11_43_56_10367.jpg', '/home/pi/Desktop/images/28012025/11/43/image_28012025_11_44_05_9391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/43/image_28012025_11_43_16_9351.jpg
/home/pi/Desktop/images/28012025/11/43/image_28012025_11_43_26_10389.jpg
/home/pi/Desktop/images/28012025/11/43/image_28012025_11_43_35_9335.jpg
/home/pi/Desktop/images/28012025/11/43/image_28012025_11_43_46_10451.jpg
/home/pi/Desktop/images/28012025/11/43/image_28012025_11_43_56_10367.jpg
/home/pi/Desktop/images/28012025/11/43/image_28012025_11_44_05_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":["1332353241","1332353202","1332352727","1332352421","1332353020","1332353244"],"photo_ids_order":["1332352421","1332352727","1332353020","1332353202","1332353241","1332353244"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4be2d7276e7ce3e8c217d106263ed077.jpg","text":"TemporaryFile(/tmp/multipartBody8499722268498175036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083213527,"filename":"image_28012025_11_43_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/1/28/378ec340bdcb6a084f5046194a1cef5c.jpg","text":"TemporaryFile(/tmp/multipartBody9080786341472972732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083213527,"filename":"image_28012025_11_43_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/1/28/2a6338d9960458991e62a6752a915418.jpg","text":"TemporaryFile(/tmp/multipartBody7809943184379842062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083213527,"filename":"image_28012025_11_43_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/1/28/3a1e3613b7b7f6006dd31c4d4d94df49.jpg","text":"TemporaryFile(/tmp/multipartBody7128295509429769414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083213527,"filename":"image_28012025_11_43_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/1/28/9a52be1492c17f40d74a0bb9e607b50d.jpg","text":"TemporaryFile(/tmp/multipartBody851583630492592964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083213527,"filename":"image_28012025_11_43_35_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0e49a4b02097f41c8e0f9199f3f5ed3f.jpg","text":"TemporaryFile(/tmp/multipartBody6961177372614548931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083213527,"filename":"image_28012025_11_44_05_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332353020","file1":"1332352727","file0":"1332352421","file4":"1332353241","file5":"1332353244","file3":"1332353202"},"map_files_photo_id_array":[{"photo_id":"1332353244","filename":"file5"},{"photo_id":"1332353020","filename":"file2"},{"photo_id":"1332353241","filename":"file4"},{"photo_id":"1332352727","filename":"file1"},{"photo_id":"1332352421","filename":"file0"},{"photo_id":"1332353202","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332353241":["hashtag1","hashtag2"]},{"1332353202":["hashtag1","hashtag2"]},{"1332352727":["hashtag1","hashtag2"]},{"1332352421":["hashtag1","hashtag2"]},{"1332353020":["hashtag1","hashtag2"]},{"1332353244":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332353241, 1332353202, 1332352727, 1332352421, 1332353020, 1332353244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.87189435958862 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:53:32.751358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/44/image_28012025_11_44_15_10014.jpg', '/home/pi/Desktop/images/28012025/11/44/image_28012025_11_44_26_10374.jpg', '/home/pi/Desktop/images/28012025/11/44/image_28012025_11_44_36_10343.jpg', '/home/pi/Desktop/images/28012025/11/44/image_28012025_11_44_46_9395.jpg', '/home/pi/Desktop/images/28012025/11/44/image_28012025_11_44_56_10422.jpg', '/home/pi/Desktop/images/28012025/11/44/image_28012025_11_45_05_9445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/44/image_28012025_11_44_15_10014.jpg
/home/pi/Desktop/images/28012025/11/44/image_28012025_11_44_26_10374.jpg
/home/pi/Desktop/images/28012025/11/44/image_28012025_11_44_36_10343.jpg
/home/pi/Desktop/images/28012025/11/44/image_28012025_11_44_46_9395.jpg
/home/pi/Desktop/images/28012025/11/44/image_28012025_11_44_56_10422.jpg
/home/pi/Desktop/images/28012025/11/44/image_28012025_11_45_05_9445.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5797629356384277 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 17:53:42.788157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/44/image_28012025_11_44_15_10014.jpg', '/home/pi/Desktop/images/28012025/11/44/image_28012025_11_44_26_10374.jpg', '/home/pi/Desktop/images/28012025/11/44/image_28012025_11_44_36_10343.jpg', '/home/pi/Desktop/images/28012025/11/44/image_28012025_11_44_46_9395.jpg', '/home/pi/Desktop/images/28012025/11/44/image_28012025_11_44_56_10422.jpg', '/home/pi/Desktop/images/28012025/11/44/image_28012025_11_45_05_9445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/44/image_28012025_11_44_15_10014.jpg
/home/pi/Desktop/images/28012025/11/44/image_28012025_11_44_26_10374.jpg
/home/pi/Desktop/images/28012025/11/44/image_28012025_11_44_36_10343.jpg
/home/pi/Desktop/images/28012025/11/44/image_28012025_11_44_46_9395.jpg
/home/pi/Desktop/images/28012025/11/44/image_28012025_11_44_56_10422.jpg
/home/pi/Desktop/images/28012025/11/44/image_28012025_11_45_05_9445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332353288","1332353282","1332353284","1332353278","1332353272","1332353292"],"photo_ids_order":["1332353272","1332353278","1332353282","1332353284","1332353288","1332353292"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5247639395d222823b1416721fdcace8.jpg","text":"TemporaryFile(/tmp/multipartBody958549289466044891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083283681,"filename":"image_28012025_11_44_56_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a8cdef761d6a8e6471ddd62d8587b528.jpg","text":"TemporaryFile(/tmp/multipartBody6641933117179106058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083283681,"filename":"image_28012025_11_44_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/1/28/dbae595f69e7769e2d5d4468fd1f9185.jpg","text":"TemporaryFile(/tmp/multipartBody6512546829053170424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083283681,"filename":"image_28012025_11_44_46_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8ef165a68c9eb0c23f978994d5ba5f69.jpg","text":"TemporaryFile(/tmp/multipartBody8348942977982696069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083283681,"filename":"image_28012025_11_44_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/1/28/2990623ad5c221891ab2dbedaeb8da89.jpg","text":"TemporaryFile(/tmp/multipartBody1247885161948565938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083283681,"filename":"image_28012025_11_44_15_10014.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f75b70b614af8df8b77579d86451ee6e.jpg","text":"TemporaryFile(/tmp/multipartBody3405592308202701107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083283681,"filename":"image_28012025_11_45_05_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332353282","file1":"1332353278","file0":"1332353272","file4":"1332353288","file5":"1332353292","file3":"1332353284"},"map_files_photo_id_array":[{"photo_id":"1332353292","filename":"file5"},{"photo_id":"1332353282","filename":"file2"},{"photo_id":"1332353288","filename":"file4"},{"photo_id":"1332353278","filename":"file1"},{"photo_id":"1332353272","filename":"file0"},{"photo_id":"1332353284","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332353288":["hashtag1","hashtag2"]},{"1332353282":["hashtag1","hashtag2"]},{"1332353284":["hashtag1","hashtag2"]},{"1332353278":["hashtag1","hashtag2"]},{"1332353272":["hashtag1","hashtag2"]},{"1332353292":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332353288, 1332353282, 1332353284, 1332353278, 1332353272, 1332353292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.37023591995239 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:54:32.986229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/45/image_28012025_11_45_16_10327.jpg', '/home/pi/Desktop/images/28012025/11/45/image_28012025_11_45_26_10363.jpg', '/home/pi/Desktop/images/28012025/11/45/image_28012025_11_45_36_9470.jpg', '/home/pi/Desktop/images/28012025/11/45/image_28012025_11_45_46_10346.jpg', '/home/pi/Desktop/images/28012025/11/45/image_28012025_11_45_55_9347.jpg', '/home/pi/Desktop/images/28012025/11/45/image_28012025_11_46_06_10409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/45/image_28012025_11_45_16_10327.jpg
/home/pi/Desktop/images/28012025/11/45/image_28012025_11_45_26_10363.jpg
/home/pi/Desktop/images/28012025/11/45/image_28012025_11_45_36_9470.jpg
/home/pi/Desktop/images/28012025/11/45/image_28012025_11_45_46_10346.jpg
/home/pi/Desktop/images/28012025/11/45/image_28012025_11_45_55_9347.jpg
/home/pi/Desktop/images/28012025/11/45/image_28012025_11_46_06_10409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332353721","1332353699","1332353726","1332353729","1332353717","1332353686"],"photo_ids_order":["1332353686","1332353699","1332353717","1332353721","1332353726","1332353729"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/73436f11e207b0c7e6ae950b3b51d31f.jpg","text":"TemporaryFile(/tmp/multipartBody1944465854229681987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083333954,"filename":"image_28012025_11_45_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/1/28/c6346b120d8159735b945fade2ffe691.jpg","text":"TemporaryFile(/tmp/multipartBody7509406051155650019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083333954,"filename":"image_28012025_11_45_26_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c00e05df34ac9a235adab63492447235.jpg","text":"TemporaryFile(/tmp/multipartBody2182555409476369238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083333954,"filename":"image_28012025_11_45_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/1/28/d84d88e6a4b7a594b9989e8ee96f9113.jpg","text":"TemporaryFile(/tmp/multipartBody1850056143032569963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083333954,"filename":"image_28012025_11_46_06_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b9a7a6aaf74d3bd43c979b9a4cd0de75.jpg","text":"TemporaryFile(/tmp/multipartBody3239940906623678857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083333954,"filename":"image_28012025_11_45_36_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/774297d29adc94d4fc1c04da0ba9ae9e.jpg","text":"TemporaryFile(/tmp/multipartBody4666316497882828016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083333954,"filename":"image_28012025_11_45_16_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332353717","file1":"1332353699","file0":"1332353686","file4":"1332353726","file5":"1332353729","file3":"1332353721"},"map_files_photo_id_array":[{"photo_id":"1332353729","filename":"file5"},{"photo_id":"1332353717","filename":"file2"},{"photo_id":"1332353726","filename":"file4"},{"photo_id":"1332353699","filename":"file1"},{"photo_id":"1332353686","filename":"file0"},{"photo_id":"1332353721","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332353721":["hashtag1","hashtag2"]},{"1332353699":["hashtag1","hashtag2"]},{"1332353726":["hashtag1","hashtag2"]},{"1332353729":["hashtag1","hashtag2"]},{"1332353717":["hashtag1","hashtag2"]},{"1332353686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332353721, 1332353699, 1332353726, 1332353729, 1332353717, 1332353686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.71319651603699 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:55:33.282219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/46/image_28012025_11_46_16_10354.jpg', '/home/pi/Desktop/images/28012025/11/46/image_28012025_11_46_26_9479.jpg', '/home/pi/Desktop/images/28012025/11/46/image_28012025_11_46_36_10426.jpg', '/home/pi/Desktop/images/28012025/11/46/image_28012025_11_46_45_9331.jpg', '/home/pi/Desktop/images/28012025/11/46/image_28012025_11_46_56_10458.jpg', '/home/pi/Desktop/images/28012025/11/46/image_28012025_11_47_06_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/46/image_28012025_11_46_16_10354.jpg
/home/pi/Desktop/images/28012025/11/46/image_28012025_11_46_26_9479.jpg
/home/pi/Desktop/images/28012025/11/46/image_28012025_11_46_36_10426.jpg
/home/pi/Desktop/images/28012025/11/46/image_28012025_11_46_45_9331.jpg
/home/pi/Desktop/images/28012025/11/46/image_28012025_11_46_56_10458.jpg
/home/pi/Desktop/images/28012025/11/46/image_28012025_11_47_06_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":["1332353864","1332353843","1332353747","1332353741","1332353860","1332353745"],"photo_ids_order":["1332353741","1332353745","1332353747","1332353843","1332353860","1332353864"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a53b7534f0418b4ed3c8c7c3f26ecfb4.jpg","text":"TemporaryFile(/tmp/multipartBody3774728827523464306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083394241,"filename":"image_28012025_11_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/1/28/4a0b89ad14ae47a450aaeecbc1d41fdf.jpg","text":"TemporaryFile(/tmp/multipartBody2258135101967843842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083394241,"filename":"image_28012025_11_46_45_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2c629e42b546f9908329608745a881dd.jpg","text":"TemporaryFile(/tmp/multipartBody7711647412376256732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083394241,"filename":"image_28012025_11_46_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/1/28/2617d10dcfcb0e17f9bc041c14f8e304.jpg","text":"TemporaryFile(/tmp/multipartBody657192787725857018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083394241,"filename":"image_28012025_11_46_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/1/28/7c0f5bac860611a121f1c588c2a558f5.jpg","text":"TemporaryFile(/tmp/multipartBody6263026398455047311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083394241,"filename":"image_28012025_11_46_56_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9ccd2674a18db8c2f088cce5c42f4cf9.jpg","text":"TemporaryFile(/tmp/multipartBody1215418831602216490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083394241,"filename":"image_28012025_11_46_26_9479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332353747","file1":"1332353745","file0":"1332353741","file4":"1332353860","file5":"1332353864","file3":"1332353843"},"map_files_photo_id_array":[{"photo_id":"1332353864","filename":"file5"},{"photo_id":"1332353747","filename":"file2"},{"photo_id":"1332353860","filename":"file4"},{"photo_id":"1332353745","filename":"file1"},{"photo_id":"1332353741","filename":"file0"},{"photo_id":"1332353843","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332353864":["hashtag1","hashtag2"]},{"1332353843":["hashtag1","hashtag2"]},{"1332353747":["hashtag1","hashtag2"]},{"1332353741":["hashtag1","hashtag2"]},{"1332353860":["hashtag1","hashtag2"]},{"1332353745":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332353864, 1332353843, 1332353747, 1332353741, 1332353860, 1332353745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.64484262466431 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:56:32.394899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/47/image_28012025_11_47_16_9383.jpg', '/home/pi/Desktop/images/28012025/11/47/image_28012025_11_47_26_10344.jpg', '/home/pi/Desktop/images/28012025/11/47/image_28012025_11_47_36_10356.jpg', '/home/pi/Desktop/images/28012025/11/47/image_28012025_11_47_46_9354.jpg', '/home/pi/Desktop/images/28012025/11/47/image_28012025_11_47_56_10342.jpg', '/home/pi/Desktop/images/28012025/11/47/image_28012025_11_48_05_9329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/47/image_28012025_11_47_16_9383.jpg
/home/pi/Desktop/images/28012025/11/47/image_28012025_11_47_26_10344.jpg
/home/pi/Desktop/images/28012025/11/47/image_28012025_11_47_36_10356.jpg
/home/pi/Desktop/images/28012025/11/47/image_28012025_11_47_46_9354.jpg
/home/pi/Desktop/images/28012025/11/47/image_28012025_11_47_56_10342.jpg
/home/pi/Desktop/images/28012025/11/47/image_28012025_11_48_05_9329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332353916","1332353901","1332353879","1332353921","1332353926","1332353892"],"photo_ids_order":["1332353879","1332353892","1332353901","1332353916","1332353921","1332353926"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/79d21be90e06378bd6214c0c5ba1e170.jpg","text":"TemporaryFile(/tmp/multipartBody7168442728508260392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083453350,"filename":"image_28012025_11_47_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/1/28/0cd7014ff6e172ab8472462c858b16a0.jpg","text":"TemporaryFile(/tmp/multipartBody2674477904746914632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083453350,"filename":"image_28012025_11_47_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/1/28/771d4e9ba6d259973bdf09b59ecce61e.jpg","text":"TemporaryFile(/tmp/multipartBody3247396174590429285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083453350,"filename":"image_28012025_11_47_16_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f3b89e424468ae2b2b11850bf56a0d21.jpg","text":"TemporaryFile(/tmp/multipartBody2021318736174703726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083453350,"filename":"image_28012025_11_47_56_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/62928696b4132956c6b038f2364682e4.jpg","text":"TemporaryFile(/tmp/multipartBody4864518115918948336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083453350,"filename":"image_28012025_11_48_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/1/28/1a1b46c6f4dc17cda5b2baf65caf01c0.jpg","text":"TemporaryFile(/tmp/multipartBody4691144672290098852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083453350,"filename":"image_28012025_11_47_26_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332353901","file1":"1332353892","file0":"1332353879","file4":"1332353921","file5":"1332353926","file3":"1332353916"},"map_files_photo_id_array":[{"photo_id":"1332353926","filename":"file5"},{"photo_id":"1332353901","filename":"file2"},{"photo_id":"1332353921","filename":"file4"},{"photo_id":"1332353892","filename":"file1"},{"photo_id":"1332353879","filename":"file0"},{"photo_id":"1332353916","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332353916":["hashtag1","hashtag2"]},{"1332353901":["hashtag1","hashtag2"]},{"1332353879":["hashtag1","hashtag2"]},{"1332353921":["hashtag1","hashtag2"]},{"1332353926":["hashtag1","hashtag2"]},{"1332353892":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332353916, 1332353901, 1332353879, 1332353921, 1332353926, 1332353892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.92864799499512 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 17:57:32.664808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/48/image_28012025_11_48_16_10357.jpg', '/home/pi/Desktop/images/28012025/11/48/image_28012025_11_48_26_10337.jpg', '/home/pi/Desktop/images/28012025/11/48/image_28012025_11_48_35_9345.jpg', '/home/pi/Desktop/images/28012025/11/48/image_28012025_11_48_46_10363.jpg', '/home/pi/Desktop/images/28012025/11/48/image_28012025_11_48_56_10350.jpg', '/home/pi/Desktop/images/28012025/11/48/image_28012025_11_49_05_9326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/48/image_28012025_11_48_16_10357.jpg
/home/pi/Desktop/images/28012025/11/48/image_28012025_11_48_26_10337.jpg
/home/pi/Desktop/images/28012025/11/48/image_28012025_11_48_35_9345.jpg
/home/pi/Desktop/images/28012025/11/48/image_28012025_11_48_46_10363.jpg
/home/pi/Desktop/images/28012025/11/48/image_28012025_11_48_56_10350.jpg
/home/pi/Desktop/images/28012025/11/48/image_28012025_11_49_05_9326.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 www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 17:59:03.912144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/48/image_28012025_11_48_16_10357.jpg', '/home/pi/Desktop/images/28012025/11/48/image_28012025_11_48_26_10337.jpg', '/home/pi/Desktop/images/28012025/11/48/image_28012025_11_48_35_9345.jpg', '/home/pi/Desktop/images/28012025/11/48/image_28012025_11_48_46_10363.jpg', '/home/pi/Desktop/images/28012025/11/48/image_28012025_11_48_56_10350.jpg', '/home/pi/Desktop/images/28012025/11/48/image_28012025_11_49_05_9326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/48/image_28012025_11_48_16_10357.jpg
/home/pi/Desktop/images/28012025/11/48/image_28012025_11_48_26_10337.jpg
/home/pi/Desktop/images/28012025/11/48/image_28012025_11_48_35_9345.jpg
/home/pi/Desktop/images/28012025/11/48/image_28012025_11_48_46_10363.jpg
/home/pi/Desktop/images/28012025/11/48/image_28012025_11_48_56_10350.jpg
/home/pi/Desktop/images/28012025/11/48/image_28012025_11_49_05_9326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332354212","1332354277","1332354247","1332354217","1332354264","1332354207"],"photo_ids_order":["1332354207","1332354212","1332354217","1332354247","1332354264","1332354277"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/66b095174b1367c4c58a1e2993c84455.jpg","text":"TemporaryFile(/tmp/multipartBody4058130761647958275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083604907,"filename":"image_28012025_11_48_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/1/28/2f197ab8b13d8a3da20ae41aa51d22ef.jpg","text":"TemporaryFile(/tmp/multipartBody6915366415372218640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083604907,"filename":"image_28012025_11_49_05_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2f256200772fd40960bb80108c3bc492.jpg","text":"TemporaryFile(/tmp/multipartBody8548384747677192427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083604907,"filename":"image_28012025_11_48_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/1/28/35cf5822ad44711af469a2628c03229e.jpg","text":"TemporaryFile(/tmp/multipartBody300253716997581254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083604907,"filename":"image_28012025_11_48_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/1/28/26c2635bf68565bfbb6f401a2a724a99.jpg","text":"TemporaryFile(/tmp/multipartBody6774804169574922420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083604907,"filename":"image_28012025_11_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/1/28/9250b4a5a6690436855fd73789915e64.jpg","text":"TemporaryFile(/tmp/multipartBody1730538162973527669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083604907,"filename":"image_28012025_11_48_16_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332354217","file1":"1332354212","file0":"1332354207","file4":"1332354264","file5":"1332354277","file3":"1332354247"},"map_files_photo_id_array":[{"photo_id":"1332354277","filename":"file5"},{"photo_id":"1332354217","filename":"file2"},{"photo_id":"1332354264","filename":"file4"},{"photo_id":"1332354212","filename":"file1"},{"photo_id":"1332354207","filename":"file0"},{"photo_id":"1332354247","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332354212":["hashtag1","hashtag2"]},{"1332354277":["hashtag1","hashtag2"]},{"1332354247":["hashtag1","hashtag2"]},{"1332354217":["hashtag1","hashtag2"]},{"1332354264":["hashtag1","hashtag2"]},{"1332354207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332354212, 1332354277, 1332354247, 1332354217, 1332354264, 1332354207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.064916372299194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:00:32.766652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/49/image_28012025_11_49_16_10377.jpg', '/home/pi/Desktop/images/28012025/11/49/image_28012025_11_49_26_10350.jpg', '/home/pi/Desktop/images/28012025/11/49/image_28012025_11_49_35_9325.jpg', '/home/pi/Desktop/images/28012025/11/49/image_28012025_11_49_46_10363.jpg', '/home/pi/Desktop/images/28012025/11/49/image_28012025_11_49_56_10399.jpg', '/home/pi/Desktop/images/28012025/11/49/image_28012025_11_50_06_9435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/49/image_28012025_11_49_16_10377.jpg
/home/pi/Desktop/images/28012025/11/49/image_28012025_11_49_26_10350.jpg
/home/pi/Desktop/images/28012025/11/49/image_28012025_11_49_35_9325.jpg
/home/pi/Desktop/images/28012025/11/49/image_28012025_11_49_46_10363.jpg
/home/pi/Desktop/images/28012025/11/49/image_28012025_11_49_56_10399.jpg
/home/pi/Desktop/images/28012025/11/49/image_28012025_11_50_06_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":["1332354314","1332354515","1332354499","1332354317","1332354523","1332354331"],"photo_ids_order":["1332354314","1332354317","1332354331","1332354499","1332354515","1332354523"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/066e7c27aa24526525d6ca07f0ff3248.jpg","text":"TemporaryFile(/tmp/multipartBody6810781066034587095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083693713,"filename":"image_28012025_11_49_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/1/28/95a3186fb440049f21de6b34cb1fbdb3.jpg","text":"TemporaryFile(/tmp/multipartBody2434893372248999719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083693713,"filename":"image_28012025_11_49_56_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/749ca4e989b94c2652a4fa83c65e8439.jpg","text":"TemporaryFile(/tmp/multipartBody495559276917375766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083693713,"filename":"image_28012025_11_49_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/1/28/685c344c6419e892ab5a84b240ee1d8f.jpg","text":"TemporaryFile(/tmp/multipartBody4604333595290538053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083693713,"filename":"image_28012025_11_49_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/1/28/f3dc0fff08be7ddc0bb4c837f0f4181b.jpg","text":"TemporaryFile(/tmp/multipartBody4407342712186967326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083693713,"filename":"image_28012025_11_50_06_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/326dad0a995a02de71c8d38feb0e06e2.jpg","text":"TemporaryFile(/tmp/multipartBody3421095482393349255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083693713,"filename":"image_28012025_11_49_35_9325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332354331","file1":"1332354317","file0":"1332354314","file4":"1332354515","file5":"1332354523","file3":"1332354499"},"map_files_photo_id_array":[{"photo_id":"1332354523","filename":"file5"},{"photo_id":"1332354331","filename":"file2"},{"photo_id":"1332354515","filename":"file4"},{"photo_id":"1332354317","filename":"file1"},{"photo_id":"1332354314","filename":"file0"},{"photo_id":"1332354499","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332354314":["hashtag1","hashtag2"]},{"1332354515":["hashtag1","hashtag2"]},{"1332354499":["hashtag1","hashtag2"]},{"1332354317":["hashtag1","hashtag2"]},{"1332354523":["hashtag1","hashtag2"]},{"1332354331":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332354314, 1332354515, 1332354499, 1332354317, 1332354523, 1332354331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.5424017906189 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:01:33.058632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/50/image_28012025_11_50_16_10335.jpg', '/home/pi/Desktop/images/28012025/11/50/image_28012025_11_50_25_9357.jpg', '/home/pi/Desktop/images/28012025/11/50/image_28012025_11_50_46_10333.jpg', '/home/pi/Desktop/images/28012025/11/50/image_28012025_11_50_55_9332.jpg', '/home/pi/Desktop/images/28012025/11/50/image_28012025_11_51_06_10341.jpg', '/home/pi/Desktop/images/28012025/11/51/image_28012025_11_51_25_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/50/image_28012025_11_50_16_10335.jpg
/home/pi/Desktop/images/28012025/11/50/image_28012025_11_50_25_9357.jpg
/home/pi/Desktop/images/28012025/11/50/image_28012025_11_50_46_10333.jpg
/home/pi/Desktop/images/28012025/11/50/image_28012025_11_50_55_9332.jpg
/home/pi/Desktop/images/28012025/11/50/image_28012025_11_51_06_10341.jpg
/home/pi/Desktop/images/28012025/11/51/image_28012025_11_51_25_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332354833","1332354931","1332354838","1332354777","1332354558","1332354896"],"photo_ids_order":["1332354558","1332354777","1332354833","1332354838","1332354896","1332354931"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/78705d0d5dfd30ad349fa641cf332674.jpg","text":"TemporaryFile(/tmp/multipartBody3344408479090038907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083754015,"filename":"image_28012025_11_50_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/1/28/3d61d673e7484de2ca9e5b0644e95fb9.jpg","text":"TemporaryFile(/tmp/multipartBody6734684524583523633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083754015,"filename":"image_28012025_11_51_25_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d20d7461c171a43ef5e9fad8cf0fe9f9.jpg","text":"TemporaryFile(/tmp/multipartBody6824908591584763949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083754015,"filename":"image_28012025_11_50_55_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b2dd77b7e2361095b7f1d3e09bfe84d4.jpg","text":"TemporaryFile(/tmp/multipartBody4193695704877794345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083754015,"filename":"image_28012025_11_50_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/1/28/1ffa15eff22a0dd3bfc877387225937c.jpg","text":"TemporaryFile(/tmp/multipartBody2400900501501376210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083754015,"filename":"image_28012025_11_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/1/28/f2715c7ec0a540ea7d7dd37758179287.jpg","text":"TemporaryFile(/tmp/multipartBody6389229220630208562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083754015,"filename":"image_28012025_11_51_06_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332354833","file1":"1332354777","file0":"1332354558","file4":"1332354896","file5":"1332354931","file3":"1332354838"},"map_files_photo_id_array":[{"photo_id":"1332354931","filename":"file5"},{"photo_id":"1332354833","filename":"file2"},{"photo_id":"1332354896","filename":"file4"},{"photo_id":"1332354777","filename":"file1"},{"photo_id":"1332354558","filename":"file0"},{"photo_id":"1332354838","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332354833":["hashtag1","hashtag2"]},{"1332354931":["hashtag1","hashtag2"]},{"1332354838":["hashtag1","hashtag2"]},{"1332354777":["hashtag1","hashtag2"]},{"1332354558":["hashtag1","hashtag2"]},{"1332354896":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332354833, 1332354931, 1332354838, 1332354777, 1332354558, 1332354896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.3666889667511 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:02:32.164144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/51/image_28012025_11_51_36_10349.jpg', '/home/pi/Desktop/images/28012025/11/51/image_28012025_11_51_46_10412.jpg', '/home/pi/Desktop/images/28012025/11/51/image_28012025_11_51_55_9331.jpg', '/home/pi/Desktop/images/28012025/11/51/image_28012025_11_52_06_10440.jpg', '/home/pi/Desktop/images/28012025/11/52/image_28012025_11_52_16_10328.jpg', '/home/pi/Desktop/images/28012025/11/52/image_28012025_11_52_26_9421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/51/image_28012025_11_51_36_10349.jpg
/home/pi/Desktop/images/28012025/11/51/image_28012025_11_51_46_10412.jpg
/home/pi/Desktop/images/28012025/11/51/image_28012025_11_51_55_9331.jpg
/home/pi/Desktop/images/28012025/11/51/image_28012025_11_52_06_10440.jpg
/home/pi/Desktop/images/28012025/11/52/image_28012025_11_52_16_10328.jpg
/home/pi/Desktop/images/28012025/11/52/image_28012025_11_52_26_9421.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5875864028930664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 18:02:42.193630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/51/image_28012025_11_51_36_10349.jpg', '/home/pi/Desktop/images/28012025/11/51/image_28012025_11_51_46_10412.jpg', '/home/pi/Desktop/images/28012025/11/51/image_28012025_11_51_55_9331.jpg', '/home/pi/Desktop/images/28012025/11/51/image_28012025_11_52_06_10440.jpg', '/home/pi/Desktop/images/28012025/11/52/image_28012025_11_52_16_10328.jpg', '/home/pi/Desktop/images/28012025/11/52/image_28012025_11_52_26_9421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/51/image_28012025_11_51_36_10349.jpg
/home/pi/Desktop/images/28012025/11/51/image_28012025_11_51_46_10412.jpg
/home/pi/Desktop/images/28012025/11/51/image_28012025_11_51_55_9331.jpg
/home/pi/Desktop/images/28012025/11/51/image_28012025_11_52_06_10440.jpg
/home/pi/Desktop/images/28012025/11/52/image_28012025_11_52_16_10328.jpg
/home/pi/Desktop/images/28012025/11/52/image_28012025_11_52_26_9421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332354989","1332354970","1332354990","1332354978","1332354963","1332354983"],"photo_ids_order":["1332354963","1332354970","1332354978","1332354983","1332354989","1332354990"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/227108772a88c71a6700d32f648bb1ac.jpg","text":"TemporaryFile(/tmp/multipartBody1058280451675212178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083823098,"filename":"image_28012025_11_52_16_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/925dc8de0400ced5f8d9ce802d4199c1.jpg","text":"TemporaryFile(/tmp/multipartBody1474170391111274972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083823098,"filename":"image_28012025_11_51_46_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c1b993040e30db7b45d8a0c515eb610e.jpg","text":"TemporaryFile(/tmp/multipartBody4763393110934432702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083823098,"filename":"image_28012025_11_52_26_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/703fd3f3bfea0e90b5bb041b02d3c745.jpg","text":"TemporaryFile(/tmp/multipartBody7557774179923206714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083823098,"filename":"image_28012025_11_51_55_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c4800525b9d07d821cee20c254420941.jpg","text":"TemporaryFile(/tmp/multipartBody8136844281609051052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083823098,"filename":"image_28012025_11_51_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/1/28/cc2eea9c2bacc19f2458f26f9f1d8bfe.jpg","text":"TemporaryFile(/tmp/multipartBody4169991619490504717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083823098,"filename":"image_28012025_11_52_06_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332354978","file1":"1332354970","file0":"1332354963","file4":"1332354989","file5":"1332354990","file3":"1332354983"},"map_files_photo_id_array":[{"photo_id":"1332354990","filename":"file5"},{"photo_id":"1332354978","filename":"file2"},{"photo_id":"1332354989","filename":"file4"},{"photo_id":"1332354970","filename":"file1"},{"photo_id":"1332354963","filename":"file0"},{"photo_id":"1332354983","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332354989":["hashtag1","hashtag2"]},{"1332354970":["hashtag1","hashtag2"]},{"1332354990":["hashtag1","hashtag2"]},{"1332354978":["hashtag1","hashtag2"]},{"1332354963":["hashtag1","hashtag2"]},{"1332354983":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332354989, 1332354970, 1332354990, 1332354978, 1332354963, 1332354983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.42971396446228 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:03:32.491548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/52/image_28012025_11_52_36_10355.jpg', '/home/pi/Desktop/images/28012025/11/52/image_28012025_11_52_45_9367.jpg', '/home/pi/Desktop/images/28012025/11/52/image_28012025_11_52_56_10347.jpg', '/home/pi/Desktop/images/28012025/11/52/image_28012025_11_53_06_10314.jpg', '/home/pi/Desktop/images/28012025/11/53/image_28012025_11_53_15_9324.jpg', '/home/pi/Desktop/images/28012025/11/53/image_28012025_11_53_26_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/52/image_28012025_11_52_36_10355.jpg
/home/pi/Desktop/images/28012025/11/52/image_28012025_11_52_45_9367.jpg
/home/pi/Desktop/images/28012025/11/52/image_28012025_11_52_56_10347.jpg
/home/pi/Desktop/images/28012025/11/52/image_28012025_11_53_06_10314.jpg
/home/pi/Desktop/images/28012025/11/53/image_28012025_11_53_15_9324.jpg
/home/pi/Desktop/images/28012025/11/53/image_28012025_11_53_26_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":["1332355654","1332355807","1332356133","1332355287","1332355515","1332355991"],"photo_ids_order":["1332355287","1332355515","1332355654","1332355807","1332355991","1332356133"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9b5294ffa7295d9f859f260ab4d317d5.jpg","text":"TemporaryFile(/tmp/multipartBody7922001480704773513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083873460,"filename":"image_28012025_11_52_56_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e056cacb60f02cb9f132ed36eeb6d77d.jpg","text":"TemporaryFile(/tmp/multipartBody3763137336319032776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083873460,"filename":"image_28012025_11_53_06_10314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d968f6568f0fdaf42c6303d80501f989.jpg","text":"TemporaryFile(/tmp/multipartBody6549952240243719587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083873460,"filename":"image_28012025_11_53_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/1/28/7cccf755d1164037e9825f353d636da6.jpg","text":"TemporaryFile(/tmp/multipartBody6850293261189066764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083873460,"filename":"image_28012025_11_52_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/1/28/20f6ccc5f458bca6ae24a47810f7bde6.jpg","text":"TemporaryFile(/tmp/multipartBody9137197018982447531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083873460,"filename":"image_28012025_11_52_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/1/28/5f13a1f933be1ed50824818694f45c62.jpg","text":"TemporaryFile(/tmp/multipartBody965376836691464941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083873460,"filename":"image_28012025_11_53_15_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332355654","file1":"1332355515","file0":"1332355287","file4":"1332355991","file5":"1332356133","file3":"1332355807"},"map_files_photo_id_array":[{"photo_id":"1332356133","filename":"file5"},{"photo_id":"1332355654","filename":"file2"},{"photo_id":"1332355991","filename":"file4"},{"photo_id":"1332355515","filename":"file1"},{"photo_id":"1332355287","filename":"file0"},{"photo_id":"1332355807","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332355654":["hashtag1","hashtag2"]},{"1332355807":["hashtag1","hashtag2"]},{"1332356133":["hashtag1","hashtag2"]},{"1332355287":["hashtag1","hashtag2"]},{"1332355515":["hashtag1","hashtag2"]},{"1332355991":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332355654, 1332355807, 1332356133, 1332355287, 1332355515, 1332355991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.68352818489075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:04:32.772383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/53/image_28012025_11_53_36_10353.jpg', '/home/pi/Desktop/images/28012025/11/53/image_28012025_11_53_45_9343.jpg', '/home/pi/Desktop/images/28012025/11/53/image_28012025_11_53_56_10418.jpg', '/home/pi/Desktop/images/28012025/11/53/image_28012025_11_54_06_10335.jpg', '/home/pi/Desktop/images/28012025/11/54/image_28012025_11_54_16_9438.jpg', '/home/pi/Desktop/images/28012025/11/54/image_28012025_11_54_26_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/53/image_28012025_11_53_36_10353.jpg
/home/pi/Desktop/images/28012025/11/53/image_28012025_11_53_45_9343.jpg
/home/pi/Desktop/images/28012025/11/53/image_28012025_11_53_56_10418.jpg
/home/pi/Desktop/images/28012025/11/53/image_28012025_11_54_06_10335.jpg
/home/pi/Desktop/images/28012025/11/54/image_28012025_11_54_16_9438.jpg
/home/pi/Desktop/images/28012025/11/54/image_28012025_11_54_26_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":["1332357039","1332356979","1332356859","1332356772","1332356946","1332357079"],"photo_ids_order":["1332356772","1332356859","1332356946","1332356979","1332357039","1332357079"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c865b95437372be6f5e132bfe2f6364b.jpg","text":"TemporaryFile(/tmp/multipartBody6220765308366784730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083933733,"filename":"image_28012025_11_54_16_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ad067a404440b2267c8d03d8fafa990e.jpg","text":"TemporaryFile(/tmp/multipartBody5082945129843348179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083933733,"filename":"image_28012025_11_54_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/1/28/4c9c25fb469cfd5278b2e14769334fb7.jpg","text":"TemporaryFile(/tmp/multipartBody4971135159006133404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083933733,"filename":"image_28012025_11_53_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/1/28/2e3fcacba19f7ec2fbd667071f84f29d.jpg","text":"TemporaryFile(/tmp/multipartBody8729439110574245499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083933733,"filename":"image_28012025_11_53_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/1/28/297579888fa9be4a57c0b27641024d93.jpg","text":"TemporaryFile(/tmp/multipartBody2664578972311014198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083933733,"filename":"image_28012025_11_53_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/1/28/58c215124a12a4345d348c1027d9c0c1.jpg","text":"TemporaryFile(/tmp/multipartBody3624450453850707826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083933733,"filename":"image_28012025_11_54_26_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332356946","file1":"1332356859","file0":"1332356772","file4":"1332357039","file5":"1332357079","file3":"1332356979"},"map_files_photo_id_array":[{"photo_id":"1332357079","filename":"file5"},{"photo_id":"1332356946","filename":"file2"},{"photo_id":"1332357039","filename":"file4"},{"photo_id":"1332356859","filename":"file1"},{"photo_id":"1332356772","filename":"file0"},{"photo_id":"1332356979","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332357039":["hashtag1","hashtag2"]},{"1332356979":["hashtag1","hashtag2"]},{"1332356859":["hashtag1","hashtag2"]},{"1332356772":["hashtag1","hashtag2"]},{"1332356946":["hashtag1","hashtag2"]},{"1332357079":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332357039, 1332356979, 1332356859, 1332356772, 1332356946, 1332357079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.20701837539673 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:05:32.993136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/54/image_28012025_11_54_36_10335.jpg', '/home/pi/Desktop/images/28012025/11/54/image_28012025_11_54_46_9454.jpg', '/home/pi/Desktop/images/28012025/11/54/image_28012025_11_54_56_10369.jpg', '/home/pi/Desktop/images/28012025/11/54/image_28012025_11_55_05_9322.jpg', '/home/pi/Desktop/images/28012025/11/55/image_28012025_11_55_16_10436.jpg', '/home/pi/Desktop/images/28012025/11/55/image_28012025_11_55_25_9462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/54/image_28012025_11_54_36_10335.jpg
/home/pi/Desktop/images/28012025/11/54/image_28012025_11_54_46_9454.jpg
/home/pi/Desktop/images/28012025/11/54/image_28012025_11_54_56_10369.jpg
/home/pi/Desktop/images/28012025/11/54/image_28012025_11_55_05_9322.jpg
/home/pi/Desktop/images/28012025/11/55/image_28012025_11_55_16_10436.jpg
/home/pi/Desktop/images/28012025/11/55/image_28012025_11_55_25_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":["1332357698","1332357603","1332357411","1332357680","1332357710","1332357583"],"photo_ids_order":["1332357411","1332357583","1332357603","1332357680","1332357698","1332357710"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f8bcbb08a12d77c6946372d46f79eb0b.jpg","text":"TemporaryFile(/tmp/multipartBody4918654441870898829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083993952,"filename":"image_28012025_11_55_16_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c9efd5d8ff45e490ebe92df14fab8c68.jpg","text":"TemporaryFile(/tmp/multipartBody2762495167575481929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083993952,"filename":"image_28012025_11_54_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/1/28/3fa59b616876cca914cd4f0f4b0db583.jpg","text":"TemporaryFile(/tmp/multipartBody4980075225618158689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083993952,"filename":"image_28012025_11_54_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/1/28/c5146c837970093416b2aa86ef9180f2.jpg","text":"TemporaryFile(/tmp/multipartBody5661757125596294183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083993952,"filename":"image_28012025_11_55_05_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e929d5a85e422b97e00419bd47b79b56.jpg","text":"TemporaryFile(/tmp/multipartBody720360718956086679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083993952,"filename":"image_28012025_11_55_25_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4ca0bf3f5243d6999717d725bc7a7abc.jpg","text":"TemporaryFile(/tmp/multipartBody8286824132123962688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738083993952,"filename":"image_28012025_11_54_46_9454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332357603","file1":"1332357583","file0":"1332357411","file4":"1332357698","file5":"1332357710","file3":"1332357680"},"map_files_photo_id_array":[{"photo_id":"1332357710","filename":"file5"},{"photo_id":"1332357603","filename":"file2"},{"photo_id":"1332357698","filename":"file4"},{"photo_id":"1332357583","filename":"file1"},{"photo_id":"1332357411","filename":"file0"},{"photo_id":"1332357680","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332357698":["hashtag1","hashtag2"]},{"1332357603":["hashtag1","hashtag2"]},{"1332357411":["hashtag1","hashtag2"]},{"1332357680":["hashtag1","hashtag2"]},{"1332357710":["hashtag1","hashtag2"]},{"1332357583":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332357698, 1332357603, 1332357411, 1332357680, 1332357710, 1332357583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.8711199760437 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:06:32.234020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/55/image_28012025_11_55_36_10328.jpg', '/home/pi/Desktop/images/28012025/11/55/image_28012025_11_55_46_10337.jpg', '/home/pi/Desktop/images/28012025/11/55/image_28012025_11_55_55_9335.jpg', '/home/pi/Desktop/images/28012025/11/55/image_28012025_11_56_06_10445.jpg', '/home/pi/Desktop/images/28012025/11/56/image_28012025_11_56_16_10335.jpg', '/home/pi/Desktop/images/28012025/11/56/image_28012025_11_56_25_9385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/55/image_28012025_11_55_36_10328.jpg
/home/pi/Desktop/images/28012025/11/55/image_28012025_11_55_46_10337.jpg
/home/pi/Desktop/images/28012025/11/55/image_28012025_11_55_55_9335.jpg
/home/pi/Desktop/images/28012025/11/55/image_28012025_11_56_06_10445.jpg
/home/pi/Desktop/images/28012025/11/56/image_28012025_11_56_16_10335.jpg
/home/pi/Desktop/images/28012025/11/56/image_28012025_11_56_25_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":["1332358262","1332358145","1332358693","1332358375","1332358615","1332358494"],"photo_ids_order":["1332358145","1332358262","1332358375","1332358494","1332358615","1332358693"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ed97b931a06547420de57f63615d85f2.jpg","text":"TemporaryFile(/tmp/multipartBody2968585219785356228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084053202,"filename":"image_28012025_11_55_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/1/28/79f21da0298ed786f6133bfbaebbabb1.jpg","text":"TemporaryFile(/tmp/multipartBody437701660051414714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084053202,"filename":"image_28012025_11_55_36_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7f659ee60cf99e002252b4ae7955b0ac.jpg","text":"TemporaryFile(/tmp/multipartBody1466067701953410592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084053202,"filename":"image_28012025_11_56_25_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/afaef40739ee1e336b874aeeccb73d48.jpg","text":"TemporaryFile(/tmp/multipartBody1447799314637921266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084053202,"filename":"image_28012025_11_55_55_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1493f008c2dad05ce61d87a473f79c5a.jpg","text":"TemporaryFile(/tmp/multipartBody6268420714300063315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084053202,"filename":"image_28012025_11_56_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/1/28/8826c7df0ee23f7d8a7784054b98b45e.jpg","text":"TemporaryFile(/tmp/multipartBody4036868721754769988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084053202,"filename":"image_28012025_11_56_06_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332358375","file1":"1332358262","file0":"1332358145","file4":"1332358615","file5":"1332358693","file3":"1332358494"},"map_files_photo_id_array":[{"photo_id":"1332358693","filename":"file5"},{"photo_id":"1332358375","filename":"file2"},{"photo_id":"1332358615","filename":"file4"},{"photo_id":"1332358262","filename":"file1"},{"photo_id":"1332358145","filename":"file0"},{"photo_id":"1332358494","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332358262":["hashtag1","hashtag2"]},{"1332358145":["hashtag1","hashtag2"]},{"1332358693":["hashtag1","hashtag2"]},{"1332358375":["hashtag1","hashtag2"]},{"1332358615":["hashtag1","hashtag2"]},{"1332358494":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332358262, 1332358145, 1332358693, 1332358375, 1332358615, 1332358494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.772395610809326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:07:32.503382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/56/image_28012025_11_56_36_10402.jpg', '/home/pi/Desktop/images/28012025/11/56/image_28012025_11_56_46_10343.jpg', '/home/pi/Desktop/images/28012025/11/56/image_28012025_11_56_56_9394.jpg', '/home/pi/Desktop/images/28012025/11/56/image_28012025_11_57_06_10371.jpg', '/home/pi/Desktop/images/28012025/11/57/image_28012025_11_57_15_9334.jpg', '/home/pi/Desktop/images/28012025/11/57/image_28012025_11_57_36_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/56/image_28012025_11_56_36_10402.jpg
/home/pi/Desktop/images/28012025/11/56/image_28012025_11_56_46_10343.jpg
/home/pi/Desktop/images/28012025/11/56/image_28012025_11_56_56_9394.jpg
/home/pi/Desktop/images/28012025/11/56/image_28012025_11_57_06_10371.jpg
/home/pi/Desktop/images/28012025/11/57/image_28012025_11_57_15_9334.jpg
/home/pi/Desktop/images/28012025/11/57/image_28012025_11_57_36_10346.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5626647472381592 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 18:07:42.571874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/56/image_28012025_11_56_36_10402.jpg', '/home/pi/Desktop/images/28012025/11/56/image_28012025_11_56_46_10343.jpg', '/home/pi/Desktop/images/28012025/11/56/image_28012025_11_56_56_9394.jpg', '/home/pi/Desktop/images/28012025/11/56/image_28012025_11_57_06_10371.jpg', '/home/pi/Desktop/images/28012025/11/57/image_28012025_11_57_15_9334.jpg', '/home/pi/Desktop/images/28012025/11/57/image_28012025_11_57_36_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/56/image_28012025_11_56_36_10402.jpg
/home/pi/Desktop/images/28012025/11/56/image_28012025_11_56_46_10343.jpg
/home/pi/Desktop/images/28012025/11/56/image_28012025_11_56_56_9394.jpg
/home/pi/Desktop/images/28012025/11/56/image_28012025_11_57_06_10371.jpg
/home/pi/Desktop/images/28012025/11/57/image_28012025_11_57_15_9334.jpg
/home/pi/Desktop/images/28012025/11/57/image_28012025_11_57_36_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332359331","1332359310","1332359316","1332359327","1332359321","1332359303"],"photo_ids_order":["1332359303","1332359310","1332359316","1332359321","1332359327","1332359331"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d0c067d29d25b63f5b54b55172e3fc47.jpg","text":"TemporaryFile(/tmp/multipartBody3449853313684399599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084123611,"filename":"image_28012025_11_57_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/1/28/c7378743634b89fb707504185f0e1295.jpg","text":"TemporaryFile(/tmp/multipartBody692762825080989646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084123611,"filename":"image_28012025_11_56_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/1/28/0740c790145dbbcb30a3050cfde734f4.jpg","text":"TemporaryFile(/tmp/multipartBody3048934186963540916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084123611,"filename":"image_28012025_11_56_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/1/28/02444785970041791b1113ea8bf6d7c4.jpg","text":"TemporaryFile(/tmp/multipartBody5866840493063618766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084123611,"filename":"image_28012025_11_57_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/1/28/9fa11c742133458fb19771c8bc0883dd.jpg","text":"TemporaryFile(/tmp/multipartBody8034855194822817950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084123611,"filename":"image_28012025_11_57_06_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4457689695a94c5ab7b0a15d5a37bce5.jpg","text":"TemporaryFile(/tmp/multipartBody2441154869237478992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084123611,"filename":"image_28012025_11_56_36_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332359316","file1":"1332359310","file0":"1332359303","file4":"1332359327","file5":"1332359331","file3":"1332359321"},"map_files_photo_id_array":[{"photo_id":"1332359331","filename":"file5"},{"photo_id":"1332359316","filename":"file2"},{"photo_id":"1332359327","filename":"file4"},{"photo_id":"1332359310","filename":"file1"},{"photo_id":"1332359303","filename":"file0"},{"photo_id":"1332359321","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332359331":["hashtag1","hashtag2"]},{"1332359310":["hashtag1","hashtag2"]},{"1332359316":["hashtag1","hashtag2"]},{"1332359327":["hashtag1","hashtag2"]},{"1332359321":["hashtag1","hashtag2"]},{"1332359303":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332359331, 1332359310, 1332359316, 1332359327, 1332359321, 1332359303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.44810366630554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:08:32.760569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/57/image_28012025_11_57_46_9478.jpg', '/home/pi/Desktop/images/28012025/11/57/image_28012025_11_57_56_10338.jpg', '/home/pi/Desktop/images/28012025/11/57/image_28012025_11_58_06_10327.jpg', '/home/pi/Desktop/images/28012025/11/58/image_28012025_11_58_26_10372.jpg', '/home/pi/Desktop/images/28012025/11/58/image_28012025_11_58_35_9327.jpg', '/home/pi/Desktop/images/28012025/11/58/image_28012025_11_58_46_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/57/image_28012025_11_57_46_9478.jpg
/home/pi/Desktop/images/28012025/11/57/image_28012025_11_57_56_10338.jpg
/home/pi/Desktop/images/28012025/11/57/image_28012025_11_58_06_10327.jpg
/home/pi/Desktop/images/28012025/11/58/image_28012025_11_58_26_10372.jpg
/home/pi/Desktop/images/28012025/11/58/image_28012025_11_58_35_9327.jpg
/home/pi/Desktop/images/28012025/11/58/image_28012025_11_58_46_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332360153","1332359441","1332359342","1332359692","1332360049","1332359970"],"photo_ids_order":["1332359342","1332359441","1332359692","1332359970","1332360049","1332360153"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7df183ea7ff1580d5b92a3314de00b70.jpg","text":"TemporaryFile(/tmp/multipartBody1634701890697334379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084173725,"filename":"image_28012025_11_58_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/1/28/72aff9fa806c2565e794b7e53413198f.jpg","text":"TemporaryFile(/tmp/multipartBody9148715370372841118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084173725,"filename":"image_28012025_11_57_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/1/28/74f28013e811017f73cf7379130ac44c.jpg","text":"TemporaryFile(/tmp/multipartBody912665786930542264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084173725,"filename":"image_28012025_11_57_46_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c4639ca8623f7fd28d6ccf626fac416b.jpg","text":"TemporaryFile(/tmp/multipartBody1006427044878073426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084173725,"filename":"image_28012025_11_58_06_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2cdd36d6a234c9a56ee8f4f9688a87e3.jpg","text":"TemporaryFile(/tmp/multipartBody2355158369723465018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084173725,"filename":"image_28012025_11_58_35_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6b6654d7984d746e037a4301429002a9.jpg","text":"TemporaryFile(/tmp/multipartBody1229639563689237397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084173725,"filename":"image_28012025_11_58_26_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332359692","file1":"1332359441","file0":"1332359342","file4":"1332360049","file5":"1332360153","file3":"1332359970"},"map_files_photo_id_array":[{"photo_id":"1332360153","filename":"file5"},{"photo_id":"1332359692","filename":"file2"},{"photo_id":"1332360049","filename":"file4"},{"photo_id":"1332359441","filename":"file1"},{"photo_id":"1332359342","filename":"file0"},{"photo_id":"1332359970","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332360153":["hashtag1","hashtag2"]},{"1332359441":["hashtag1","hashtag2"]},{"1332359342":["hashtag1","hashtag2"]},{"1332359692":["hashtag1","hashtag2"]},{"1332360049":["hashtag1","hashtag2"]},{"1332359970":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332360153, 1332359441, 1332359342, 1332359692, 1332360049, 1332359970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.91939353942871 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:09:33.176120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/58/image_28012025_11_58_56_10447.jpg', '/home/pi/Desktop/images/28012025/11/58/image_28012025_11_59_06_9461.jpg', '/home/pi/Desktop/images/28012025/11/59/image_28012025_11_59_16_10345.jpg', '/home/pi/Desktop/images/28012025/11/59/image_28012025_11_59_25_9346.jpg', '/home/pi/Desktop/images/28012025/11/59/image_28012025_11_59_36_10435.jpg', '/home/pi/Desktop/images/28012025/11/59/image_28012025_11_59_46_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/58/image_28012025_11_58_56_10447.jpg
/home/pi/Desktop/images/28012025/11/58/image_28012025_11_59_06_9461.jpg
/home/pi/Desktop/images/28012025/11/59/image_28012025_11_59_16_10345.jpg
/home/pi/Desktop/images/28012025/11/59/image_28012025_11_59_25_9346.jpg
/home/pi/Desktop/images/28012025/11/59/image_28012025_11_59_36_10435.jpg
/home/pi/Desktop/images/28012025/11/59/image_28012025_11_59_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":["1332360261","1332360264","1332360438","1332360479","1332360329","1332360481"],"photo_ids_order":["1332360261","1332360264","1332360329","1332360438","1332360479","1332360481"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2ad958eb0c220cac40a3172be7d24245.jpg","text":"TemporaryFile(/tmp/multipartBody3004808662101209955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084234143,"filename":"image_28012025_11_58_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/1/28/915b64a93667511224f87fee670c39b6.jpg","text":"TemporaryFile(/tmp/multipartBody6167100083478861320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084234143,"filename":"image_28012025_11_59_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/1/28/9887cdc3ec50fb3a62d26d865eaf8f30.jpg","text":"TemporaryFile(/tmp/multipartBody499222262582361579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084234143,"filename":"image_28012025_11_59_25_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9e7d843c2d04328da00810b4820a6fea.jpg","text":"TemporaryFile(/tmp/multipartBody2487190387456368030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084234143,"filename":"image_28012025_11_59_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/1/28/22341a98753d3c54e868eb20337d141f.jpg","text":"TemporaryFile(/tmp/multipartBody340007266998347049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084234143,"filename":"image_28012025_11_59_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/1/28/8b58c9836ce038b4373e22037c8eee23.jpg","text":"TemporaryFile(/tmp/multipartBody6904599543540960900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084234143,"filename":"image_28012025_11_59_46_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332360329","file1":"1332360264","file0":"1332360261","file4":"1332360479","file5":"1332360481","file3":"1332360438"},"map_files_photo_id_array":[{"photo_id":"1332360481","filename":"file5"},{"photo_id":"1332360329","filename":"file2"},{"photo_id":"1332360479","filename":"file4"},{"photo_id":"1332360264","filename":"file1"},{"photo_id":"1332360261","filename":"file0"},{"photo_id":"1332360438","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332360261":["hashtag1","hashtag2"]},{"1332360264":["hashtag1","hashtag2"]},{"1332360438":["hashtag1","hashtag2"]},{"1332360479":["hashtag1","hashtag2"]},{"1332360329":["hashtag1","hashtag2"]},{"1332360481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332360261, 1332360264, 1332360438, 1332360479, 1332360329, 1332360481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.3891921043396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:10:32.212801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/11/59/image_28012025_11_59_55_9436.jpg', '/home/pi/Desktop/images/28012025/12/00/image_28012025_12_00_16_10092.jpg', '/home/pi/Desktop/images/28012025/12/00/image_28012025_12_00_27_10362.jpg', '/home/pi/Desktop/images/28012025/12/00/image_28012025_12_00_37_10357.jpg', '/home/pi/Desktop/images/28012025/12/00/image_28012025_12_00_46_9389.jpg', '/home/pi/Desktop/images/28012025/12/00/image_28012025_12_00_57_10453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/11/59/image_28012025_11_59_55_9436.jpg
/home/pi/Desktop/images/28012025/12/00/image_28012025_12_00_16_10092.jpg
/home/pi/Desktop/images/28012025/12/00/image_28012025_12_00_27_10362.jpg
/home/pi/Desktop/images/28012025/12/00/image_28012025_12_00_37_10357.jpg
/home/pi/Desktop/images/28012025/12/00/image_28012025_12_00_46_9389.jpg
/home/pi/Desktop/images/28012025/12/00/image_28012025_12_00_57_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":["1332360903","1332360906","1332360899","1332360889","1332360885","1332360894"],"photo_ids_order":["1332360885","1332360889","1332360894","1332360899","1332360903","1332360906"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0579ce3f062460f1c4c6e10aab3b2ef0.jpg","text":"TemporaryFile(/tmp/multipartBody8671575342591611485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084293189,"filename":"image_28012025_12_00_46_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/841bc1fb6dde4cd5cbb8f7f7685a9ffe.jpg","text":"TemporaryFile(/tmp/multipartBody365464087022302891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084293189,"filename":"image_28012025_12_00_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/1/28/3ad4fb5604e3650dbbb4382cedb83f2f.jpg","text":"TemporaryFile(/tmp/multipartBody5342335426051127607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084293189,"filename":"image_28012025_12_00_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/1/28/6078020fab9590c4da9272f96940b891.jpg","text":"TemporaryFile(/tmp/multipartBody2584960666140985590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084293189,"filename":"image_28012025_12_00_16_10092.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5657fb6acadbf9b1c206642f39ad63f2.jpg","text":"TemporaryFile(/tmp/multipartBody3314389360989888257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084293189,"filename":"image_28012025_11_59_55_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/137bd936c410e9796f755eb4cfd963cc.jpg","text":"TemporaryFile(/tmp/multipartBody7683372362413689090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084293189,"filename":"image_28012025_12_00_27_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332360894","file1":"1332360889","file0":"1332360885","file4":"1332360903","file5":"1332360906","file3":"1332360899"},"map_files_photo_id_array":[{"photo_id":"1332360906","filename":"file5"},{"photo_id":"1332360894","filename":"file2"},{"photo_id":"1332360903","filename":"file4"},{"photo_id":"1332360889","filename":"file1"},{"photo_id":"1332360885","filename":"file0"},{"photo_id":"1332360899","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332360903":["hashtag1","hashtag2"]},{"1332360906":["hashtag1","hashtag2"]},{"1332360899":["hashtag1","hashtag2"]},{"1332360889":["hashtag1","hashtag2"]},{"1332360885":["hashtag1","hashtag2"]},{"1332360894":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332360903, 1332360906, 1332360899, 1332360889, 1332360885, 1332360894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.36420178413391 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:11:32.501686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/00/image_28012025_12_01_06_9351.jpg', '/home/pi/Desktop/images/28012025/12/01/image_28012025_12_01_17_10338.jpg', '/home/pi/Desktop/images/28012025/12/01/image_28012025_12_01_27_10357.jpg', '/home/pi/Desktop/images/28012025/12/01/image_28012025_12_01_36_9402.jpg', '/home/pi/Desktop/images/28012025/12/01/image_28012025_12_01_47_10373.jpg', '/home/pi/Desktop/images/28012025/12/01/image_28012025_12_01_57_10326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/00/image_28012025_12_01_06_9351.jpg
/home/pi/Desktop/images/28012025/12/01/image_28012025_12_01_17_10338.jpg
/home/pi/Desktop/images/28012025/12/01/image_28012025_12_01_27_10357.jpg
/home/pi/Desktop/images/28012025/12/01/image_28012025_12_01_36_9402.jpg
/home/pi/Desktop/images/28012025/12/01/image_28012025_12_01_47_10373.jpg
/home/pi/Desktop/images/28012025/12/01/image_28012025_12_01_57_10326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332361349","1332361337","1332361352","1332361331","1332361362","1332361344"],"photo_ids_order":["1332361331","1332361337","1332361344","1332361349","1332361352","1332361362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c4aad00c79a7205c009e697638b813ee.jpg","text":"TemporaryFile(/tmp/multipartBody7775293074229341799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084353451,"filename":"image_28012025_12_01_36_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1a9ffda57a2a2a8433b64c019467f715.jpg","text":"TemporaryFile(/tmp/multipartBody7616353520482197842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084353451,"filename":"image_28012025_12_01_17_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7e0b1fbddcfe7d9bada2f730e7b17fab.jpg","text":"TemporaryFile(/tmp/multipartBody8123956118693844014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084353451,"filename":"image_28012025_12_01_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/1/28/1a4d24fea06c1f0b7d59c52da2acf478.jpg","text":"TemporaryFile(/tmp/multipartBody5575818810997525803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084353451,"filename":"image_28012025_12_01_06_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/336e883ae3217dd8b697a80640c2dbfc.jpg","text":"TemporaryFile(/tmp/multipartBody6869390474968654542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084353451,"filename":"image_28012025_12_01_57_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3ad12d4b633afdc1a59a625e4c78ad6b.jpg","text":"TemporaryFile(/tmp/multipartBody794209959454186853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084353451,"filename":"image_28012025_12_01_27_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332361344","file1":"1332361337","file0":"1332361331","file4":"1332361352","file5":"1332361362","file3":"1332361349"},"map_files_photo_id_array":[{"photo_id":"1332361362","filename":"file5"},{"photo_id":"1332361344","filename":"file2"},{"photo_id":"1332361352","filename":"file4"},{"photo_id":"1332361337","filename":"file1"},{"photo_id":"1332361331","filename":"file0"},{"photo_id":"1332361349","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332361349":["hashtag1","hashtag2"]},{"1332361337":["hashtag1","hashtag2"]},{"1332361352":["hashtag1","hashtag2"]},{"1332361331":["hashtag1","hashtag2"]},{"1332361362":["hashtag1","hashtag2"]},{"1332361344":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332361349, 1332361337, 1332361352, 1332361331, 1332361362, 1332361344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.190361976623535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:12:32.807517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/01/image_28012025_12_02_06_9368.jpg', '/home/pi/Desktop/images/28012025/12/02/image_28012025_12_02_17_10344.jpg', '/home/pi/Desktop/images/28012025/12/02/image_28012025_12_02_27_10409.jpg', '/home/pi/Desktop/images/28012025/12/02/image_28012025_12_02_37_9337.jpg', '/home/pi/Desktop/images/28012025/12/02/image_28012025_12_02_47_10425.jpg', '/home/pi/Desktop/images/28012025/12/02/image_28012025_12_02_56_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/01/image_28012025_12_02_06_9368.jpg
/home/pi/Desktop/images/28012025/12/02/image_28012025_12_02_17_10344.jpg
/home/pi/Desktop/images/28012025/12/02/image_28012025_12_02_27_10409.jpg
/home/pi/Desktop/images/28012025/12/02/image_28012025_12_02_37_9337.jpg
/home/pi/Desktop/images/28012025/12/02/image_28012025_12_02_47_10425.jpg
/home/pi/Desktop/images/28012025/12/02/image_28012025_12_02_56_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":["1332361439","1332361400","1332361420","1332361411","1332361405","1332361437"],"photo_ids_order":["1332361400","1332361405","1332361411","1332361420","1332361437","1332361439"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2a67b6d60e7f849802b29df2cbfe157d.jpg","text":"TemporaryFile(/tmp/multipartBody5194702383037412565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084413789,"filename":"image_28012025_12_02_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/1/28/e38030a2d6c1d6ff4620ed241849a200.jpg","text":"TemporaryFile(/tmp/multipartBody4581591327518280293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084413789,"filename":"image_28012025_12_02_06_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0caae13955900d3482bd3e59bb7c7d06.jpg","text":"TemporaryFile(/tmp/multipartBody1395249343798290694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084413789,"filename":"image_28012025_12_02_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/1/28/84bbc4bfd5f7cfd13529619f71a39b61.jpg","text":"TemporaryFile(/tmp/multipartBody6796801328441276024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084413789,"filename":"image_28012025_12_02_27_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6d043f1338bf423f30315bd918c19c4f.jpg","text":"TemporaryFile(/tmp/multipartBody8629288530788983853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084413789,"filename":"image_28012025_12_02_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/1/28/6ef4d9bc47a0670a827c3441b58f54d0.jpg","text":"TemporaryFile(/tmp/multipartBody7771356072742965120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084413789,"filename":"image_28012025_12_02_47_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332361411","file1":"1332361405","file0":"1332361400","file4":"1332361437","file5":"1332361439","file3":"1332361420"},"map_files_photo_id_array":[{"photo_id":"1332361439","filename":"file5"},{"photo_id":"1332361411","filename":"file2"},{"photo_id":"1332361437","filename":"file4"},{"photo_id":"1332361405","filename":"file1"},{"photo_id":"1332361400","filename":"file0"},{"photo_id":"1332361420","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332361439":["hashtag1","hashtag2"]},{"1332361400":["hashtag1","hashtag2"]},{"1332361420":["hashtag1","hashtag2"]},{"1332361411":["hashtag1","hashtag2"]},{"1332361405":["hashtag1","hashtag2"]},{"1332361437":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332361439, 1332361400, 1332361420, 1332361411, 1332361405, 1332361437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.81152272224426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:13:33.109405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/02/image_28012025_12_03_07_10344.jpg', '/home/pi/Desktop/images/28012025/12/03/image_28012025_12_03_17_10336.jpg', '/home/pi/Desktop/images/28012025/12/03/image_28012025_12_03_27_9964.jpg', '/home/pi/Desktop/images/28012025/12/03/image_28012025_12_03_36_9444.jpg', '/home/pi/Desktop/images/28012025/12/03/image_28012025_12_03_47_10345.jpg', '/home/pi/Desktop/images/28012025/12/03/image_28012025_12_03_57_10505.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/02/image_28012025_12_03_07_10344.jpg
/home/pi/Desktop/images/28012025/12/03/image_28012025_12_03_17_10336.jpg
/home/pi/Desktop/images/28012025/12/03/image_28012025_12_03_27_9964.jpg
/home/pi/Desktop/images/28012025/12/03/image_28012025_12_03_36_9444.jpg
/home/pi/Desktop/images/28012025/12/03/image_28012025_12_03_47_10345.jpg
/home/pi/Desktop/images/28012025/12/03/image_28012025_12_03_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":["1332361523","1332361477","1332361459","1332361468","1332361473","1332361464"],"photo_ids_order":["1332361459","1332361464","1332361468","1332361473","1332361477","1332361523"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d0ba6556e93bfc82af779e2f7e19ae52.jpg","text":"TemporaryFile(/tmp/multipartBody7729084394289672870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084474083,"filename":"image_28012025_12_03_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/1/28/a984d4c21b27a5b4c4cc4206cab06910.jpg","text":"TemporaryFile(/tmp/multipartBody5154701553293554784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084474083,"filename":"image_28012025_12_03_47_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ab2eaebacedaf0be97f57ce5f9036f98.jpg","text":"TemporaryFile(/tmp/multipartBody5697094630696072230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084474083,"filename":"image_28012025_12_03_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/1/28/3c8ca8537921b0513e2d43e8cef5d622.jpg","text":"TemporaryFile(/tmp/multipartBody1125540060148891185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084474083,"filename":"image_28012025_12_03_27_9964.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2298b758a3473a1d3521e76ca598d1d6.jpg","text":"TemporaryFile(/tmp/multipartBody3335250015793732503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084474083,"filename":"image_28012025_12_03_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/1/28/6da638a1156e688952d24ad7b75abb1a.jpg","text":"TemporaryFile(/tmp/multipartBody5211493275046789496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084474083,"filename":"image_28012025_12_03_17_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332361468","file1":"1332361464","file0":"1332361459","file4":"1332361477","file5":"1332361523","file3":"1332361473"},"map_files_photo_id_array":[{"photo_id":"1332361523","filename":"file5"},{"photo_id":"1332361468","filename":"file2"},{"photo_id":"1332361477","filename":"file4"},{"photo_id":"1332361464","filename":"file1"},{"photo_id":"1332361459","filename":"file0"},{"photo_id":"1332361473","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332361523":["hashtag1","hashtag2"]},{"1332361477":["hashtag1","hashtag2"]},{"1332361459":["hashtag1","hashtag2"]},{"1332361468":["hashtag1","hashtag2"]},{"1332361473":["hashtag1","hashtag2"]},{"1332361464":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332361523, 1332361477, 1332361459, 1332361468, 1332361473, 1332361464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.160836696624756 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:14:32.305995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/04/image_28012025_12_04_17_10352.jpg', '/home/pi/Desktop/images/28012025/12/04/image_28012025_12_04_26_9339.jpg', '/home/pi/Desktop/images/28012025/12/04/image_28012025_12_04_37_10355.jpg', '/home/pi/Desktop/images/28012025/12/04/image_28012025_12_04_47_10365.jpg', '/home/pi/Desktop/images/28012025/12/04/image_28012025_12_04_56_9351.jpg', '/home/pi/Desktop/images/28012025/12/04/image_28012025_12_05_07_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/04/image_28012025_12_04_17_10352.jpg
/home/pi/Desktop/images/28012025/12/04/image_28012025_12_04_26_9339.jpg
/home/pi/Desktop/images/28012025/12/04/image_28012025_12_04_37_10355.jpg
/home/pi/Desktop/images/28012025/12/04/image_28012025_12_04_47_10365.jpg
/home/pi/Desktop/images/28012025/12/04/image_28012025_12_04_56_9351.jpg
/home/pi/Desktop/images/28012025/12/04/image_28012025_12_05_07_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332361586","1332361580","1332361594","1332361613","1332361570","1332361575"],"photo_ids_order":["1332361570","1332361575","1332361580","1332361586","1332361594","1332361613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d2f2848e1e18732b53d6c68b7c9f9726.jpg","text":"TemporaryFile(/tmp/multipartBody169413611936517832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084533280,"filename":"image_28012025_12_04_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/1/28/b6f32f0900adb47ed025d35b15a8ae4f.jpg","text":"TemporaryFile(/tmp/multipartBody4596806512828377772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084533280,"filename":"image_28012025_12_04_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/1/28/9c918979f56e53575a8daeb4301f09e5.jpg","text":"TemporaryFile(/tmp/multipartBody4879612054465338750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084533280,"filename":"image_28012025_12_04_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/1/28/1092c5e345026f2d0e23cc3c8548a81c.jpg","text":"TemporaryFile(/tmp/multipartBody3059170745862644037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084533280,"filename":"image_28012025_12_05_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/1/28/948bfa69e73ecfd707e2df0092c316c9.jpg","text":"TemporaryFile(/tmp/multipartBody7151553155655783937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084533280,"filename":"image_28012025_12_04_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/1/28/de5073e97250f7e449e0fabc2b47e267.jpg","text":"TemporaryFile(/tmp/multipartBody3810292450161125732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084533280,"filename":"image_28012025_12_04_26_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332361580","file1":"1332361575","file0":"1332361570","file4":"1332361594","file5":"1332361613","file3":"1332361586"},"map_files_photo_id_array":[{"photo_id":"1332361613","filename":"file5"},{"photo_id":"1332361580","filename":"file2"},{"photo_id":"1332361594","filename":"file4"},{"photo_id":"1332361575","filename":"file1"},{"photo_id":"1332361570","filename":"file0"},{"photo_id":"1332361586","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332361586":["hashtag1","hashtag2"]},{"1332361580":["hashtag1","hashtag2"]},{"1332361594":["hashtag1","hashtag2"]},{"1332361613":["hashtag1","hashtag2"]},{"1332361570":["hashtag1","hashtag2"]},{"1332361575":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332361586, 1332361580, 1332361594, 1332361613, 1332361570, 1332361575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27060675621033 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:15:32.570739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/05/image_28012025_12_05_16_9502.jpg', '/home/pi/Desktop/images/28012025/12/05/image_28012025_12_05_27_10416.jpg', '/home/pi/Desktop/images/28012025/12/05/image_28012025_12_05_37_10346.jpg', '/home/pi/Desktop/images/28012025/12/05/image_28012025_12_05_46_9430.jpg', '/home/pi/Desktop/images/28012025/12/05/image_28012025_12_05_57_10334.jpg', '/home/pi/Desktop/images/28012025/12/05/image_28012025_12_06_06_9461.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/05/image_28012025_12_05_16_9502.jpg
/home/pi/Desktop/images/28012025/12/05/image_28012025_12_05_27_10416.jpg
/home/pi/Desktop/images/28012025/12/05/image_28012025_12_05_37_10346.jpg
/home/pi/Desktop/images/28012025/12/05/image_28012025_12_05_46_9430.jpg
/home/pi/Desktop/images/28012025/12/05/image_28012025_12_05_57_10334.jpg
/home/pi/Desktop/images/28012025/12/05/image_28012025_12_06_06_9461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332361799","1332361925","1332361987","1332361805","1332361942","1332361870"],"photo_ids_order":["1332361799","1332361805","1332361870","1332361925","1332361942","1332361987"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a81072fdde1b58488fb3728e7b11a15a.jpg","text":"TemporaryFile(/tmp/multipartBody7432815476740799400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084593525,"filename":"image_28012025_12_05_16_9502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2c66609f149289739f64c4b61ebce0e8.jpg","text":"TemporaryFile(/tmp/multipartBody6981146926457593802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084593525,"filename":"image_28012025_12_05_46_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/49b2bbadaa3c3ef4c4b6a5c39e251d22.jpg","text":"TemporaryFile(/tmp/multipartBody9199044286020793721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084593525,"filename":"image_28012025_12_06_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/1/28/2ecfa988db9c541c56e2ec73164226d2.jpg","text":"TemporaryFile(/tmp/multipartBody6081664419275607675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084593525,"filename":"image_28012025_12_05_27_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1204040f541bd094351fd8c1d7d617a0.jpg","text":"TemporaryFile(/tmp/multipartBody7531542678435891736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084593525,"filename":"image_28012025_12_05_57_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7ee87b7aa1342f700f0d738b3e82bc5c.jpg","text":"TemporaryFile(/tmp/multipartBody6427743289573616973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084593525,"filename":"image_28012025_12_05_37_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332361870","file1":"1332361805","file0":"1332361799","file4":"1332361942","file5":"1332361987","file3":"1332361925"},"map_files_photo_id_array":[{"photo_id":"1332361987","filename":"file5"},{"photo_id":"1332361870","filename":"file2"},{"photo_id":"1332361942","filename":"file4"},{"photo_id":"1332361805","filename":"file1"},{"photo_id":"1332361799","filename":"file0"},{"photo_id":"1332361925","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332361799":["hashtag1","hashtag2"]},{"1332361925":["hashtag1","hashtag2"]},{"1332361987":["hashtag1","hashtag2"]},{"1332361805":["hashtag1","hashtag2"]},{"1332361942":["hashtag1","hashtag2"]},{"1332361870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332361799, 1332361925, 1332361987, 1332361805, 1332361942, 1332361870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63218975067139 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:16:32.735364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/06/image_28012025_12_06_17_10420.jpg', '/home/pi/Desktop/images/28012025/12/06/image_28012025_12_06_27_10400.jpg', '/home/pi/Desktop/images/28012025/12/06/image_28012025_12_06_37_9432.jpg', '/home/pi/Desktop/images/28012025/12/06/image_28012025_12_06_56_9448.jpg', '/home/pi/Desktop/images/28012025/12/06/image_28012025_12_07_07_10369.jpg', '/home/pi/Desktop/images/28012025/12/07/image_28012025_12_07_17_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/06/image_28012025_12_06_17_10420.jpg
/home/pi/Desktop/images/28012025/12/06/image_28012025_12_06_27_10400.jpg
/home/pi/Desktop/images/28012025/12/06/image_28012025_12_06_37_9432.jpg
/home/pi/Desktop/images/28012025/12/06/image_28012025_12_06_56_9448.jpg
/home/pi/Desktop/images/28012025/12/06/image_28012025_12_07_07_10369.jpg
/home/pi/Desktop/images/28012025/12/07/image_28012025_12_07_17_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":["1332362732","1332363025","1332363018","1332362862","1332363012","1332362978"],"photo_ids_order":["1332362732","1332362862","1332362978","1332363012","1332363018","1332363025"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bfc347834581752ef0f156fb5480d723.jpg","text":"TemporaryFile(/tmp/multipartBody3670230619980874180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084653696,"filename":"image_28012025_12_06_17_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8baac2bbe08d07ac91ef9fd110d40e30.jpg","text":"TemporaryFile(/tmp/multipartBody4931339349352008821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084653696,"filename":"image_28012025_12_07_17_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4f5e415eefa46d4da61ffc56690a416a.jpg","text":"TemporaryFile(/tmp/multipartBody6205658981720398110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084653696,"filename":"image_28012025_12_07_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/1/28/a75d371e7c494ad66db1218fc7ba7b0c.jpg","text":"TemporaryFile(/tmp/multipartBody5516617315491067536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084653696,"filename":"image_28012025_12_06_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/1/28/38adff729c2d8af78e092a469f8814ab.jpg","text":"TemporaryFile(/tmp/multipartBody3978982697352122016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084653696,"filename":"image_28012025_12_06_56_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/192c5559e658eba4661d91b88d501b1e.jpg","text":"TemporaryFile(/tmp/multipartBody6940761510221992323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084653696,"filename":"image_28012025_12_06_37_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332362978","file1":"1332362862","file0":"1332362732","file4":"1332363018","file5":"1332363025","file3":"1332363012"},"map_files_photo_id_array":[{"photo_id":"1332363025","filename":"file5"},{"photo_id":"1332362978","filename":"file2"},{"photo_id":"1332363018","filename":"file4"},{"photo_id":"1332362862","filename":"file1"},{"photo_id":"1332362732","filename":"file0"},{"photo_id":"1332363012","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332362732":["hashtag1","hashtag2"]},{"1332363025":["hashtag1","hashtag2"]},{"1332363018":["hashtag1","hashtag2"]},{"1332362862":["hashtag1","hashtag2"]},{"1332363012":["hashtag1","hashtag2"]},{"1332362978":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332362732, 1332363025, 1332363018, 1332362862, 1332363012, 1332362978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86668014526367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:17:32.993780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/07/image_28012025_12_07_26_9333.jpg', '/home/pi/Desktop/images/28012025/12/07/image_28012025_12_07_37_10337.jpg', '/home/pi/Desktop/images/28012025/12/07/image_28012025_12_07_47_10504.jpg', '/home/pi/Desktop/images/28012025/12/07/image_28012025_12_07_57_9346.jpg', '/home/pi/Desktop/images/28012025/12/07/image_28012025_12_08_07_10334.jpg', '/home/pi/Desktop/images/28012025/12/08/image_28012025_12_08_17_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/07/image_28012025_12_07_26_9333.jpg
/home/pi/Desktop/images/28012025/12/07/image_28012025_12_07_37_10337.jpg
/home/pi/Desktop/images/28012025/12/07/image_28012025_12_07_47_10504.jpg
/home/pi/Desktop/images/28012025/12/07/image_28012025_12_07_57_9346.jpg
/home/pi/Desktop/images/28012025/12/07/image_28012025_12_08_07_10334.jpg
/home/pi/Desktop/images/28012025/12/08/image_28012025_12_08_17_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332363110","1332363104","1332363091","1332363133","1332363098","1332363086"],"photo_ids_order":["1332363086","1332363091","1332363098","1332363104","1332363110","1332363133"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/16e7f848491f5f39a9d54d4c03e46ee2.jpg","text":"TemporaryFile(/tmp/multipartBody7209911115265988276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084713956,"filename":"image_28012025_12_08_07_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/085add0d870498561725e5240054981d.jpg","text":"TemporaryFile(/tmp/multipartBody4389907138010874127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084713956,"filename":"image_28012025_12_07_57_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/79442a7478f0df1007ce9c793d497262.jpg","text":"TemporaryFile(/tmp/multipartBody6613500211146541047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084713956,"filename":"image_28012025_12_07_37_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1ae5f0aa6c067fd5e5513e293689e33f.jpg","text":"TemporaryFile(/tmp/multipartBody7379899366288685392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084713956,"filename":"image_28012025_12_08_17_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/eb8218dff9563455b9f7dea7043ff8e8.jpg","text":"TemporaryFile(/tmp/multipartBody3096287727346559813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084713956,"filename":"image_28012025_12_07_47_10504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c0d4c8e212a8f0a6fcc757dd6293e742.jpg","text":"TemporaryFile(/tmp/multipartBody6894140193280060295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084713956,"filename":"image_28012025_12_07_26_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332363098","file1":"1332363091","file0":"1332363086","file4":"1332363110","file5":"1332363133","file3":"1332363104"},"map_files_photo_id_array":[{"photo_id":"1332363133","filename":"file5"},{"photo_id":"1332363098","filename":"file2"},{"photo_id":"1332363110","filename":"file4"},{"photo_id":"1332363091","filename":"file1"},{"photo_id":"1332363086","filename":"file0"},{"photo_id":"1332363104","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332363110":["hashtag1","hashtag2"]},{"1332363104":["hashtag1","hashtag2"]},{"1332363091":["hashtag1","hashtag2"]},{"1332363133":["hashtag1","hashtag2"]},{"1332363098":["hashtag1","hashtag2"]},{"1332363086":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332363110, 1332363104, 1332363091, 1332363133, 1332363098, 1332363086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.96733903884888 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:18:32.174735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/08/image_28012025_12_08_27_9341.jpg', '/home/pi/Desktop/images/28012025/12/08/image_28012025_12_08_37_10359.jpg', '/home/pi/Desktop/images/28012025/12/08/image_28012025_12_08_46_9375.jpg', '/home/pi/Desktop/images/28012025/12/08/image_28012025_12_08_57_10331.jpg', '/home/pi/Desktop/images/28012025/12/08/image_28012025_12_09_07_10352.jpg', '/home/pi/Desktop/images/28012025/12/09/image_28012025_12_09_16_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/08/image_28012025_12_08_27_9341.jpg
/home/pi/Desktop/images/28012025/12/08/image_28012025_12_08_37_10359.jpg
/home/pi/Desktop/images/28012025/12/08/image_28012025_12_08_46_9375.jpg
/home/pi/Desktop/images/28012025/12/08/image_28012025_12_08_57_10331.jpg
/home/pi/Desktop/images/28012025/12/08/image_28012025_12_09_07_10352.jpg
/home/pi/Desktop/images/28012025/12/09/image_28012025_12_09_16_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332363611","1332363570","1332363552","1332363519","1332363548","1332363539"],"photo_ids_order":["1332363519","1332363539","1332363548","1332363552","1332363570","1332363611"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/59d102003c6b85f5268c5807b946bce5.jpg","text":"TemporaryFile(/tmp/multipartBody1881070936938720961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084773134,"filename":"image_28012025_12_09_16_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/577fb1e1103a143c500524ddbdf3e746.jpg","text":"TemporaryFile(/tmp/multipartBody2449652565337310299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084773134,"filename":"image_28012025_12_09_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/1/28/49acf0c02d236e9263e4349a822df926.jpg","text":"TemporaryFile(/tmp/multipartBody1127003777364545376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084773134,"filename":"image_28012025_12_08_57_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/458ccf317751805274e2053e62337427.jpg","text":"TemporaryFile(/tmp/multipartBody4526489422499206377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084773134,"filename":"image_28012025_12_08_27_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/861a460cacbbc571f02caef71e70854b.jpg","text":"TemporaryFile(/tmp/multipartBody8651241853802399197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084773134,"filename":"image_28012025_12_08_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/1/28/f4486b1adff3df93110af7828bca7fc1.jpg","text":"TemporaryFile(/tmp/multipartBody282422313663441968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084773134,"filename":"image_28012025_12_08_37_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332363548","file1":"1332363539","file0":"1332363519","file4":"1332363570","file5":"1332363611","file3":"1332363552"},"map_files_photo_id_array":[{"photo_id":"1332363611","filename":"file5"},{"photo_id":"1332363548","filename":"file2"},{"photo_id":"1332363570","filename":"file4"},{"photo_id":"1332363539","filename":"file1"},{"photo_id":"1332363519","filename":"file0"},{"photo_id":"1332363552","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332363611":["hashtag1","hashtag2"]},{"1332363570":["hashtag1","hashtag2"]},{"1332363552":["hashtag1","hashtag2"]},{"1332363519":["hashtag1","hashtag2"]},{"1332363548":["hashtag1","hashtag2"]},{"1332363539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332363611, 1332363570, 1332363552, 1332363519, 1332363548, 1332363539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.012635231018066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:19:32.375507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/09/image_28012025_12_09_27_10359.jpg', '/home/pi/Desktop/images/28012025/12/09/image_28012025_12_09_37_10345.jpg', '/home/pi/Desktop/images/28012025/12/09/image_28012025_12_09_46_9406.jpg', '/home/pi/Desktop/images/28012025/12/09/image_28012025_12_09_57_10345.jpg', '/home/pi/Desktop/images/28012025/12/09/image_28012025_12_10_06_9454.jpg', '/home/pi/Desktop/images/28012025/12/10/image_28012025_12_10_17_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/09/image_28012025_12_09_27_10359.jpg
/home/pi/Desktop/images/28012025/12/09/image_28012025_12_09_37_10345.jpg
/home/pi/Desktop/images/28012025/12/09/image_28012025_12_09_46_9406.jpg
/home/pi/Desktop/images/28012025/12/09/image_28012025_12_09_57_10345.jpg
/home/pi/Desktop/images/28012025/12/09/image_28012025_12_10_06_9454.jpg
/home/pi/Desktop/images/28012025/12/10/image_28012025_12_10_17_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":["1332363826","1332363811","1332363817","1332363792","1332363804","1332363797"],"photo_ids_order":["1332363792","1332363797","1332363804","1332363811","1332363817","1332363826"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3b4742f1756b871944adfd0255e1e83c.jpg","text":"TemporaryFile(/tmp/multipartBody5133521275708591509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084833350,"filename":"image_28012025_12_10_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/1/28/af9e4e56569a0974f462929507a72b2b.jpg","text":"TemporaryFile(/tmp/multipartBody6673255301069373575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084833350,"filename":"image_28012025_12_09_57_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6551649f3ed9415a5fc03686b462b212.jpg","text":"TemporaryFile(/tmp/multipartBody2208022324763989597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084833350,"filename":"image_28012025_12_10_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/1/28/6a0a705e79694a65f48d74d455e76eb8.jpg","text":"TemporaryFile(/tmp/multipartBody4188452632864140998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084833350,"filename":"image_28012025_12_09_27_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1e4f4e470414a800efa23813920af27f.jpg","text":"TemporaryFile(/tmp/multipartBody8903328088091025053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084833350,"filename":"image_28012025_12_09_46_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1d6205a67888b13be214a434a4e51fd0.jpg","text":"TemporaryFile(/tmp/multipartBody8212598685566307458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084833350,"filename":"image_28012025_12_09_37_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332363804","file1":"1332363797","file0":"1332363792","file4":"1332363817","file5":"1332363826","file3":"1332363811"},"map_files_photo_id_array":[{"photo_id":"1332363826","filename":"file5"},{"photo_id":"1332363804","filename":"file2"},{"photo_id":"1332363817","filename":"file4"},{"photo_id":"1332363797","filename":"file1"},{"photo_id":"1332363792","filename":"file0"},{"photo_id":"1332363811","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332363826":["hashtag1","hashtag2"]},{"1332363811":["hashtag1","hashtag2"]},{"1332363817":["hashtag1","hashtag2"]},{"1332363792":["hashtag1","hashtag2"]},{"1332363804":["hashtag1","hashtag2"]},{"1332363797":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332363826, 1332363811, 1332363817, 1332363792, 1332363804, 1332363797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38404893875122 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:20:32.660001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/10/image_28012025_12_10_27_10373.jpg', '/home/pi/Desktop/images/28012025/12/10/image_28012025_12_10_36_9340.jpg', '/home/pi/Desktop/images/28012025/12/10/image_28012025_12_10_47_10342.jpg', '/home/pi/Desktop/images/28012025/12/10/image_28012025_12_10_57_10412.jpg', '/home/pi/Desktop/images/28012025/12/10/image_28012025_12_11_06_9348.jpg', '/home/pi/Desktop/images/28012025/12/11/image_28012025_12_11_17_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/10/image_28012025_12_10_27_10373.jpg
/home/pi/Desktop/images/28012025/12/10/image_28012025_12_10_36_9340.jpg
/home/pi/Desktop/images/28012025/12/10/image_28012025_12_10_47_10342.jpg
/home/pi/Desktop/images/28012025/12/10/image_28012025_12_10_57_10412.jpg
/home/pi/Desktop/images/28012025/12/10/image_28012025_12_11_06_9348.jpg
/home/pi/Desktop/images/28012025/12/11/image_28012025_12_11_17_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332364129","1332364117","1332364132","1332364140","1332364137","1332364122"],"photo_ids_order":["1332364117","1332364122","1332364129","1332364132","1332364137","1332364140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/aeb3ffb812f0b26289dcf18370912379.jpg","text":"TemporaryFile(/tmp/multipartBody6680835795200097895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084893623,"filename":"image_28012025_12_10_47_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6f119d331b3687bff509a03ff6dfd29c.jpg","text":"TemporaryFile(/tmp/multipartBody289199073590965629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084893623,"filename":"image_28012025_12_10_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/1/28/f1a4cf23229e97935bd1af217843099e.jpg","text":"TemporaryFile(/tmp/multipartBody5120732689874978740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084893623,"filename":"image_28012025_12_10_57_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b53a6b959365576614264f70e03b7985.jpg","text":"TemporaryFile(/tmp/multipartBody7107668560016654786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084893623,"filename":"image_28012025_12_11_17_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4b587149ad1ea30b5cbd4a044c1cd80d.jpg","text":"TemporaryFile(/tmp/multipartBody7753923799885639858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084893623,"filename":"image_28012025_12_11_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/1/28/a9c20d008814702f07d88a4c430bbc92.jpg","text":"TemporaryFile(/tmp/multipartBody437056152127027537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084893623,"filename":"image_28012025_12_10_36_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332364129","file1":"1332364122","file0":"1332364117","file4":"1332364137","file5":"1332364140","file3":"1332364132"},"map_files_photo_id_array":[{"photo_id":"1332364140","filename":"file5"},{"photo_id":"1332364129","filename":"file2"},{"photo_id":"1332364137","filename":"file4"},{"photo_id":"1332364122","filename":"file1"},{"photo_id":"1332364117","filename":"file0"},{"photo_id":"1332364132","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332364129":["hashtag1","hashtag2"]},{"1332364117":["hashtag1","hashtag2"]},{"1332364132":["hashtag1","hashtag2"]},{"1332364140":["hashtag1","hashtag2"]},{"1332364137":["hashtag1","hashtag2"]},{"1332364122":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332364129, 1332364117, 1332364132, 1332364140, 1332364137, 1332364122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.663397789001465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:21:32.923226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/11/image_28012025_12_11_27_10336.jpg', '/home/pi/Desktop/images/28012025/12/11/image_28012025_12_11_37_9420.jpg', '/home/pi/Desktop/images/28012025/12/11/image_28012025_12_11_47_10344.jpg', '/home/pi/Desktop/images/28012025/12/11/image_28012025_12_11_56_9394.jpg', '/home/pi/Desktop/images/28012025/12/11/image_28012025_12_12_07_10346.jpg', '/home/pi/Desktop/images/28012025/12/12/image_28012025_12_12_17_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/11/image_28012025_12_11_27_10336.jpg
/home/pi/Desktop/images/28012025/12/11/image_28012025_12_11_37_9420.jpg
/home/pi/Desktop/images/28012025/12/11/image_28012025_12_11_47_10344.jpg
/home/pi/Desktop/images/28012025/12/11/image_28012025_12_11_56_9394.jpg
/home/pi/Desktop/images/28012025/12/11/image_28012025_12_12_07_10346.jpg
/home/pi/Desktop/images/28012025/12/12/image_28012025_12_12_17_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332364174","1332364162","1332364201","1332364197","1332364185","1332364205"],"photo_ids_order":["1332364162","1332364174","1332364185","1332364197","1332364201","1332364205"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/55f252da98d4584906aaa962dd72166e.jpg","text":"TemporaryFile(/tmp/multipartBody8563377121332573293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084953887,"filename":"image_28012025_12_11_37_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/aafc760144279394f7f313f5784b1fee.jpg","text":"TemporaryFile(/tmp/multipartBody1608972572083364248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084953887,"filename":"image_28012025_12_11_27_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5b10475329f74ea2d600cb27a63dfd0d.jpg","text":"TemporaryFile(/tmp/multipartBody8036208196443323989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084953887,"filename":"image_28012025_12_12_07_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/edc1be07645dcea7a80d5377b0a35f84.jpg","text":"TemporaryFile(/tmp/multipartBody2666388546768195441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084953887,"filename":"image_28012025_12_11_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/1/28/a591df81837bc7b91fccbdab6bb73477.jpg","text":"TemporaryFile(/tmp/multipartBody379386999157800829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084953887,"filename":"image_28012025_12_11_47_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a12db34af0e62bf529a668d8ac349367.jpg","text":"TemporaryFile(/tmp/multipartBody5814947644086259702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738084953887,"filename":"image_28012025_12_12_17_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332364185","file1":"1332364174","file0":"1332364162","file4":"1332364201","file5":"1332364205","file3":"1332364197"},"map_files_photo_id_array":[{"photo_id":"1332364205","filename":"file5"},{"photo_id":"1332364185","filename":"file2"},{"photo_id":"1332364201","filename":"file4"},{"photo_id":"1332364174","filename":"file1"},{"photo_id":"1332364162","filename":"file0"},{"photo_id":"1332364197","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332364174":["hashtag1","hashtag2"]},{"1332364162":["hashtag1","hashtag2"]},{"1332364201":["hashtag1","hashtag2"]},{"1332364197":["hashtag1","hashtag2"]},{"1332364185":["hashtag1","hashtag2"]},{"1332364205":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332364174, 1332364162, 1332364201, 1332364197, 1332364185, 1332364205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37685465812683 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:22:32.247591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/12/image_28012025_12_12_26_9434.jpg', '/home/pi/Desktop/images/28012025/12/12/image_28012025_12_12_37_10369.jpg', '/home/pi/Desktop/images/28012025/12/12/image_28012025_12_12_47_10354.jpg', '/home/pi/Desktop/images/28012025/12/12/image_28012025_12_12_57_9397.jpg', '/home/pi/Desktop/images/28012025/12/12/image_28012025_12_13_07_10352.jpg', '/home/pi/Desktop/images/28012025/12/13/image_28012025_12_13_16_9462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/12/image_28012025_12_12_26_9434.jpg
/home/pi/Desktop/images/28012025/12/12/image_28012025_12_12_37_10369.jpg
/home/pi/Desktop/images/28012025/12/12/image_28012025_12_12_47_10354.jpg
/home/pi/Desktop/images/28012025/12/12/image_28012025_12_12_57_9397.jpg
/home/pi/Desktop/images/28012025/12/12/image_28012025_12_13_07_10352.jpg
/home/pi/Desktop/images/28012025/12/13/image_28012025_12_13_16_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":["1332364246","1332364240","1332364222","1332364227","1332364242","1332364236"],"photo_ids_order":["1332364222","1332364227","1332364236","1332364240","1332364242","1332364246"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c1397f8a33d6d788c55f8453f9911427.jpg","text":"TemporaryFile(/tmp/multipartBody2633313172061109064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085013207,"filename":"image_28012025_12_13_16_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0581db4accb7300b85c950a0a53926cb.jpg","text":"TemporaryFile(/tmp/multipartBody1164280005779326150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085013207,"filename":"image_28012025_12_12_57_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/42039e5decbb9a236d31b7c935f9cc14.jpg","text":"TemporaryFile(/tmp/multipartBody4114513096685954399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085013207,"filename":"image_28012025_12_12_26_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c7e120140efe9ff37d0255842affc061.jpg","text":"TemporaryFile(/tmp/multipartBody7031068524251502047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085013207,"filename":"image_28012025_12_12_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/1/28/6b55b25c049be93fd61667df63f0210e.jpg","text":"TemporaryFile(/tmp/multipartBody8387175900221553541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085013207,"filename":"image_28012025_12_13_07_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fe7fdf825b5b87f38d7dba4b8fc07dc7.jpg","text":"TemporaryFile(/tmp/multipartBody367395216938397925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085013207,"filename":"image_28012025_12_12_47_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332364236","file1":"1332364227","file0":"1332364222","file4":"1332364242","file5":"1332364246","file3":"1332364240"},"map_files_photo_id_array":[{"photo_id":"1332364246","filename":"file5"},{"photo_id":"1332364236","filename":"file2"},{"photo_id":"1332364242","filename":"file4"},{"photo_id":"1332364227","filename":"file1"},{"photo_id":"1332364222","filename":"file0"},{"photo_id":"1332364240","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332364246":["hashtag1","hashtag2"]},{"1332364240":["hashtag1","hashtag2"]},{"1332364222":["hashtag1","hashtag2"]},{"1332364227":["hashtag1","hashtag2"]},{"1332364242":["hashtag1","hashtag2"]},{"1332364236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332364246, 1332364240, 1332364222, 1332364227, 1332364242, 1332364236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.70937943458557 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:23:32.639460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/13/image_28012025_12_13_27_10348.jpg', '/home/pi/Desktop/images/28012025/12/13/image_28012025_12_13_37_10351.jpg', '/home/pi/Desktop/images/28012025/12/13/image_28012025_12_13_46_9341.jpg', '/home/pi/Desktop/images/28012025/12/13/image_28012025_12_13_57_10346.jpg', '/home/pi/Desktop/images/28012025/12/13/image_28012025_12_14_07_10351.jpg', '/home/pi/Desktop/images/28012025/12/14/image_28012025_12_14_16_9409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/13/image_28012025_12_13_27_10348.jpg
/home/pi/Desktop/images/28012025/12/13/image_28012025_12_13_37_10351.jpg
/home/pi/Desktop/images/28012025/12/13/image_28012025_12_13_46_9341.jpg
/home/pi/Desktop/images/28012025/12/13/image_28012025_12_13_57_10346.jpg
/home/pi/Desktop/images/28012025/12/13/image_28012025_12_14_07_10351.jpg
/home/pi/Desktop/images/28012025/12/14/image_28012025_12_14_16_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":["1332364560","1332364341","1332364314","1332364322","1332364319","1332364297"],"photo_ids_order":["1332364297","1332364314","1332364319","1332364322","1332364341","1332364560"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ee11d1da5935b8dee23c27db0d755f05.jpg","text":"TemporaryFile(/tmp/multipartBody485524371648833877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085073607,"filename":"image_28012025_12_14_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/1/28/e81a21e6b621465ac829551f284b623a.jpg","text":"TemporaryFile(/tmp/multipartBody7959829358492269130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085073607,"filename":"image_28012025_12_14_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/1/28/800553bf4a8a62565615b6c047c829c8.jpg","text":"TemporaryFile(/tmp/multipartBody218995530567638340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085073607,"filename":"image_28012025_12_13_37_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5afb2e95bb1e5ba58fdb1a4482ba2624.jpg","text":"TemporaryFile(/tmp/multipartBody3100679109060289353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085073607,"filename":"image_28012025_12_13_57_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ef1c8533eaec860a5d4b75a72774ea19.jpg","text":"TemporaryFile(/tmp/multipartBody7405260707802610378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085073607,"filename":"image_28012025_12_13_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/1/28/6f627a1ce583019929501a93108b1293.jpg","text":"TemporaryFile(/tmp/multipartBody8691250408162261852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085073607,"filename":"image_28012025_12_13_27_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332364319","file1":"1332364314","file0":"1332364297","file4":"1332364341","file5":"1332364560","file3":"1332364322"},"map_files_photo_id_array":[{"photo_id":"1332364560","filename":"file5"},{"photo_id":"1332364319","filename":"file2"},{"photo_id":"1332364341","filename":"file4"},{"photo_id":"1332364314","filename":"file1"},{"photo_id":"1332364297","filename":"file0"},{"photo_id":"1332364322","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332364560":["hashtag1","hashtag2"]},{"1332364341":["hashtag1","hashtag2"]},{"1332364314":["hashtag1","hashtag2"]},{"1332364322":["hashtag1","hashtag2"]},{"1332364319":["hashtag1","hashtag2"]},{"1332364297":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332364560, 1332364341, 1332364314, 1332364322, 1332364319, 1332364297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22732734680176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:24:32.645640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/14/image_28012025_12_14_27_10382.jpg', '/home/pi/Desktop/images/28012025/12/14/image_28012025_12_14_36_9491.jpg', '/home/pi/Desktop/images/28012025/12/14/image_28012025_12_14_47_10344.jpg', '/home/pi/Desktop/images/28012025/12/14/image_28012025_12_14_57_10331.jpg', '/home/pi/Desktop/images/28012025/12/14/image_28012025_12_15_06_9328.jpg', '/home/pi/Desktop/images/28012025/12/15/image_28012025_12_15_27_10385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/14/image_28012025_12_14_27_10382.jpg
/home/pi/Desktop/images/28012025/12/14/image_28012025_12_14_36_9491.jpg
/home/pi/Desktop/images/28012025/12/14/image_28012025_12_14_47_10344.jpg
/home/pi/Desktop/images/28012025/12/14/image_28012025_12_14_57_10331.jpg
/home/pi/Desktop/images/28012025/12/14/image_28012025_12_15_06_9328.jpg
/home/pi/Desktop/images/28012025/12/15/image_28012025_12_15_27_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":["1332364650","1332364605","1332364658","1332364640","1332364628","1332364660"],"photo_ids_order":["1332364605","1332364628","1332364640","1332364650","1332364658","1332364660"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d913a7c340f99e238d9b4419fa186e9d.jpg","text":"TemporaryFile(/tmp/multipartBody7513645042297187533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085133616,"filename":"image_28012025_12_14_57_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fa803008a5d3879822fd18e830aa62ae.jpg","text":"TemporaryFile(/tmp/multipartBody3262645938543827914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085133616,"filename":"image_28012025_12_14_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/1/28/a350a2350fdbe3528d264e94966c6077.jpg","text":"TemporaryFile(/tmp/multipartBody868171546775355662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085133616,"filename":"image_28012025_12_15_06_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2f700eed7d149c1acba0ee939705367d.jpg","text":"TemporaryFile(/tmp/multipartBody3884260105775240236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085133616,"filename":"image_28012025_12_14_47_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/be95af8519cd2ca8a9dfd6e764203a28.jpg","text":"TemporaryFile(/tmp/multipartBody2062799795497195004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085133616,"filename":"image_28012025_12_14_36_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c051c7004cd544e08ff6b191915b5b4d.jpg","text":"TemporaryFile(/tmp/multipartBody8274603859795264989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085133616,"filename":"image_28012025_12_15_27_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332364640","file1":"1332364628","file0":"1332364605","file4":"1332364658","file5":"1332364660","file3":"1332364650"},"map_files_photo_id_array":[{"photo_id":"1332364660","filename":"file5"},{"photo_id":"1332364640","filename":"file2"},{"photo_id":"1332364658","filename":"file4"},{"photo_id":"1332364628","filename":"file1"},{"photo_id":"1332364605","filename":"file0"},{"photo_id":"1332364650","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332364650":["hashtag1","hashtag2"]},{"1332364605":["hashtag1","hashtag2"]},{"1332364658":["hashtag1","hashtag2"]},{"1332364640":["hashtag1","hashtag2"]},{"1332364628":["hashtag1","hashtag2"]},{"1332364660":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332364650, 1332364605, 1332364658, 1332364640, 1332364628, 1332364660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.3941068649292 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:25:32.938257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/15/image_28012025_12_15_36_9375.jpg', '/home/pi/Desktop/images/28012025/12/15/image_28012025_12_15_47_10192.jpg', '/home/pi/Desktop/images/28012025/12/15/image_28012025_12_15_57_10506.jpg', '/home/pi/Desktop/images/28012025/12/15/image_28012025_12_16_07_9487.jpg', '/home/pi/Desktop/images/28012025/12/16/image_28012025_12_16_17_10328.jpg', '/home/pi/Desktop/images/28012025/12/16/image_28012025_12_16_26_9411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/15/image_28012025_12_15_36_9375.jpg
/home/pi/Desktop/images/28012025/12/15/image_28012025_12_15_47_10192.jpg
/home/pi/Desktop/images/28012025/12/15/image_28012025_12_15_57_10506.jpg
/home/pi/Desktop/images/28012025/12/15/image_28012025_12_16_07_9487.jpg
/home/pi/Desktop/images/28012025/12/16/image_28012025_12_16_17_10328.jpg
/home/pi/Desktop/images/28012025/12/16/image_28012025_12_16_26_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":["1332365005","1332364864","1332364944","1332364935","1332364982","1332365032"],"photo_ids_order":["1332364864","1332364935","1332364944","1332364982","1332365005","1332365032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3cfe2354fa39b91ac8a4fd1ed597dfed.jpg","text":"TemporaryFile(/tmp/multipartBody5722719322991042123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085193907,"filename":"image_28012025_12_16_17_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6b63f771031b227f7631d1f856038eb1.jpg","text":"TemporaryFile(/tmp/multipartBody7115461711179340633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085193907,"filename":"image_28012025_12_15_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/1/28/3cefec1f772f9bac10e5bea9a22ea81f.jpg","text":"TemporaryFile(/tmp/multipartBody4841340282186893786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085193907,"filename":"image_28012025_12_15_57_10506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8248b17bed9aa56c5de77bd7826a25a5.jpg","text":"TemporaryFile(/tmp/multipartBody3572979775270617983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085193907,"filename":"image_28012025_12_15_47_10192.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7c673a01fe35197eedf421e1dfedcc96.jpg","text":"TemporaryFile(/tmp/multipartBody633364971717904665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085193907,"filename":"image_28012025_12_16_07_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/80124022f71bb4a8a7cf7b4fd522b1a6.jpg","text":"TemporaryFile(/tmp/multipartBody1726028154806248108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085193907,"filename":"image_28012025_12_16_26_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332364944","file1":"1332364935","file0":"1332364864","file4":"1332365005","file5":"1332365032","file3":"1332364982"},"map_files_photo_id_array":[{"photo_id":"1332365032","filename":"file5"},{"photo_id":"1332364944","filename":"file2"},{"photo_id":"1332365005","filename":"file4"},{"photo_id":"1332364935","filename":"file1"},{"photo_id":"1332364864","filename":"file0"},{"photo_id":"1332364982","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332365005":["hashtag1","hashtag2"]},{"1332364864":["hashtag1","hashtag2"]},{"1332364944":["hashtag1","hashtag2"]},{"1332364935":["hashtag1","hashtag2"]},{"1332364982":["hashtag1","hashtag2"]},{"1332365032":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332365005, 1332364864, 1332364944, 1332364935, 1332364982, 1332365032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.44662070274353 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:26:33.125414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/16/image_28012025_12_16_37_10334.jpg', '/home/pi/Desktop/images/28012025/12/16/image_28012025_12_16_47_10345.jpg', '/home/pi/Desktop/images/28012025/12/16/image_28012025_12_16_56_9393.jpg', '/home/pi/Desktop/images/28012025/12/16/image_28012025_12_17_07_10421.jpg', '/home/pi/Desktop/images/28012025/12/17/image_28012025_12_17_17_10361.jpg', '/home/pi/Desktop/images/28012025/12/17/image_28012025_12_17_27_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/16/image_28012025_12_16_37_10334.jpg
/home/pi/Desktop/images/28012025/12/16/image_28012025_12_16_47_10345.jpg
/home/pi/Desktop/images/28012025/12/16/image_28012025_12_16_56_9393.jpg
/home/pi/Desktop/images/28012025/12/16/image_28012025_12_17_07_10421.jpg
/home/pi/Desktop/images/28012025/12/17/image_28012025_12_17_17_10361.jpg
/home/pi/Desktop/images/28012025/12/17/image_28012025_12_17_27_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":["1332365101","1332365110","1332365094","1332365106","1332365109","1332365089"],"photo_ids_order":["1332365089","1332365094","1332365101","1332365106","1332365109","1332365110"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b9535f0090104623379dfeb1aaa752a1.jpg","text":"TemporaryFile(/tmp/multipartBody466629863616185829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085254097,"filename":"image_28012025_12_16_56_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c16ec9a9e1e23cabd3c60b6842b811c4.jpg","text":"TemporaryFile(/tmp/multipartBody2130877960396334882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085254097,"filename":"image_28012025_12_17_27_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5e48ec9ad0e34f3167fcd21a3230457f.jpg","text":"TemporaryFile(/tmp/multipartBody5952197366631454696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085254097,"filename":"image_28012025_12_16_47_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/972776b9e08e43948c8961ddd1f333ea.jpg","text":"TemporaryFile(/tmp/multipartBody2676685407365784145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085254097,"filename":"image_28012025_12_17_07_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6b6272929fd076021bc423ebe2c1adb1.jpg","text":"TemporaryFile(/tmp/multipartBody8304440610440256125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085254097,"filename":"image_28012025_12_17_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/1/28/e87d0f442ea91c65d7ed61b080971a6c.jpg","text":"TemporaryFile(/tmp/multipartBody3585591596718689949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085254097,"filename":"image_28012025_12_16_37_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332365101","file1":"1332365094","file0":"1332365089","file4":"1332365109","file5":"1332365110","file3":"1332365106"},"map_files_photo_id_array":[{"photo_id":"1332365110","filename":"file5"},{"photo_id":"1332365101","filename":"file2"},{"photo_id":"1332365109","filename":"file4"},{"photo_id":"1332365094","filename":"file1"},{"photo_id":"1332365089","filename":"file0"},{"photo_id":"1332365106","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332365101":["hashtag1","hashtag2"]},{"1332365110":["hashtag1","hashtag2"]},{"1332365094":["hashtag1","hashtag2"]},{"1332365106":["hashtag1","hashtag2"]},{"1332365109":["hashtag1","hashtag2"]},{"1332365089":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332365101, 1332365110, 1332365094, 1332365106, 1332365109, 1332365089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.9904146194458 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:27:32.401778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/17/image_28012025_12_17_46_9353.jpg', '/home/pi/Desktop/images/28012025/12/17/image_28012025_12_17_57_10369.jpg', '/home/pi/Desktop/images/28012025/12/17/image_28012025_12_18_07_10342.jpg', '/home/pi/Desktop/images/28012025/12/18/image_28012025_12_18_16_9407.jpg', '/home/pi/Desktop/images/28012025/12/18/image_28012025_12_18_27_10344.jpg', '/home/pi/Desktop/images/28012025/12/18/image_28012025_12_18_36_9430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/17/image_28012025_12_17_46_9353.jpg
/home/pi/Desktop/images/28012025/12/17/image_28012025_12_17_57_10369.jpg
/home/pi/Desktop/images/28012025/12/17/image_28012025_12_18_07_10342.jpg
/home/pi/Desktop/images/28012025/12/18/image_28012025_12_18_16_9407.jpg
/home/pi/Desktop/images/28012025/12/18/image_28012025_12_18_27_10344.jpg
/home/pi/Desktop/images/28012025/12/18/image_28012025_12_18_36_9430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332365151","1332365147","1332365135","1332365144","1332365138","1332365152"],"photo_ids_order":["1332365135","1332365138","1332365144","1332365147","1332365151","1332365152"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a51158defd7b82af3a0d08beb2f38cff.jpg","text":"TemporaryFile(/tmp/multipartBody7470104097596474566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085313388,"filename":"image_28012025_12_18_27_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/61030c12593d18c9183d9fc76f93d505.jpg","text":"TemporaryFile(/tmp/multipartBody6904428394353935894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085313388,"filename":"image_28012025_12_18_16_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8b7ee1a34d5fbf35a6bf362112f97381.jpg","text":"TemporaryFile(/tmp/multipartBody2362123416619366483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085313388,"filename":"image_28012025_12_17_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/1/28/20201f97d293c952112da68fdc92370b.jpg","text":"TemporaryFile(/tmp/multipartBody7105990968816306942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085313388,"filename":"image_28012025_12_18_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/1/28/27094b23e456273d18024cbd4f81aef6.jpg","text":"TemporaryFile(/tmp/multipartBody8998190473110347229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085313388,"filename":"image_28012025_12_17_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/1/28/c01dbfa49861a8789531a291a04383cc.jpg","text":"TemporaryFile(/tmp/multipartBody5082114296292978044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085313388,"filename":"image_28012025_12_18_36_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332365144","file1":"1332365138","file0":"1332365135","file4":"1332365151","file5":"1332365152","file3":"1332365147"},"map_files_photo_id_array":[{"photo_id":"1332365152","filename":"file5"},{"photo_id":"1332365144","filename":"file2"},{"photo_id":"1332365151","filename":"file4"},{"photo_id":"1332365138","filename":"file1"},{"photo_id":"1332365135","filename":"file0"},{"photo_id":"1332365147","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332365151":["hashtag1","hashtag2"]},{"1332365147":["hashtag1","hashtag2"]},{"1332365135":["hashtag1","hashtag2"]},{"1332365144":["hashtag1","hashtag2"]},{"1332365138":["hashtag1","hashtag2"]},{"1332365152":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332365151, 1332365147, 1332365135, 1332365144, 1332365138, 1332365152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.43879175186157 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:28:32.651442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/18/image_28012025_12_18_47_10347.jpg', '/home/pi/Desktop/images/28012025/12/18/image_28012025_12_18_57_10361.jpg', '/home/pi/Desktop/images/28012025/12/18/image_28012025_12_19_06_9350.jpg', '/home/pi/Desktop/images/28012025/12/19/image_28012025_12_19_17_10369.jpg', '/home/pi/Desktop/images/28012025/12/19/image_28012025_12_19_27_10410.jpg', '/home/pi/Desktop/images/28012025/12/19/image_28012025_12_19_36_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/18/image_28012025_12_18_47_10347.jpg
/home/pi/Desktop/images/28012025/12/18/image_28012025_12_18_57_10361.jpg
/home/pi/Desktop/images/28012025/12/18/image_28012025_12_19_06_9350.jpg
/home/pi/Desktop/images/28012025/12/19/image_28012025_12_19_17_10369.jpg
/home/pi/Desktop/images/28012025/12/19/image_28012025_12_19_27_10410.jpg
/home/pi/Desktop/images/28012025/12/19/image_28012025_12_19_36_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332365206","1332365229","1332365220","1332365225","1332365233","1332365212"],"photo_ids_order":["1332365206","1332365212","1332365220","1332365225","1332365229","1332365233"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0e3adb78044b44d7d9a759a82c72209c.jpg","text":"TemporaryFile(/tmp/multipartBody469856589092847715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085373610,"filename":"image_28012025_12_18_47_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/705d2167520dc73b1566ba299a3e0dd8.jpg","text":"TemporaryFile(/tmp/multipartBody4708861391963919215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085373610,"filename":"image_28012025_12_19_27_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fe8911a76f248b1a2671dce0b3846ef7.jpg","text":"TemporaryFile(/tmp/multipartBody3324068844831555201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085373610,"filename":"image_28012025_12_19_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/1/28/810b1df6239ed089d29b28e35aaca2f7.jpg","text":"TemporaryFile(/tmp/multipartBody3816840663778085833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085373610,"filename":"image_28012025_12_19_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/1/28/fed9ca674741c2ab16c0eb8611808f40.jpg","text":"TemporaryFile(/tmp/multipartBody2402133208607993414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085373610,"filename":"image_28012025_12_19_36_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0e96a08c4296c0369d3942f07f01dc22.jpg","text":"TemporaryFile(/tmp/multipartBody7665442179261328413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085373610,"filename":"image_28012025_12_18_57_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332365220","file1":"1332365212","file0":"1332365206","file4":"1332365229","file5":"1332365233","file3":"1332365225"},"map_files_photo_id_array":[{"photo_id":"1332365233","filename":"file5"},{"photo_id":"1332365220","filename":"file2"},{"photo_id":"1332365229","filename":"file4"},{"photo_id":"1332365212","filename":"file1"},{"photo_id":"1332365206","filename":"file0"},{"photo_id":"1332365225","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332365206":["hashtag1","hashtag2"]},{"1332365229":["hashtag1","hashtag2"]},{"1332365220":["hashtag1","hashtag2"]},{"1332365225":["hashtag1","hashtag2"]},{"1332365233":["hashtag1","hashtag2"]},{"1332365212":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332365206, 1332365229, 1332365220, 1332365225, 1332365233, 1332365212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.1214759349823 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:29:32.743961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/19/image_28012025_12_19_47_10346.jpg', '/home/pi/Desktop/images/28012025/12/19/image_28012025_12_20_07_9329.jpg', '/home/pi/Desktop/images/28012025/12/20/image_28012025_12_20_17_10374.jpg', '/home/pi/Desktop/images/28012025/12/20/image_28012025_12_20_26_9393.jpg', '/home/pi/Desktop/images/28012025/12/20/image_28012025_12_20_37_10362.jpg', '/home/pi/Desktop/images/28012025/12/20/image_28012025_12_20_56_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/19/image_28012025_12_19_47_10346.jpg
/home/pi/Desktop/images/28012025/12/19/image_28012025_12_20_07_9329.jpg
/home/pi/Desktop/images/28012025/12/20/image_28012025_12_20_17_10374.jpg
/home/pi/Desktop/images/28012025/12/20/image_28012025_12_20_26_9393.jpg
/home/pi/Desktop/images/28012025/12/20/image_28012025_12_20_37_10362.jpg
/home/pi/Desktop/images/28012025/12/20/image_28012025_12_20_56_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":["1332365274","1332365256","1332365265","1332365250","1332365243","1332365269"],"photo_ids_order":["1332365243","1332365250","1332365256","1332365265","1332365269","1332365274"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/122aaf5daae76a141d2f4889f5b97925.jpg","text":"TemporaryFile(/tmp/multipartBody3587917378203289378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085433719,"filename":"image_28012025_12_20_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/1/28/b18db03dba403a990d317cd4fe6ec22f.jpg","text":"TemporaryFile(/tmp/multipartBody7864576458978530497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085433719,"filename":"image_28012025_12_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/1/28/abb7fc960624a00b08af6da2becc57cd.jpg","text":"TemporaryFile(/tmp/multipartBody438573262438257615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085433719,"filename":"image_28012025_12_20_26_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fe90503cbce313048a58752277f6bc20.jpg","text":"TemporaryFile(/tmp/multipartBody1666228763852604884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085433719,"filename":"image_28012025_12_20_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/1/28/ccedcac2e5b48a5da1abe5598ba1195f.jpg","text":"TemporaryFile(/tmp/multipartBody5058612481193806623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085433719,"filename":"image_28012025_12_19_47_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a7e6f4c83c1164b23e448fa7efb7b436.jpg","text":"TemporaryFile(/tmp/multipartBody790420142423161704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085433719,"filename":"image_28012025_12_20_37_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332365256","file1":"1332365250","file0":"1332365243","file4":"1332365269","file5":"1332365274","file3":"1332365265"},"map_files_photo_id_array":[{"photo_id":"1332365274","filename":"file5"},{"photo_id":"1332365256","filename":"file2"},{"photo_id":"1332365269","filename":"file4"},{"photo_id":"1332365250","filename":"file1"},{"photo_id":"1332365243","filename":"file0"},{"photo_id":"1332365265","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332365274":["hashtag1","hashtag2"]},{"1332365256":["hashtag1","hashtag2"]},{"1332365265":["hashtag1","hashtag2"]},{"1332365250":["hashtag1","hashtag2"]},{"1332365243":["hashtag1","hashtag2"]},{"1332365269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332365274, 1332365256, 1332365265, 1332365250, 1332365243, 1332365269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00644493103027 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:30:33.005347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/20/image_28012025_12_21_07_10437.jpg', '/home/pi/Desktop/images/28012025/12/21/image_28012025_12_21_16_9472.jpg', '/home/pi/Desktop/images/28012025/12/21/image_28012025_12_21_27_10355.jpg', '/home/pi/Desktop/images/28012025/12/21/image_28012025_12_21_37_9985.jpg', '/home/pi/Desktop/images/28012025/12/21/image_28012025_12_21_47_10442.jpg', '/home/pi/Desktop/images/28012025/12/21/image_28012025_12_21_57_9445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/20/image_28012025_12_21_07_10437.jpg
/home/pi/Desktop/images/28012025/12/21/image_28012025_12_21_16_9472.jpg
/home/pi/Desktop/images/28012025/12/21/image_28012025_12_21_27_10355.jpg
/home/pi/Desktop/images/28012025/12/21/image_28012025_12_21_37_9985.jpg
/home/pi/Desktop/images/28012025/12/21/image_28012025_12_21_47_10442.jpg
/home/pi/Desktop/images/28012025/12/21/image_28012025_12_21_57_9445.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5662481784820557 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 18:30:42.966763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/20/image_28012025_12_21_07_10437.jpg', '/home/pi/Desktop/images/28012025/12/21/image_28012025_12_21_16_9472.jpg', '/home/pi/Desktop/images/28012025/12/21/image_28012025_12_21_27_10355.jpg', '/home/pi/Desktop/images/28012025/12/21/image_28012025_12_21_37_9985.jpg', '/home/pi/Desktop/images/28012025/12/21/image_28012025_12_21_47_10442.jpg', '/home/pi/Desktop/images/28012025/12/21/image_28012025_12_21_57_9445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/20/image_28012025_12_21_07_10437.jpg
/home/pi/Desktop/images/28012025/12/21/image_28012025_12_21_16_9472.jpg
/home/pi/Desktop/images/28012025/12/21/image_28012025_12_21_27_10355.jpg
/home/pi/Desktop/images/28012025/12/21/image_28012025_12_21_37_9985.jpg
/home/pi/Desktop/images/28012025/12/21/image_28012025_12_21_47_10442.jpg
/home/pi/Desktop/images/28012025/12/21/image_28012025_12_21_57_9445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332365757","1332365766","1332365481","1332365535","1332365825","1332365488"],"photo_ids_order":["1332365481","1332365488","1332365535","1332365757","1332365766","1332365825"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/94d263ac06e8d607da4c682a58080f35.jpg","text":"TemporaryFile(/tmp/multipartBody2846599103064067946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085503872,"filename":"image_28012025_12_21_37_9985.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/851d8591ca55567d51bf7a7c0edf29da.jpg","text":"TemporaryFile(/tmp/multipartBody5131929817233572725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085503872,"filename":"image_28012025_12_21_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/1/28/b9e17038be95aeb304afdee42a8fc1dc.jpg","text":"TemporaryFile(/tmp/multipartBody8567857282843476452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085503872,"filename":"image_28012025_12_21_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/1/28/d336b0e00b3ac29b70de21c6ab4ec28b.jpg","text":"TemporaryFile(/tmp/multipartBody6663084795990759222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085503872,"filename":"image_28012025_12_21_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/1/28/cef749c453836968b61626bd978a0b09.jpg","text":"TemporaryFile(/tmp/multipartBody6143683125609999683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085503872,"filename":"image_28012025_12_21_57_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/137994e85d8863da950fb18839dd11fa.jpg","text":"TemporaryFile(/tmp/multipartBody7125478315491021908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085503872,"filename":"image_28012025_12_21_16_9472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332365535","file1":"1332365488","file0":"1332365481","file4":"1332365766","file5":"1332365825","file3":"1332365757"},"map_files_photo_id_array":[{"photo_id":"1332365825","filename":"file5"},{"photo_id":"1332365535","filename":"file2"},{"photo_id":"1332365766","filename":"file4"},{"photo_id":"1332365488","filename":"file1"},{"photo_id":"1332365481","filename":"file0"},{"photo_id":"1332365757","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332365757":["hashtag1","hashtag2"]},{"1332365766":["hashtag1","hashtag2"]},{"1332365481":["hashtag1","hashtag2"]},{"1332365535":["hashtag1","hashtag2"]},{"1332365825":["hashtag1","hashtag2"]},{"1332365488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332365757, 1332365766, 1332365481, 1332365535, 1332365825, 1332365488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.159191608428955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:31:32.276767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/21/image_28012025_12_22_07_10341.jpg', '/home/pi/Desktop/images/28012025/12/22/image_28012025_12_22_27_9321.jpg', '/home/pi/Desktop/images/28012025/12/22/image_28012025_12_22_37_10338.jpg', '/home/pi/Desktop/images/28012025/12/22/image_28012025_12_22_47_10399.jpg', '/home/pi/Desktop/images/28012025/12/22/image_28012025_12_22_57_9352.jpg', '/home/pi/Desktop/images/28012025/12/22/image_28012025_12_23_07_10325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/21/image_28012025_12_22_07_10341.jpg
/home/pi/Desktop/images/28012025/12/22/image_28012025_12_22_27_9321.jpg
/home/pi/Desktop/images/28012025/12/22/image_28012025_12_22_37_10338.jpg
/home/pi/Desktop/images/28012025/12/22/image_28012025_12_22_47_10399.jpg
/home/pi/Desktop/images/28012025/12/22/image_28012025_12_22_57_9352.jpg
/home/pi/Desktop/images/28012025/12/22/image_28012025_12_23_07_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":["1332365924","1332365890","1332365950","1332365938","1332365920","1332365914"],"photo_ids_order":["1332365890","1332365914","1332365920","1332365924","1332365938","1332365950"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/53274c1c6378881f8ed5e345a3d2e53f.jpg","text":"TemporaryFile(/tmp/multipartBody3741364890845128185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085553232,"filename":"image_28012025_12_22_47_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fcd17a9f96d29c19208fb3c85936f10a.jpg","text":"TemporaryFile(/tmp/multipartBody2165726094794100311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085553232,"filename":"image_28012025_12_22_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/1/28/8927c7c5e84fca13c19d5e1234960844.jpg","text":"TemporaryFile(/tmp/multipartBody6594023235975872904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085553232,"filename":"image_28012025_12_23_07_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/21fa1259576f6cb358eda0575b2733f7.jpg","text":"TemporaryFile(/tmp/multipartBody5396716974619866797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085553232,"filename":"image_28012025_12_22_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/1/28/0339b1a1315c628f70191e1e8c1d46d5.jpg","text":"TemporaryFile(/tmp/multipartBody1867819027671895989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085553232,"filename":"image_28012025_12_22_37_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/97707f2bae1a09f010e673de818ae848.jpg","text":"TemporaryFile(/tmp/multipartBody4525242397863260407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085553232,"filename":"image_28012025_12_22_27_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332365920","file1":"1332365914","file0":"1332365890","file4":"1332365938","file5":"1332365950","file3":"1332365924"},"map_files_photo_id_array":[{"photo_id":"1332365950","filename":"file5"},{"photo_id":"1332365920","filename":"file2"},{"photo_id":"1332365938","filename":"file4"},{"photo_id":"1332365914","filename":"file1"},{"photo_id":"1332365890","filename":"file0"},{"photo_id":"1332365924","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332365924":["hashtag1","hashtag2"]},{"1332365890":["hashtag1","hashtag2"]},{"1332365950":["hashtag1","hashtag2"]},{"1332365938":["hashtag1","hashtag2"]},{"1332365920":["hashtag1","hashtag2"]},{"1332365914":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332365924, 1332365890, 1332365950, 1332365938, 1332365920, 1332365914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.44086575508118 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:32:32.573347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/23/image_28012025_12_23_16_9405.jpg', '/home/pi/Desktop/images/28012025/12/23/image_28012025_12_23_27_10355.jpg', '/home/pi/Desktop/images/28012025/12/23/image_28012025_12_23_37_10346.jpg', '/home/pi/Desktop/images/28012025/12/23/image_28012025_12_23_46_9339.jpg', '/home/pi/Desktop/images/28012025/12/23/image_28012025_12_23_57_10344.jpg', '/home/pi/Desktop/images/28012025/12/23/image_28012025_12_24_07_10447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/23/image_28012025_12_23_16_9405.jpg
/home/pi/Desktop/images/28012025/12/23/image_28012025_12_23_27_10355.jpg
/home/pi/Desktop/images/28012025/12/23/image_28012025_12_23_37_10346.jpg
/home/pi/Desktop/images/28012025/12/23/image_28012025_12_23_46_9339.jpg
/home/pi/Desktop/images/28012025/12/23/image_28012025_12_23_57_10344.jpg
/home/pi/Desktop/images/28012025/12/23/image_28012025_12_24_07_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":["1332366030","1332366018","1332366012","1332366002","1332366007","1332366022"],"photo_ids_order":["1332366002","1332366007","1332366012","1332366018","1332366022","1332366030"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c512ea5523235168777850116f327bed.jpg","text":"TemporaryFile(/tmp/multipartBody8305738809350348153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085613534,"filename":"image_28012025_12_24_07_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/163af6d97a6b83c1585bb944c320d4a7.jpg","text":"TemporaryFile(/tmp/multipartBody5425841066452421612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085613534,"filename":"image_28012025_12_23_46_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/42b471bf7de8fefb4c86ff4520da48d8.jpg","text":"TemporaryFile(/tmp/multipartBody7844374780016160203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085613534,"filename":"image_28012025_12_23_37_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5a990be503b4b6a76a185be2308c0a11.jpg","text":"TemporaryFile(/tmp/multipartBody8380465516807254663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085613534,"filename":"image_28012025_12_23_16_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a476b2add8a63736cdc39377275aa9ed.jpg","text":"TemporaryFile(/tmp/multipartBody652053266037706533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085613534,"filename":"image_28012025_12_23_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/1/28/d2b7a4c7b4f7d8175bdd4a38ddbaca1c.jpg","text":"TemporaryFile(/tmp/multipartBody4871888839754045777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085613534,"filename":"image_28012025_12_23_57_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332366012","file1":"1332366007","file0":"1332366002","file4":"1332366022","file5":"1332366030","file3":"1332366018"},"map_files_photo_id_array":[{"photo_id":"1332366030","filename":"file5"},{"photo_id":"1332366012","filename":"file2"},{"photo_id":"1332366022","filename":"file4"},{"photo_id":"1332366007","filename":"file1"},{"photo_id":"1332366002","filename":"file0"},{"photo_id":"1332366018","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332366030":["hashtag1","hashtag2"]},{"1332366018":["hashtag1","hashtag2"]},{"1332366012":["hashtag1","hashtag2"]},{"1332366002":["hashtag1","hashtag2"]},{"1332366007":["hashtag1","hashtag2"]},{"1332366022":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332366030, 1332366018, 1332366012, 1332366002, 1332366007, 1332366022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.65775442123413 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:33:32.690354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/24/image_28012025_12_24_17_9368.jpg', '/home/pi/Desktop/images/28012025/12/24/image_28012025_12_24_27_10365.jpg', '/home/pi/Desktop/images/28012025/12/24/image_28012025_12_24_36_9442.jpg', '/home/pi/Desktop/images/28012025/12/24/image_28012025_12_24_57_10434.jpg', '/home/pi/Desktop/images/28012025/12/24/image_28012025_12_25_06_9338.jpg', '/home/pi/Desktop/images/28012025/12/25/image_28012025_12_25_26_9439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/24/image_28012025_12_24_17_9368.jpg
/home/pi/Desktop/images/28012025/12/24/image_28012025_12_24_27_10365.jpg
/home/pi/Desktop/images/28012025/12/24/image_28012025_12_24_36_9442.jpg
/home/pi/Desktop/images/28012025/12/24/image_28012025_12_24_57_10434.jpg
/home/pi/Desktop/images/28012025/12/24/image_28012025_12_25_06_9338.jpg
/home/pi/Desktop/images/28012025/12/25/image_28012025_12_25_26_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":["1332366216","1332366219","1332366213","1332366209","1332366046","1332366049"],"photo_ids_order":["1332366046","1332366049","1332366209","1332366213","1332366216","1332366219"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0d131f4d466c70433708f5d3a93f6d2d.jpg","text":"TemporaryFile(/tmp/multipartBody6703909911512791058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085673651,"filename":"image_28012025_12_25_06_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4bf456cb79ca58ebc1d41fe8e87ec019.jpg","text":"TemporaryFile(/tmp/multipartBody1960200673538790896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085673651,"filename":"image_28012025_12_25_26_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fd96f57ecdbb202af7a7f42ce7dccc65.jpg","text":"TemporaryFile(/tmp/multipartBody7012743773145441157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085673651,"filename":"image_28012025_12_24_57_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d8827d7f5c0dbef507185c1ca6cbf5cc.jpg","text":"TemporaryFile(/tmp/multipartBody6637685128753755990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085673651,"filename":"image_28012025_12_24_36_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cae9e96382b4ef3edb09adeadc6e19b6.jpg","text":"TemporaryFile(/tmp/multipartBody1698442296675053673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085673651,"filename":"image_28012025_12_24_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/1/28/708de77a83ae40677860ce9435925826.jpg","text":"TemporaryFile(/tmp/multipartBody1695060850293886035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085673651,"filename":"image_28012025_12_24_27_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332366209","file1":"1332366049","file0":"1332366046","file4":"1332366216","file5":"1332366219","file3":"1332366213"},"map_files_photo_id_array":[{"photo_id":"1332366219","filename":"file5"},{"photo_id":"1332366209","filename":"file2"},{"photo_id":"1332366216","filename":"file4"},{"photo_id":"1332366049","filename":"file1"},{"photo_id":"1332366046","filename":"file0"},{"photo_id":"1332366213","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332366216":["hashtag1","hashtag2"]},{"1332366219":["hashtag1","hashtag2"]},{"1332366213":["hashtag1","hashtag2"]},{"1332366209":["hashtag1","hashtag2"]},{"1332366046":["hashtag1","hashtag2"]},{"1332366049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332366216, 1332366219, 1332366213, 1332366209, 1332366046, 1332366049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.03018641471863 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:34:33.061116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/25/image_28012025_12_25_37_10362.jpg', '/home/pi/Desktop/images/28012025/12/25/image_28012025_12_25_47_10345.jpg', '/home/pi/Desktop/images/28012025/12/25/image_28012025_12_25_56_9345.jpg', '/home/pi/Desktop/images/28012025/12/25/image_28012025_12_26_07_10344.jpg', '/home/pi/Desktop/images/28012025/12/26/image_28012025_12_26_17_10321.jpg', '/home/pi/Desktop/images/28012025/12/26/image_28012025_12_26_26_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/25/image_28012025_12_25_37_10362.jpg
/home/pi/Desktop/images/28012025/12/25/image_28012025_12_25_47_10345.jpg
/home/pi/Desktop/images/28012025/12/25/image_28012025_12_25_56_9345.jpg
/home/pi/Desktop/images/28012025/12/25/image_28012025_12_26_07_10344.jpg
/home/pi/Desktop/images/28012025/12/26/image_28012025_12_26_17_10321.jpg
/home/pi/Desktop/images/28012025/12/26/image_28012025_12_26_26_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":["1332366465","1332366459","1332366438","1332366405","1332366424","1332366456"],"photo_ids_order":["1332366405","1332366424","1332366438","1332366456","1332366459","1332366465"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bf653ddeee8b57edd42750e2dca651c7.jpg","text":"TemporaryFile(/tmp/multipartBody4179232558579218560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085734040,"filename":"image_28012025_12_26_26_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5b28f0e24d6666485c3fe89a5621744b.jpg","text":"TemporaryFile(/tmp/multipartBody3845550078410181528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085734040,"filename":"image_28012025_12_26_17_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/898876449ba5d0790b76476330e98ab1.jpg","text":"TemporaryFile(/tmp/multipartBody6538510476493165198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085734040,"filename":"image_28012025_12_25_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/1/28/382047fff4ef76027cc4c508de1099e9.jpg","text":"TemporaryFile(/tmp/multipartBody2755965078725099871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085734040,"filename":"image_28012025_12_25_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/1/28/d8c52ae51d2ca621f24547c33bfea91c.jpg","text":"TemporaryFile(/tmp/multipartBody270819577331026350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085734040,"filename":"image_28012025_12_25_47_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ec79c4939f1d7f0a394ab55407b59ea9.jpg","text":"TemporaryFile(/tmp/multipartBody423569421777296518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085734040,"filename":"image_28012025_12_26_07_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332366438","file1":"1332366424","file0":"1332366405","file4":"1332366459","file5":"1332366465","file3":"1332366456"},"map_files_photo_id_array":[{"photo_id":"1332366465","filename":"file5"},{"photo_id":"1332366438","filename":"file2"},{"photo_id":"1332366459","filename":"file4"},{"photo_id":"1332366424","filename":"file1"},{"photo_id":"1332366405","filename":"file0"},{"photo_id":"1332366456","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332366465":["hashtag1","hashtag2"]},{"1332366459":["hashtag1","hashtag2"]},{"1332366438":["hashtag1","hashtag2"]},{"1332366405":["hashtag1","hashtag2"]},{"1332366424":["hashtag1","hashtag2"]},{"1332366456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332366465, 1332366459, 1332366438, 1332366405, 1332366424, 1332366456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.862382888793945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:35:32.395827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/26/image_28012025_12_26_37_10370.jpg', '/home/pi/Desktop/images/28012025/12/26/image_28012025_12_26_47_10441.jpg', '/home/pi/Desktop/images/28012025/12/26/image_28012025_12_26_57_9361.jpg', '/home/pi/Desktop/images/28012025/12/26/image_28012025_12_27_07_10344.jpg', '/home/pi/Desktop/images/28012025/12/27/image_28012025_12_27_16_9401.jpg', '/home/pi/Desktop/images/28012025/12/27/image_28012025_12_27_27_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/26/image_28012025_12_26_37_10370.jpg
/home/pi/Desktop/images/28012025/12/26/image_28012025_12_26_47_10441.jpg
/home/pi/Desktop/images/28012025/12/26/image_28012025_12_26_57_9361.jpg
/home/pi/Desktop/images/28012025/12/26/image_28012025_12_27_07_10344.jpg
/home/pi/Desktop/images/28012025/12/27/image_28012025_12_27_16_9401.jpg
/home/pi/Desktop/images/28012025/12/27/image_28012025_12_27_27_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":["1332366501","1332366497","1332366503","1332366499","1332366502","1332366495"],"photo_ids_order":["1332366495","1332366497","1332366499","1332366501","1332366502","1332366503"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a6ea7c725886e12524badd6c088d0239.jpg","text":"TemporaryFile(/tmp/multipartBody3916552591849986282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085793384,"filename":"image_28012025_12_27_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/1/28/72fbb2f22417ba925dac5649c3c7086d.jpg","text":"TemporaryFile(/tmp/multipartBody6229345901924153384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085793384,"filename":"image_28012025_12_26_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/1/28/2a86d75b3d69f293d5035902fd0cec10.jpg","text":"TemporaryFile(/tmp/multipartBody8247374163578323963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085793384,"filename":"image_28012025_12_27_27_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d912ab2457f456406c7786dbd4a6caaf.jpg","text":"TemporaryFile(/tmp/multipartBody4828958674803635681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085793384,"filename":"image_28012025_12_26_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/1/28/9255f38c8fdeaf5b2608f331890a8d1b.jpg","text":"TemporaryFile(/tmp/multipartBody8399504410679458608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085793384,"filename":"image_28012025_12_27_16_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/92d1641c8cda201ba908b6b1995bc776.jpg","text":"TemporaryFile(/tmp/multipartBody971766562517148862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085793384,"filename":"image_28012025_12_26_37_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332366499","file1":"1332366497","file0":"1332366495","file4":"1332366502","file5":"1332366503","file3":"1332366501"},"map_files_photo_id_array":[{"photo_id":"1332366503","filename":"file5"},{"photo_id":"1332366499","filename":"file2"},{"photo_id":"1332366502","filename":"file4"},{"photo_id":"1332366497","filename":"file1"},{"photo_id":"1332366495","filename":"file0"},{"photo_id":"1332366501","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332366501":["hashtag1","hashtag2"]},{"1332366497":["hashtag1","hashtag2"]},{"1332366503":["hashtag1","hashtag2"]},{"1332366499":["hashtag1","hashtag2"]},{"1332366502":["hashtag1","hashtag2"]},{"1332366495":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332366501, 1332366497, 1332366503, 1332366499, 1332366502, 1332366495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.428953409194946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:36:32.649861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/27/image_28012025_12_27_37_10412.jpg', '/home/pi/Desktop/images/28012025/12/27/image_28012025_12_27_46_9381.jpg', '/home/pi/Desktop/images/28012025/12/27/image_28012025_12_27_57_10332.jpg', '/home/pi/Desktop/images/28012025/12/27/image_28012025_12_28_06_9460.jpg', '/home/pi/Desktop/images/28012025/12/28/image_28012025_12_28_17_10343.jpg', '/home/pi/Desktop/images/28012025/12/28/image_28012025_12_28_27_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/27/image_28012025_12_27_37_10412.jpg
/home/pi/Desktop/images/28012025/12/27/image_28012025_12_27_46_9381.jpg
/home/pi/Desktop/images/28012025/12/27/image_28012025_12_27_57_10332.jpg
/home/pi/Desktop/images/28012025/12/27/image_28012025_12_28_06_9460.jpg
/home/pi/Desktop/images/28012025/12/28/image_28012025_12_28_17_10343.jpg
/home/pi/Desktop/images/28012025/12/28/image_28012025_12_28_27_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332366537","1332366531","1332366540","1332366528","1332366539","1332366535"],"photo_ids_order":["1332366528","1332366531","1332366535","1332366537","1332366539","1332366540"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b76cf11220a507c2030657c2303f6ad9.jpg","text":"TemporaryFile(/tmp/multipartBody2835391164863467653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085853625,"filename":"image_28012025_12_28_06_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f2a91101c1918108ad4f44c0a219f55d.jpg","text":"TemporaryFile(/tmp/multipartBody8444911052360850054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085853625,"filename":"image_28012025_12_27_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/1/28/2a689f960f052b8c9715ec84e32fb562.jpg","text":"TemporaryFile(/tmp/multipartBody5627856226432631087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085853625,"filename":"image_28012025_12_28_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/1/28/14f1ffd62675cdfd2c42e95b7667cbe2.jpg","text":"TemporaryFile(/tmp/multipartBody5805851773463105638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085853625,"filename":"image_28012025_12_27_37_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/887edeb1cbdc5735bcb5e96dc65ddea6.jpg","text":"TemporaryFile(/tmp/multipartBody6092041475512979521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085853625,"filename":"image_28012025_12_28_17_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/57c5362bf40eccf7857efd507adc044f.jpg","text":"TemporaryFile(/tmp/multipartBody5816575287013687318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085853625,"filename":"image_28012025_12_27_57_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332366535","file1":"1332366531","file0":"1332366528","file4":"1332366539","file5":"1332366540","file3":"1332366537"},"map_files_photo_id_array":[{"photo_id":"1332366540","filename":"file5"},{"photo_id":"1332366535","filename":"file2"},{"photo_id":"1332366539","filename":"file4"},{"photo_id":"1332366531","filename":"file1"},{"photo_id":"1332366528","filename":"file0"},{"photo_id":"1332366537","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332366537":["hashtag1","hashtag2"]},{"1332366531":["hashtag1","hashtag2"]},{"1332366540":["hashtag1","hashtag2"]},{"1332366528":["hashtag1","hashtag2"]},{"1332366539":["hashtag1","hashtag2"]},{"1332366535":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332366537, 1332366531, 1332366540, 1332366528, 1332366539, 1332366535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.12694311141968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:37:32.968694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/28/image_28012025_12_28_36_9332.jpg', '/home/pi/Desktop/images/28012025/12/28/image_28012025_12_28_47_10419.jpg', '/home/pi/Desktop/images/28012025/12/28/image_28012025_12_28_57_10427.jpg', '/home/pi/Desktop/images/28012025/12/28/image_28012025_12_29_07_9336.jpg', '/home/pi/Desktop/images/28012025/12/29/image_28012025_12_29_17_10352.jpg', '/home/pi/Desktop/images/28012025/12/29/image_28012025_12_29_27_10396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/28/image_28012025_12_28_36_9332.jpg
/home/pi/Desktop/images/28012025/12/28/image_28012025_12_28_47_10419.jpg
/home/pi/Desktop/images/28012025/12/28/image_28012025_12_28_57_10427.jpg
/home/pi/Desktop/images/28012025/12/28/image_28012025_12_29_07_9336.jpg
/home/pi/Desktop/images/28012025/12/29/image_28012025_12_29_17_10352.jpg
/home/pi/Desktop/images/28012025/12/29/image_28012025_12_29_27_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":["1332366585","1332366587","1332366583","1332366580","1332366573","1332366576"],"photo_ids_order":["1332366573","1332366576","1332366580","1332366583","1332366585","1332366587"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/95be75dfac34afaea275a049a40dc97f.jpg","text":"TemporaryFile(/tmp/multipartBody6241149366918155130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085913939,"filename":"image_28012025_12_29_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/1/28/06cdad42a47ccb3853ee122b8501ebf9.jpg","text":"TemporaryFile(/tmp/multipartBody6193044567403350046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085913939,"filename":"image_28012025_12_29_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/1/28/d4733f0e2579452901e7640b0eb25af8.jpg","text":"TemporaryFile(/tmp/multipartBody1973577242328052709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085913939,"filename":"image_28012025_12_29_07_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/41c0a4356e3c309a92c587b543573010.jpg","text":"TemporaryFile(/tmp/multipartBody7100159282253381873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085913939,"filename":"image_28012025_12_28_57_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a955cfebebcf1e33fac69075a403b9ad.jpg","text":"TemporaryFile(/tmp/multipartBody1976786274905664717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085913939,"filename":"image_28012025_12_28_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/1/28/144cf0ac7184d4176b04e6e953672cfa.jpg","text":"TemporaryFile(/tmp/multipartBody3722692258167113206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085913939,"filename":"image_28012025_12_28_47_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332366580","file1":"1332366576","file0":"1332366573","file4":"1332366585","file5":"1332366587","file3":"1332366583"},"map_files_photo_id_array":[{"photo_id":"1332366587","filename":"file5"},{"photo_id":"1332366580","filename":"file2"},{"photo_id":"1332366585","filename":"file4"},{"photo_id":"1332366576","filename":"file1"},{"photo_id":"1332366573","filename":"file0"},{"photo_id":"1332366583","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332366585":["hashtag1","hashtag2"]},{"1332366587":["hashtag1","hashtag2"]},{"1332366583":["hashtag1","hashtag2"]},{"1332366580":["hashtag1","hashtag2"]},{"1332366573":["hashtag1","hashtag2"]},{"1332366576":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332366585, 1332366587, 1332366583, 1332366580, 1332366573, 1332366576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51234436035156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:38:32.322877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/29/image_28012025_12_29_37_9371.jpg', '/home/pi/Desktop/images/28012025/12/29/image_28012025_12_29_47_10354.jpg', '/home/pi/Desktop/images/28012025/12/29/image_28012025_12_29_56_9342.jpg', '/home/pi/Desktop/images/28012025/12/29/image_28012025_12_30_07_10426.jpg', '/home/pi/Desktop/images/28012025/12/30/image_28012025_12_30_17_10341.jpg', '/home/pi/Desktop/images/28012025/12/30/image_28012025_12_30_26_9386.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/29/image_28012025_12_29_37_9371.jpg
/home/pi/Desktop/images/28012025/12/29/image_28012025_12_29_47_10354.jpg
/home/pi/Desktop/images/28012025/12/29/image_28012025_12_29_56_9342.jpg
/home/pi/Desktop/images/28012025/12/29/image_28012025_12_30_07_10426.jpg
/home/pi/Desktop/images/28012025/12/30/image_28012025_12_30_17_10341.jpg
/home/pi/Desktop/images/28012025/12/30/image_28012025_12_30_26_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":["1332366645","1332366618","1332366648","1332366641","1332366602","1332366628"],"photo_ids_order":["1332366602","1332366618","1332366628","1332366641","1332366645","1332366648"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/82e7b195cdad952e6489fbeda2ac46bd.jpg","text":"TemporaryFile(/tmp/multipartBody1564818067060851909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085973293,"filename":"image_28012025_12_30_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/1/28/f69ffab3bd4ee5cda1360d96fb337a92.jpg","text":"TemporaryFile(/tmp/multipartBody2783152912997337302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085973293,"filename":"image_28012025_12_29_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/1/28/b25454421363e5fe1d60b750a3901609.jpg","text":"TemporaryFile(/tmp/multipartBody1272750843757090010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085973293,"filename":"image_28012025_12_30_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/1/28/25a573ae5454475a6d981ced60ebfc50.jpg","text":"TemporaryFile(/tmp/multipartBody3175040454269484129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085973293,"filename":"image_28012025_12_30_07_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7aea5eac291ae47ed556e7f995d6fe13.jpg","text":"TemporaryFile(/tmp/multipartBody547682172953466873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085973293,"filename":"image_28012025_12_29_37_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c4f68e00e3adbee26e2f49126cdef1fc.jpg","text":"TemporaryFile(/tmp/multipartBody8259893036064533118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738085973293,"filename":"image_28012025_12_29_56_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332366628","file1":"1332366618","file0":"1332366602","file4":"1332366645","file5":"1332366648","file3":"1332366641"},"map_files_photo_id_array":[{"photo_id":"1332366648","filename":"file5"},{"photo_id":"1332366628","filename":"file2"},{"photo_id":"1332366645","filename":"file4"},{"photo_id":"1332366618","filename":"file1"},{"photo_id":"1332366602","filename":"file0"},{"photo_id":"1332366641","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332366645":["hashtag1","hashtag2"]},{"1332366618":["hashtag1","hashtag2"]},{"1332366648":["hashtag1","hashtag2"]},{"1332366641":["hashtag1","hashtag2"]},{"1332366602":["hashtag1","hashtag2"]},{"1332366628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332366645, 1332366618, 1332366648, 1332366641, 1332366602, 1332366628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.10874581336975 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:39:32.656426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/30/image_28012025_12_30_37_10342.jpg', '/home/pi/Desktop/images/28012025/12/30/image_28012025_12_30_46_9493.jpg', '/home/pi/Desktop/images/28012025/12/30/image_28012025_12_30_57_10358.jpg', '/home/pi/Desktop/images/28012025/12/30/image_28012025_12_31_07_10353.jpg', '/home/pi/Desktop/images/28012025/12/31/image_28012025_12_31_16_9324.jpg', '/home/pi/Desktop/images/28012025/12/31/image_28012025_12_31_27_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/30/image_28012025_12_30_37_10342.jpg
/home/pi/Desktop/images/28012025/12/30/image_28012025_12_30_46_9493.jpg
/home/pi/Desktop/images/28012025/12/30/image_28012025_12_30_57_10358.jpg
/home/pi/Desktop/images/28012025/12/30/image_28012025_12_31_07_10353.jpg
/home/pi/Desktop/images/28012025/12/31/image_28012025_12_31_16_9324.jpg
/home/pi/Desktop/images/28012025/12/31/image_28012025_12_31_27_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":["1332366674","1332366668","1332366676","1332366670","1332366672","1332366675"],"photo_ids_order":["1332366668","1332366670","1332366672","1332366674","1332366675","1332366676"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2cc6c3974d1164c2283c0bb33b3678c0.jpg","text":"TemporaryFile(/tmp/multipartBody6827818356230184791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086033617,"filename":"image_28012025_12_31_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/1/28/99c0af2e9f05fbd336f1c92a39829f2c.jpg","text":"TemporaryFile(/tmp/multipartBody2250155506036713832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086033617,"filename":"image_28012025_12_30_37_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7f8b064be245477bc11b1cc012ba6e31.jpg","text":"TemporaryFile(/tmp/multipartBody1893106073755221463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086033617,"filename":"image_28012025_12_31_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/1/28/89474ea330b6f88d74f69657be31aa52.jpg","text":"TemporaryFile(/tmp/multipartBody2978081729545295780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086033617,"filename":"image_28012025_12_30_46_9493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0e6e9efa2058c0418c6d24a6edb94ff3.jpg","text":"TemporaryFile(/tmp/multipartBody6172510603847094601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086033617,"filename":"image_28012025_12_30_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/1/28/b7101cd10106f305eeb8ff864f9bda17.jpg","text":"TemporaryFile(/tmp/multipartBody5260481386656905166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086033617,"filename":"image_28012025_12_31_16_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332366672","file1":"1332366670","file0":"1332366668","file4":"1332366675","file5":"1332366676","file3":"1332366674"},"map_files_photo_id_array":[{"photo_id":"1332366676","filename":"file5"},{"photo_id":"1332366672","filename":"file2"},{"photo_id":"1332366675","filename":"file4"},{"photo_id":"1332366670","filename":"file1"},{"photo_id":"1332366668","filename":"file0"},{"photo_id":"1332366674","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332366674":["hashtag1","hashtag2"]},{"1332366668":["hashtag1","hashtag2"]},{"1332366676":["hashtag1","hashtag2"]},{"1332366670":["hashtag1","hashtag2"]},{"1332366672":["hashtag1","hashtag2"]},{"1332366675":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332366674, 1332366668, 1332366676, 1332366670, 1332366672, 1332366675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.130789279937744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:40:33.320674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/31/image_28012025_12_31_37_10330.jpg', '/home/pi/Desktop/images/28012025/12/31/image_28012025_12_31_47_9441.jpg', '/home/pi/Desktop/images/28012025/12/31/image_28012025_12_31_57_10357.jpg', '/home/pi/Desktop/images/28012025/12/32/image_28012025_12_32_17_10400.jpg', '/home/pi/Desktop/images/28012025/12/32/image_28012025_12_32_56_9371.jpg', '/home/pi/Desktop/images/28012025/12/32/image_28012025_12_33_07_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/31/image_28012025_12_31_37_10330.jpg
/home/pi/Desktop/images/28012025/12/31/image_28012025_12_31_47_9441.jpg
/home/pi/Desktop/images/28012025/12/31/image_28012025_12_31_57_10357.jpg
/home/pi/Desktop/images/28012025/12/32/image_28012025_12_32_17_10400.jpg
/home/pi/Desktop/images/28012025/12/32/image_28012025_12_32_56_9371.jpg
/home/pi/Desktop/images/28012025/12/32/image_28012025_12_33_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":["1332366864","1332366857","1332366845","1332366862","1332366841","1332366867"],"photo_ids_order":["1332366841","1332366845","1332366857","1332366862","1332366864","1332366867"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6b4c37e6f9248084413cfb3a6197ed08.jpg","text":"TemporaryFile(/tmp/multipartBody2695885047293794824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086099158,"filename":"image_28012025_12_32_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/1/28/56a87a502b268e3606dc89de1cbee5b7.jpg","text":"TemporaryFile(/tmp/multipartBody7625170889359188762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086099158,"filename":"image_28012025_12_31_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/1/28/781cb300d1ba40f8db45a40cfedac411.jpg","text":"TemporaryFile(/tmp/multipartBody6353779521859407904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086099158,"filename":"image_28012025_12_31_47_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6e9dd95828ded1345f0dfd3832aa6961.jpg","text":"TemporaryFile(/tmp/multipartBody7369590759773903164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086099158,"filename":"image_28012025_12_32_17_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/acc6732269c7b72ab374126bf1ba219e.jpg","text":"TemporaryFile(/tmp/multipartBody3639868781096826108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086099158,"filename":"image_28012025_12_31_37_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/887ac318631b8e552935cdf5b51c19ef.jpg","text":"TemporaryFile(/tmp/multipartBody2436309740170867128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086099158,"filename":"image_28012025_12_33_07_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332366857","file1":"1332366845","file0":"1332366841","file4":"1332366864","file5":"1332366867","file3":"1332366862"},"map_files_photo_id_array":[{"photo_id":"1332366867","filename":"file5"},{"photo_id":"1332366857","filename":"file2"},{"photo_id":"1332366864","filename":"file4"},{"photo_id":"1332366845","filename":"file1"},{"photo_id":"1332366841","filename":"file0"},{"photo_id":"1332366862","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332366864":["hashtag1","hashtag2"]},{"1332366857":["hashtag1","hashtag2"]},{"1332366845":["hashtag1","hashtag2"]},{"1332366862":["hashtag1","hashtag2"]},{"1332366841":["hashtag1","hashtag2"]},{"1332366867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332366864, 1332366857, 1332366845, 1332366862, 1332366841, 1332366867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.03052377700806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:41:33.131757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/33/image_28012025_12_33_17_10427.jpg', '/home/pi/Desktop/images/28012025/12/33/image_28012025_12_33_26_9345.jpg', '/home/pi/Desktop/images/28012025/12/33/image_28012025_12_33_37_10397.jpg', '/home/pi/Desktop/images/28012025/12/33/image_28012025_12_33_47_10439.jpg', '/home/pi/Desktop/images/28012025/12/33/image_28012025_12_33_57_9343.jpg', '/home/pi/Desktop/images/28012025/12/33/image_28012025_12_34_07_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/33/image_28012025_12_33_17_10427.jpg
/home/pi/Desktop/images/28012025/12/33/image_28012025_12_33_26_9345.jpg
/home/pi/Desktop/images/28012025/12/33/image_28012025_12_33_37_10397.jpg
/home/pi/Desktop/images/28012025/12/33/image_28012025_12_33_47_10439.jpg
/home/pi/Desktop/images/28012025/12/33/image_28012025_12_33_57_9343.jpg
/home/pi/Desktop/images/28012025/12/33/image_28012025_12_34_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":["1332366900","1332366959","1332366967","1332366905","1332366940","1332366964"],"photo_ids_order":["1332366900","1332366905","1332366940","1332366959","1332366964","1332366967"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/496c544ef5465e02cc765d66e36dab03.jpg","text":"TemporaryFile(/tmp/multipartBody6889391431515655425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086154100,"filename":"image_28012025_12_33_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/1/28/c06eb301ff60018589bd2ceb7e2b8d80.jpg","text":"TemporaryFile(/tmp/multipartBody2737086613842189464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086154100,"filename":"image_28012025_12_33_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/1/28/cca5f145a25b291820c5671527a23cb1.jpg","text":"TemporaryFile(/tmp/multipartBody978083111808282482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086154100,"filename":"image_28012025_12_34_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/1/28/e3d3e65cdc6e7c550ba2bbc7bb71f722.jpg","text":"TemporaryFile(/tmp/multipartBody347480321543748045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086154100,"filename":"image_28012025_12_33_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/1/28/9f0892897ae5969e0743d0d328ff4e65.jpg","text":"TemporaryFile(/tmp/multipartBody3668432112803274522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086154100,"filename":"image_28012025_12_33_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/1/28/33aa00e9bb5a9be740d5ba7a0d046580.jpg","text":"TemporaryFile(/tmp/multipartBody7525447855834334266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086154100,"filename":"image_28012025_12_33_57_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332366940","file1":"1332366905","file0":"1332366900","file4":"1332366964","file5":"1332366967","file3":"1332366959"},"map_files_photo_id_array":[{"photo_id":"1332366967","filename":"file5"},{"photo_id":"1332366940","filename":"file2"},{"photo_id":"1332366964","filename":"file4"},{"photo_id":"1332366905","filename":"file1"},{"photo_id":"1332366900","filename":"file0"},{"photo_id":"1332366959","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332366900":["hashtag1","hashtag2"]},{"1332366959":["hashtag1","hashtag2"]},{"1332366967":["hashtag1","hashtag2"]},{"1332366905":["hashtag1","hashtag2"]},{"1332366940":["hashtag1","hashtag2"]},{"1332366964":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332366900, 1332366959, 1332366967, 1332366905, 1332366940, 1332366964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.00109004974365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:42:32.348828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/34/image_28012025_12_34_27_10340.jpg', '/home/pi/Desktop/images/28012025/12/34/image_28012025_12_34_37_10336.jpg', '/home/pi/Desktop/images/28012025/12/34/image_28012025_12_34_46_9333.jpg', '/home/pi/Desktop/images/28012025/12/35/image_28012025_12_35_16_9433.jpg', '/home/pi/Desktop/images/28012025/12/35/image_28012025_12_35_27_10338.jpg', '/home/pi/Desktop/images/28012025/12/35/image_28012025_12_35_47_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/34/image_28012025_12_34_27_10340.jpg
/home/pi/Desktop/images/28012025/12/34/image_28012025_12_34_37_10336.jpg
/home/pi/Desktop/images/28012025/12/34/image_28012025_12_34_46_9333.jpg
/home/pi/Desktop/images/28012025/12/35/image_28012025_12_35_16_9433.jpg
/home/pi/Desktop/images/28012025/12/35/image_28012025_12_35_27_10338.jpg
/home/pi/Desktop/images/28012025/12/35/image_28012025_12_35_47_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":["1332367008","1332367010","1332366986","1332366994","1332367012","1332367006"],"photo_ids_order":["1332366986","1332366994","1332367006","1332367008","1332367010","1332367012"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/458fb33a21b7abd04ea05c390eaa0fc2.jpg","text":"TemporaryFile(/tmp/multipartBody7665423970107845659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086213329,"filename":"image_28012025_12_35_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/1/28/f0e4373a47347ef81a2a2b68a8d4d843.jpg","text":"TemporaryFile(/tmp/multipartBody2163198790854647231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086213329,"filename":"image_28012025_12_35_27_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ef9dfc48dfe863c23b1cea44fbd259bb.jpg","text":"TemporaryFile(/tmp/multipartBody7547433699311463594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086213329,"filename":"image_28012025_12_34_27_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bca32d49118920dc244c29cd84a7fc12.jpg","text":"TemporaryFile(/tmp/multipartBody6162109023856605619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086213329,"filename":"image_28012025_12_34_37_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/12274cf01231243bce4a3d942fd2fe38.jpg","text":"TemporaryFile(/tmp/multipartBody7542368404715620294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086213329,"filename":"image_28012025_12_35_47_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5ce8af4980c9af2e98040e122ba71cf3.jpg","text":"TemporaryFile(/tmp/multipartBody920770717881347513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086213329,"filename":"image_28012025_12_34_46_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332367006","file1":"1332366994","file0":"1332366986","file4":"1332367010","file5":"1332367012","file3":"1332367008"},"map_files_photo_id_array":[{"photo_id":"1332367012","filename":"file5"},{"photo_id":"1332367006","filename":"file2"},{"photo_id":"1332367010","filename":"file4"},{"photo_id":"1332366994","filename":"file1"},{"photo_id":"1332366986","filename":"file0"},{"photo_id":"1332367008","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332367008":["hashtag1","hashtag2"]},{"1332367010":["hashtag1","hashtag2"]},{"1332366986":["hashtag1","hashtag2"]},{"1332366994":["hashtag1","hashtag2"]},{"1332367012":["hashtag1","hashtag2"]},{"1332367006":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332367008, 1332367010, 1332366986, 1332366994, 1332367012, 1332367006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.68277287483215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:43:32.600508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/35/image_28012025_12_35_57_10352.jpg', '/home/pi/Desktop/images/28012025/12/36/image_28012025_12_36_57_10430.jpg', '/home/pi/Desktop/images/28012025/12/36/image_28012025_12_37_07_9332.jpg', '/home/pi/Desktop/images/28012025/12/37/image_28012025_12_37_26_9440.jpg', '/home/pi/Desktop/images/28012025/12/37/image_28012025_12_38_07_10337.jpg', '/home/pi/Desktop/images/28012025/12/38/image_28012025_12_38_17_10319.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/35/image_28012025_12_35_57_10352.jpg
/home/pi/Desktop/images/28012025/12/36/image_28012025_12_36_57_10430.jpg
/home/pi/Desktop/images/28012025/12/36/image_28012025_12_37_07_9332.jpg
/home/pi/Desktop/images/28012025/12/37/image_28012025_12_37_26_9440.jpg
/home/pi/Desktop/images/28012025/12/37/image_28012025_12_38_07_10337.jpg
/home/pi/Desktop/images/28012025/12/38/image_28012025_12_38_17_10319.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332367037","1332367052","1332367075","1332367074","1332367062","1332367041"],"photo_ids_order":["1332367037","1332367041","1332367052","1332367062","1332367074","1332367075"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0a96047c35f70ed5c2f8560ffdae000d.jpg","text":"TemporaryFile(/tmp/multipartBody5669303452391137594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086273584,"filename":"image_28012025_12_35_57_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d70a7227e4c29b3667908b44c3f968bd.jpg","text":"TemporaryFile(/tmp/multipartBody2930505957801503455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086273584,"filename":"image_28012025_12_37_07_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a2193b0f61d7081313505a15ac0a7644.jpg","text":"TemporaryFile(/tmp/multipartBody1844106851424784726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086273584,"filename":"image_28012025_12_38_17_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/acbcbae6462a06367fc0b487c4b451f9.jpg","text":"TemporaryFile(/tmp/multipartBody4254262899634174637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086273584,"filename":"image_28012025_12_38_07_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fcc013aa5b01e3cede30fde4c1716882.jpg","text":"TemporaryFile(/tmp/multipartBody6860402500954417542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086273584,"filename":"image_28012025_12_37_26_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1f2e74a36ddfc449f995828de5bd0790.jpg","text":"TemporaryFile(/tmp/multipartBody2413093423572668920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086273584,"filename":"image_28012025_12_36_57_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332367052","file1":"1332367041","file0":"1332367037","file4":"1332367074","file5":"1332367075","file3":"1332367062"},"map_files_photo_id_array":[{"photo_id":"1332367075","filename":"file5"},{"photo_id":"1332367052","filename":"file2"},{"photo_id":"1332367074","filename":"file4"},{"photo_id":"1332367041","filename":"file1"},{"photo_id":"1332367037","filename":"file0"},{"photo_id":"1332367062","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332367037":["hashtag1","hashtag2"]},{"1332367052":["hashtag1","hashtag2"]},{"1332367075":["hashtag1","hashtag2"]},{"1332367074":["hashtag1","hashtag2"]},{"1332367062":["hashtag1","hashtag2"]},{"1332367041":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332367037, 1332367052, 1332367075, 1332367074, 1332367062, 1332367041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.19735383987427 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:44:32.814165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/38/image_28012025_12_38_27_9346.jpg', '/home/pi/Desktop/images/28012025/12/38/image_28012025_12_38_37_10352.jpg', '/home/pi/Desktop/images/28012025/12/38/image_28012025_12_38_46_9434.jpg', '/home/pi/Desktop/images/28012025/12/38/image_28012025_12_38_57_10432.jpg', '/home/pi/Desktop/images/28012025/12/39/image_28012025_12_39_27_10344.jpg', '/home/pi/Desktop/images/28012025/12/39/image_28012025_12_39_36_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/38/image_28012025_12_38_27_9346.jpg
/home/pi/Desktop/images/28012025/12/38/image_28012025_12_38_37_10352.jpg
/home/pi/Desktop/images/28012025/12/38/image_28012025_12_38_46_9434.jpg
/home/pi/Desktop/images/28012025/12/38/image_28012025_12_38_57_10432.jpg
/home/pi/Desktop/images/28012025/12/39/image_28012025_12_39_27_10344.jpg
/home/pi/Desktop/images/28012025/12/39/image_28012025_12_39_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":["1332367104","1332367136","1332367121","1332367115","1332367109","1332367152"],"photo_ids_order":["1332367104","1332367109","1332367115","1332367121","1332367136","1332367152"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f258048ae4db9073179ddaae53c817cd.jpg","text":"TemporaryFile(/tmp/multipartBody7349634158127496137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086333782,"filename":"image_28012025_12_38_27_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e0b27ea6e285676fd3c679ea90012c35.jpg","text":"TemporaryFile(/tmp/multipartBody40016124067396191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086333782,"filename":"image_28012025_12_39_27_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a2043464863674a5aa5dead9dcef67b1.jpg","text":"TemporaryFile(/tmp/multipartBody3180536809499919566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086333782,"filename":"image_28012025_12_38_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/1/28/3322c38694eee67cb8954863786efe9a.jpg","text":"TemporaryFile(/tmp/multipartBody2821456265584157503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086333782,"filename":"image_28012025_12_38_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/1/28/01a78b11f6fd83300c48dded169dbea4.jpg","text":"TemporaryFile(/tmp/multipartBody6417716248682495460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086333782,"filename":"image_28012025_12_38_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/1/28/db6873c281fe6ad7145fa281939bb6f5.jpg","text":"TemporaryFile(/tmp/multipartBody3879588416413645048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086333782,"filename":"image_28012025_12_39_36_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332367115","file1":"1332367109","file0":"1332367104","file4":"1332367136","file5":"1332367152","file3":"1332367121"},"map_files_photo_id_array":[{"photo_id":"1332367152","filename":"file5"},{"photo_id":"1332367115","filename":"file2"},{"photo_id":"1332367136","filename":"file4"},{"photo_id":"1332367109","filename":"file1"},{"photo_id":"1332367104","filename":"file0"},{"photo_id":"1332367121","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332367104":["hashtag1","hashtag2"]},{"1332367136":["hashtag1","hashtag2"]},{"1332367121":["hashtag1","hashtag2"]},{"1332367115":["hashtag1","hashtag2"]},{"1332367109":["hashtag1","hashtag2"]},{"1332367152":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332367104, 1332367136, 1332367121, 1332367115, 1332367109, 1332367152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89299726486206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:45:32.965532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/39/image_28012025_12_39_57_10344.jpg', '/home/pi/Desktop/images/28012025/12/39/image_28012025_12_40_06_9422.jpg', '/home/pi/Desktop/images/28012025/12/40/image_28012025_12_40_17_10436.jpg', '/home/pi/Desktop/images/28012025/12/40/image_28012025_12_40_26_9446.jpg', '/home/pi/Desktop/images/28012025/12/40/image_28012025_12_40_37_10385.jpg', '/home/pi/Desktop/images/28012025/12/40/image_28012025_12_40_47_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/39/image_28012025_12_39_57_10344.jpg
/home/pi/Desktop/images/28012025/12/39/image_28012025_12_40_06_9422.jpg
/home/pi/Desktop/images/28012025/12/40/image_28012025_12_40_17_10436.jpg
/home/pi/Desktop/images/28012025/12/40/image_28012025_12_40_26_9446.jpg
/home/pi/Desktop/images/28012025/12/40/image_28012025_12_40_37_10385.jpg
/home/pi/Desktop/images/28012025/12/40/image_28012025_12_40_47_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":["1332367376","1332367381","1332367390","1332367422","1332367425","1332367404"],"photo_ids_order":["1332367376","1332367381","1332367390","1332367404","1332367422","1332367425"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/879430493aa892444c8973ac61a7e330.jpg","text":"TemporaryFile(/tmp/multipartBody6237970390902813694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086393953,"filename":"image_28012025_12_39_57_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1f1b7f184939f459556d2bc73769d930.jpg","text":"TemporaryFile(/tmp/multipartBody1861903598815743357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086393953,"filename":"image_28012025_12_40_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/1/28/f3d33fc23eec50d76aeb6e05a7e86c5c.jpg","text":"TemporaryFile(/tmp/multipartBody2595943255431871651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086393953,"filename":"image_28012025_12_40_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/1/28/6b5acbd781844dc4de7fdf1492c46f0d.jpg","text":"TemporaryFile(/tmp/multipartBody5728415804119327437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086393953,"filename":"image_28012025_12_40_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/1/28/7ba700b7b6c259a98b5d070059b3d4e4.jpg","text":"TemporaryFile(/tmp/multipartBody3814770558309869986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086393953,"filename":"image_28012025_12_40_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/1/28/fe28a5b8d0f6f20fa305703fa804acbe.jpg","text":"TemporaryFile(/tmp/multipartBody6458554729955709096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086393953,"filename":"image_28012025_12_40_26_9446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332367390","file1":"1332367381","file0":"1332367376","file4":"1332367422","file5":"1332367425","file3":"1332367404"},"map_files_photo_id_array":[{"photo_id":"1332367425","filename":"file5"},{"photo_id":"1332367390","filename":"file2"},{"photo_id":"1332367422","filename":"file4"},{"photo_id":"1332367381","filename":"file1"},{"photo_id":"1332367376","filename":"file0"},{"photo_id":"1332367404","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332367376":["hashtag1","hashtag2"]},{"1332367381":["hashtag1","hashtag2"]},{"1332367390":["hashtag1","hashtag2"]},{"1332367422":["hashtag1","hashtag2"]},{"1332367425":["hashtag1","hashtag2"]},{"1332367404":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332367376, 1332367381, 1332367390, 1332367422, 1332367425, 1332367404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.410038232803345 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:46:32.380097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/40/image_28012025_12_40_56_9432.jpg', '/home/pi/Desktop/images/28012025/12/40/image_28012025_12_41_07_10352.jpg', '/home/pi/Desktop/images/28012025/12/41/image_28012025_12_41_17_10401.jpg', '/home/pi/Desktop/images/28012025/12/41/image_28012025_12_41_27_9334.jpg', '/home/pi/Desktop/images/28012025/12/41/image_28012025_12_41_37_10359.jpg', '/home/pi/Desktop/images/28012025/12/41/image_28012025_12_41_46_9445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/40/image_28012025_12_40_56_9432.jpg
/home/pi/Desktop/images/28012025/12/40/image_28012025_12_41_07_10352.jpg
/home/pi/Desktop/images/28012025/12/41/image_28012025_12_41_17_10401.jpg
/home/pi/Desktop/images/28012025/12/41/image_28012025_12_41_27_9334.jpg
/home/pi/Desktop/images/28012025/12/41/image_28012025_12_41_37_10359.jpg
/home/pi/Desktop/images/28012025/12/41/image_28012025_12_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":["1332367487","1332367442","1332367474","1332367450","1332367438","1332367458"],"photo_ids_order":["1332367438","1332367442","1332367450","1332367458","1332367474","1332367487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4141e8bc32d642382cd678ac5d1e5ae0.jpg","text":"TemporaryFile(/tmp/multipartBody3395737279760038142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086453363,"filename":"image_28012025_12_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/1/28/ecdc7c420dc6567c7701fb372c9d5925.jpg","text":"TemporaryFile(/tmp/multipartBody360050959974274958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086453363,"filename":"image_28012025_12_41_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/1/28/6b8f04017f46b63ed737d1e41fcd314c.jpg","text":"TemporaryFile(/tmp/multipartBody5577893549834063664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086453363,"filename":"image_28012025_12_41_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/1/28/c6f295c5db44ca79dcaa81477b1900e0.jpg","text":"TemporaryFile(/tmp/multipartBody5740490483538789402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086453363,"filename":"image_28012025_12_41_17_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d965b25f17ea1feecfe5734c694dd272.jpg","text":"TemporaryFile(/tmp/multipartBody4860636550184920062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086453363,"filename":"image_28012025_12_40_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/1/28/e4d9ba02a0d84e55ac0a8bdc4ef92993.jpg","text":"TemporaryFile(/tmp/multipartBody3368457808011015317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086453363,"filename":"image_28012025_12_41_27_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332367450","file1":"1332367442","file0":"1332367438","file4":"1332367474","file5":"1332367487","file3":"1332367458"},"map_files_photo_id_array":[{"photo_id":"1332367487","filename":"file5"},{"photo_id":"1332367450","filename":"file2"},{"photo_id":"1332367474","filename":"file4"},{"photo_id":"1332367442","filename":"file1"},{"photo_id":"1332367438","filename":"file0"},{"photo_id":"1332367458","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332367487":["hashtag1","hashtag2"]},{"1332367442":["hashtag1","hashtag2"]},{"1332367474":["hashtag1","hashtag2"]},{"1332367450":["hashtag1","hashtag2"]},{"1332367438":["hashtag1","hashtag2"]},{"1332367458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332367487, 1332367442, 1332367474, 1332367450, 1332367438, 1332367458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.5947060585022 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:47:32.533354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/41/image_28012025_12_41_57_10339.jpg', '/home/pi/Desktop/images/28012025/12/41/image_28012025_12_42_07_10344.jpg', '/home/pi/Desktop/images/28012025/12/42/image_28012025_12_42_16_9350.jpg', '/home/pi/Desktop/images/28012025/12/42/image_28012025_12_42_37_10414.jpg', '/home/pi/Desktop/images/28012025/12/42/image_28012025_12_42_57_10351.jpg', '/home/pi/Desktop/images/28012025/12/42/image_28012025_12_43_06_9443.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/41/image_28012025_12_41_57_10339.jpg
/home/pi/Desktop/images/28012025/12/41/image_28012025_12_42_07_10344.jpg
/home/pi/Desktop/images/28012025/12/42/image_28012025_12_42_16_9350.jpg
/home/pi/Desktop/images/28012025/12/42/image_28012025_12_42_37_10414.jpg
/home/pi/Desktop/images/28012025/12/42/image_28012025_12_42_57_10351.jpg
/home/pi/Desktop/images/28012025/12/42/image_28012025_12_43_06_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":["1332367917","1332367832","1332367907","1332367915","1332367903","1332367912"],"photo_ids_order":["1332367832","1332367903","1332367907","1332367912","1332367915","1332367917"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/85f44c7d5a81222b06a3723a1fe7d57f.jpg","text":"TemporaryFile(/tmp/multipartBody4708533163821305356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086513535,"filename":"image_28012025_12_43_06_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/989085979b3341c58e559d33ded0fc83.jpg","text":"TemporaryFile(/tmp/multipartBody1519486988902089048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086513535,"filename":"image_28012025_12_41_57_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5d504b7ea27d951422ad19adeeeca00a.jpg","text":"TemporaryFile(/tmp/multipartBody1920149706192512090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086513535,"filename":"image_28012025_12_42_16_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/612f0cfa7f39a9bfb510e3ea69bb481d.jpg","text":"TemporaryFile(/tmp/multipartBody8465234980837622747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086513535,"filename":"image_28012025_12_42_57_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/48b7ea21fe32ccb347c919dbf7fac940.jpg","text":"TemporaryFile(/tmp/multipartBody2937136103949414595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086513535,"filename":"image_28012025_12_42_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/1/28/4cbb79c1b6e310d27b85a2ce6f31b0b7.jpg","text":"TemporaryFile(/tmp/multipartBody1134180185580896951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086513535,"filename":"image_28012025_12_42_37_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332367907","file1":"1332367903","file0":"1332367832","file4":"1332367915","file5":"1332367917","file3":"1332367912"},"map_files_photo_id_array":[{"photo_id":"1332367917","filename":"file5"},{"photo_id":"1332367907","filename":"file2"},{"photo_id":"1332367915","filename":"file4"},{"photo_id":"1332367903","filename":"file1"},{"photo_id":"1332367832","filename":"file0"},{"photo_id":"1332367912","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332367917":["hashtag1","hashtag2"]},{"1332367832":["hashtag1","hashtag2"]},{"1332367907":["hashtag1","hashtag2"]},{"1332367915":["hashtag1","hashtag2"]},{"1332367903":["hashtag1","hashtag2"]},{"1332367912":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332367917, 1332367832, 1332367907, 1332367915, 1332367903, 1332367912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.83625054359436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:48:32.784388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/43/image_28012025_12_43_17_10363.jpg', '/home/pi/Desktop/images/28012025/12/43/image_28012025_12_43_27_10360.jpg', '/home/pi/Desktop/images/28012025/12/43/image_28012025_12_43_36_9408.jpg', '/home/pi/Desktop/images/28012025/12/43/image_28012025_12_43_47_10362.jpg', '/home/pi/Desktop/images/28012025/12/43/image_28012025_12_43_56_9437.jpg', '/home/pi/Desktop/images/28012025/12/43/image_28012025_12_44_07_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/43/image_28012025_12_43_17_10363.jpg
/home/pi/Desktop/images/28012025/12/43/image_28012025_12_43_27_10360.jpg
/home/pi/Desktop/images/28012025/12/43/image_28012025_12_43_36_9408.jpg
/home/pi/Desktop/images/28012025/12/43/image_28012025_12_43_47_10362.jpg
/home/pi/Desktop/images/28012025/12/43/image_28012025_12_43_56_9437.jpg
/home/pi/Desktop/images/28012025/12/43/image_28012025_12_44_07_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":["1332368153","1332368222","1332368149","1332368291","1332368165","1332368159"],"photo_ids_order":["1332368149","1332368153","1332368159","1332368165","1332368222","1332368291"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f92b50ccb34265aeba6ecb8de4692479.jpg","text":"TemporaryFile(/tmp/multipartBody4063349279215313296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086573746,"filename":"image_28012025_12_43_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/1/28/f2f3eca98ad3970a73de4d86c494bb62.jpg","text":"TemporaryFile(/tmp/multipartBody5503283234202136225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086573746,"filename":"image_28012025_12_43_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/1/28/d1c4343cd558d908c866665f8f4998c9.jpg","text":"TemporaryFile(/tmp/multipartBody4950019170495644417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086573746,"filename":"image_28012025_12_43_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/1/28/d9038b3b175d520740b7de95a9f86696.jpg","text":"TemporaryFile(/tmp/multipartBody7389905226452996473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086573746,"filename":"image_28012025_12_44_07_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7cb617265900c5be24c53a6245dd08f7.jpg","text":"TemporaryFile(/tmp/multipartBody1220992095432635536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086573746,"filename":"image_28012025_12_43_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/1/28/917c2ce5a4fe240d00e41dd9dfb1bd69.jpg","text":"TemporaryFile(/tmp/multipartBody3690272126377735950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086573746,"filename":"image_28012025_12_43_36_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332368159","file1":"1332368153","file0":"1332368149","file4":"1332368222","file5":"1332368291","file3":"1332368165"},"map_files_photo_id_array":[{"photo_id":"1332368291","filename":"file5"},{"photo_id":"1332368159","filename":"file2"},{"photo_id":"1332368222","filename":"file4"},{"photo_id":"1332368153","filename":"file1"},{"photo_id":"1332368149","filename":"file0"},{"photo_id":"1332368165","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332368153":["hashtag1","hashtag2"]},{"1332368222":["hashtag1","hashtag2"]},{"1332368149":["hashtag1","hashtag2"]},{"1332368291":["hashtag1","hashtag2"]},{"1332368165":["hashtag1","hashtag2"]},{"1332368159":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332368153, 1332368222, 1332368149, 1332368291, 1332368165, 1332368159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.710347414016724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:49:33.017803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/44/image_28012025_12_44_17_10344.jpg', '/home/pi/Desktop/images/28012025/12/44/image_28012025_12_44_26_9341.jpg', '/home/pi/Desktop/images/28012025/12/44/image_28012025_12_44_37_10359.jpg', '/home/pi/Desktop/images/28012025/12/44/image_28012025_12_44_47_10430.jpg', '/home/pi/Desktop/images/28012025/12/44/image_28012025_12_44_57_9416.jpg', '/home/pi/Desktop/images/28012025/12/44/image_28012025_12_45_07_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/44/image_28012025_12_44_17_10344.jpg
/home/pi/Desktop/images/28012025/12/44/image_28012025_12_44_26_9341.jpg
/home/pi/Desktop/images/28012025/12/44/image_28012025_12_44_37_10359.jpg
/home/pi/Desktop/images/28012025/12/44/image_28012025_12_44_47_10430.jpg
/home/pi/Desktop/images/28012025/12/44/image_28012025_12_44_57_9416.jpg
/home/pi/Desktop/images/28012025/12/44/image_28012025_12_45_07_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":["1332368339","1332368315","1332368306","1332368359","1332368335","1332368302"],"photo_ids_order":["1332368302","1332368306","1332368315","1332368335","1332368339","1332368359"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/876a1c0eaa1e431735b2029c3717e7ae.jpg","text":"TemporaryFile(/tmp/multipartBody4131298621495119398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086633980,"filename":"image_28012025_12_44_57_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d3718535215f1067dcf016d51fee908c.jpg","text":"TemporaryFile(/tmp/multipartBody5235871914456027361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086633980,"filename":"image_28012025_12_44_37_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3c5a78acf2a1d0e1bf24577718889253.jpg","text":"TemporaryFile(/tmp/multipartBody3175347461493654910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086633980,"filename":"image_28012025_12_44_26_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/41eed0fd84532e07d5010b6c6d308e70.jpg","text":"TemporaryFile(/tmp/multipartBody7186308720308055610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086633980,"filename":"image_28012025_12_45_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/1/28/3d0c29d708888e104b0220f29a449abc.jpg","text":"TemporaryFile(/tmp/multipartBody7498614777038142481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086633980,"filename":"image_28012025_12_44_47_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6a926ac74371a1f2ac6fb11d13125262.jpg","text":"TemporaryFile(/tmp/multipartBody3085465989970057109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086633980,"filename":"image_28012025_12_44_17_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332368315","file1":"1332368306","file0":"1332368302","file4":"1332368339","file5":"1332368359","file3":"1332368335"},"map_files_photo_id_array":[{"photo_id":"1332368359","filename":"file5"},{"photo_id":"1332368315","filename":"file2"},{"photo_id":"1332368339","filename":"file4"},{"photo_id":"1332368306","filename":"file1"},{"photo_id":"1332368302","filename":"file0"},{"photo_id":"1332368335","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332368339":["hashtag1","hashtag2"]},{"1332368315":["hashtag1","hashtag2"]},{"1332368306":["hashtag1","hashtag2"]},{"1332368359":["hashtag1","hashtag2"]},{"1332368335":["hashtag1","hashtag2"]},{"1332368302":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332368339, 1332368315, 1332368306, 1332368359, 1332368335, 1332368302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29954695701599 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:50:32.340905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/45/image_28012025_12_45_27_10405.jpg', '/home/pi/Desktop/images/28012025/12/45/image_28012025_12_45_37_10340.jpg', '/home/pi/Desktop/images/28012025/12/45/image_28012025_12_45_46_9375.jpg', '/home/pi/Desktop/images/28012025/12/45/image_28012025_12_46_07_10456.jpg', '/home/pi/Desktop/images/28012025/12/46/image_28012025_12_46_17_9333.jpg', '/home/pi/Desktop/images/28012025/12/46/image_28012025_12_46_27_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/45/image_28012025_12_45_27_10405.jpg
/home/pi/Desktop/images/28012025/12/45/image_28012025_12_45_37_10340.jpg
/home/pi/Desktop/images/28012025/12/45/image_28012025_12_45_46_9375.jpg
/home/pi/Desktop/images/28012025/12/45/image_28012025_12_46_07_10456.jpg
/home/pi/Desktop/images/28012025/12/46/image_28012025_12_46_17_9333.jpg
/home/pi/Desktop/images/28012025/12/46/image_28012025_12_46_27_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":["1332368569","1332368484","1332368401","1332368526","1332368541","1332368378"],"photo_ids_order":["1332368378","1332368401","1332368484","1332368526","1332368541","1332368569"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5007521bc966e7a986bbcffbcc7b4733.jpg","text":"TemporaryFile(/tmp/multipartBody9146397982562730336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086693304,"filename":"image_28012025_12_46_27_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b25cb84da0d90e478e78875e946c0475.jpg","text":"TemporaryFile(/tmp/multipartBody2448303477931865244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086693304,"filename":"image_28012025_12_45_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/1/28/70d22f910a79c5b37a42804e9eb9c8d5.jpg","text":"TemporaryFile(/tmp/multipartBody1233387059305959442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086693304,"filename":"image_28012025_12_45_37_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c4717bcca1b6a9460534f490f587df3a.jpg","text":"TemporaryFile(/tmp/multipartBody6660560584480902796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086693304,"filename":"image_28012025_12_46_07_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/43e7bdb94f4a006e6c9e774cab92015a.jpg","text":"TemporaryFile(/tmp/multipartBody1190643909953619694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086693304,"filename":"image_28012025_12_46_17_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a7e30b05d42f043de4dba6eaac1b5d36.jpg","text":"TemporaryFile(/tmp/multipartBody6270081746794452275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086693304,"filename":"image_28012025_12_45_27_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332368484","file1":"1332368401","file0":"1332368378","file4":"1332368541","file5":"1332368569","file3":"1332368526"},"map_files_photo_id_array":[{"photo_id":"1332368569","filename":"file5"},{"photo_id":"1332368484","filename":"file2"},{"photo_id":"1332368541","filename":"file4"},{"photo_id":"1332368401","filename":"file1"},{"photo_id":"1332368378","filename":"file0"},{"photo_id":"1332368526","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332368569":["hashtag1","hashtag2"]},{"1332368484":["hashtag1","hashtag2"]},{"1332368401":["hashtag1","hashtag2"]},{"1332368526":["hashtag1","hashtag2"]},{"1332368541":["hashtag1","hashtag2"]},{"1332368378":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332368569, 1332368484, 1332368401, 1332368526, 1332368541, 1332368378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.54208827018738 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:51:32.553535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/46/image_28012025_12_46_36_9333.jpg', '/home/pi/Desktop/images/28012025/12/46/image_28012025_12_46_47_10392.jpg', '/home/pi/Desktop/images/28012025/12/47/image_28012025_12_47_17_10333.jpg', '/home/pi/Desktop/images/28012025/12/47/image_28012025_12_47_27_10345.jpg', '/home/pi/Desktop/images/28012025/12/47/image_28012025_12_47_36_9429.jpg', '/home/pi/Desktop/images/28012025/12/47/image_28012025_12_47_56_9398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/46/image_28012025_12_46_36_9333.jpg
/home/pi/Desktop/images/28012025/12/46/image_28012025_12_46_47_10392.jpg
/home/pi/Desktop/images/28012025/12/47/image_28012025_12_47_17_10333.jpg
/home/pi/Desktop/images/28012025/12/47/image_28012025_12_47_27_10345.jpg
/home/pi/Desktop/images/28012025/12/47/image_28012025_12_47_36_9429.jpg
/home/pi/Desktop/images/28012025/12/47/image_28012025_12_47_56_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":["1332368663","1332368671","1332368668","1332368656","1332368673","1332368660"],"photo_ids_order":["1332368656","1332368660","1332368663","1332368668","1332368671","1332368673"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2cd10fde65434414325ba1dd3a412dae.jpg","text":"TemporaryFile(/tmp/multipartBody7420760569315275589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086753513,"filename":"image_28012025_12_47_17_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/daecf55917d04c4e6e83cef01c6be3e9.jpg","text":"TemporaryFile(/tmp/multipartBody4728434156735496648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086753513,"filename":"image_28012025_12_47_36_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7be3fe5bc742859c581b0d8eb6788b15.jpg","text":"TemporaryFile(/tmp/multipartBody1573758942491493546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086753513,"filename":"image_28012025_12_47_27_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0754e932c9c52b1995265c58fc6d866a.jpg","text":"TemporaryFile(/tmp/multipartBody4959752360043137909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086753513,"filename":"image_28012025_12_46_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/1/28/e47435f48e3fc131693f74ba709fc439.jpg","text":"TemporaryFile(/tmp/multipartBody6782690978478883730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086753513,"filename":"image_28012025_12_47_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/1/28/dcabb1af273e04bf82d505554168d7ca.jpg","text":"TemporaryFile(/tmp/multipartBody8367641040162828563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086753513,"filename":"image_28012025_12_46_47_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332368663","file1":"1332368660","file0":"1332368656","file4":"1332368671","file5":"1332368673","file3":"1332368668"},"map_files_photo_id_array":[{"photo_id":"1332368673","filename":"file5"},{"photo_id":"1332368663","filename":"file2"},{"photo_id":"1332368671","filename":"file4"},{"photo_id":"1332368660","filename":"file1"},{"photo_id":"1332368656","filename":"file0"},{"photo_id":"1332368668","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332368663":["hashtag1","hashtag2"]},{"1332368671":["hashtag1","hashtag2"]},{"1332368668":["hashtag1","hashtag2"]},{"1332368656":["hashtag1","hashtag2"]},{"1332368673":["hashtag1","hashtag2"]},{"1332368660":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332368663, 1332368671, 1332368668, 1332368656, 1332368673, 1332368660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.516581535339355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:52:32.803394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/48/image_28012025_12_48_17_10322.jpg', '/home/pi/Desktop/images/28012025/12/48/image_28012025_12_48_56_9407.jpg', '/home/pi/Desktop/images/28012025/12/48/image_28012025_12_49_07_10345.jpg', '/home/pi/Desktop/images/28012025/12/49/image_28012025_12_49_17_10392.jpg', '/home/pi/Desktop/images/28012025/12/49/image_28012025_12_49_27_9444.jpg', '/home/pi/Desktop/images/28012025/12/49/image_28012025_12_49_37_10414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/48/image_28012025_12_48_17_10322.jpg
/home/pi/Desktop/images/28012025/12/48/image_28012025_12_48_56_9407.jpg
/home/pi/Desktop/images/28012025/12/48/image_28012025_12_49_07_10345.jpg
/home/pi/Desktop/images/28012025/12/49/image_28012025_12_49_17_10392.jpg
/home/pi/Desktop/images/28012025/12/49/image_28012025_12_49_27_9444.jpg
/home/pi/Desktop/images/28012025/12/49/image_28012025_12_49_37_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":["1332368705","1332368974","1332368722","1332368725","1332368733","1332368913"],"photo_ids_order":["1332368705","1332368722","1332368725","1332368733","1332368913","1332368974"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/12c23cbd8e376f1f2804ca753e6d627a.jpg","text":"TemporaryFile(/tmp/multipartBody7142266009065487243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086813777,"filename":"image_28012025_12_48_17_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/553d82a5c7c75d49865e5c95fb9ac60c.jpg","text":"TemporaryFile(/tmp/multipartBody8456093635083978453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086813777,"filename":"image_28012025_12_49_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/1/28/08757421a851ea54c0393be30eb72572.jpg","text":"TemporaryFile(/tmp/multipartBody2553747762773906659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086813777,"filename":"image_28012025_12_48_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/1/28/a8597c3d059a7029c252d6a92acff483.jpg","text":"TemporaryFile(/tmp/multipartBody8890444542499100812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086813777,"filename":"image_28012025_12_49_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/1/28/356a4e47338f7f1b1416d2222b8ec5be.jpg","text":"TemporaryFile(/tmp/multipartBody6619739030446848189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086813777,"filename":"image_28012025_12_49_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/1/28/07043db778d20c02a6dcefbd0501d4ff.jpg","text":"TemporaryFile(/tmp/multipartBody62892833736142764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086813777,"filename":"image_28012025_12_49_27_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332368725","file1":"1332368722","file0":"1332368705","file4":"1332368913","file5":"1332368974","file3":"1332368733"},"map_files_photo_id_array":[{"photo_id":"1332368974","filename":"file5"},{"photo_id":"1332368725","filename":"file2"},{"photo_id":"1332368913","filename":"file4"},{"photo_id":"1332368722","filename":"file1"},{"photo_id":"1332368705","filename":"file0"},{"photo_id":"1332368733","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332368705":["hashtag1","hashtag2"]},{"1332368974":["hashtag1","hashtag2"]},{"1332368722":["hashtag1","hashtag2"]},{"1332368725":["hashtag1","hashtag2"]},{"1332368733":["hashtag1","hashtag2"]},{"1332368913":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332368705, 1332368974, 1332368722, 1332368725, 1332368733, 1332368913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.57659363746643 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:53:33.143554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/49/image_28012025_12_49_46_9411.jpg', '/home/pi/Desktop/images/28012025/12/50/image_28012025_12_50_17_10351.jpg', '/home/pi/Desktop/images/28012025/12/50/image_28012025_12_50_27_10343.jpg', '/home/pi/Desktop/images/28012025/12/50/image_28012025_12_50_36_9342.jpg', '/home/pi/Desktop/images/28012025/12/50/image_28012025_12_50_47_10410.jpg', '/home/pi/Desktop/images/28012025/12/50/image_28012025_12_50_57_10325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/49/image_28012025_12_49_46_9411.jpg
/home/pi/Desktop/images/28012025/12/50/image_28012025_12_50_17_10351.jpg
/home/pi/Desktop/images/28012025/12/50/image_28012025_12_50_27_10343.jpg
/home/pi/Desktop/images/28012025/12/50/image_28012025_12_50_36_9342.jpg
/home/pi/Desktop/images/28012025/12/50/image_28012025_12_50_47_10410.jpg
/home/pi/Desktop/images/28012025/12/50/image_28012025_12_50_57_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":["1332369055","1332369099","1332369081","1332369102","1332369095","1332369086"],"photo_ids_order":["1332369055","1332369081","1332369086","1332369095","1332369099","1332369102"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ee838024930b34b61dfc316e6d9c100d.jpg","text":"TemporaryFile(/tmp/multipartBody2509501267106254994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086874119,"filename":"image_28012025_12_49_46_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/628cbeed4a1fe1858a7069b338e8e60b.jpg","text":"TemporaryFile(/tmp/multipartBody3142027380750028122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086874119,"filename":"image_28012025_12_50_47_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cb6e62e9adb0a4240dc235fdab6b1b9d.jpg","text":"TemporaryFile(/tmp/multipartBody7852936921909233916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086874119,"filename":"image_28012025_12_50_17_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3e638ef4be7d98c82ae27df21e964550.jpg","text":"TemporaryFile(/tmp/multipartBody8290284752094928410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086874119,"filename":"image_28012025_12_50_57_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c80e2b756ad4e84e30a8a66ae1e4ea30.jpg","text":"TemporaryFile(/tmp/multipartBody3101141589325896732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086874119,"filename":"image_28012025_12_50_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/1/28/b5288a66e55cfd62b0b1888c8d2c0721.jpg","text":"TemporaryFile(/tmp/multipartBody2312339960039427902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086874119,"filename":"image_28012025_12_50_27_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332369086","file1":"1332369081","file0":"1332369055","file4":"1332369099","file5":"1332369102","file3":"1332369095"},"map_files_photo_id_array":[{"photo_id":"1332369102","filename":"file5"},{"photo_id":"1332369086","filename":"file2"},{"photo_id":"1332369099","filename":"file4"},{"photo_id":"1332369081","filename":"file1"},{"photo_id":"1332369055","filename":"file0"},{"photo_id":"1332369095","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332369055":["hashtag1","hashtag2"]},{"1332369099":["hashtag1","hashtag2"]},{"1332369081":["hashtag1","hashtag2"]},{"1332369102":["hashtag1","hashtag2"]},{"1332369095":["hashtag1","hashtag2"]},{"1332369086":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332369055, 1332369099, 1332369081, 1332369102, 1332369095, 1332369086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.542088747024536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:54:32.300915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/50/image_28012025_12_51_06_9364.jpg', '/home/pi/Desktop/images/28012025/12/51/image_28012025_12_51_17_10338.jpg', '/home/pi/Desktop/images/28012025/12/51/image_28012025_12_51_27_10402.jpg', '/home/pi/Desktop/images/28012025/12/51/image_28012025_12_51_37_9355.jpg', '/home/pi/Desktop/images/28012025/12/51/image_28012025_12_51_47_10346.jpg', '/home/pi/Desktop/images/28012025/12/52/image_28012025_12_52_17_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/50/image_28012025_12_51_06_9364.jpg
/home/pi/Desktop/images/28012025/12/51/image_28012025_12_51_17_10338.jpg
/home/pi/Desktop/images/28012025/12/51/image_28012025_12_51_27_10402.jpg
/home/pi/Desktop/images/28012025/12/51/image_28012025_12_51_37_9355.jpg
/home/pi/Desktop/images/28012025/12/51/image_28012025_12_51_47_10346.jpg
/home/pi/Desktop/images/28012025/12/52/image_28012025_12_52_17_10328.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5745327472686768 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 18:54:42.280266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/50/image_28012025_12_51_06_9364.jpg', '/home/pi/Desktop/images/28012025/12/51/image_28012025_12_51_17_10338.jpg', '/home/pi/Desktop/images/28012025/12/51/image_28012025_12_51_27_10402.jpg', '/home/pi/Desktop/images/28012025/12/51/image_28012025_12_51_37_9355.jpg', '/home/pi/Desktop/images/28012025/12/51/image_28012025_12_51_47_10346.jpg', '/home/pi/Desktop/images/28012025/12/52/image_28012025_12_52_17_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/50/image_28012025_12_51_06_9364.jpg
/home/pi/Desktop/images/28012025/12/51/image_28012025_12_51_17_10338.jpg
/home/pi/Desktop/images/28012025/12/51/image_28012025_12_51_27_10402.jpg
/home/pi/Desktop/images/28012025/12/51/image_28012025_12_51_37_9355.jpg
/home/pi/Desktop/images/28012025/12/51/image_28012025_12_51_47_10346.jpg
/home/pi/Desktop/images/28012025/12/52/image_28012025_12_52_17_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332369413","1332369407","1332369412","1332369378","1332369240","1332369389"],"photo_ids_order":["1332369240","1332369378","1332369389","1332369407","1332369412","1332369413"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/332edfb95437e7920c5338a111322c21.jpg","text":"TemporaryFile(/tmp/multipartBody6241319921004164868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086943178,"filename":"image_28012025_12_52_17_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a6c563020caa23416831250d57820458.jpg","text":"TemporaryFile(/tmp/multipartBody999890782714191725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086943178,"filename":"image_28012025_12_51_37_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cf31d8e37a75e82f4c9d8b40381af7e2.jpg","text":"TemporaryFile(/tmp/multipartBody2131735478842694071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086943178,"filename":"image_28012025_12_51_47_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6ad1362eee13fd4eb73a2a36dc9d91e1.jpg","text":"TemporaryFile(/tmp/multipartBody5539849051774257177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086943178,"filename":"image_28012025_12_51_17_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5c634026f891d9661b45771ac1968636.jpg","text":"TemporaryFile(/tmp/multipartBody6059617687914560375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086943178,"filename":"image_28012025_12_51_06_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3bff7578699fa45981994bf87f802eca.jpg","text":"TemporaryFile(/tmp/multipartBody790387167120076348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086943178,"filename":"image_28012025_12_51_27_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332369389","file1":"1332369378","file0":"1332369240","file4":"1332369412","file5":"1332369413","file3":"1332369407"},"map_files_photo_id_array":[{"photo_id":"1332369413","filename":"file5"},{"photo_id":"1332369389","filename":"file2"},{"photo_id":"1332369412","filename":"file4"},{"photo_id":"1332369378","filename":"file1"},{"photo_id":"1332369240","filename":"file0"},{"photo_id":"1332369407","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332369413":["hashtag1","hashtag2"]},{"1332369407":["hashtag1","hashtag2"]},{"1332369412":["hashtag1","hashtag2"]},{"1332369378":["hashtag1","hashtag2"]},{"1332369240":["hashtag1","hashtag2"]},{"1332369389":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332369413, 1332369407, 1332369412, 1332369378, 1332369240, 1332369389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.040706157684326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:55:32.470733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/52/image_28012025_12_52_26_9345.jpg', '/home/pi/Desktop/images/28012025/12/52/image_28012025_12_52_47_10338.jpg', '/home/pi/Desktop/images/28012025/12/52/image_28012025_12_52_56_9355.jpg', '/home/pi/Desktop/images/28012025/12/53/image_28012025_12_53_47_10443.jpg', '/home/pi/Desktop/images/28012025/12/53/image_28012025_12_53_56_9432.jpg', '/home/pi/Desktop/images/28012025/12/53/image_28012025_12_54_07_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/52/image_28012025_12_52_26_9345.jpg
/home/pi/Desktop/images/28012025/12/52/image_28012025_12_52_47_10338.jpg
/home/pi/Desktop/images/28012025/12/52/image_28012025_12_52_56_9355.jpg
/home/pi/Desktop/images/28012025/12/53/image_28012025_12_53_47_10443.jpg
/home/pi/Desktop/images/28012025/12/53/image_28012025_12_53_56_9432.jpg
/home/pi/Desktop/images/28012025/12/53/image_28012025_12_54_07_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332369463","1332369610","1332369606","1332369578","1332369467","1332369581"],"photo_ids_order":["1332369463","1332369467","1332369578","1332369581","1332369606","1332369610"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3ad019e0edb95928b9e99677e0fbaf5f.jpg","text":"TemporaryFile(/tmp/multipartBody4752567977322404070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086993449,"filename":"image_28012025_12_52_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/1/28/d7949ef99dd7d9aeccadb467d9a6d1bf.jpg","text":"TemporaryFile(/tmp/multipartBody2903840726695140081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086993449,"filename":"image_28012025_12_54_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/1/28/5ed99167349a46b06dda710ab4c803ad.jpg","text":"TemporaryFile(/tmp/multipartBody5911603326523733699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086993449,"filename":"image_28012025_12_53_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/1/28/745deaa72c7fb1f0e9b9c98afc1f322c.jpg","text":"TemporaryFile(/tmp/multipartBody5336480541661785549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086993449,"filename":"image_28012025_12_52_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/1/28/dacd07fb39432565eeb60520599029ed.jpg","text":"TemporaryFile(/tmp/multipartBody3997840023491442987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086993449,"filename":"image_28012025_12_52_47_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ae18121390a5982963172dd44c8c1246.jpg","text":"TemporaryFile(/tmp/multipartBody3597507908494280613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738086993449,"filename":"image_28012025_12_53_47_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332369578","file1":"1332369467","file0":"1332369463","file4":"1332369606","file5":"1332369610","file3":"1332369581"},"map_files_photo_id_array":[{"photo_id":"1332369610","filename":"file5"},{"photo_id":"1332369578","filename":"file2"},{"photo_id":"1332369606","filename":"file4"},{"photo_id":"1332369467","filename":"file1"},{"photo_id":"1332369463","filename":"file0"},{"photo_id":"1332369581","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332369463":["hashtag1","hashtag2"]},{"1332369610":["hashtag1","hashtag2"]},{"1332369606":["hashtag1","hashtag2"]},{"1332369578":["hashtag1","hashtag2"]},{"1332369467":["hashtag1","hashtag2"]},{"1332369581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332369463, 1332369610, 1332369606, 1332369578, 1332369467, 1332369581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95043730735779 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:56:32.679384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/54/image_28012025_12_54_47_10342.jpg', '/home/pi/Desktop/images/28012025/12/54/image_28012025_12_54_56_9351.jpg', '/home/pi/Desktop/images/28012025/12/55/image_28012025_12_55_17_10358.jpg', '/home/pi/Desktop/images/28012025/12/55/image_28012025_12_55_27_9439.jpg', '/home/pi/Desktop/images/28012025/12/55/image_28012025_12_55_37_10344.jpg', '/home/pi/Desktop/images/28012025/12/55/image_28012025_12_55_46_9415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/54/image_28012025_12_54_47_10342.jpg
/home/pi/Desktop/images/28012025/12/54/image_28012025_12_54_56_9351.jpg
/home/pi/Desktop/images/28012025/12/55/image_28012025_12_55_17_10358.jpg
/home/pi/Desktop/images/28012025/12/55/image_28012025_12_55_27_9439.jpg
/home/pi/Desktop/images/28012025/12/55/image_28012025_12_55_37_10344.jpg
/home/pi/Desktop/images/28012025/12/55/image_28012025_12_55_46_9415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332369648","1332369633","1332369641","1332369629","1332369644","1332369638"],"photo_ids_order":["1332369629","1332369633","1332369638","1332369641","1332369644","1332369648"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/366d884c48a84e77f1ca84d6b7826fd8.jpg","text":"TemporaryFile(/tmp/multipartBody8654778781975429756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087053644,"filename":"image_28012025_12_55_46_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4d6fe3df98e6bd6c7e6c91a16b3b9cf4.jpg","text":"TemporaryFile(/tmp/multipartBody905433531348131043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087053644,"filename":"image_28012025_12_54_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/1/28/7cb07277edb64040c7a0fd4a9b1edf1f.jpg","text":"TemporaryFile(/tmp/multipartBody7156843312158051245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087053644,"filename":"image_28012025_12_55_27_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4b24b6775e886c7d018335b8a1d003dd.jpg","text":"TemporaryFile(/tmp/multipartBody3736131973429571211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087053644,"filename":"image_28012025_12_54_47_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/24d2096bfed9307f68451c6524e71195.jpg","text":"TemporaryFile(/tmp/multipartBody3286093602956641675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087053644,"filename":"image_28012025_12_55_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/1/28/8559298f7279f966c946788abaa83632.jpg","text":"TemporaryFile(/tmp/multipartBody642017929365443017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087053644,"filename":"image_28012025_12_55_17_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332369638","file1":"1332369633","file0":"1332369629","file4":"1332369644","file5":"1332369648","file3":"1332369641"},"map_files_photo_id_array":[{"photo_id":"1332369648","filename":"file5"},{"photo_id":"1332369638","filename":"file2"},{"photo_id":"1332369644","filename":"file4"},{"photo_id":"1332369633","filename":"file1"},{"photo_id":"1332369629","filename":"file0"},{"photo_id":"1332369641","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332369648":["hashtag1","hashtag2"]},{"1332369633":["hashtag1","hashtag2"]},{"1332369641":["hashtag1","hashtag2"]},{"1332369629":["hashtag1","hashtag2"]},{"1332369644":["hashtag1","hashtag2"]},{"1332369638":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332369648, 1332369633, 1332369641, 1332369629, 1332369644, 1332369638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.014501333236694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 18:57:32.897780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/55/image_28012025_12_55_57_10447.jpg', '/home/pi/Desktop/images/28012025/12/55/image_28012025_12_56_07_10354.jpg', '/home/pi/Desktop/images/28012025/12/56/image_28012025_12_56_16_9390.jpg', '/home/pi/Desktop/images/28012025/12/56/image_28012025_12_56_27_10378.jpg', '/home/pi/Desktop/images/28012025/12/56/image_28012025_12_56_36_9441.jpg', '/home/pi/Desktop/images/28012025/12/56/image_28012025_12_56_47_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/55/image_28012025_12_55_57_10447.jpg
/home/pi/Desktop/images/28012025/12/55/image_28012025_12_56_07_10354.jpg
/home/pi/Desktop/images/28012025/12/56/image_28012025_12_56_16_9390.jpg
/home/pi/Desktop/images/28012025/12/56/image_28012025_12_56_27_10378.jpg
/home/pi/Desktop/images/28012025/12/56/image_28012025_12_56_36_9441.jpg
/home/pi/Desktop/images/28012025/12/56/image_28012025_12_56_47_10348.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 www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 18:59:04.287532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/55/image_28012025_12_55_57_10447.jpg', '/home/pi/Desktop/images/28012025/12/55/image_28012025_12_56_07_10354.jpg', '/home/pi/Desktop/images/28012025/12/56/image_28012025_12_56_16_9390.jpg', '/home/pi/Desktop/images/28012025/12/56/image_28012025_12_56_27_10378.jpg', '/home/pi/Desktop/images/28012025/12/56/image_28012025_12_56_36_9441.jpg', '/home/pi/Desktop/images/28012025/12/56/image_28012025_12_56_47_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/55/image_28012025_12_55_57_10447.jpg
/home/pi/Desktop/images/28012025/12/55/image_28012025_12_56_07_10354.jpg
/home/pi/Desktop/images/28012025/12/56/image_28012025_12_56_16_9390.jpg
/home/pi/Desktop/images/28012025/12/56/image_28012025_12_56_27_10378.jpg
/home/pi/Desktop/images/28012025/12/56/image_28012025_12_56_36_9441.jpg
/home/pi/Desktop/images/28012025/12/56/image_28012025_12_56_47_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332370607","1332370427","1332370444","1332370432","1332370437","1332370496"],"photo_ids_order":["1332370427","1332370432","1332370437","1332370444","1332370496","1332370607"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3030d3dec39309f8b12fbf8f42334719.jpg","text":"TemporaryFile(/tmp/multipartBody2272085513300318440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087205242,"filename":"image_28012025_12_56_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/1/28/9a72567d2015e6811e939b5304548e06.jpg","text":"TemporaryFile(/tmp/multipartBody1355939074269432433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087205242,"filename":"image_28012025_12_55_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/1/28/995e1fe4c0db8f685c41525774d0bfcd.jpg","text":"TemporaryFile(/tmp/multipartBody5281469987228544772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087205242,"filename":"image_28012025_12_56_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/1/28/99f1262f3c5a9a66518051b62c4fb4fa.jpg","text":"TemporaryFile(/tmp/multipartBody4573250769600392041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087205242,"filename":"image_28012025_12_56_07_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4349975005a5eb37695dfcbb37b51c8e.jpg","text":"TemporaryFile(/tmp/multipartBody8064830860913645890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087205242,"filename":"image_28012025_12_56_16_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/96beb6bcac30eb81a5ba1f35cf52ef0e.jpg","text":"TemporaryFile(/tmp/multipartBody3906020931382020522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087205242,"filename":"image_28012025_12_56_36_9441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332370437","file1":"1332370432","file0":"1332370427","file4":"1332370496","file5":"1332370607","file3":"1332370444"},"map_files_photo_id_array":[{"photo_id":"1332370607","filename":"file5"},{"photo_id":"1332370437","filename":"file2"},{"photo_id":"1332370496","filename":"file4"},{"photo_id":"1332370432","filename":"file1"},{"photo_id":"1332370427","filename":"file0"},{"photo_id":"1332370444","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332370607":["hashtag1","hashtag2"]},{"1332370427":["hashtag1","hashtag2"]},{"1332370444":["hashtag1","hashtag2"]},{"1332370432":["hashtag1","hashtag2"]},{"1332370437":["hashtag1","hashtag2"]},{"1332370496":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332370607, 1332370427, 1332370444, 1332370432, 1332370437, 1332370496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.88046097755432 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 18:59:53.007518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/24/image_23012025_23_24_26_9413.jpg', '/home/pi/Desktop/images/23012025/23/24/image_23012025_23_24_36_10347.jpg', '/home/pi/Desktop/images/23012025/23/24/image_23012025_23_24_56_9489.jpg', '/home/pi/Desktop/images/23012025/23/25/image_23012025_23_25_17_10353.jpg', '/home/pi/Desktop/images/23012025/23/25/image_23012025_23_25_26_9357.jpg', '/home/pi/Desktop/images/23012025/23/25/image_23012025_23_25_36_10329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/24/image_23012025_23_24_26_9413.jpg
/home/pi/Desktop/images/23012025/23/24/image_23012025_23_24_36_10347.jpg
/home/pi/Desktop/images/23012025/23/24/image_23012025_23_24_56_9489.jpg
/home/pi/Desktop/images/23012025/23/25/image_23012025_23_25_17_10353.jpg
/home/pi/Desktop/images/23012025/23/25/image_23012025_23_25_26_9357.jpg
/home/pi/Desktop/images/23012025/23/25/image_23012025_23_25_36_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332370631","1332370625","1332370634","1332370628","1332370641","1332370638"],"photo_ids_order":["1332370625","1332370628","1332370631","1332370634","1332370638","1332370641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/98ba660259997378afa1859bcaed2019.jpg","text":"TemporaryFile(/tmp/multipartBody400555468993281615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087255106,"filename":"image_23012025_23_24_56_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4cde81f5c94f7bf0145563a08337b8b4.jpg","text":"TemporaryFile(/tmp/multipartBody8485755305975063081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087255106,"filename":"image_23012025_23_24_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/1/28/e696d0a9c62e84969810105ef6b66ff6.jpg","text":"TemporaryFile(/tmp/multipartBody1569145711134616614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087255106,"filename":"image_23012025_23_25_17_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/386eaaac9a8471b7fb3951cb2ed0ad3c.jpg","text":"TemporaryFile(/tmp/multipartBody6973690240330894185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087255106,"filename":"image_23012025_23_24_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/1/28/1e73fed373c90df1325a8aac0b97ce42.jpg","text":"TemporaryFile(/tmp/multipartBody1023835251106195383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087255106,"filename":"image_23012025_23_25_36_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3abe33f105e459c4bac5415205081fb0.jpg","text":"TemporaryFile(/tmp/multipartBody8335931637193573901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087255106,"filename":"image_23012025_23_25_26_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332370631","file1":"1332370628","file0":"1332370625","file4":"1332370638","file5":"1332370641","file3":"1332370634"},"map_files_photo_id_array":[{"photo_id":"1332370641","filename":"file5"},{"photo_id":"1332370631","filename":"file2"},{"photo_id":"1332370638","filename":"file4"},{"photo_id":"1332370628","filename":"file1"},{"photo_id":"1332370625","filename":"file0"},{"photo_id":"1332370634","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332370631":["hashtag1","hashtag2"]},{"1332370625":["hashtag1","hashtag2"]},{"1332370634":["hashtag1","hashtag2"]},{"1332370628":["hashtag1","hashtag2"]},{"1332370641":["hashtag1","hashtag2"]},{"1332370638":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332370631, 1332370625, 1332370634, 1332370628, 1332370641, 1332370638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.65605020523071 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 19:00:42.254458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/56/image_28012025_12_56_57_10358.jpg', '/home/pi/Desktop/images/28012025/12/56/image_28012025_12_57_06_9425.jpg', '/home/pi/Desktop/images/28012025/12/57/image_28012025_12_57_27_10404.jpg', '/home/pi/Desktop/images/28012025/12/57/image_28012025_12_57_37_9347.jpg', '/home/pi/Desktop/images/28012025/12/57/image_28012025_12_57_47_10363.jpg', '/home/pi/Desktop/images/28012025/12/57/image_28012025_12_57_57_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/56/image_28012025_12_56_57_10358.jpg
/home/pi/Desktop/images/28012025/12/56/image_28012025_12_57_06_9425.jpg
/home/pi/Desktop/images/28012025/12/57/image_28012025_12_57_27_10404.jpg
/home/pi/Desktop/images/28012025/12/57/image_28012025_12_57_37_9347.jpg
/home/pi/Desktop/images/28012025/12/57/image_28012025_12_57_47_10363.jpg
/home/pi/Desktop/images/28012025/12/57/image_28012025_12_57_57_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":["1332370655","1332370671","1332370665","1332370659","1332370668","1332370662"],"photo_ids_order":["1332370655","1332370659","1332370662","1332370665","1332370668","1332370671"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8fc56ea815ac9f4e62553df098dc08c0.jpg","text":"TemporaryFile(/tmp/multipartBody482168487890804618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087303243,"filename":"image_28012025_12_56_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/1/28/10cb8cbd2bc74ba2d9ab12a601716fb1.jpg","text":"TemporaryFile(/tmp/multipartBody5682169704205052815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087303243,"filename":"image_28012025_12_57_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/1/28/abf3dc9e841dbed3d3d15e6f4aad5f20.jpg","text":"TemporaryFile(/tmp/multipartBody3908948923339994940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087303243,"filename":"image_28012025_12_57_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/1/28/80b4a75876a9826c670128dfa799b315.jpg","text":"TemporaryFile(/tmp/multipartBody3927772400277994615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087303243,"filename":"image_28012025_12_57_06_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/04c566c1b410e9616bf75cab1a707fb5.jpg","text":"TemporaryFile(/tmp/multipartBody4504586772361062527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087303243,"filename":"image_28012025_12_57_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/1/28/3c868a1e1b95e46bd496e34091ebeff9.jpg","text":"TemporaryFile(/tmp/multipartBody5928789124573600184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087303243,"filename":"image_28012025_12_57_27_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332370662","file1":"1332370659","file0":"1332370655","file4":"1332370668","file5":"1332370671","file3":"1332370665"},"map_files_photo_id_array":[{"photo_id":"1332370671","filename":"file5"},{"photo_id":"1332370662","filename":"file2"},{"photo_id":"1332370668","filename":"file4"},{"photo_id":"1332370659","filename":"file1"},{"photo_id":"1332370655","filename":"file0"},{"photo_id":"1332370665","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332370655":["hashtag1","hashtag2"]},{"1332370671":["hashtag1","hashtag2"]},{"1332370665":["hashtag1","hashtag2"]},{"1332370659":["hashtag1","hashtag2"]},{"1332370668":["hashtag1","hashtag2"]},{"1332370662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332370655, 1332370671, 1332370665, 1332370659, 1332370668, 1332370662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31599569320679 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:01:32.663800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/57/image_28012025_12_58_07_9339.jpg', '/home/pi/Desktop/images/28012025/12/58/image_28012025_12_58_17_10377.jpg', '/home/pi/Desktop/images/28012025/12/58/image_28012025_12_58_26_9434.jpg', '/home/pi/Desktop/images/28012025/12/58/image_28012025_12_58_37_10422.jpg', '/home/pi/Desktop/images/28012025/12/58/image_28012025_12_58_47_10399.jpg', '/home/pi/Desktop/images/28012025/12/58/image_28012025_12_58_57_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/57/image_28012025_12_58_07_9339.jpg
/home/pi/Desktop/images/28012025/12/58/image_28012025_12_58_17_10377.jpg
/home/pi/Desktop/images/28012025/12/58/image_28012025_12_58_26_9434.jpg
/home/pi/Desktop/images/28012025/12/58/image_28012025_12_58_37_10422.jpg
/home/pi/Desktop/images/28012025/12/58/image_28012025_12_58_47_10399.jpg
/home/pi/Desktop/images/28012025/12/58/image_28012025_12_58_57_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":["1332371674","1332371685","1332371687","1332371681","1332371684","1332371678"],"photo_ids_order":["1332371674","1332371678","1332371681","1332371684","1332371685","1332371687"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ed903a72f97787afb0257f830f55b44b.jpg","text":"TemporaryFile(/tmp/multipartBody406472049162448383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087353648,"filename":"image_28012025_12_58_07_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/658a4efbcef942d2b6d10ac10753dc96.jpg","text":"TemporaryFile(/tmp/multipartBody862383958623769948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087353648,"filename":"image_28012025_12_58_47_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f20029885735369a83282004b76d4bb9.jpg","text":"TemporaryFile(/tmp/multipartBody1758573088337288851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087353648,"filename":"image_28012025_12_58_57_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4741c1f18ca438abdb359a1a28f1a1e4.jpg","text":"TemporaryFile(/tmp/multipartBody2969627766042586177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087353648,"filename":"image_28012025_12_58_26_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/38f937dca4b705faa17a526d6e7931a3.jpg","text":"TemporaryFile(/tmp/multipartBody1256409481198834538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087353648,"filename":"image_28012025_12_58_37_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/81b0cd2726b33dea2b518a1be4b419c3.jpg","text":"TemporaryFile(/tmp/multipartBody8787710484061850483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087353648,"filename":"image_28012025_12_58_17_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332371681","file1":"1332371678","file0":"1332371674","file4":"1332371685","file5":"1332371687","file3":"1332371684"},"map_files_photo_id_array":[{"photo_id":"1332371687","filename":"file5"},{"photo_id":"1332371681","filename":"file2"},{"photo_id":"1332371685","filename":"file4"},{"photo_id":"1332371678","filename":"file1"},{"photo_id":"1332371674","filename":"file0"},{"photo_id":"1332371684","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332371674":["hashtag1","hashtag2"]},{"1332371685":["hashtag1","hashtag2"]},{"1332371687":["hashtag1","hashtag2"]},{"1332371681":["hashtag1","hashtag2"]},{"1332371684":["hashtag1","hashtag2"]},{"1332371678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332371674, 1332371685, 1332371687, 1332371681, 1332371684, 1332371678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9387149810791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:02:32.696926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/12/58/image_28012025_12_59_07_10328.jpg', '/home/pi/Desktop/images/28012025/12/59/image_28012025_12_59_17_10342.jpg', '/home/pi/Desktop/images/28012025/12/59/image_28012025_12_59_27_9383.jpg', '/home/pi/Desktop/images/28012025/12/59/image_28012025_12_59_37_10394.jpg', '/home/pi/Desktop/images/28012025/12/59/image_28012025_12_59_46_9337.jpg', '/home/pi/Desktop/images/28012025/12/59/image_28012025_12_59_57_10384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/12/58/image_28012025_12_59_07_10328.jpg
/home/pi/Desktop/images/28012025/12/59/image_28012025_12_59_17_10342.jpg
/home/pi/Desktop/images/28012025/12/59/image_28012025_12_59_27_9383.jpg
/home/pi/Desktop/images/28012025/12/59/image_28012025_12_59_37_10394.jpg
/home/pi/Desktop/images/28012025/12/59/image_28012025_12_59_46_9337.jpg
/home/pi/Desktop/images/28012025/12/59/image_28012025_12_59_57_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":["1332371746","1332371769","1332371742","1332371766","1332371762","1332371738"],"photo_ids_order":["1332371738","1332371742","1332371746","1332371762","1332371766","1332371769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3cb6d787d784b6cfcde4880cf7ff9e11.jpg","text":"TemporaryFile(/tmp/multipartBody3644042280588386005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087413670,"filename":"image_28012025_12_59_27_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d75db3933fcc7f42a8b690e05abad75b.jpg","text":"TemporaryFile(/tmp/multipartBody2060792185014161095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087413670,"filename":"image_28012025_12_59_57_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9373a4736b7bdbc096531fa12681ad4a.jpg","text":"TemporaryFile(/tmp/multipartBody3092755102086892550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087413670,"filename":"image_28012025_12_59_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/1/28/7efe15b6938210330e15d5ac4907762b.jpg","text":"TemporaryFile(/tmp/multipartBody573340152308725662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087413670,"filename":"image_28012025_12_59_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/1/28/a99c73e94a278008822c77f46f7f9770.jpg","text":"TemporaryFile(/tmp/multipartBody4569862185796154747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087413670,"filename":"image_28012025_12_59_37_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2d2814524df47ce9db534e616c87bfa2.jpg","text":"TemporaryFile(/tmp/multipartBody1980622256981030036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087413670,"filename":"image_28012025_12_59_07_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332371746","file1":"1332371742","file0":"1332371738","file4":"1332371766","file5":"1332371769","file3":"1332371762"},"map_files_photo_id_array":[{"photo_id":"1332371769","filename":"file5"},{"photo_id":"1332371746","filename":"file2"},{"photo_id":"1332371766","filename":"file4"},{"photo_id":"1332371742","filename":"file1"},{"photo_id":"1332371738","filename":"file0"},{"photo_id":"1332371762","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332371746":["hashtag1","hashtag2"]},{"1332371769":["hashtag1","hashtag2"]},{"1332371742":["hashtag1","hashtag2"]},{"1332371766":["hashtag1","hashtag2"]},{"1332371762":["hashtag1","hashtag2"]},{"1332371738":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332371746, 1332371769, 1332371742, 1332371766, 1332371762, 1332371738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.25838279724121 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:03:32.960976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/00/image_28012025_13_00_16_10074.jpg', '/home/pi/Desktop/images/28012025/13/00/image_28012025_13_00_26_10452.jpg', '/home/pi/Desktop/images/28012025/13/00/image_28012025_13_00_37_10344.jpg', '/home/pi/Desktop/images/28012025/13/00/image_28012025_13_00_46_9329.jpg', '/home/pi/Desktop/images/28012025/13/00/image_28012025_13_01_07_10431.jpg', '/home/pi/Desktop/images/28012025/13/01/image_28012025_13_01_16_9429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/00/image_28012025_13_00_16_10074.jpg
/home/pi/Desktop/images/28012025/13/00/image_28012025_13_00_26_10452.jpg
/home/pi/Desktop/images/28012025/13/00/image_28012025_13_00_37_10344.jpg
/home/pi/Desktop/images/28012025/13/00/image_28012025_13_00_46_9329.jpg
/home/pi/Desktop/images/28012025/13/00/image_28012025_13_01_07_10431.jpg
/home/pi/Desktop/images/28012025/13/01/image_28012025_13_01_16_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":["1332372349","1332372301","1332372330","1332372437","1332372367","1332372352"],"photo_ids_order":["1332372301","1332372330","1332372349","1332372352","1332372367","1332372437"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9f2194659438bdf6b015db98c0dcf216.jpg","text":"TemporaryFile(/tmp/multipartBody7862485046967512822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087473942,"filename":"image_28012025_13_00_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/1/28/d35e74d384ceaf11068d579327c1df7a.jpg","text":"TemporaryFile(/tmp/multipartBody2791808835526484400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087473942,"filename":"image_28012025_13_00_16_10074.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b39615bec744d44b7cd2508e7409cd5f.jpg","text":"TemporaryFile(/tmp/multipartBody164480709804082045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087473942,"filename":"image_28012025_13_00_26_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/974d29ddc85bebbdfd7e5f9043c8631b.jpg","text":"TemporaryFile(/tmp/multipartBody1446687632333086846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087473942,"filename":"image_28012025_13_01_16_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a0d59f4d22bf847d776306f098e53253.jpg","text":"TemporaryFile(/tmp/multipartBody1875551499802869060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087473942,"filename":"image_28012025_13_01_07_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0e1a5542adf77f0ea792a116efebc45f.jpg","text":"TemporaryFile(/tmp/multipartBody5478657455371117532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087473942,"filename":"image_28012025_13_00_46_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332372349","file1":"1332372330","file0":"1332372301","file4":"1332372367","file5":"1332372437","file3":"1332372352"},"map_files_photo_id_array":[{"photo_id":"1332372437","filename":"file5"},{"photo_id":"1332372349","filename":"file2"},{"photo_id":"1332372367","filename":"file4"},{"photo_id":"1332372330","filename":"file1"},{"photo_id":"1332372301","filename":"file0"},{"photo_id":"1332372352","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332372349":["hashtag1","hashtag2"]},{"1332372301":["hashtag1","hashtag2"]},{"1332372330":["hashtag1","hashtag2"]},{"1332372437":["hashtag1","hashtag2"]},{"1332372367":["hashtag1","hashtag2"]},{"1332372352":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332372349, 1332372301, 1332372330, 1332372437, 1332372367, 1332372352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.30376410484314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:04:32.220489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/01/image_28012025_13_01_27_10341.jpg', '/home/pi/Desktop/images/28012025/13/01/image_28012025_13_01_36_9401.jpg', '/home/pi/Desktop/images/28012025/13/01/image_28012025_13_01_57_10341.jpg', '/home/pi/Desktop/images/28012025/13/01/image_28012025_13_02_06_9330.jpg', '/home/pi/Desktop/images/28012025/13/02/image_28012025_13_02_16_10442.jpg', '/home/pi/Desktop/images/28012025/13/02/image_28012025_13_02_27_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/01/image_28012025_13_01_27_10341.jpg
/home/pi/Desktop/images/28012025/13/01/image_28012025_13_01_36_9401.jpg
/home/pi/Desktop/images/28012025/13/01/image_28012025_13_01_57_10341.jpg
/home/pi/Desktop/images/28012025/13/01/image_28012025_13_02_06_9330.jpg
/home/pi/Desktop/images/28012025/13/02/image_28012025_13_02_16_10442.jpg
/home/pi/Desktop/images/28012025/13/02/image_28012025_13_02_27_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":["1332373306","1332373314","1332373292","1332373316","1332373301","1332373297"],"photo_ids_order":["1332373292","1332373297","1332373301","1332373306","1332373314","1332373316"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f2e48d2ae9794865105da61b7652cb30.jpg","text":"TemporaryFile(/tmp/multipartBody301515132053110238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087533183,"filename":"image_28012025_13_02_06_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5b2a7363f0d182731da84bb7c55300f2.jpg","text":"TemporaryFile(/tmp/multipartBody3297715501660216088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087533183,"filename":"image_28012025_13_02_16_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4a3708d7147635fb16808f2a7d01a3bb.jpg","text":"TemporaryFile(/tmp/multipartBody8067304267257976842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087533183,"filename":"image_28012025_13_01_27_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1932adcfaf2b6e6a6a2a13defb02ae47.jpg","text":"TemporaryFile(/tmp/multipartBody871382626564446634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087533183,"filename":"image_28012025_13_02_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/1/28/96b10551bdeecf035f23c6bcfaad3b95.jpg","text":"TemporaryFile(/tmp/multipartBody1087732011603387696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087533183,"filename":"image_28012025_13_01_57_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/50c2ec9f8b1eddfc90614dd2c95cff6c.jpg","text":"TemporaryFile(/tmp/multipartBody3225384915076265170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087533183,"filename":"image_28012025_13_01_36_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332373301","file1":"1332373297","file0":"1332373292","file4":"1332373314","file5":"1332373316","file3":"1332373306"},"map_files_photo_id_array":[{"photo_id":"1332373316","filename":"file5"},{"photo_id":"1332373301","filename":"file2"},{"photo_id":"1332373314","filename":"file4"},{"photo_id":"1332373297","filename":"file1"},{"photo_id":"1332373292","filename":"file0"},{"photo_id":"1332373306","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332373306":["hashtag1","hashtag2"]},{"1332373314":["hashtag1","hashtag2"]},{"1332373292":["hashtag1","hashtag2"]},{"1332373316":["hashtag1","hashtag2"]},{"1332373301":["hashtag1","hashtag2"]},{"1332373297":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332373306, 1332373314, 1332373292, 1332373316, 1332373301, 1332373297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12274718284607 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:05:32.455920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/02/image_28012025_13_02_36_9347.jpg', '/home/pi/Desktop/images/28012025/13/02/image_28012025_13_02_47_10348.jpg', '/home/pi/Desktop/images/28012025/13/02/image_28012025_13_02_56_9343.jpg', '/home/pi/Desktop/images/28012025/13/02/image_28012025_13_03_06_10357.jpg', '/home/pi/Desktop/images/28012025/13/03/image_28012025_13_03_17_10407.jpg', '/home/pi/Desktop/images/28012025/13/03/image_28012025_13_03_26_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/02/image_28012025_13_02_36_9347.jpg
/home/pi/Desktop/images/28012025/13/02/image_28012025_13_02_47_10348.jpg
/home/pi/Desktop/images/28012025/13/02/image_28012025_13_02_56_9343.jpg
/home/pi/Desktop/images/28012025/13/02/image_28012025_13_03_06_10357.jpg
/home/pi/Desktop/images/28012025/13/03/image_28012025_13_03_17_10407.jpg
/home/pi/Desktop/images/28012025/13/03/image_28012025_13_03_26_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":["1332373773","1332373680","1332373688","1332373843","1332373738","1332373633"],"photo_ids_order":["1332373633","1332373680","1332373688","1332373738","1332373773","1332373843"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fe368bf6dc4372df748517716f965a7a.jpg","text":"TemporaryFile(/tmp/multipartBody5753125695526017170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087593439,"filename":"image_28012025_13_03_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/1/28/600c57cccc88fc5f24b6ea2f50610674.jpg","text":"TemporaryFile(/tmp/multipartBody1761366988075701262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087593439,"filename":"image_28012025_13_02_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/1/28/041b96afc1bc35f5545f3998e47ab2aa.jpg","text":"TemporaryFile(/tmp/multipartBody4122279893334361401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087593439,"filename":"image_28012025_13_02_56_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/063eddf44012a803be571e30b319b895.jpg","text":"TemporaryFile(/tmp/multipartBody2112996172186520292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087593439,"filename":"image_28012025_13_03_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/1/28/534984601184b87c807af0eab9193564.jpg","text":"TemporaryFile(/tmp/multipartBody2908973030711016606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087593439,"filename":"image_28012025_13_03_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/1/28/c1680024e0580d2b090728a2783c2c39.jpg","text":"TemporaryFile(/tmp/multipartBody2559282792106643532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087593439,"filename":"image_28012025_13_02_36_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332373688","file1":"1332373680","file0":"1332373633","file4":"1332373773","file5":"1332373843","file3":"1332373738"},"map_files_photo_id_array":[{"photo_id":"1332373843","filename":"file5"},{"photo_id":"1332373688","filename":"file2"},{"photo_id":"1332373773","filename":"file4"},{"photo_id":"1332373680","filename":"file1"},{"photo_id":"1332373633","filename":"file0"},{"photo_id":"1332373738","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332373773":["hashtag1","hashtag2"]},{"1332373680":["hashtag1","hashtag2"]},{"1332373688":["hashtag1","hashtag2"]},{"1332373843":["hashtag1","hashtag2"]},{"1332373738":["hashtag1","hashtag2"]},{"1332373633":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332373773, 1332373680, 1332373688, 1332373843, 1332373738, 1332373633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.50647950172424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:06:32.645163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/03/image_28012025_13_03_36_10395.jpg', '/home/pi/Desktop/images/28012025/13/03/image_28012025_13_03_47_10351.jpg', '/home/pi/Desktop/images/28012025/13/03/image_28012025_13_03_56_9432.jpg', '/home/pi/Desktop/images/28012025/13/03/image_28012025_13_04_07_10361.jpg', '/home/pi/Desktop/images/28012025/13/04/image_28012025_13_04_16_9407.jpg', '/home/pi/Desktop/images/28012025/13/04/image_28012025_13_04_26_10442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/03/image_28012025_13_03_36_10395.jpg
/home/pi/Desktop/images/28012025/13/03/image_28012025_13_03_47_10351.jpg
/home/pi/Desktop/images/28012025/13/03/image_28012025_13_03_56_9432.jpg
/home/pi/Desktop/images/28012025/13/03/image_28012025_13_04_07_10361.jpg
/home/pi/Desktop/images/28012025/13/04/image_28012025_13_04_16_9407.jpg
/home/pi/Desktop/images/28012025/13/04/image_28012025_13_04_26_10442.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5792951583862305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 19:06:42.656015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/03/image_28012025_13_03_36_10395.jpg', '/home/pi/Desktop/images/28012025/13/03/image_28012025_13_03_47_10351.jpg', '/home/pi/Desktop/images/28012025/13/03/image_28012025_13_03_56_9432.jpg', '/home/pi/Desktop/images/28012025/13/03/image_28012025_13_04_07_10361.jpg', '/home/pi/Desktop/images/28012025/13/04/image_28012025_13_04_16_9407.jpg', '/home/pi/Desktop/images/28012025/13/04/image_28012025_13_04_26_10442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/03/image_28012025_13_03_36_10395.jpg
/home/pi/Desktop/images/28012025/13/03/image_28012025_13_03_47_10351.jpg
/home/pi/Desktop/images/28012025/13/03/image_28012025_13_03_56_9432.jpg
/home/pi/Desktop/images/28012025/13/03/image_28012025_13_04_07_10361.jpg
/home/pi/Desktop/images/28012025/13/04/image_28012025_13_04_16_9407.jpg
/home/pi/Desktop/images/28012025/13/04/image_28012025_13_04_26_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":["1332374876","1332374884","1332374758","1332374872","1332374889","1332374880"],"photo_ids_order":["1332374758","1332374872","1332374876","1332374880","1332374884","1332374889"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4c0e80622a135239e51f7b0c5f3ec89c.jpg","text":"TemporaryFile(/tmp/multipartBody7647210885778323124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087663562,"filename":"image_28012025_13_03_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/1/28/e4e5948278344ecce76c77d36e3660f2.jpg","text":"TemporaryFile(/tmp/multipartBody1053636255508319930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087663562,"filename":"image_28012025_13_04_16_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c8b3379fe5c0adfb4050f1fc971fd034.jpg","text":"TemporaryFile(/tmp/multipartBody3198994246113744356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087663562,"filename":"image_28012025_13_03_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/1/28/2d0797051bf77f93f76b4fc3fe408df0.jpg","text":"TemporaryFile(/tmp/multipartBody1069477553957543554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087663562,"filename":"image_28012025_13_03_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/1/28/b2dda1e4e4cfd7a371df0181d53c9def.jpg","text":"TemporaryFile(/tmp/multipartBody8102894752801630354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087663562,"filename":"image_28012025_13_04_26_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/00a9988e9539584c8270ab0114dcff2c.jpg","text":"TemporaryFile(/tmp/multipartBody7169838296400659487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087663562,"filename":"image_28012025_13_04_07_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332374876","file1":"1332374872","file0":"1332374758","file4":"1332374884","file5":"1332374889","file3":"1332374880"},"map_files_photo_id_array":[{"photo_id":"1332374889","filename":"file5"},{"photo_id":"1332374876","filename":"file2"},{"photo_id":"1332374884","filename":"file4"},{"photo_id":"1332374872","filename":"file1"},{"photo_id":"1332374758","filename":"file0"},{"photo_id":"1332374880","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332374876":["hashtag1","hashtag2"]},{"1332374884":["hashtag1","hashtag2"]},{"1332374758":["hashtag1","hashtag2"]},{"1332374872":["hashtag1","hashtag2"]},{"1332374889":["hashtag1","hashtag2"]},{"1332374880":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332374876, 1332374884, 1332374758, 1332374872, 1332374889, 1332374880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.816508769989014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:07:32.919677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/04/image_28012025_13_04_37_10395.jpg', '/home/pi/Desktop/images/28012025/13/04/image_28012025_13_04_57_10351.jpg', '/home/pi/Desktop/images/28012025/13/04/image_28012025_13_05_06_9344.jpg', '/home/pi/Desktop/images/28012025/13/05/image_28012025_13_05_16_10396.jpg', '/home/pi/Desktop/images/28012025/13/05/image_28012025_13_05_27_10420.jpg', '/home/pi/Desktop/images/28012025/13/05/image_28012025_13_05_47_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/04/image_28012025_13_04_37_10395.jpg
/home/pi/Desktop/images/28012025/13/04/image_28012025_13_04_57_10351.jpg
/home/pi/Desktop/images/28012025/13/04/image_28012025_13_05_06_9344.jpg
/home/pi/Desktop/images/28012025/13/05/image_28012025_13_05_16_10396.jpg
/home/pi/Desktop/images/28012025/13/05/image_28012025_13_05_27_10420.jpg
/home/pi/Desktop/images/28012025/13/05/image_28012025_13_05_47_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":["1332374931","1332374921","1332374926","1332374911","1332374929","1332374914"],"photo_ids_order":["1332374911","1332374914","1332374921","1332374926","1332374929","1332374931"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6cc36601434688e745a905bee0178ee6.jpg","text":"TemporaryFile(/tmp/multipartBody3744816404260419525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087713879,"filename":"image_28012025_13_05_47_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d141589f0c5c758ee32614f6b1cb561a.jpg","text":"TemporaryFile(/tmp/multipartBody7551357600572070498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087713879,"filename":"image_28012025_13_05_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/1/28/1cf647cc20654ed58ca67d28e372a67b.jpg","text":"TemporaryFile(/tmp/multipartBody2766116017640955544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087713879,"filename":"image_28012025_13_05_16_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ecaf3ff25bf1a1d32115f8282cb0c126.jpg","text":"TemporaryFile(/tmp/multipartBody5375210912084457467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087713879,"filename":"image_28012025_13_04_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/1/28/4afebe9ea80c46679360579074c5aa91.jpg","text":"TemporaryFile(/tmp/multipartBody126900551447994422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087713879,"filename":"image_28012025_13_05_27_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0c6ec0710c7c0940327a41d6e20e7d17.jpg","text":"TemporaryFile(/tmp/multipartBody7444802749910032808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087713879,"filename":"image_28012025_13_04_57_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332374921","file1":"1332374914","file0":"1332374911","file4":"1332374929","file5":"1332374931","file3":"1332374926"},"map_files_photo_id_array":[{"photo_id":"1332374931","filename":"file5"},{"photo_id":"1332374921","filename":"file2"},{"photo_id":"1332374929","filename":"file4"},{"photo_id":"1332374914","filename":"file1"},{"photo_id":"1332374911","filename":"file0"},{"photo_id":"1332374926","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332374931":["hashtag1","hashtag2"]},{"1332374921":["hashtag1","hashtag2"]},{"1332374926":["hashtag1","hashtag2"]},{"1332374911":["hashtag1","hashtag2"]},{"1332374929":["hashtag1","hashtag2"]},{"1332374914":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332374931, 1332374921, 1332374926, 1332374911, 1332374929, 1332374914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64283013343811 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:08:33.254374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/05/image_28012025_13_05_57_10343.jpg', '/home/pi/Desktop/images/28012025/13/05/image_28012025_13_06_06_9380.jpg', '/home/pi/Desktop/images/28012025/13/06/image_28012025_13_06_17_10326.jpg', '/home/pi/Desktop/images/28012025/13/06/image_28012025_13_06_26_9344.jpg', '/home/pi/Desktop/images/28012025/13/06/image_28012025_13_06_36_10336.jpg', '/home/pi/Desktop/images/28012025/13/06/image_28012025_13_06_47_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/05/image_28012025_13_05_57_10343.jpg
/home/pi/Desktop/images/28012025/13/05/image_28012025_13_06_06_9380.jpg
/home/pi/Desktop/images/28012025/13/06/image_28012025_13_06_17_10326.jpg
/home/pi/Desktop/images/28012025/13/06/image_28012025_13_06_26_9344.jpg
/home/pi/Desktop/images/28012025/13/06/image_28012025_13_06_36_10336.jpg
/home/pi/Desktop/images/28012025/13/06/image_28012025_13_06_47_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332375464","1332375466","1332375460","1332375462","1332375450","1332375405"],"photo_ids_order":["1332375405","1332375450","1332375460","1332375462","1332375464","1332375466"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a16cf2fe2a1efb3a4739822becc5f271.jpg","text":"TemporaryFile(/tmp/multipartBody6570195878073320394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087774221,"filename":"image_28012025_13_06_36_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e1d7eb131261170391cddee48c3b96c1.jpg","text":"TemporaryFile(/tmp/multipartBody248649431212782869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087774221,"filename":"image_28012025_13_06_47_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c6d60ca255467a8cbd80596a10384e40.jpg","text":"TemporaryFile(/tmp/multipartBody6421733257611416076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087774221,"filename":"image_28012025_13_06_17_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e447ebe4e680cd818f98c2d54eb42b4e.jpg","text":"TemporaryFile(/tmp/multipartBody4379917089033645481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087774221,"filename":"image_28012025_13_06_26_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fdb7707816ee97862735864f972b2209.jpg","text":"TemporaryFile(/tmp/multipartBody4735866559820606085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087774221,"filename":"image_28012025_13_06_06_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/db4d7d3511d061505e3c4c3495bc65c0.jpg","text":"TemporaryFile(/tmp/multipartBody5493486512769175625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087774221,"filename":"image_28012025_13_05_57_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332375460","file1":"1332375450","file0":"1332375405","file4":"1332375464","file5":"1332375466","file3":"1332375462"},"map_files_photo_id_array":[{"photo_id":"1332375466","filename":"file5"},{"photo_id":"1332375460","filename":"file2"},{"photo_id":"1332375464","filename":"file4"},{"photo_id":"1332375450","filename":"file1"},{"photo_id":"1332375405","filename":"file0"},{"photo_id":"1332375462","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332375464":["hashtag1","hashtag2"]},{"1332375466":["hashtag1","hashtag2"]},{"1332375460":["hashtag1","hashtag2"]},{"1332375462":["hashtag1","hashtag2"]},{"1332375450":["hashtag1","hashtag2"]},{"1332375405":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332375464, 1332375466, 1332375460, 1332375462, 1332375450, 1332375405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.616148233413696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:09:32.416659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/06/image_28012025_13_06_56_9369.jpg', '/home/pi/Desktop/images/28012025/13/06/image_28012025_13_07_06_10405.jpg', '/home/pi/Desktop/images/28012025/13/07/image_28012025_13_07_17_10383.jpg', '/home/pi/Desktop/images/28012025/13/07/image_28012025_13_07_26_9464.jpg', '/home/pi/Desktop/images/28012025/13/07/image_28012025_13_07_37_10433.jpg', '/home/pi/Desktop/images/28012025/13/07/image_28012025_13_08_07_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/06/image_28012025_13_06_56_9369.jpg
/home/pi/Desktop/images/28012025/13/06/image_28012025_13_07_06_10405.jpg
/home/pi/Desktop/images/28012025/13/07/image_28012025_13_07_17_10383.jpg
/home/pi/Desktop/images/28012025/13/07/image_28012025_13_07_26_9464.jpg
/home/pi/Desktop/images/28012025/13/07/image_28012025_13_07_37_10433.jpg
/home/pi/Desktop/images/28012025/13/07/image_28012025_13_08_07_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":["1332375682","1332375661","1332375672","1332375666","1332375669","1332375657"],"photo_ids_order":["1332375657","1332375661","1332375666","1332375669","1332375672","1332375682"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9f9264bd1197d3adc3600e702d2a13e8.jpg","text":"TemporaryFile(/tmp/multipartBody4198029183259695172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087833400,"filename":"image_28012025_13_08_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/1/28/9bba1fb3e3e35211bc478eb79a4a29b2.jpg","text":"TemporaryFile(/tmp/multipartBody6819437099721032907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087833400,"filename":"image_28012025_13_07_06_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6734d2f311316ac67dbd1d976993eccb.jpg","text":"TemporaryFile(/tmp/multipartBody2137307350683478168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087833400,"filename":"image_28012025_13_07_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/1/28/c6a2d302ebe3e086ba1e33f6f830e438.jpg","text":"TemporaryFile(/tmp/multipartBody6395115909588984426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087833400,"filename":"image_28012025_13_07_17_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/049864620a65f3bc866978196eba7b29.jpg","text":"TemporaryFile(/tmp/multipartBody6557451454242276365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087833400,"filename":"image_28012025_13_07_26_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5c1f536281f48589d025d16c85d282ff.jpg","text":"TemporaryFile(/tmp/multipartBody8351396167469212697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087833400,"filename":"image_28012025_13_06_56_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332375666","file1":"1332375661","file0":"1332375657","file4":"1332375672","file5":"1332375682","file3":"1332375669"},"map_files_photo_id_array":[{"photo_id":"1332375682","filename":"file5"},{"photo_id":"1332375666","filename":"file2"},{"photo_id":"1332375672","filename":"file4"},{"photo_id":"1332375661","filename":"file1"},{"photo_id":"1332375657","filename":"file0"},{"photo_id":"1332375669","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332375682":["hashtag1","hashtag2"]},{"1332375661":["hashtag1","hashtag2"]},{"1332375672":["hashtag1","hashtag2"]},{"1332375666":["hashtag1","hashtag2"]},{"1332375669":["hashtag1","hashtag2"]},{"1332375657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332375682, 1332375661, 1332375672, 1332375666, 1332375669, 1332375657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.56744956970215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:10:32.622098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/08/image_28012025_13_08_16_9413.jpg', '/home/pi/Desktop/images/28012025/13/08/image_28012025_13_08_26_10339.jpg', '/home/pi/Desktop/images/28012025/13/08/image_28012025_13_08_37_10336.jpg', '/home/pi/Desktop/images/28012025/13/08/image_28012025_13_08_46_9474.jpg', '/home/pi/Desktop/images/28012025/13/08/image_28012025_13_08_57_10398.jpg', '/home/pi/Desktop/images/28012025/13/08/image_28012025_13_09_06_9457.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/08/image_28012025_13_08_16_9413.jpg
/home/pi/Desktop/images/28012025/13/08/image_28012025_13_08_26_10339.jpg
/home/pi/Desktop/images/28012025/13/08/image_28012025_13_08_37_10336.jpg
/home/pi/Desktop/images/28012025/13/08/image_28012025_13_08_46_9474.jpg
/home/pi/Desktop/images/28012025/13/08/image_28012025_13_08_57_10398.jpg
/home/pi/Desktop/images/28012025/13/08/image_28012025_13_09_06_9457.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5730547904968262 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 19:10:42.747158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/08/image_28012025_13_08_16_9413.jpg', '/home/pi/Desktop/images/28012025/13/08/image_28012025_13_08_26_10339.jpg', '/home/pi/Desktop/images/28012025/13/08/image_28012025_13_08_37_10336.jpg', '/home/pi/Desktop/images/28012025/13/08/image_28012025_13_08_46_9474.jpg', '/home/pi/Desktop/images/28012025/13/08/image_28012025_13_08_57_10398.jpg', '/home/pi/Desktop/images/28012025/13/08/image_28012025_13_09_06_9457.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/08/image_28012025_13_08_16_9413.jpg
/home/pi/Desktop/images/28012025/13/08/image_28012025_13_08_26_10339.jpg
/home/pi/Desktop/images/28012025/13/08/image_28012025_13_08_37_10336.jpg
/home/pi/Desktop/images/28012025/13/08/image_28012025_13_08_46_9474.jpg
/home/pi/Desktop/images/28012025/13/08/image_28012025_13_08_57_10398.jpg
/home/pi/Desktop/images/28012025/13/08/image_28012025_13_09_06_9457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332376693","1332376810","1332376578","1332376950","1332376946","1332376463"],"photo_ids_order":["1332376463","1332376578","1332376693","1332376810","1332376946","1332376950"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cf1ca6c7c858e7a7c91b6cf6fab7cd34.jpg","text":"TemporaryFile(/tmp/multipartBody4882900275894662863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087903633,"filename":"image_28012025_13_08_37_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/200eea7021447b5507b18ed6d4140bfa.jpg","text":"TemporaryFile(/tmp/multipartBody4260443590984549763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087903633,"filename":"image_28012025_13_08_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/1/28/b0f8a99daf002e8cc39d629aa633c601.jpg","text":"TemporaryFile(/tmp/multipartBody8320328065067591371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087903633,"filename":"image_28012025_13_08_26_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/755ed62eba521534df87dc5fdc9e8e57.jpg","text":"TemporaryFile(/tmp/multipartBody7444000506407053822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087903633,"filename":"image_28012025_13_09_06_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2547a6c33e55dd2b8135e4ec548da218.jpg","text":"TemporaryFile(/tmp/multipartBody2395817775644945700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087903633,"filename":"image_28012025_13_08_57_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4a5f4fc5307828d59f80e5f65266c7fb.jpg","text":"TemporaryFile(/tmp/multipartBody193618587407709027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087903633,"filename":"image_28012025_13_08_16_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332376693","file1":"1332376578","file0":"1332376463","file4":"1332376946","file5":"1332376950","file3":"1332376810"},"map_files_photo_id_array":[{"photo_id":"1332376950","filename":"file5"},{"photo_id":"1332376693","filename":"file2"},{"photo_id":"1332376946","filename":"file4"},{"photo_id":"1332376578","filename":"file1"},{"photo_id":"1332376463","filename":"file0"},{"photo_id":"1332376810","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332376693":["hashtag1","hashtag2"]},{"1332376810":["hashtag1","hashtag2"]},{"1332376578":["hashtag1","hashtag2"]},{"1332376950":["hashtag1","hashtag2"]},{"1332376946":["hashtag1","hashtag2"]},{"1332376463":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332376693, 1332376810, 1332376578, 1332376950, 1332376946, 1332376463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44991946220398 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:11:32.822248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/09/image_28012025_13_09_17_10400.jpg', '/home/pi/Desktop/images/28012025/13/09/image_28012025_13_09_26_9363.jpg', '/home/pi/Desktop/images/28012025/13/09/image_28012025_13_09_36_10442.jpg', '/home/pi/Desktop/images/28012025/13/09/image_28012025_13_09_47_10359.jpg', '/home/pi/Desktop/images/28012025/13/09/image_28012025_13_09_56_9341.jpg', '/home/pi/Desktop/images/28012025/13/10/image_28012025_13_10_26_9470.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/09/image_28012025_13_09_17_10400.jpg
/home/pi/Desktop/images/28012025/13/09/image_28012025_13_09_26_9363.jpg
/home/pi/Desktop/images/28012025/13/09/image_28012025_13_09_36_10442.jpg
/home/pi/Desktop/images/28012025/13/09/image_28012025_13_09_47_10359.jpg
/home/pi/Desktop/images/28012025/13/09/image_28012025_13_09_56_9341.jpg
/home/pi/Desktop/images/28012025/13/10/image_28012025_13_10_26_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":["1332376978","1332376969","1332376962","1332376965","1332376973","1332376976"],"photo_ids_order":["1332376962","1332376965","1332376969","1332376973","1332376976","1332376978"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3ebdf4359656ed56460f1d7d1c885d72.jpg","text":"TemporaryFile(/tmp/multipartBody7005144367958433178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087953815,"filename":"image_28012025_13_10_26_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5119c483d54d7ef1658e3b00a82c7480.jpg","text":"TemporaryFile(/tmp/multipartBody2339224110002880086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087953815,"filename":"image_28012025_13_09_36_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bb6106a1a091077804ae71146ce9c0d6.jpg","text":"TemporaryFile(/tmp/multipartBody1141596868737128825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087953815,"filename":"image_28012025_13_09_17_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/550915f6d2c911df82bfa01ad18a249c.jpg","text":"TemporaryFile(/tmp/multipartBody3805507105676813067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087953815,"filename":"image_28012025_13_09_26_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/342a13abb3588847088e7be0a78fb138.jpg","text":"TemporaryFile(/tmp/multipartBody3534981760396772713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087953815,"filename":"image_28012025_13_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/1/28/e85b5180d277f51f4b89ba42eb03dbb9.jpg","text":"TemporaryFile(/tmp/multipartBody1657026564211714231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738087953815,"filename":"image_28012025_13_09_56_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332376969","file1":"1332376965","file0":"1332376962","file4":"1332376976","file5":"1332376978","file3":"1332376973"},"map_files_photo_id_array":[{"photo_id":"1332376978","filename":"file5"},{"photo_id":"1332376969","filename":"file2"},{"photo_id":"1332376976","filename":"file4"},{"photo_id":"1332376965","filename":"file1"},{"photo_id":"1332376962","filename":"file0"},{"photo_id":"1332376973","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332376978":["hashtag1","hashtag2"]},{"1332376969":["hashtag1","hashtag2"]},{"1332376962":["hashtag1","hashtag2"]},{"1332376965":["hashtag1","hashtag2"]},{"1332376973":["hashtag1","hashtag2"]},{"1332376976":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332376978, 1332376969, 1332376962, 1332376965, 1332376973, 1332376976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54248046875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:12:33.199445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/10/image_28012025_13_10_37_10438.jpg', '/home/pi/Desktop/images/28012025/13/10/image_28012025_13_10_46_9454.jpg', '/home/pi/Desktop/images/28012025/13/10/image_28012025_13_10_57_10337.jpg', '/home/pi/Desktop/images/28012025/13/10/image_28012025_13_11_06_9349.jpg', '/home/pi/Desktop/images/28012025/13/11/image_28012025_13_11_16_10435.jpg', '/home/pi/Desktop/images/28012025/13/11/image_28012025_13_11_27_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/10/image_28012025_13_10_37_10438.jpg
/home/pi/Desktop/images/28012025/13/10/image_28012025_13_10_46_9454.jpg
/home/pi/Desktop/images/28012025/13/10/image_28012025_13_10_57_10337.jpg
/home/pi/Desktop/images/28012025/13/10/image_28012025_13_11_06_9349.jpg
/home/pi/Desktop/images/28012025/13/11/image_28012025_13_11_16_10435.jpg
/home/pi/Desktop/images/28012025/13/11/image_28012025_13_11_27_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":["1332377365","1332377463","1332377466","1332377375","1332377369","1332377459"],"photo_ids_order":["1332377365","1332377369","1332377375","1332377459","1332377463","1332377466"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d5891ff8c5ba2f970b755c79d92cd7ab.jpg","text":"TemporaryFile(/tmp/multipartBody1862048212853079265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088014191,"filename":"image_28012025_13_10_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/1/28/21a31b6008c0196e163d4f512ef90f57.jpg","text":"TemporaryFile(/tmp/multipartBody450621823168213796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088014191,"filename":"image_28012025_13_11_16_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6ffaa0774db81944cff945d666973b4f.jpg","text":"TemporaryFile(/tmp/multipartBody7393310849228996151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088014191,"filename":"image_28012025_13_11_27_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8b3b56ca9a97c448cd205264013d1113.jpg","text":"TemporaryFile(/tmp/multipartBody8463607888073788339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088014191,"filename":"image_28012025_13_10_57_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6fab75e4f5089633d1e9f17d262e437d.jpg","text":"TemporaryFile(/tmp/multipartBody2271049852877764806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088014191,"filename":"image_28012025_13_10_46_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/20def9f3b5d2fc4198be3e6a146223c7.jpg","text":"TemporaryFile(/tmp/multipartBody8343756875452799332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088014191,"filename":"image_28012025_13_11_06_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332377375","file1":"1332377369","file0":"1332377365","file4":"1332377463","file5":"1332377466","file3":"1332377459"},"map_files_photo_id_array":[{"photo_id":"1332377466","filename":"file5"},{"photo_id":"1332377375","filename":"file2"},{"photo_id":"1332377463","filename":"file4"},{"photo_id":"1332377369","filename":"file1"},{"photo_id":"1332377365","filename":"file0"},{"photo_id":"1332377459","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332377365":["hashtag1","hashtag2"]},{"1332377463":["hashtag1","hashtag2"]},{"1332377466":["hashtag1","hashtag2"]},{"1332377375":["hashtag1","hashtag2"]},{"1332377369":["hashtag1","hashtag2"]},{"1332377459":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332377365, 1332377463, 1332377466, 1332377375, 1332377369, 1332377459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.20949983596802 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:13:32.302117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/11/image_28012025_13_11_36_9339.jpg', '/home/pi/Desktop/images/28012025/13/11/image_28012025_13_11_46_10437.jpg', '/home/pi/Desktop/images/28012025/13/11/image_28012025_13_11_57_10337.jpg', '/home/pi/Desktop/images/28012025/13/11/image_28012025_13_12_06_9453.jpg', '/home/pi/Desktop/images/28012025/13/12/image_28012025_13_12_17_10432.jpg', '/home/pi/Desktop/images/28012025/13/12/image_28012025_13_12_26_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/11/image_28012025_13_11_36_9339.jpg
/home/pi/Desktop/images/28012025/13/11/image_28012025_13_11_46_10437.jpg
/home/pi/Desktop/images/28012025/13/11/image_28012025_13_11_57_10337.jpg
/home/pi/Desktop/images/28012025/13/11/image_28012025_13_12_06_9453.jpg
/home/pi/Desktop/images/28012025/13/12/image_28012025_13_12_17_10432.jpg
/home/pi/Desktop/images/28012025/13/12/image_28012025_13_12_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":["1332377790","1332377617","1332377503","1332377803","1332377506","1332377753"],"photo_ids_order":["1332377503","1332377506","1332377617","1332377753","1332377790","1332377803"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4b9f18015c30709320945eebf8ababdb.jpg","text":"TemporaryFile(/tmp/multipartBody5663590320047039059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088073264,"filename":"image_28012025_13_12_17_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0b2c42573ee411fbfac524544b1fcb07.jpg","text":"TemporaryFile(/tmp/multipartBody6177074439989243393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088073264,"filename":"image_28012025_13_11_57_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5856a134f908c936dd725e37c9328d8b.jpg","text":"TemporaryFile(/tmp/multipartBody2037907374955958157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088073264,"filename":"image_28012025_13_11_36_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1966b095a6e2b2f0c393a2487a2fc519.jpg","text":"TemporaryFile(/tmp/multipartBody653675559285581945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088073264,"filename":"image_28012025_13_12_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/1/28/b031e24f457ec677937616ece42d3280.jpg","text":"TemporaryFile(/tmp/multipartBody3318839234381189027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088073264,"filename":"image_28012025_13_11_46_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7625beaefeee7e7e308fb5d759685676.jpg","text":"TemporaryFile(/tmp/multipartBody4409829523345750916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088073264,"filename":"image_28012025_13_12_06_9453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332377617","file1":"1332377506","file0":"1332377503","file4":"1332377790","file5":"1332377803","file3":"1332377753"},"map_files_photo_id_array":[{"photo_id":"1332377803","filename":"file5"},{"photo_id":"1332377617","filename":"file2"},{"photo_id":"1332377790","filename":"file4"},{"photo_id":"1332377506","filename":"file1"},{"photo_id":"1332377503","filename":"file0"},{"photo_id":"1332377753","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332377790":["hashtag1","hashtag2"]},{"1332377617":["hashtag1","hashtag2"]},{"1332377503":["hashtag1","hashtag2"]},{"1332377803":["hashtag1","hashtag2"]},{"1332377506":["hashtag1","hashtag2"]},{"1332377753":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332377790, 1332377617, 1332377503, 1332377803, 1332377506, 1332377753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.91012191772461 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:14:32.617995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/12/image_28012025_13_12_36_10347.jpg', '/home/pi/Desktop/images/28012025/13/12/image_28012025_13_12_47_10362.jpg', '/home/pi/Desktop/images/28012025/13/12/image_28012025_13_12_56_9452.jpg', '/home/pi/Desktop/images/28012025/13/12/image_28012025_13_13_07_10351.jpg', '/home/pi/Desktop/images/28012025/13/13/image_28012025_13_13_16_9309.jpg', '/home/pi/Desktop/images/28012025/13/13/image_28012025_13_13_26_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/12/image_28012025_13_12_36_10347.jpg
/home/pi/Desktop/images/28012025/13/12/image_28012025_13_12_47_10362.jpg
/home/pi/Desktop/images/28012025/13/12/image_28012025_13_12_56_9452.jpg
/home/pi/Desktop/images/28012025/13/12/image_28012025_13_13_07_10351.jpg
/home/pi/Desktop/images/28012025/13/13/image_28012025_13_13_16_9309.jpg
/home/pi/Desktop/images/28012025/13/13/image_28012025_13_13_26_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":["1332377881","1332377892","1332377876","1332377890","1332377887","1332377872"],"photo_ids_order":["1332377872","1332377876","1332377881","1332377887","1332377890","1332377892"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1bf25b08ad4aedca03ca94e1a205ed40.jpg","text":"TemporaryFile(/tmp/multipartBody8201644184481273001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088133569,"filename":"image_28012025_13_12_56_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e6d36d93cff356bf66c9ff839ac22fc9.jpg","text":"TemporaryFile(/tmp/multipartBody2695072950369905273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088133569,"filename":"image_28012025_13_13_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/1/28/6b6e76c93ccd17d470ce38082e85af3e.jpg","text":"TemporaryFile(/tmp/multipartBody4754228680280433537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088133569,"filename":"image_28012025_13_12_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/1/28/182d8c857a6b4d32d34111efd10a978d.jpg","text":"TemporaryFile(/tmp/multipartBody4166785604523899414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088133569,"filename":"image_28012025_13_13_16_9309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b7ec722bea7c758426ce4fbae20ae039.jpg","text":"TemporaryFile(/tmp/multipartBody3557559394109180138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088133569,"filename":"image_28012025_13_13_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/1/28/1c8f504c5e10d4c5b2f5cf626acc0a03.jpg","text":"TemporaryFile(/tmp/multipartBody2750284895509044914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088133569,"filename":"image_28012025_13_12_36_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332377881","file1":"1332377876","file0":"1332377872","file4":"1332377890","file5":"1332377892","file3":"1332377887"},"map_files_photo_id_array":[{"photo_id":"1332377892","filename":"file5"},{"photo_id":"1332377881","filename":"file2"},{"photo_id":"1332377890","filename":"file4"},{"photo_id":"1332377876","filename":"file1"},{"photo_id":"1332377872","filename":"file0"},{"photo_id":"1332377887","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332377881":["hashtag1","hashtag2"]},{"1332377892":["hashtag1","hashtag2"]},{"1332377876":["hashtag1","hashtag2"]},{"1332377890":["hashtag1","hashtag2"]},{"1332377887":["hashtag1","hashtag2"]},{"1332377872":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332377881, 1332377892, 1332377876, 1332377890, 1332377887, 1332377872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.336047649383545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:15:32.781732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/13/image_28012025_13_13_37_10342.jpg', '/home/pi/Desktop/images/28012025/13/13/image_28012025_13_13_46_9347.jpg', '/home/pi/Desktop/images/28012025/13/13/image_28012025_13_13_56_10387.jpg', '/home/pi/Desktop/images/28012025/13/13/image_28012025_13_14_07_10339.jpg', '/home/pi/Desktop/images/28012025/13/14/image_28012025_13_14_16_9360.jpg', '/home/pi/Desktop/images/28012025/13/14/image_28012025_13_14_26_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/13/image_28012025_13_13_37_10342.jpg
/home/pi/Desktop/images/28012025/13/13/image_28012025_13_13_46_9347.jpg
/home/pi/Desktop/images/28012025/13/13/image_28012025_13_13_56_10387.jpg
/home/pi/Desktop/images/28012025/13/13/image_28012025_13_14_07_10339.jpg
/home/pi/Desktop/images/28012025/13/14/image_28012025_13_14_16_9360.jpg
/home/pi/Desktop/images/28012025/13/14/image_28012025_13_14_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":["1332377941","1332377911","1332377905","1332377920","1332377916","1332377933"],"photo_ids_order":["1332377905","1332377911","1332377916","1332377920","1332377933","1332377941"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/92d29148616938db98692adefce7c542.jpg","text":"TemporaryFile(/tmp/multipartBody3076777815897422032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088193756,"filename":"image_28012025_13_14_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/1/28/9a1293e0e8d247511a8fa7eaf8b7428b.jpg","text":"TemporaryFile(/tmp/multipartBody5815338695289230320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088193756,"filename":"image_28012025_13_13_46_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e664f4b57b007a79cfcb428585a5c05f.jpg","text":"TemporaryFile(/tmp/multipartBody7038026521966074950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088193756,"filename":"image_28012025_13_13_37_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ba1d301b65b80454debd3868087598f6.jpg","text":"TemporaryFile(/tmp/multipartBody3324209248011587461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088193756,"filename":"image_28012025_13_14_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/1/28/0dbbcdd4faeb827d354a6b0effd77167.jpg","text":"TemporaryFile(/tmp/multipartBody3344813823943011081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088193756,"filename":"image_28012025_13_13_56_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5ac6d572c642cd6569373edd2f111089.jpg","text":"TemporaryFile(/tmp/multipartBody9036983810668812188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088193756,"filename":"image_28012025_13_14_16_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332377916","file1":"1332377911","file0":"1332377905","file4":"1332377933","file5":"1332377941","file3":"1332377920"},"map_files_photo_id_array":[{"photo_id":"1332377941","filename":"file5"},{"photo_id":"1332377916","filename":"file2"},{"photo_id":"1332377933","filename":"file4"},{"photo_id":"1332377911","filename":"file1"},{"photo_id":"1332377905","filename":"file0"},{"photo_id":"1332377920","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332377941":["hashtag1","hashtag2"]},{"1332377911":["hashtag1","hashtag2"]},{"1332377905":["hashtag1","hashtag2"]},{"1332377920":["hashtag1","hashtag2"]},{"1332377916":["hashtag1","hashtag2"]},{"1332377933":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332377941, 1332377911, 1332377905, 1332377920, 1332377916, 1332377933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.131067991256714 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:16:33.033794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/14/image_28012025_13_14_37_10422.jpg', '/home/pi/Desktop/images/28012025/13/14/image_28012025_13_14_46_9402.jpg', '/home/pi/Desktop/images/28012025/13/14/image_28012025_13_14_57_10370.jpg', '/home/pi/Desktop/images/28012025/13/14/image_28012025_13_15_06_9325.jpg', '/home/pi/Desktop/images/28012025/13/15/image_28012025_13_15_16_10422.jpg', '/home/pi/Desktop/images/28012025/13/15/image_28012025_13_15_27_10405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/14/image_28012025_13_14_37_10422.jpg
/home/pi/Desktop/images/28012025/13/14/image_28012025_13_14_46_9402.jpg
/home/pi/Desktop/images/28012025/13/14/image_28012025_13_14_57_10370.jpg
/home/pi/Desktop/images/28012025/13/14/image_28012025_13_15_06_9325.jpg
/home/pi/Desktop/images/28012025/13/15/image_28012025_13_15_16_10422.jpg
/home/pi/Desktop/images/28012025/13/15/image_28012025_13_15_27_10405.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5782105922698975 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 19:16:43.071105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/14/image_28012025_13_14_37_10422.jpg', '/home/pi/Desktop/images/28012025/13/14/image_28012025_13_14_46_9402.jpg', '/home/pi/Desktop/images/28012025/13/14/image_28012025_13_14_57_10370.jpg', '/home/pi/Desktop/images/28012025/13/14/image_28012025_13_15_06_9325.jpg', '/home/pi/Desktop/images/28012025/13/15/image_28012025_13_15_16_10422.jpg', '/home/pi/Desktop/images/28012025/13/15/image_28012025_13_15_27_10405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/14/image_28012025_13_14_37_10422.jpg
/home/pi/Desktop/images/28012025/13/14/image_28012025_13_14_46_9402.jpg
/home/pi/Desktop/images/28012025/13/14/image_28012025_13_14_57_10370.jpg
/home/pi/Desktop/images/28012025/13/14/image_28012025_13_15_06_9325.jpg
/home/pi/Desktop/images/28012025/13/15/image_28012025_13_15_16_10422.jpg
/home/pi/Desktop/images/28012025/13/15/image_28012025_13_15_27_10405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332378412","1332378141","1332378507","1332378248","1332378317","1332378602"],"photo_ids_order":["1332378141","1332378248","1332378317","1332378412","1332378507","1332378602"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/084eef98b845796928dcf85b137e7db2.jpg","text":"TemporaryFile(/tmp/multipartBody3560987109325069653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088263963,"filename":"image_28012025_13_15_06_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/79efa7fa68e9ccc07fff786044d1dd74.jpg","text":"TemporaryFile(/tmp/multipartBody6318167041322207287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088263963,"filename":"image_28012025_13_14_37_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7d342fbee85c2127de1c182bcc9b0489.jpg","text":"TemporaryFile(/tmp/multipartBody6185486307948808810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088263963,"filename":"image_28012025_13_15_16_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/af08861b62685db3d9378d65372b63a1.jpg","text":"TemporaryFile(/tmp/multipartBody9179234325954618120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088263963,"filename":"image_28012025_13_14_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/1/28/51e8b04d1ba7dffc875f0d88620f433c.jpg","text":"TemporaryFile(/tmp/multipartBody3356549891753055678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088263963,"filename":"image_28012025_13_14_57_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/40fa066234e622114c727fe974647d70.jpg","text":"TemporaryFile(/tmp/multipartBody6446189448609371518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088263963,"filename":"image_28012025_13_15_27_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332378317","file1":"1332378248","file0":"1332378141","file4":"1332378507","file5":"1332378602","file3":"1332378412"},"map_files_photo_id_array":[{"photo_id":"1332378602","filename":"file5"},{"photo_id":"1332378317","filename":"file2"},{"photo_id":"1332378507","filename":"file4"},{"photo_id":"1332378248","filename":"file1"},{"photo_id":"1332378141","filename":"file0"},{"photo_id":"1332378412","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332378412":["hashtag1","hashtag2"]},{"1332378141":["hashtag1","hashtag2"]},{"1332378507":["hashtag1","hashtag2"]},{"1332378248":["hashtag1","hashtag2"]},{"1332378317":["hashtag1","hashtag2"]},{"1332378602":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332378412, 1332378141, 1332378507, 1332378248, 1332378317, 1332378602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75070071220398 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:17:32.359116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/15/image_28012025_13_15_36_9335.jpg', '/home/pi/Desktop/images/28012025/13/15/image_28012025_13_15_46_10405.jpg', '/home/pi/Desktop/images/28012025/13/15/image_28012025_13_15_57_10342.jpg', '/home/pi/Desktop/images/28012025/13/15/image_28012025_13_16_06_9466.jpg', '/home/pi/Desktop/images/28012025/13/16/image_28012025_13_16_17_10315.jpg', '/home/pi/Desktop/images/28012025/13/16/image_28012025_13_16_26_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/15/image_28012025_13_15_36_9335.jpg
/home/pi/Desktop/images/28012025/13/15/image_28012025_13_15_46_10405.jpg
/home/pi/Desktop/images/28012025/13/15/image_28012025_13_15_57_10342.jpg
/home/pi/Desktop/images/28012025/13/15/image_28012025_13_16_06_9466.jpg
/home/pi/Desktop/images/28012025/13/16/image_28012025_13_16_17_10315.jpg
/home/pi/Desktop/images/28012025/13/16/image_28012025_13_16_26_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":["1332379137","1332379041","1332378927","1332379166","1332379169","1332379142"],"photo_ids_order":["1332378927","1332379041","1332379137","1332379142","1332379166","1332379169"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c599b854e75b9e8fa73aae865254f5ac.jpg","text":"TemporaryFile(/tmp/multipartBody6207479952649681290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088313322,"filename":"image_28012025_13_15_57_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8430f09803cb2dc5154a55b1296bbe9a.jpg","text":"TemporaryFile(/tmp/multipartBody3183703682476821239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088313322,"filename":"image_28012025_13_15_46_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d5ab6f44c63f6f7619d260e94d58c171.jpg","text":"TemporaryFile(/tmp/multipartBody591430121156446565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088313322,"filename":"image_28012025_13_15_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/1/28/097aaba8b84f73221fed3891fc7c077d.jpg","text":"TemporaryFile(/tmp/multipartBody2443043350434076829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088313322,"filename":"image_28012025_13_16_17_10315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/68c3a3a300b132e94c989de9bf287c13.jpg","text":"TemporaryFile(/tmp/multipartBody8221365346799612783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088313322,"filename":"image_28012025_13_16_26_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/98a94cc3d416e5e0da4facd2622efe62.jpg","text":"TemporaryFile(/tmp/multipartBody2349590337680576505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088313322,"filename":"image_28012025_13_16_06_9466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332379137","file1":"1332379041","file0":"1332378927","file4":"1332379166","file5":"1332379169","file3":"1332379142"},"map_files_photo_id_array":[{"photo_id":"1332379169","filename":"file5"},{"photo_id":"1332379137","filename":"file2"},{"photo_id":"1332379166","filename":"file4"},{"photo_id":"1332379041","filename":"file1"},{"photo_id":"1332378927","filename":"file0"},{"photo_id":"1332379142","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332379137":["hashtag1","hashtag2"]},{"1332379041":["hashtag1","hashtag2"]},{"1332378927":["hashtag1","hashtag2"]},{"1332379166":["hashtag1","hashtag2"]},{"1332379169":["hashtag1","hashtag2"]},{"1332379142":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332379137, 1332379041, 1332378927, 1332379166, 1332379169, 1332379142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.542678356170654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:18:32.600829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/16/image_28012025_13_16_36_10417.jpg', '/home/pi/Desktop/images/28012025/13/16/image_28012025_13_16_47_10360.jpg', '/home/pi/Desktop/images/28012025/13/16/image_28012025_13_16_56_9338.jpg', '/home/pi/Desktop/images/28012025/13/16/image_28012025_13_17_06_10442.jpg', '/home/pi/Desktop/images/28012025/13/17/image_28012025_13_17_37_10367.jpg', '/home/pi/Desktop/images/28012025/13/17/image_28012025_13_17_46_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/16/image_28012025_13_16_36_10417.jpg
/home/pi/Desktop/images/28012025/13/16/image_28012025_13_16_47_10360.jpg
/home/pi/Desktop/images/28012025/13/16/image_28012025_13_16_56_9338.jpg
/home/pi/Desktop/images/28012025/13/16/image_28012025_13_17_06_10442.jpg
/home/pi/Desktop/images/28012025/13/17/image_28012025_13_17_37_10367.jpg
/home/pi/Desktop/images/28012025/13/17/image_28012025_13_17_46_9328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332379248","1332379332","1332379232","1332379243","1332379225","1332379222"],"photo_ids_order":["1332379222","1332379225","1332379232","1332379243","1332379248","1332379332"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f05787b931cb5dec03f86c33ee95652e.jpg","text":"TemporaryFile(/tmp/multipartBody6941060141297070255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088373571,"filename":"image_28012025_13_17_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/1/28/fbfe640563dec568e6ff3424c78cd83a.jpg","text":"TemporaryFile(/tmp/multipartBody4234458644471552277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088373571,"filename":"image_28012025_13_17_46_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f4546d7fb28229b1429e580b4d044c4c.jpg","text":"TemporaryFile(/tmp/multipartBody3858779133956953381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088373571,"filename":"image_28012025_13_16_56_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/02b093c8a39aece8ad1bc95bd030cf23.jpg","text":"TemporaryFile(/tmp/multipartBody9008788935283733666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088373571,"filename":"image_28012025_13_17_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/1/28/c726d61126422212779f1a7f2ec24af4.jpg","text":"TemporaryFile(/tmp/multipartBody1970844981776081361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088373571,"filename":"image_28012025_13_16_47_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7b68f92a2532d2077212f1c4af1f5cb7.jpg","text":"TemporaryFile(/tmp/multipartBody6957185172316881368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088373571,"filename":"image_28012025_13_16_36_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332379232","file1":"1332379225","file0":"1332379222","file4":"1332379248","file5":"1332379332","file3":"1332379243"},"map_files_photo_id_array":[{"photo_id":"1332379332","filename":"file5"},{"photo_id":"1332379232","filename":"file2"},{"photo_id":"1332379248","filename":"file4"},{"photo_id":"1332379225","filename":"file1"},{"photo_id":"1332379222","filename":"file0"},{"photo_id":"1332379243","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332379248":["hashtag1","hashtag2"]},{"1332379332":["hashtag1","hashtag2"]},{"1332379232":["hashtag1","hashtag2"]},{"1332379243":["hashtag1","hashtag2"]},{"1332379225":["hashtag1","hashtag2"]},{"1332379222":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332379248, 1332379332, 1332379232, 1332379243, 1332379225, 1332379222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76454401016235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:19:32.761634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/17/image_28012025_13_17_56_10442.jpg', '/home/pi/Desktop/images/28012025/13/17/image_28012025_13_18_07_10346.jpg', '/home/pi/Desktop/images/28012025/13/18/image_28012025_13_18_16_9320.jpg', '/home/pi/Desktop/images/28012025/13/18/image_28012025_13_18_26_10342.jpg', '/home/pi/Desktop/images/28012025/13/18/image_28012025_13_18_37_10336.jpg', '/home/pi/Desktop/images/28012025/13/18/image_28012025_13_18_46_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/17/image_28012025_13_17_56_10442.jpg
/home/pi/Desktop/images/28012025/13/17/image_28012025_13_18_07_10346.jpg
/home/pi/Desktop/images/28012025/13/18/image_28012025_13_18_16_9320.jpg
/home/pi/Desktop/images/28012025/13/18/image_28012025_13_18_26_10342.jpg
/home/pi/Desktop/images/28012025/13/18/image_28012025_13_18_37_10336.jpg
/home/pi/Desktop/images/28012025/13/18/image_28012025_13_18_46_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332380148","1332380082","1332380235","1332380374","1332380056","1332380065"],"photo_ids_order":["1332380056","1332380065","1332380082","1332380148","1332380235","1332380374"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4f7409b99f761a6220c4cde86d06af29.jpg","text":"TemporaryFile(/tmp/multipartBody3471106171025994848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088433734,"filename":"image_28012025_13_18_26_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2a47db7fc3667f8810c2de29578a199c.jpg","text":"TemporaryFile(/tmp/multipartBody5557647402516849524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088433734,"filename":"image_28012025_13_18_16_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9d386d5d23b865cfb8357dc9d52d855e.jpg","text":"TemporaryFile(/tmp/multipartBody242792326066126435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088433734,"filename":"image_28012025_13_18_37_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bff1dd593753f5db65f063965df17ee6.jpg","text":"TemporaryFile(/tmp/multipartBody4387919593650706088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088433734,"filename":"image_28012025_13_18_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/1/28/64ece7c687ffa17b6c58cdcc052c9512.jpg","text":"TemporaryFile(/tmp/multipartBody2812446681895078974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088433734,"filename":"image_28012025_13_17_56_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9842f02badee03874d293976da1c8e38.jpg","text":"TemporaryFile(/tmp/multipartBody8390290216611724211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088433734,"filename":"image_28012025_13_18_07_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332380082","file1":"1332380065","file0":"1332380056","file4":"1332380235","file5":"1332380374","file3":"1332380148"},"map_files_photo_id_array":[{"photo_id":"1332380374","filename":"file5"},{"photo_id":"1332380082","filename":"file2"},{"photo_id":"1332380235","filename":"file4"},{"photo_id":"1332380065","filename":"file1"},{"photo_id":"1332380056","filename":"file0"},{"photo_id":"1332380148","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332380148":["hashtag1","hashtag2"]},{"1332380082":["hashtag1","hashtag2"]},{"1332380235":["hashtag1","hashtag2"]},{"1332380374":["hashtag1","hashtag2"]},{"1332380056":["hashtag1","hashtag2"]},{"1332380065":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332380148, 1332380082, 1332380235, 1332380374, 1332380056, 1332380065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.90692090988159 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:20:32.184982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/18/image_28012025_13_18_56_10349.jpg', '/home/pi/Desktop/images/28012025/13/19/image_28012025_13_19_16_9444.jpg', '/home/pi/Desktop/images/28012025/13/19/image_28012025_13_19_27_10374.jpg', '/home/pi/Desktop/images/28012025/13/19/image_28012025_13_19_36_9349.jpg', '/home/pi/Desktop/images/28012025/13/19/image_28012025_13_19_46_10368.jpg', '/home/pi/Desktop/images/28012025/13/19/image_28012025_13_19_57_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/18/image_28012025_13_18_56_10349.jpg
/home/pi/Desktop/images/28012025/13/19/image_28012025_13_19_16_9444.jpg
/home/pi/Desktop/images/28012025/13/19/image_28012025_13_19_27_10374.jpg
/home/pi/Desktop/images/28012025/13/19/image_28012025_13_19_36_9349.jpg
/home/pi/Desktop/images/28012025/13/19/image_28012025_13_19_46_10368.jpg
/home/pi/Desktop/images/28012025/13/19/image_28012025_13_19_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":["1332380799","1332380506","1332380952","1332380676","1332380409","1332380558"],"photo_ids_order":["1332380409","1332380506","1332380558","1332380676","1332380799","1332380952"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/87784c7a6fbfe03e3eb903f93706ef35.jpg","text":"TemporaryFile(/tmp/multipartBody2681143335181965525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088493138,"filename":"image_28012025_13_19_46_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c001335c859319bfb03936ea1ac8da7d.jpg","text":"TemporaryFile(/tmp/multipartBody6094341619551563321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088493138,"filename":"image_28012025_13_19_16_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2ba3a7d2d3d11d34b13a036aeb012755.jpg","text":"TemporaryFile(/tmp/multipartBody3307424538071078934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088493138,"filename":"image_28012025_13_19_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/1/28/619563079fc3557425efaa7367014a29.jpg","text":"TemporaryFile(/tmp/multipartBody8308816070587868325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088493138,"filename":"image_28012025_13_19_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/1/28/2d9e09bc395e80b7f8302cdde4a97025.jpg","text":"TemporaryFile(/tmp/multipartBody7321025011424598304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088493138,"filename":"image_28012025_13_18_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/1/28/ae48a28f384e088813ef23a65f9092ef.jpg","text":"TemporaryFile(/tmp/multipartBody2703163562777635924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088493138,"filename":"image_28012025_13_19_27_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332380558","file1":"1332380506","file0":"1332380409","file4":"1332380799","file5":"1332380952","file3":"1332380676"},"map_files_photo_id_array":[{"photo_id":"1332380952","filename":"file5"},{"photo_id":"1332380558","filename":"file2"},{"photo_id":"1332380799","filename":"file4"},{"photo_id":"1332380506","filename":"file1"},{"photo_id":"1332380409","filename":"file0"},{"photo_id":"1332380676","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332380799":["hashtag1","hashtag2"]},{"1332380506":["hashtag1","hashtag2"]},{"1332380952":["hashtag1","hashtag2"]},{"1332380676":["hashtag1","hashtag2"]},{"1332380409":["hashtag1","hashtag2"]},{"1332380558":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332380799, 1332380506, 1332380952, 1332380676, 1332380409, 1332380558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.96357440948486 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:21:32.418592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/19/image_28012025_13_20_06_9321.jpg', '/home/pi/Desktop/images/28012025/13/20/image_28012025_13_20_16_10451.jpg', '/home/pi/Desktop/images/28012025/13/20/image_28012025_13_20_27_10397.jpg', '/home/pi/Desktop/images/28012025/13/20/image_28012025_13_20_36_9372.jpg', '/home/pi/Desktop/images/28012025/13/20/image_28012025_13_20_47_10362.jpg', '/home/pi/Desktop/images/28012025/13/20/image_28012025_13_20_56_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/19/image_28012025_13_20_06_9321.jpg
/home/pi/Desktop/images/28012025/13/20/image_28012025_13_20_16_10451.jpg
/home/pi/Desktop/images/28012025/13/20/image_28012025_13_20_27_10397.jpg
/home/pi/Desktop/images/28012025/13/20/image_28012025_13_20_36_9372.jpg
/home/pi/Desktop/images/28012025/13/20/image_28012025_13_20_47_10362.jpg
/home/pi/Desktop/images/28012025/13/20/image_28012025_13_20_56_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332381186","1332381200","1332381184","1332381178","1332381166","1332381160"],"photo_ids_order":["1332381160","1332381166","1332381178","1332381184","1332381186","1332381200"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f04b134f4215d3b7bcce0629d393a611.jpg","text":"TemporaryFile(/tmp/multipartBody6435966406176128760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088553382,"filename":"image_28012025_13_20_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/1/28/25f2f4ea0299ae5060dfc0a6f016a8a1.jpg","text":"TemporaryFile(/tmp/multipartBody3354782528755637226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088553382,"filename":"image_28012025_13_20_56_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/48c5419dd1574f699b79df964efe9150.jpg","text":"TemporaryFile(/tmp/multipartBody329907254019977386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088553382,"filename":"image_28012025_13_20_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/1/28/998f11fe3865ce505d10c83c8b64b0ed.jpg","text":"TemporaryFile(/tmp/multipartBody4164486688290035869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088553382,"filename":"image_28012025_13_20_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/1/28/4d90f353ca9fc8f0c8496dcae67f6cc4.jpg","text":"TemporaryFile(/tmp/multipartBody6783479981504122157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088553382,"filename":"image_28012025_13_20_16_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/84dac5d26aab145b4a7e5766f9ec5cb2.jpg","text":"TemporaryFile(/tmp/multipartBody2206880252171559640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088553382,"filename":"image_28012025_13_20_06_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332381178","file1":"1332381166","file0":"1332381160","file4":"1332381186","file5":"1332381200","file3":"1332381184"},"map_files_photo_id_array":[{"photo_id":"1332381200","filename":"file5"},{"photo_id":"1332381178","filename":"file2"},{"photo_id":"1332381186","filename":"file4"},{"photo_id":"1332381166","filename":"file1"},{"photo_id":"1332381160","filename":"file0"},{"photo_id":"1332381184","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332381186":["hashtag1","hashtag2"]},{"1332381200":["hashtag1","hashtag2"]},{"1332381184":["hashtag1","hashtag2"]},{"1332381178":["hashtag1","hashtag2"]},{"1332381166":["hashtag1","hashtag2"]},{"1332381160":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332381186, 1332381200, 1332381184, 1332381178, 1332381166, 1332381160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.471837759017944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:22:32.789968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/20/image_28012025_13_21_06_10334.jpg', '/home/pi/Desktop/images/28012025/13/21/image_28012025_13_21_17_10335.jpg', '/home/pi/Desktop/images/28012025/13/21/image_28012025_13_21_26_9392.jpg', '/home/pi/Desktop/images/28012025/13/21/image_28012025_13_21_36_10335.jpg', '/home/pi/Desktop/images/28012025/13/21/image_28012025_13_21_47_10369.jpg', '/home/pi/Desktop/images/28012025/13/21/image_28012025_13_21_56_9327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/20/image_28012025_13_21_06_10334.jpg
/home/pi/Desktop/images/28012025/13/21/image_28012025_13_21_17_10335.jpg
/home/pi/Desktop/images/28012025/13/21/image_28012025_13_21_26_9392.jpg
/home/pi/Desktop/images/28012025/13/21/image_28012025_13_21_36_10335.jpg
/home/pi/Desktop/images/28012025/13/21/image_28012025_13_21_47_10369.jpg
/home/pi/Desktop/images/28012025/13/21/image_28012025_13_21_56_9327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332381279","1332381264","1332381251","1332381245","1332381302","1332381304"],"photo_ids_order":["1332381245","1332381251","1332381264","1332381279","1332381302","1332381304"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ce1b6988e231652aa15b6a47566929dc.jpg","text":"TemporaryFile(/tmp/multipartBody9056662423570775425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088613757,"filename":"image_28012025_13_21_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/1/28/0d752c72e4cf12bcd13bb10863b9d14f.jpg","text":"TemporaryFile(/tmp/multipartBody9103333335383226883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088613757,"filename":"image_28012025_13_21_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/1/28/96a173c37be7cb9a3c914de9cd111508.jpg","text":"TemporaryFile(/tmp/multipartBody4359150834706044311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088613757,"filename":"image_28012025_13_21_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/1/28/d05a6e1ebd282930149d24fa1243e835.jpg","text":"TemporaryFile(/tmp/multipartBody2992279364217613414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088613757,"filename":"image_28012025_13_21_06_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7dbe40f2bce063b16652e9134cc3225a.jpg","text":"TemporaryFile(/tmp/multipartBody7448550939212807392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088613757,"filename":"image_28012025_13_21_47_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/778b4836ae47e490eff4b0ea8b81954e.jpg","text":"TemporaryFile(/tmp/multipartBody6721147366490949190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088613757,"filename":"image_28012025_13_21_56_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332381264","file1":"1332381251","file0":"1332381245","file4":"1332381302","file5":"1332381304","file3":"1332381279"},"map_files_photo_id_array":[{"photo_id":"1332381304","filename":"file5"},{"photo_id":"1332381264","filename":"file2"},{"photo_id":"1332381302","filename":"file4"},{"photo_id":"1332381251","filename":"file1"},{"photo_id":"1332381245","filename":"file0"},{"photo_id":"1332381279","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332381279":["hashtag1","hashtag2"]},{"1332381264":["hashtag1","hashtag2"]},{"1332381251":["hashtag1","hashtag2"]},{"1332381245":["hashtag1","hashtag2"]},{"1332381302":["hashtag1","hashtag2"]},{"1332381304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332381279, 1332381264, 1332381251, 1332381245, 1332381302, 1332381304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.0753288269043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:23:33.038561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/21/image_28012025_13_22_06_10354.jpg', '/home/pi/Desktop/images/28012025/13/22/image_28012025_13_22_17_10331.jpg', '/home/pi/Desktop/images/28012025/13/22/image_28012025_13_22_26_9328.jpg', '/home/pi/Desktop/images/28012025/13/22/image_28012025_13_22_36_10350.jpg', '/home/pi/Desktop/images/28012025/13/22/image_28012025_13_22_47_10356.jpg', '/home/pi/Desktop/images/28012025/13/22/image_28012025_13_22_56_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/21/image_28012025_13_22_06_10354.jpg
/home/pi/Desktop/images/28012025/13/22/image_28012025_13_22_17_10331.jpg
/home/pi/Desktop/images/28012025/13/22/image_28012025_13_22_26_9328.jpg
/home/pi/Desktop/images/28012025/13/22/image_28012025_13_22_36_10350.jpg
/home/pi/Desktop/images/28012025/13/22/image_28012025_13_22_47_10356.jpg
/home/pi/Desktop/images/28012025/13/22/image_28012025_13_22_56_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":["1332381582","1332381593","1332381629","1332381620","1332381589","1332381637"],"photo_ids_order":["1332381582","1332381589","1332381593","1332381620","1332381629","1332381637"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/612e14070ee70945de8266843d20daa1.jpg","text":"TemporaryFile(/tmp/multipartBody6732060562123828906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088674006,"filename":"image_28012025_13_22_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/1/28/4043aac0e8f54f6239aadccc1a1da2a6.jpg","text":"TemporaryFile(/tmp/multipartBody7071912315657029567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088674006,"filename":"image_28012025_13_22_26_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/51265c0682400a2a38d42e32a318f41e.jpg","text":"TemporaryFile(/tmp/multipartBody8227608130720393255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088674006,"filename":"image_28012025_13_22_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/1/28/b4e7c8004fd9e30588d345a49cd530ff.jpg","text":"TemporaryFile(/tmp/multipartBody2512310171215771944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088674006,"filename":"image_28012025_13_22_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/1/28/12fc84b3b603d7d09457e3383b121c11.jpg","text":"TemporaryFile(/tmp/multipartBody2009740929613624323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088674006,"filename":"image_28012025_13_22_17_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/864b4ad3e28d63eee269577a0710b3ac.jpg","text":"TemporaryFile(/tmp/multipartBody5813282581599652980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088674006,"filename":"image_28012025_13_22_56_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332381593","file1":"1332381589","file0":"1332381582","file4":"1332381629","file5":"1332381637","file3":"1332381620"},"map_files_photo_id_array":[{"photo_id":"1332381637","filename":"file5"},{"photo_id":"1332381593","filename":"file2"},{"photo_id":"1332381629","filename":"file4"},{"photo_id":"1332381589","filename":"file1"},{"photo_id":"1332381582","filename":"file0"},{"photo_id":"1332381620","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332381582":["hashtag1","hashtag2"]},{"1332381593":["hashtag1","hashtag2"]},{"1332381629":["hashtag1","hashtag2"]},{"1332381620":["hashtag1","hashtag2"]},{"1332381589":["hashtag1","hashtag2"]},{"1332381637":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332381582, 1332381593, 1332381629, 1332381620, 1332381589, 1332381637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.43484354019165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:24:32.331476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/22/image_28012025_13_23_06_10396.jpg', '/home/pi/Desktop/images/28012025/13/23/image_28012025_13_23_17_10326.jpg', '/home/pi/Desktop/images/28012025/13/23/image_28012025_13_23_26_9417.jpg', '/home/pi/Desktop/images/28012025/13/23/image_28012025_13_23_37_10363.jpg', '/home/pi/Desktop/images/28012025/13/23/image_28012025_13_23_46_9395.jpg', '/home/pi/Desktop/images/28012025/13/23/image_28012025_13_23_56_10454.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/22/image_28012025_13_23_06_10396.jpg
/home/pi/Desktop/images/28012025/13/23/image_28012025_13_23_17_10326.jpg
/home/pi/Desktop/images/28012025/13/23/image_28012025_13_23_26_9417.jpg
/home/pi/Desktop/images/28012025/13/23/image_28012025_13_23_37_10363.jpg
/home/pi/Desktop/images/28012025/13/23/image_28012025_13_23_46_9395.jpg
/home/pi/Desktop/images/28012025/13/23/image_28012025_13_23_56_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":["1332381672","1332381657","1332381662","1332381668","1332381653","1332381649"],"photo_ids_order":["1332381649","1332381653","1332381657","1332381662","1332381668","1332381672"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e662f5c1a45bf024c546993c219c181b.jpg","text":"TemporaryFile(/tmp/multipartBody3587693496413444624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088733292,"filename":"image_28012025_13_23_56_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b8e52ff35f704e1710ce7b95c6e5e43d.jpg","text":"TemporaryFile(/tmp/multipartBody4480903788378635669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088733292,"filename":"image_28012025_13_23_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/1/28/dcce5b321df48c99b7888ad212221ff1.jpg","text":"TemporaryFile(/tmp/multipartBody4994188645118261543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088733292,"filename":"image_28012025_13_23_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/1/28/5964d3ce893676baae2b1dcf43b6c54c.jpg","text":"TemporaryFile(/tmp/multipartBody4181621536192413362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088733292,"filename":"image_28012025_13_23_46_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dc7539420096a0326ffc4f04c5e832cb.jpg","text":"TemporaryFile(/tmp/multipartBody5586956566305749360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088733292,"filename":"image_28012025_13_23_17_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/28564f9777036ee2ea23b196c704749d.jpg","text":"TemporaryFile(/tmp/multipartBody7811923997158272283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088733292,"filename":"image_28012025_13_23_06_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332381657","file1":"1332381653","file0":"1332381649","file4":"1332381668","file5":"1332381672","file3":"1332381662"},"map_files_photo_id_array":[{"photo_id":"1332381672","filename":"file5"},{"photo_id":"1332381657","filename":"file2"},{"photo_id":"1332381668","filename":"file4"},{"photo_id":"1332381653","filename":"file1"},{"photo_id":"1332381649","filename":"file0"},{"photo_id":"1332381662","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332381672":["hashtag1","hashtag2"]},{"1332381657":["hashtag1","hashtag2"]},{"1332381662":["hashtag1","hashtag2"]},{"1332381668":["hashtag1","hashtag2"]},{"1332381653":["hashtag1","hashtag2"]},{"1332381649":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332381672, 1332381657, 1332381662, 1332381668, 1332381653, 1332381649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.39186334609985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:25:32.552223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/24/image_28012025_13_24_16_9444.jpg', '/home/pi/Desktop/images/28012025/13/24/image_28012025_13_24_27_10353.jpg', '/home/pi/Desktop/images/28012025/13/24/image_28012025_13_24_36_9334.jpg', '/home/pi/Desktop/images/28012025/13/24/image_28012025_13_24_46_10536.jpg', '/home/pi/Desktop/images/28012025/13/24/image_28012025_13_24_56_9856.jpg', '/home/pi/Desktop/images/28012025/13/24/image_28012025_13_25_07_10434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/24/image_28012025_13_24_16_9444.jpg
/home/pi/Desktop/images/28012025/13/24/image_28012025_13_24_27_10353.jpg
/home/pi/Desktop/images/28012025/13/24/image_28012025_13_24_36_9334.jpg
/home/pi/Desktop/images/28012025/13/24/image_28012025_13_24_46_10536.jpg
/home/pi/Desktop/images/28012025/13/24/image_28012025_13_24_56_9856.jpg
/home/pi/Desktop/images/28012025/13/24/image_28012025_13_25_07_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":["1332381692","1332382039","1332381940","1332381811","1332381696","1332381700"],"photo_ids_order":["1332381692","1332381696","1332381700","1332381811","1332381940","1332382039"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4aeab99eedc68a1ed991a1766419b23f.jpg","text":"TemporaryFile(/tmp/multipartBody9088223416693006845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088793510,"filename":"image_28012025_13_24_16_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/851efa09cfbb3f9ae8258f75a4d6ce50.jpg","text":"TemporaryFile(/tmp/multipartBody4427456808980793543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088793510,"filename":"image_28012025_13_25_07_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/66f9c823af5eb6439181da868378e60b.jpg","text":"TemporaryFile(/tmp/multipartBody2240836296249726556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088793510,"filename":"image_28012025_13_24_56_9856.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a33692d4946da34d00415dd2db1a92e1.jpg","text":"TemporaryFile(/tmp/multipartBody6531304568860675518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088793510,"filename":"image_28012025_13_24_46_10536.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d14caee9683319101bb82d14c8836a21.jpg","text":"TemporaryFile(/tmp/multipartBody8789611448791420737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088793510,"filename":"image_28012025_13_24_27_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3a91ad427e6b71d74c0806024852313e.jpg","text":"TemporaryFile(/tmp/multipartBody6532352800971253266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088793510,"filename":"image_28012025_13_24_36_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332381700","file1":"1332381696","file0":"1332381692","file4":"1332381940","file5":"1332382039","file3":"1332381811"},"map_files_photo_id_array":[{"photo_id":"1332382039","filename":"file5"},{"photo_id":"1332381700","filename":"file2"},{"photo_id":"1332381940","filename":"file4"},{"photo_id":"1332381696","filename":"file1"},{"photo_id":"1332381692","filename":"file0"},{"photo_id":"1332381811","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332381692":["hashtag1","hashtag2"]},{"1332382039":["hashtag1","hashtag2"]},{"1332381940":["hashtag1","hashtag2"]},{"1332381811":["hashtag1","hashtag2"]},{"1332381696":["hashtag1","hashtag2"]},{"1332381700":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332381692, 1332382039, 1332381940, 1332381811, 1332381696, 1332381700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.02406930923462 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:26:32.816386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/25/image_28012025_13_25_16_9328.jpg', '/home/pi/Desktop/images/28012025/13/25/image_28012025_13_25_26_10391.jpg', '/home/pi/Desktop/images/28012025/13/25/image_28012025_13_25_37_10344.jpg', '/home/pi/Desktop/images/28012025/13/25/image_28012025_13_25_46_9427.jpg', '/home/pi/Desktop/images/28012025/13/25/image_28012025_13_25_57_10347.jpg', '/home/pi/Desktop/images/28012025/13/25/image_28012025_13_26_06_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/25/image_28012025_13_25_16_9328.jpg
/home/pi/Desktop/images/28012025/13/25/image_28012025_13_25_26_10391.jpg
/home/pi/Desktop/images/28012025/13/25/image_28012025_13_25_37_10344.jpg
/home/pi/Desktop/images/28012025/13/25/image_28012025_13_25_46_9427.jpg
/home/pi/Desktop/images/28012025/13/25/image_28012025_13_25_57_10347.jpg
/home/pi/Desktop/images/28012025/13/25/image_28012025_13_26_06_9331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332382193","1332382104","1332382195","1332382063","1332382060","1332382191"],"photo_ids_order":["1332382060","1332382063","1332382104","1332382191","1332382193","1332382195"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/69bd2432faad2dc034fdd102a374aba6.jpg","text":"TemporaryFile(/tmp/multipartBody3470549202694268127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088853781,"filename":"image_28012025_13_25_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/1/28/b944f2dcb786a76d63681ab10d223bf1.jpg","text":"TemporaryFile(/tmp/multipartBody8240743778254289884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088853781,"filename":"image_28012025_13_25_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/1/28/50f12a752958b94ccce5ff485d657def.jpg","text":"TemporaryFile(/tmp/multipartBody8269844084628452308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088853781,"filename":"image_28012025_13_26_06_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1fc4a04bbe84dfdaf743db7f76e7ba20.jpg","text":"TemporaryFile(/tmp/multipartBody8185624787138891191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088853781,"filename":"image_28012025_13_25_26_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3510ec6468f45d74922fd84da664827b.jpg","text":"TemporaryFile(/tmp/multipartBody4598249596282675635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088853781,"filename":"image_28012025_13_25_16_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8b7c684b4415f16f7e53341f2fc25c51.jpg","text":"TemporaryFile(/tmp/multipartBody5827901006685825775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088853781,"filename":"image_28012025_13_25_46_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332382104","file1":"1332382063","file0":"1332382060","file4":"1332382193","file5":"1332382195","file3":"1332382191"},"map_files_photo_id_array":[{"photo_id":"1332382195","filename":"file5"},{"photo_id":"1332382104","filename":"file2"},{"photo_id":"1332382193","filename":"file4"},{"photo_id":"1332382063","filename":"file1"},{"photo_id":"1332382060","filename":"file0"},{"photo_id":"1332382191","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332382193":["hashtag1","hashtag2"]},{"1332382104":["hashtag1","hashtag2"]},{"1332382195":["hashtag1","hashtag2"]},{"1332382063":["hashtag1","hashtag2"]},{"1332382060":["hashtag1","hashtag2"]},{"1332382191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332382193, 1332382104, 1332382195, 1332382063, 1332382060, 1332382191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.17534589767456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:27:32.988366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/26/image_28012025_13_26_16_10340.jpg', '/home/pi/Desktop/images/28012025/13/26/image_28012025_13_26_27_10346.jpg', '/home/pi/Desktop/images/28012025/13/26/image_28012025_13_26_36_9393.jpg', '/home/pi/Desktop/images/28012025/13/26/image_28012025_13_26_46_10343.jpg', '/home/pi/Desktop/images/28012025/13/26/image_28012025_13_26_57_10342.jpg', '/home/pi/Desktop/images/28012025/13/26/image_28012025_13_27_06_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/26/image_28012025_13_26_16_10340.jpg
/home/pi/Desktop/images/28012025/13/26/image_28012025_13_26_27_10346.jpg
/home/pi/Desktop/images/28012025/13/26/image_28012025_13_26_36_9393.jpg
/home/pi/Desktop/images/28012025/13/26/image_28012025_13_26_46_10343.jpg
/home/pi/Desktop/images/28012025/13/26/image_28012025_13_26_57_10342.jpg
/home/pi/Desktop/images/28012025/13/26/image_28012025_13_27_06_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332382305","1332382277","1332382307","1332382339","1332382309","1332382290"],"photo_ids_order":["1332382277","1332382290","1332382305","1332382307","1332382309","1332382339"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ec61b1d7d9144602ce2fe0cc10d0eb12.jpg","text":"TemporaryFile(/tmp/multipartBody2973846719850430581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088913965,"filename":"image_28012025_13_26_36_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/10e2824ba7af48f0d6611479b00654b6.jpg","text":"TemporaryFile(/tmp/multipartBody6587839185847086965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088913965,"filename":"image_28012025_13_26_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/1/28/f990ef3e0cf2a6db1d71ee91c1020e74.jpg","text":"TemporaryFile(/tmp/multipartBody2891454754535578842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088913965,"filename":"image_28012025_13_26_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/1/28/06144321f825d6ebd5c47bcb2d0287d3.jpg","text":"TemporaryFile(/tmp/multipartBody6307580451375519222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088913965,"filename":"image_28012025_13_27_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/1/28/55ce6632054b6136d34e65c85ec2472b.jpg","text":"TemporaryFile(/tmp/multipartBody8601200854235432610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088913965,"filename":"image_28012025_13_26_57_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d437401461d5957fbcb27b2378859c98.jpg","text":"TemporaryFile(/tmp/multipartBody3275921077256193844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088913965,"filename":"image_28012025_13_26_27_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332382305","file1":"1332382290","file0":"1332382277","file4":"1332382309","file5":"1332382339","file3":"1332382307"},"map_files_photo_id_array":[{"photo_id":"1332382339","filename":"file5"},{"photo_id":"1332382305","filename":"file2"},{"photo_id":"1332382309","filename":"file4"},{"photo_id":"1332382290","filename":"file1"},{"photo_id":"1332382277","filename":"file0"},{"photo_id":"1332382307","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332382305":["hashtag1","hashtag2"]},{"1332382277":["hashtag1","hashtag2"]},{"1332382307":["hashtag1","hashtag2"]},{"1332382339":["hashtag1","hashtag2"]},{"1332382309":["hashtag1","hashtag2"]},{"1332382290":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332382305, 1332382277, 1332382307, 1332382339, 1332382309, 1332382290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62182378768921 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:28:32.219050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/27/image_28012025_13_27_16_10337.jpg', '/home/pi/Desktop/images/28012025/13/27/image_28012025_13_27_27_10351.jpg', '/home/pi/Desktop/images/28012025/13/27/image_28012025_13_27_36_9444.jpg', '/home/pi/Desktop/images/28012025/13/27/image_28012025_13_27_47_10361.jpg', '/home/pi/Desktop/images/28012025/13/27/image_28012025_13_27_56_9350.jpg', '/home/pi/Desktop/images/28012025/13/27/image_28012025_13_28_06_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/27/image_28012025_13_27_16_10337.jpg
/home/pi/Desktop/images/28012025/13/27/image_28012025_13_27_27_10351.jpg
/home/pi/Desktop/images/28012025/13/27/image_28012025_13_27_36_9444.jpg
/home/pi/Desktop/images/28012025/13/27/image_28012025_13_27_47_10361.jpg
/home/pi/Desktop/images/28012025/13/27/image_28012025_13_27_56_9350.jpg
/home/pi/Desktop/images/28012025/13/27/image_28012025_13_28_06_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":["1332382382","1332382390","1332382393","1332382387","1332382378","1332382392"],"photo_ids_order":["1332382378","1332382382","1332382387","1332382390","1332382392","1332382393"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b4b182c39d13964c4a11b53590b92431.jpg","text":"TemporaryFile(/tmp/multipartBody2819437758913239875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088973197,"filename":"image_28012025_13_27_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/1/28/85080be97c9af68f1e8b331af4c9ac74.jpg","text":"TemporaryFile(/tmp/multipartBody1081968750164139429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088973197,"filename":"image_28012025_13_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/1/28/568ec28abd088346117f04ba0c12b570.jpg","text":"TemporaryFile(/tmp/multipartBody1928080182250202762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088973197,"filename":"image_28012025_13_28_06_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1772e4f3b332744c9f3e3715f63d5ca4.jpg","text":"TemporaryFile(/tmp/multipartBody1963662766628297723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088973197,"filename":"image_28012025_13_27_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/1/28/375a120dd05964a26de04ae0dbfe58cb.jpg","text":"TemporaryFile(/tmp/multipartBody2962087135349401457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088973197,"filename":"image_28012025_13_27_16_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/54a80d96b20d5f35377c378afe19fd55.jpg","text":"TemporaryFile(/tmp/multipartBody7851086567291552455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738088973197,"filename":"image_28012025_13_27_56_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332382387","file1":"1332382382","file0":"1332382378","file4":"1332382392","file5":"1332382393","file3":"1332382390"},"map_files_photo_id_array":[{"photo_id":"1332382393","filename":"file5"},{"photo_id":"1332382387","filename":"file2"},{"photo_id":"1332382392","filename":"file4"},{"photo_id":"1332382382","filename":"file1"},{"photo_id":"1332382378","filename":"file0"},{"photo_id":"1332382390","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332382382":["hashtag1","hashtag2"]},{"1332382390":["hashtag1","hashtag2"]},{"1332382393":["hashtag1","hashtag2"]},{"1332382387":["hashtag1","hashtag2"]},{"1332382378":["hashtag1","hashtag2"]},{"1332382392":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332382382, 1332382390, 1332382393, 1332382387, 1332382378, 1332382392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.09798455238342 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:29:32.627726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/28/image_28012025_13_28_17_10347.jpg', '/home/pi/Desktop/images/28012025/13/28/image_28012025_13_28_26_9343.jpg', '/home/pi/Desktop/images/28012025/13/28/image_28012025_13_28_36_10430.jpg', '/home/pi/Desktop/images/28012025/13/28/image_28012025_13_28_47_10416.jpg', '/home/pi/Desktop/images/28012025/13/28/image_28012025_13_28_56_9454.jpg', '/home/pi/Desktop/images/28012025/13/28/image_28012025_13_29_07_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/28/image_28012025_13_28_17_10347.jpg
/home/pi/Desktop/images/28012025/13/28/image_28012025_13_28_26_9343.jpg
/home/pi/Desktop/images/28012025/13/28/image_28012025_13_28_36_10430.jpg
/home/pi/Desktop/images/28012025/13/28/image_28012025_13_28_47_10416.jpg
/home/pi/Desktop/images/28012025/13/28/image_28012025_13_28_56_9454.jpg
/home/pi/Desktop/images/28012025/13/28/image_28012025_13_29_07_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":["1332382437","1332382431","1332382425","1332382415","1332382429","1332382420"],"photo_ids_order":["1332382415","1332382420","1332382425","1332382429","1332382431","1332382437"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9d00fb0e2c1b4c30ea717eb3976393e4.jpg","text":"TemporaryFile(/tmp/multipartBody3286065150873425216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089033604,"filename":"image_28012025_13_29_07_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/63661197ee3bd2fd4ddb4985526b2a56.jpg","text":"TemporaryFile(/tmp/multipartBody1241088242481783593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089033604,"filename":"image_28012025_13_28_56_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5ebfec9883384d9373739759db9c8ddc.jpg","text":"TemporaryFile(/tmp/multipartBody7520677455368765097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089033604,"filename":"image_28012025_13_28_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/1/28/aa98137dffa6b09aac13553f1f4739f5.jpg","text":"TemporaryFile(/tmp/multipartBody6987501261978552354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089033604,"filename":"image_28012025_13_28_17_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/702f7fe65b4667c94126667cc31eef5d.jpg","text":"TemporaryFile(/tmp/multipartBody4290940899217271307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089033604,"filename":"image_28012025_13_28_47_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/505d70a75691fa3d20cafc1feabfb15d.jpg","text":"TemporaryFile(/tmp/multipartBody9008676046596466743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089033604,"filename":"image_28012025_13_28_26_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332382425","file1":"1332382420","file0":"1332382415","file4":"1332382431","file5":"1332382437","file3":"1332382429"},"map_files_photo_id_array":[{"photo_id":"1332382437","filename":"file5"},{"photo_id":"1332382425","filename":"file2"},{"photo_id":"1332382431","filename":"file4"},{"photo_id":"1332382420","filename":"file1"},{"photo_id":"1332382415","filename":"file0"},{"photo_id":"1332382429","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332382437":["hashtag1","hashtag2"]},{"1332382431":["hashtag1","hashtag2"]},{"1332382425":["hashtag1","hashtag2"]},{"1332382415":["hashtag1","hashtag2"]},{"1332382429":["hashtag1","hashtag2"]},{"1332382420":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332382437, 1332382431, 1332382425, 1332382415, 1332382429, 1332382420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69375038146973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:30:32.680485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/29/image_28012025_13_29_16_9320.jpg', '/home/pi/Desktop/images/28012025/13/29/image_28012025_13_29_26_10367.jpg', '/home/pi/Desktop/images/28012025/13/29/image_28012025_13_29_37_10392.jpg', '/home/pi/Desktop/images/28012025/13/29/image_28012025_13_29_56_10430.jpg', '/home/pi/Desktop/images/28012025/13/29/image_28012025_13_30_07_10349.jpg', '/home/pi/Desktop/images/28012025/13/30/image_28012025_13_30_16_9318.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/29/image_28012025_13_29_16_9320.jpg
/home/pi/Desktop/images/28012025/13/29/image_28012025_13_29_26_10367.jpg
/home/pi/Desktop/images/28012025/13/29/image_28012025_13_29_37_10392.jpg
/home/pi/Desktop/images/28012025/13/29/image_28012025_13_29_56_10430.jpg
/home/pi/Desktop/images/28012025/13/29/image_28012025_13_30_07_10349.jpg
/home/pi/Desktop/images/28012025/13/30/image_28012025_13_30_16_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":["1332382574","1332383056","1332382927","1332382840","1332382581","1332382708"],"photo_ids_order":["1332382574","1332382581","1332382708","1332382840","1332382927","1332383056"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/62a9e8853017bddd7edb4600a8509b47.jpg","text":"TemporaryFile(/tmp/multipartBody8008214295617925650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089093672,"filename":"image_28012025_13_29_16_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/58f07566479378ae55c9780d302ba1e3.jpg","text":"TemporaryFile(/tmp/multipartBody7039611977652684075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089093672,"filename":"image_28012025_13_30_16_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/67b9c159005866ee4bfa6ce4cca5df9a.jpg","text":"TemporaryFile(/tmp/multipartBody6835245887629608552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089093672,"filename":"image_28012025_13_30_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/1/28/c1c82740ecf609ad35645a630e6e217a.jpg","text":"TemporaryFile(/tmp/multipartBody7215834082241090492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089093672,"filename":"image_28012025_13_29_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/1/28/b22de7b0653ebb22ecbd54c61944d0f9.jpg","text":"TemporaryFile(/tmp/multipartBody764560465064440172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089093672,"filename":"image_28012025_13_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/1/28/f40e9615c296a4e148df321359b4513f.jpg","text":"TemporaryFile(/tmp/multipartBody6841436430787045327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089093672,"filename":"image_28012025_13_29_37_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332382708","file1":"1332382581","file0":"1332382574","file4":"1332382927","file5":"1332383056","file3":"1332382840"},"map_files_photo_id_array":[{"photo_id":"1332383056","filename":"file5"},{"photo_id":"1332382708","filename":"file2"},{"photo_id":"1332382927","filename":"file4"},{"photo_id":"1332382581","filename":"file1"},{"photo_id":"1332382574","filename":"file0"},{"photo_id":"1332382840","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332382574":["hashtag1","hashtag2"]},{"1332383056":["hashtag1","hashtag2"]},{"1332382927":["hashtag1","hashtag2"]},{"1332382840":["hashtag1","hashtag2"]},{"1332382581":["hashtag1","hashtag2"]},{"1332382708":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332382574, 1332383056, 1332382927, 1332382840, 1332382581, 1332382708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.82084846496582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:31:32.913972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/30/image_28012025_13_30_36_9345.jpg', '/home/pi/Desktop/images/28012025/13/30/image_28012025_13_30_46_10467.jpg', '/home/pi/Desktop/images/28012025/13/30/image_28012025_13_30_57_10439.jpg', '/home/pi/Desktop/images/28012025/13/30/image_28012025_13_31_06_9388.jpg', '/home/pi/Desktop/images/28012025/13/31/image_28012025_13_31_17_10343.jpg', '/home/pi/Desktop/images/28012025/13/31/image_28012025_13_31_26_9375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/30/image_28012025_13_30_36_9345.jpg
/home/pi/Desktop/images/28012025/13/30/image_28012025_13_30_46_10467.jpg
/home/pi/Desktop/images/28012025/13/30/image_28012025_13_30_57_10439.jpg
/home/pi/Desktop/images/28012025/13/30/image_28012025_13_31_06_9388.jpg
/home/pi/Desktop/images/28012025/13/31/image_28012025_13_31_17_10343.jpg
/home/pi/Desktop/images/28012025/13/31/image_28012025_13_31_26_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":["1332383870","1332383950","1332384051","1332384048","1332383721","1332384012"],"photo_ids_order":["1332383721","1332383870","1332383950","1332384012","1332384048","1332384051"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/144b89f876a9478b18f647452a0665e4.jpg","text":"TemporaryFile(/tmp/multipartBody6889353233035915334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089153883,"filename":"image_28012025_13_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/1/28/75c6a2cc305acb16d51140c718c877d7.jpg","text":"TemporaryFile(/tmp/multipartBody1126463920805928984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089153883,"filename":"image_28012025_13_30_57_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c38e85536193bd95ae9accaa43c617f2.jpg","text":"TemporaryFile(/tmp/multipartBody9221237927246590972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089153883,"filename":"image_28012025_13_31_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/1/28/ee75bcdeb8bc6f9978d68d1c592ffd79.jpg","text":"TemporaryFile(/tmp/multipartBody4088838704236758924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089153883,"filename":"image_28012025_13_31_17_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b094264bc5b4ba59c90ff06406384f2e.jpg","text":"TemporaryFile(/tmp/multipartBody531319799486831173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089153883,"filename":"image_28012025_13_30_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/1/28/754ef9be10746a576b431fdbbbc29a35.jpg","text":"TemporaryFile(/tmp/multipartBody2116835032597266763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089153883,"filename":"image_28012025_13_31_06_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332383950","file1":"1332383870","file0":"1332383721","file4":"1332384048","file5":"1332384051","file3":"1332384012"},"map_files_photo_id_array":[{"photo_id":"1332384051","filename":"file5"},{"photo_id":"1332383950","filename":"file2"},{"photo_id":"1332384048","filename":"file4"},{"photo_id":"1332383870","filename":"file1"},{"photo_id":"1332383721","filename":"file0"},{"photo_id":"1332384012","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332383870":["hashtag1","hashtag2"]},{"1332383950":["hashtag1","hashtag2"]},{"1332384051":["hashtag1","hashtag2"]},{"1332384048":["hashtag1","hashtag2"]},{"1332383721":["hashtag1","hashtag2"]},{"1332384012":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332383870, 1332383950, 1332384051, 1332384048, 1332383721, 1332384012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.762324810028076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:32:33.064340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/31/image_28012025_13_31_36_10355.jpg', '/home/pi/Desktop/images/28012025/13/31/image_28012025_13_31_47_10424.jpg', '/home/pi/Desktop/images/28012025/13/31/image_28012025_13_31_56_9349.jpg', '/home/pi/Desktop/images/28012025/13/31/image_28012025_13_32_06_10404.jpg', '/home/pi/Desktop/images/28012025/13/32/image_28012025_13_32_17_10339.jpg', '/home/pi/Desktop/images/28012025/13/32/image_28012025_13_32_26_9427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/31/image_28012025_13_31_36_10355.jpg
/home/pi/Desktop/images/28012025/13/31/image_28012025_13_31_47_10424.jpg
/home/pi/Desktop/images/28012025/13/31/image_28012025_13_31_56_9349.jpg
/home/pi/Desktop/images/28012025/13/31/image_28012025_13_32_06_10404.jpg
/home/pi/Desktop/images/28012025/13/32/image_28012025_13_32_17_10339.jpg
/home/pi/Desktop/images/28012025/13/32/image_28012025_13_32_26_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":["1332384230","1332384623","1332384580","1332384308","1332384178","1332384411"],"photo_ids_order":["1332384178","1332384230","1332384308","1332384411","1332384580","1332384623"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7f07b0d9a4b72637875319b3bad8fe12.jpg","text":"TemporaryFile(/tmp/multipartBody2667571807423823819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089214032,"filename":"image_28012025_13_31_47_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f3f630e7ad96616505330af416f0bc2e.jpg","text":"TemporaryFile(/tmp/multipartBody550835108977849768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089214032,"filename":"image_28012025_13_32_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/1/28/197f23c21d32436016acb1ada237fc7a.jpg","text":"TemporaryFile(/tmp/multipartBody4445749628148976131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089214032,"filename":"image_28012025_13_32_17_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6dc6b103237d5879fdaf7ddd895e252a.jpg","text":"TemporaryFile(/tmp/multipartBody8322034453527868088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089214032,"filename":"image_28012025_13_31_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/1/28/edb2cc374311cd15bb7e43892f0639e3.jpg","text":"TemporaryFile(/tmp/multipartBody5387643454456269245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089214032,"filename":"image_28012025_13_31_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/1/28/45c30ece195f95c9d0c1787d9818accb.jpg","text":"TemporaryFile(/tmp/multipartBody5608495304991124074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089214032,"filename":"image_28012025_13_32_06_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332384308","file1":"1332384230","file0":"1332384178","file4":"1332384580","file5":"1332384623","file3":"1332384411"},"map_files_photo_id_array":[{"photo_id":"1332384623","filename":"file5"},{"photo_id":"1332384308","filename":"file2"},{"photo_id":"1332384580","filename":"file4"},{"photo_id":"1332384230","filename":"file1"},{"photo_id":"1332384178","filename":"file0"},{"photo_id":"1332384411","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332384230":["hashtag1","hashtag2"]},{"1332384623":["hashtag1","hashtag2"]},{"1332384580":["hashtag1","hashtag2"]},{"1332384308":["hashtag1","hashtag2"]},{"1332384178":["hashtag1","hashtag2"]},{"1332384411":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332384230, 1332384623, 1332384580, 1332384308, 1332384178, 1332384411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.69894194602966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:33:32.389607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/32/image_28012025_13_32_37_10377.jpg', '/home/pi/Desktop/images/28012025/13/32/image_28012025_13_32_46_9346.jpg', '/home/pi/Desktop/images/28012025/13/32/image_28012025_13_32_56_10352.jpg', '/home/pi/Desktop/images/28012025/13/32/image_28012025_13_33_07_10327.jpg', '/home/pi/Desktop/images/28012025/13/33/image_28012025_13_33_16_9390.jpg', '/home/pi/Desktop/images/28012025/13/33/image_28012025_13_33_26_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/32/image_28012025_13_32_37_10377.jpg
/home/pi/Desktop/images/28012025/13/32/image_28012025_13_32_46_9346.jpg
/home/pi/Desktop/images/28012025/13/32/image_28012025_13_32_56_10352.jpg
/home/pi/Desktop/images/28012025/13/32/image_28012025_13_33_07_10327.jpg
/home/pi/Desktop/images/28012025/13/33/image_28012025_13_33_16_9390.jpg
/home/pi/Desktop/images/28012025/13/33/image_28012025_13_33_26_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":["1332384806","1332384815","1332384811","1332384744","1332384675","1332384818"],"photo_ids_order":["1332384675","1332384744","1332384806","1332384811","1332384815","1332384818"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/36543c6cdf800fd7b2401abb54d60a38.jpg","text":"TemporaryFile(/tmp/multipartBody7781810048402243879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089273349,"filename":"image_28012025_13_32_56_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/17e1f9c046dad891a3a1b5720fbac43e.jpg","text":"TemporaryFile(/tmp/multipartBody3105441719751593151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089273349,"filename":"image_28012025_13_33_16_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dbb3c3805ee3aca3f996ab5ff4a6fa9f.jpg","text":"TemporaryFile(/tmp/multipartBody2525694287782315680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089273349,"filename":"image_28012025_13_33_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/1/28/933cde749f3c8c59fdfacd8018e4c252.jpg","text":"TemporaryFile(/tmp/multipartBody8535175585883655122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089273349,"filename":"image_28012025_13_32_46_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3accd50980a6c4bf96643e19415781f7.jpg","text":"TemporaryFile(/tmp/multipartBody8490199691679018834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089273349,"filename":"image_28012025_13_32_37_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/273733860d3b4aeb615e0cd3edb20faa.jpg","text":"TemporaryFile(/tmp/multipartBody2254267820084985211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089273349,"filename":"image_28012025_13_33_26_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332384806","file1":"1332384744","file0":"1332384675","file4":"1332384815","file5":"1332384818","file3":"1332384811"},"map_files_photo_id_array":[{"photo_id":"1332384818","filename":"file5"},{"photo_id":"1332384806","filename":"file2"},{"photo_id":"1332384815","filename":"file4"},{"photo_id":"1332384744","filename":"file1"},{"photo_id":"1332384675","filename":"file0"},{"photo_id":"1332384811","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332384806":["hashtag1","hashtag2"]},{"1332384815":["hashtag1","hashtag2"]},{"1332384811":["hashtag1","hashtag2"]},{"1332384744":["hashtag1","hashtag2"]},{"1332384675":["hashtag1","hashtag2"]},{"1332384818":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332384806, 1332384815, 1332384811, 1332384744, 1332384675, 1332384818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.3676643371582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:34:32.499886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/33/image_28012025_13_33_37_10343.jpg', '/home/pi/Desktop/images/28012025/13/33/image_28012025_13_33_46_9414.jpg', '/home/pi/Desktop/images/28012025/13/33/image_28012025_13_33_57_10362.jpg', '/home/pi/Desktop/images/28012025/13/33/image_28012025_13_34_06_9322.jpg', '/home/pi/Desktop/images/28012025/13/34/image_28012025_13_34_16_10467.jpg', '/home/pi/Desktop/images/28012025/13/34/image_28012025_13_34_27_10386.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/33/image_28012025_13_33_37_10343.jpg
/home/pi/Desktop/images/28012025/13/33/image_28012025_13_33_46_9414.jpg
/home/pi/Desktop/images/28012025/13/33/image_28012025_13_33_57_10362.jpg
/home/pi/Desktop/images/28012025/13/33/image_28012025_13_34_06_9322.jpg
/home/pi/Desktop/images/28012025/13/34/image_28012025_13_34_16_10467.jpg
/home/pi/Desktop/images/28012025/13/34/image_28012025_13_34_27_10386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332385063","1332385057","1332385027","1332385068","1332385070","1332385052"],"photo_ids_order":["1332385027","1332385052","1332385057","1332385063","1332385068","1332385070"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ea81ff3e684648f68d3b4524b4d8d90f.jpg","text":"TemporaryFile(/tmp/multipartBody8381832599142713934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089333462,"filename":"image_28012025_13_34_06_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3592ef595876244c1085da050f2ddac0.jpg","text":"TemporaryFile(/tmp/multipartBody8876823365114416480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089333462,"filename":"image_28012025_13_33_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/1/28/d7a713e4592e4a1ea2455af19517c401.jpg","text":"TemporaryFile(/tmp/multipartBody7035478323266030445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089333462,"filename":"image_28012025_13_33_37_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cccd00b541c231232f85da7a262fc7fc.jpg","text":"TemporaryFile(/tmp/multipartBody3562077458523513316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089333462,"filename":"image_28012025_13_34_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/1/28/7866b1cf29449accf70322778e171179.jpg","text":"TemporaryFile(/tmp/multipartBody5606034031653718749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089333462,"filename":"image_28012025_13_34_27_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d32b898cd21e48879c81227c55aa0bf9.jpg","text":"TemporaryFile(/tmp/multipartBody1517503746299623836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089333462,"filename":"image_28012025_13_33_46_9414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332385057","file1":"1332385052","file0":"1332385027","file4":"1332385068","file5":"1332385070","file3":"1332385063"},"map_files_photo_id_array":[{"photo_id":"1332385070","filename":"file5"},{"photo_id":"1332385057","filename":"file2"},{"photo_id":"1332385068","filename":"file4"},{"photo_id":"1332385052","filename":"file1"},{"photo_id":"1332385027","filename":"file0"},{"photo_id":"1332385063","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332385063":["hashtag1","hashtag2"]},{"1332385057":["hashtag1","hashtag2"]},{"1332385027":["hashtag1","hashtag2"]},{"1332385068":["hashtag1","hashtag2"]},{"1332385070":["hashtag1","hashtag2"]},{"1332385052":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332385063, 1332385057, 1332385027, 1332385068, 1332385070, 1332385052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.93498158454895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:35:32.679146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/34/image_28012025_13_34_36_9342.jpg', '/home/pi/Desktop/images/28012025/13/34/image_28012025_13_34_46_10422.jpg', '/home/pi/Desktop/images/28012025/13/34/image_28012025_13_34_57_10338.jpg', '/home/pi/Desktop/images/28012025/13/34/image_28012025_13_35_06_9427.jpg', '/home/pi/Desktop/images/28012025/13/35/image_28012025_13_35_17_10400.jpg', '/home/pi/Desktop/images/28012025/13/35/image_28012025_13_35_26_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/34/image_28012025_13_34_36_9342.jpg
/home/pi/Desktop/images/28012025/13/34/image_28012025_13_34_46_10422.jpg
/home/pi/Desktop/images/28012025/13/34/image_28012025_13_34_57_10338.jpg
/home/pi/Desktop/images/28012025/13/34/image_28012025_13_35_06_9427.jpg
/home/pi/Desktop/images/28012025/13/35/image_28012025_13_35_17_10400.jpg
/home/pi/Desktop/images/28012025/13/35/image_28012025_13_35_26_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332385090","1332385102","1332385098","1332385088","1332385093","1332385096"],"photo_ids_order":["1332385088","1332385090","1332385093","1332385096","1332385098","1332385102"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6948a736cb644a96279ae8f9e82edce1.jpg","text":"TemporaryFile(/tmp/multipartBody4476853251608375332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089393646,"filename":"image_28012025_13_34_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/1/28/2f63f46826011fd4afa6f18eb9f847ca.jpg","text":"TemporaryFile(/tmp/multipartBody3471211315662362534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089393646,"filename":"image_28012025_13_35_26_9637.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4eff60976980d721bad681ca97a9e98a.jpg","text":"TemporaryFile(/tmp/multipartBody3264439144666409204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089393646,"filename":"image_28012025_13_35_17_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/568e07d43f4b138252912127f7a49a0c.jpg","text":"TemporaryFile(/tmp/multipartBody5191154820377514209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089393646,"filename":"image_28012025_13_34_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/1/28/48282b7d77b04d6bca84a58686ee8e50.jpg","text":"TemporaryFile(/tmp/multipartBody2863533681605016149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089393646,"filename":"image_28012025_13_34_57_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6f12ef5fdd4bba18fa153b4156d3f986.jpg","text":"TemporaryFile(/tmp/multipartBody4466788443149369672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089393646,"filename":"image_28012025_13_35_06_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332385093","file1":"1332385090","file0":"1332385088","file4":"1332385098","file5":"1332385102","file3":"1332385096"},"map_files_photo_id_array":[{"photo_id":"1332385102","filename":"file5"},{"photo_id":"1332385093","filename":"file2"},{"photo_id":"1332385098","filename":"file4"},{"photo_id":"1332385090","filename":"file1"},{"photo_id":"1332385088","filename":"file0"},{"photo_id":"1332385096","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332385090":["hashtag1","hashtag2"]},{"1332385102":["hashtag1","hashtag2"]},{"1332385098":["hashtag1","hashtag2"]},{"1332385088":["hashtag1","hashtag2"]},{"1332385093":["hashtag1","hashtag2"]},{"1332385096":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332385090, 1332385102, 1332385098, 1332385088, 1332385093, 1332385096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.15941762924194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:36:33.015551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/35/image_28012025_13_35_37_10354.jpg', '/home/pi/Desktop/images/28012025/13/35/image_28012025_13_35_46_9325.jpg', '/home/pi/Desktop/images/28012025/13/35/image_28012025_13_35_56_10356.jpg', '/home/pi/Desktop/images/28012025/13/35/image_28012025_13_36_07_10354.jpg', '/home/pi/Desktop/images/28012025/13/36/image_28012025_13_36_16_9358.jpg', '/home/pi/Desktop/images/28012025/13/36/image_28012025_13_36_26_10446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/35/image_28012025_13_35_37_10354.jpg
/home/pi/Desktop/images/28012025/13/35/image_28012025_13_35_46_9325.jpg
/home/pi/Desktop/images/28012025/13/35/image_28012025_13_35_56_10356.jpg
/home/pi/Desktop/images/28012025/13/35/image_28012025_13_36_07_10354.jpg
/home/pi/Desktop/images/28012025/13/36/image_28012025_13_36_16_9358.jpg
/home/pi/Desktop/images/28012025/13/36/image_28012025_13_36_26_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":["1332385551","1332385697","1332385640","1332385532","1332385925","1332385888"],"photo_ids_order":["1332385532","1332385551","1332385640","1332385697","1332385888","1332385925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1c14fdf2c347e0b4ca1bdd83e0a10273.jpg","text":"TemporaryFile(/tmp/multipartBody2660240076525611843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089453989,"filename":"image_28012025_13_35_46_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6638ed76d3ab890580f3194ee04bd4b2.jpg","text":"TemporaryFile(/tmp/multipartBody6900445644228913096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089453989,"filename":"image_28012025_13_36_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/1/28/848b99fc30a30f1aeb1180a968232883.jpg","text":"TemporaryFile(/tmp/multipartBody3818994684393153634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089453989,"filename":"image_28012025_13_35_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/54bf174cb0aa2aaf680d0c9b217ac381.jpg","text":"TemporaryFile(/tmp/multipartBody5217869528638321008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089453989,"filename":"image_28012025_13_35_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/1/28/ded0d5294d3c83bac79198326acf8681.jpg","text":"TemporaryFile(/tmp/multipartBody8725803123346249131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089453989,"filename":"image_28012025_13_36_26_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a2f9d10931eca307b26328fe695b9745.jpg","text":"TemporaryFile(/tmp/multipartBody512297214275643072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089453989,"filename":"image_28012025_13_36_16_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332385640","file1":"1332385551","file0":"1332385532","file4":"1332385888","file5":"1332385925","file3":"1332385697"},"map_files_photo_id_array":[{"photo_id":"1332385925","filename":"file5"},{"photo_id":"1332385640","filename":"file2"},{"photo_id":"1332385888","filename":"file4"},{"photo_id":"1332385551","filename":"file1"},{"photo_id":"1332385532","filename":"file0"},{"photo_id":"1332385697","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332385551":["hashtag1","hashtag2"]},{"1332385697":["hashtag1","hashtag2"]},{"1332385640":["hashtag1","hashtag2"]},{"1332385532":["hashtag1","hashtag2"]},{"1332385925":["hashtag1","hashtag2"]},{"1332385888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332385551, 1332385697, 1332385640, 1332385532, 1332385925, 1332385888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.98988747596741 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:37:32.344669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/36/image_28012025_13_36_37_10347.jpg', '/home/pi/Desktop/images/28012025/13/36/image_28012025_13_36_46_9427.jpg', '/home/pi/Desktop/images/28012025/13/36/image_28012025_13_36_57_10412.jpg', '/home/pi/Desktop/images/28012025/13/36/image_28012025_13_37_06_9327.jpg', '/home/pi/Desktop/images/28012025/13/37/image_28012025_13_37_16_10432.jpg', '/home/pi/Desktop/images/28012025/13/37/image_28012025_13_37_27_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/36/image_28012025_13_36_37_10347.jpg
/home/pi/Desktop/images/28012025/13/36/image_28012025_13_36_46_9427.jpg
/home/pi/Desktop/images/28012025/13/36/image_28012025_13_36_57_10412.jpg
/home/pi/Desktop/images/28012025/13/36/image_28012025_13_37_06_9327.jpg
/home/pi/Desktop/images/28012025/13/37/image_28012025_13_37_16_10432.jpg
/home/pi/Desktop/images/28012025/13/37/image_28012025_13_37_27_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332386136","1332386415","1332386290","1332386191","1332386140","1332386221"],"photo_ids_order":["1332386136","1332386140","1332386191","1332386221","1332386290","1332386415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e9dca03c67c90c171e6406ff9a007e30.jpg","text":"TemporaryFile(/tmp/multipartBody2221783911800246551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089513319,"filename":"image_28012025_13_36_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/1/28/ffb96fca909171fbe0f4353640cb8e51.jpg","text":"TemporaryFile(/tmp/multipartBody5372640575685807176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089513319,"filename":"image_28012025_13_37_27_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0f64371442b2b628c945a29ffb79186e.jpg","text":"TemporaryFile(/tmp/multipartBody1140123801730750736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089513319,"filename":"image_28012025_13_37_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/1/28/fdbd2e1ae3be87089fd5fbfef3a5cc05.jpg","text":"TemporaryFile(/tmp/multipartBody4305408736952470129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089513319,"filename":"image_28012025_13_36_57_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/32a9ef679c1629e02ffac206e5591be8.jpg","text":"TemporaryFile(/tmp/multipartBody2487184796508398435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089513319,"filename":"image_28012025_13_36_46_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/608f0bcb4baa958e150535dca44010df.jpg","text":"TemporaryFile(/tmp/multipartBody6086146057601581023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089513319,"filename":"image_28012025_13_37_06_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332386191","file1":"1332386140","file0":"1332386136","file4":"1332386290","file5":"1332386415","file3":"1332386221"},"map_files_photo_id_array":[{"photo_id":"1332386415","filename":"file5"},{"photo_id":"1332386191","filename":"file2"},{"photo_id":"1332386290","filename":"file4"},{"photo_id":"1332386140","filename":"file1"},{"photo_id":"1332386136","filename":"file0"},{"photo_id":"1332386221","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332386136":["hashtag1","hashtag2"]},{"1332386415":["hashtag1","hashtag2"]},{"1332386290":["hashtag1","hashtag2"]},{"1332386191":["hashtag1","hashtag2"]},{"1332386140":["hashtag1","hashtag2"]},{"1332386221":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332386136, 1332386415, 1332386290, 1332386191, 1332386140, 1332386221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.68142747879028 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:38:32.386323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/37/image_28012025_13_37_36_9427.jpg', '/home/pi/Desktop/images/28012025/13/37/image_28012025_13_37_47_10400.jpg', '/home/pi/Desktop/images/28012025/13/37/image_28012025_13_37_56_9345.jpg', '/home/pi/Desktop/images/28012025/13/37/image_28012025_13_38_06_10387.jpg', '/home/pi/Desktop/images/28012025/13/38/image_28012025_13_38_17_10388.jpg', '/home/pi/Desktop/images/28012025/13/38/image_28012025_13_38_26_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/37/image_28012025_13_37_36_9427.jpg
/home/pi/Desktop/images/28012025/13/37/image_28012025_13_37_47_10400.jpg
/home/pi/Desktop/images/28012025/13/37/image_28012025_13_37_56_9345.jpg
/home/pi/Desktop/images/28012025/13/37/image_28012025_13_38_06_10387.jpg
/home/pi/Desktop/images/28012025/13/38/image_28012025_13_38_17_10388.jpg
/home/pi/Desktop/images/28012025/13/38/image_28012025_13_38_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":["1332387090","1332386518","1332386739","1332386625","1332386977","1332386863"],"photo_ids_order":["1332386518","1332386625","1332386739","1332386863","1332386977","1332387090"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/116631e1015bd504a7e5213bb98a6e4f.jpg","text":"TemporaryFile(/tmp/multipartBody8794589493932336877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089573348,"filename":"image_28012025_13_38_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/1/28/660e6a6183df8014085e5d0e995c21d4.jpg","text":"TemporaryFile(/tmp/multipartBody5558026371871252638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089573348,"filename":"image_28012025_13_37_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/1/28/15b8eafe91f11b211913309347e4d54d.jpg","text":"TemporaryFile(/tmp/multipartBody8755656192320864826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089573348,"filename":"image_28012025_13_37_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/1/28/d823c92b76f5133c51b68e96639372f3.jpg","text":"TemporaryFile(/tmp/multipartBody8328435048045160316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089573348,"filename":"image_28012025_13_37_47_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cf67980fedadf7c2c1f0f8297fcce214.jpg","text":"TemporaryFile(/tmp/multipartBody3269624991585615069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089573348,"filename":"image_28012025_13_38_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/1/28/f1730cf90e38f4429b7d6b55c2d0ea22.jpg","text":"TemporaryFile(/tmp/multipartBody3391789950794638075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089573348,"filename":"image_28012025_13_38_06_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332386739","file1":"1332386625","file0":"1332386518","file4":"1332386977","file5":"1332387090","file3":"1332386863"},"map_files_photo_id_array":[{"photo_id":"1332387090","filename":"file5"},{"photo_id":"1332386739","filename":"file2"},{"photo_id":"1332386977","filename":"file4"},{"photo_id":"1332386625","filename":"file1"},{"photo_id":"1332386518","filename":"file0"},{"photo_id":"1332386863","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332387090":["hashtag1","hashtag2"]},{"1332386518":["hashtag1","hashtag2"]},{"1332386739":["hashtag1","hashtag2"]},{"1332386625":["hashtag1","hashtag2"]},{"1332386977":["hashtag1","hashtag2"]},{"1332386863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332387090, 1332386518, 1332386739, 1332386625, 1332386977, 1332386863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59068965911865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:39:32.711466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/38/image_28012025_13_38_36_10373.jpg', '/home/pi/Desktop/images/28012025/13/38/image_28012025_13_38_47_10332.jpg', '/home/pi/Desktop/images/28012025/13/38/image_28012025_13_38_56_9496.jpg', '/home/pi/Desktop/images/28012025/13/38/image_28012025_13_39_07_10351.jpg', '/home/pi/Desktop/images/28012025/13/39/image_28012025_13_39_16_9338.jpg', '/home/pi/Desktop/images/28012025/13/39/image_28012025_13_39_26_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/38/image_28012025_13_38_36_10373.jpg
/home/pi/Desktop/images/28012025/13/38/image_28012025_13_38_47_10332.jpg
/home/pi/Desktop/images/28012025/13/38/image_28012025_13_38_56_9496.jpg
/home/pi/Desktop/images/28012025/13/38/image_28012025_13_39_07_10351.jpg
/home/pi/Desktop/images/28012025/13/39/image_28012025_13_39_16_9338.jpg
/home/pi/Desktop/images/28012025/13/39/image_28012025_13_39_26_10398.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5748565196990967 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 19:39:42.535621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/38/image_28012025_13_38_36_10373.jpg', '/home/pi/Desktop/images/28012025/13/38/image_28012025_13_38_47_10332.jpg', '/home/pi/Desktop/images/28012025/13/38/image_28012025_13_38_56_9496.jpg', '/home/pi/Desktop/images/28012025/13/38/image_28012025_13_39_07_10351.jpg', '/home/pi/Desktop/images/28012025/13/39/image_28012025_13_39_16_9338.jpg', '/home/pi/Desktop/images/28012025/13/39/image_28012025_13_39_26_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/38/image_28012025_13_38_36_10373.jpg
/home/pi/Desktop/images/28012025/13/38/image_28012025_13_38_47_10332.jpg
/home/pi/Desktop/images/28012025/13/38/image_28012025_13_38_56_9496.jpg
/home/pi/Desktop/images/28012025/13/38/image_28012025_13_39_07_10351.jpg
/home/pi/Desktop/images/28012025/13/39/image_28012025_13_39_16_9338.jpg
/home/pi/Desktop/images/28012025/13/39/image_28012025_13_39_26_10398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332387243","1332387236","1332387250","1332387253","1332387247","1332387180"],"photo_ids_order":["1332387180","1332387236","1332387243","1332387247","1332387250","1332387253"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9a1ef45fc1b53818ea79dde94e317cdf.jpg","text":"TemporaryFile(/tmp/multipartBody3036333032532784725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089643419,"filename":"image_28012025_13_38_56_9496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/afe937c16a1b44230c04aa681153c988.jpg","text":"TemporaryFile(/tmp/multipartBody3214027433884215471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089643419,"filename":"image_28012025_13_38_47_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f29355afb13b08659475068afbc9a5e0.jpg","text":"TemporaryFile(/tmp/multipartBody4170008991278128378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089643419,"filename":"image_28012025_13_39_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/1/28/1182a2a881e1ec78e644c82aecbc1fbd.jpg","text":"TemporaryFile(/tmp/multipartBody5417944973815474589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089643419,"filename":"image_28012025_13_39_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/1/28/31abbaff647d90529614b8df6c6fff86.jpg","text":"TemporaryFile(/tmp/multipartBody8296851179289876195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089643419,"filename":"image_28012025_13_39_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/1/28/35d0196b3506b871e79767a018b0ce8a.jpg","text":"TemporaryFile(/tmp/multipartBody8346806968915026965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089643419,"filename":"image_28012025_13_38_36_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332387243","file1":"1332387236","file0":"1332387180","file4":"1332387250","file5":"1332387253","file3":"1332387247"},"map_files_photo_id_array":[{"photo_id":"1332387253","filename":"file5"},{"photo_id":"1332387243","filename":"file2"},{"photo_id":"1332387250","filename":"file4"},{"photo_id":"1332387236","filename":"file1"},{"photo_id":"1332387180","filename":"file0"},{"photo_id":"1332387247","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332387243":["hashtag1","hashtag2"]},{"1332387236":["hashtag1","hashtag2"]},{"1332387250":["hashtag1","hashtag2"]},{"1332387253":["hashtag1","hashtag2"]},{"1332387247":["hashtag1","hashtag2"]},{"1332387180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332387243, 1332387236, 1332387250, 1332387253, 1332387247, 1332387180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8908748626709 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:40:33.007051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/39/image_28012025_13_39_37_10345.jpg', '/home/pi/Desktop/images/28012025/13/39/image_28012025_13_39_46_9335.jpg', '/home/pi/Desktop/images/28012025/13/39/image_28012025_13_39_56_10420.jpg', '/home/pi/Desktop/images/28012025/13/39/image_28012025_13_40_06_9409.jpg', '/home/pi/Desktop/images/28012025/13/40/image_28012025_13_40_16_10361.jpg', '/home/pi/Desktop/images/28012025/13/40/image_28012025_13_40_27_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/39/image_28012025_13_39_37_10345.jpg
/home/pi/Desktop/images/28012025/13/39/image_28012025_13_39_46_9335.jpg
/home/pi/Desktop/images/28012025/13/39/image_28012025_13_39_56_10420.jpg
/home/pi/Desktop/images/28012025/13/39/image_28012025_13_40_06_9409.jpg
/home/pi/Desktop/images/28012025/13/40/image_28012025_13_40_16_10361.jpg
/home/pi/Desktop/images/28012025/13/40/image_28012025_13_40_27_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332387369","1332387477","1332387542","1332387515","1332387469","1332387577"],"photo_ids_order":["1332387369","1332387469","1332387477","1332387515","1332387542","1332387577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/761904720217da68324498eb68896120.jpg","text":"TemporaryFile(/tmp/multipartBody3938223100242808007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089693970,"filename":"image_28012025_13_39_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/1/28/c2bd25b8a2fa47a245733d574beefcab.jpg","text":"TemporaryFile(/tmp/multipartBody8697791578085986736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089693970,"filename":"image_28012025_13_39_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/1/28/69b8bfdd8788c2ccaebde0f4aa39210b.jpg","text":"TemporaryFile(/tmp/multipartBody7874256365242186364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089693970,"filename":"image_28012025_13_40_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/1/28/bcdba19cb61c56aed7c47ddd13af645a.jpg","text":"TemporaryFile(/tmp/multipartBody5069729661348883282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089693970,"filename":"image_28012025_13_40_06_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/54d6628bbed275ecc8de118d0449b220.jpg","text":"TemporaryFile(/tmp/multipartBody4881768319796396410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089693970,"filename":"image_28012025_13_39_46_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c0f63021045e8d7b569f5254262d2b26.jpg","text":"TemporaryFile(/tmp/multipartBody1967188797763468741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089693970,"filename":"image_28012025_13_40_27_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332387477","file1":"1332387469","file0":"1332387369","file4":"1332387542","file5":"1332387577","file3":"1332387515"},"map_files_photo_id_array":[{"photo_id":"1332387577","filename":"file5"},{"photo_id":"1332387477","filename":"file2"},{"photo_id":"1332387542","filename":"file4"},{"photo_id":"1332387469","filename":"file1"},{"photo_id":"1332387369","filename":"file0"},{"photo_id":"1332387515","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332387369":["hashtag1","hashtag2"]},{"1332387477":["hashtag1","hashtag2"]},{"1332387542":["hashtag1","hashtag2"]},{"1332387515":["hashtag1","hashtag2"]},{"1332387469":["hashtag1","hashtag2"]},{"1332387577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332387369, 1332387477, 1332387542, 1332387515, 1332387469, 1332387577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84389925003052 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:41:32.163253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/40/image_28012025_13_40_36_9334.jpg', '/home/pi/Desktop/images/28012025/13/40/image_28012025_13_40_46_10453.jpg', '/home/pi/Desktop/images/28012025/13/40/image_28012025_13_40_57_10401.jpg', '/home/pi/Desktop/images/28012025/13/40/image_28012025_13_41_06_9461.jpg', '/home/pi/Desktop/images/28012025/13/41/image_28012025_13_41_17_10332.jpg', '/home/pi/Desktop/images/28012025/13/41/image_28012025_13_41_26_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/40/image_28012025_13_40_36_9334.jpg
/home/pi/Desktop/images/28012025/13/40/image_28012025_13_40_46_10453.jpg
/home/pi/Desktop/images/28012025/13/40/image_28012025_13_40_57_10401.jpg
/home/pi/Desktop/images/28012025/13/40/image_28012025_13_41_06_9461.jpg
/home/pi/Desktop/images/28012025/13/41/image_28012025_13_41_17_10332.jpg
/home/pi/Desktop/images/28012025/13/41/image_28012025_13_41_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":["1332387642","1332387644","1332387634","1332387637","1332387646","1332387628"],"photo_ids_order":["1332387628","1332387634","1332387637","1332387642","1332387644","1332387646"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1a97d20a6dfeb268a0d3a7840d371b1d.jpg","text":"TemporaryFile(/tmp/multipartBody7545943721167392268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089753109,"filename":"image_28012025_13_41_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/1/28/ec66016eddbb8f2e2b00f4b8fa526c72.jpg","text":"TemporaryFile(/tmp/multipartBody3015418810542905555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089753109,"filename":"image_28012025_13_41_17_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/07dcfc75bfcc9f798ed6cb8770bdd239.jpg","text":"TemporaryFile(/tmp/multipartBody2454810052678531376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089753109,"filename":"image_28012025_13_40_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/1/28/124c7efcb7b99e5118551951e4336d97.jpg","text":"TemporaryFile(/tmp/multipartBody131699950091192360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089753109,"filename":"image_28012025_13_40_57_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ba1d969d0f15f4f0b9959629df07f4b8.jpg","text":"TemporaryFile(/tmp/multipartBody6830465007380210191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089753109,"filename":"image_28012025_13_41_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/1/28/a5c55b6560de103618fd81e2ba471a5f.jpg","text":"TemporaryFile(/tmp/multipartBody8613808080803169502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089753109,"filename":"image_28012025_13_40_36_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332387637","file1":"1332387634","file0":"1332387628","file4":"1332387644","file5":"1332387646","file3":"1332387642"},"map_files_photo_id_array":[{"photo_id":"1332387646","filename":"file5"},{"photo_id":"1332387637","filename":"file2"},{"photo_id":"1332387644","filename":"file4"},{"photo_id":"1332387634","filename":"file1"},{"photo_id":"1332387628","filename":"file0"},{"photo_id":"1332387642","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332387642":["hashtag1","hashtag2"]},{"1332387644":["hashtag1","hashtag2"]},{"1332387634":["hashtag1","hashtag2"]},{"1332387637":["hashtag1","hashtag2"]},{"1332387646":["hashtag1","hashtag2"]},{"1332387628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332387642, 1332387644, 1332387634, 1332387637, 1332387646, 1332387628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.114288330078125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:42:32.402800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/41/image_28012025_13_41_36_10392.jpg', '/home/pi/Desktop/images/28012025/13/41/image_28012025_13_41_47_10360.jpg', '/home/pi/Desktop/images/28012025/13/41/image_28012025_13_41_56_9338.jpg', '/home/pi/Desktop/images/28012025/13/41/image_28012025_13_42_06_10423.jpg', '/home/pi/Desktop/images/28012025/13/42/image_28012025_13_42_17_10319.jpg', '/home/pi/Desktop/images/28012025/13/42/image_28012025_13_42_26_9453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/41/image_28012025_13_41_36_10392.jpg
/home/pi/Desktop/images/28012025/13/41/image_28012025_13_41_47_10360.jpg
/home/pi/Desktop/images/28012025/13/41/image_28012025_13_41_56_9338.jpg
/home/pi/Desktop/images/28012025/13/41/image_28012025_13_42_06_10423.jpg
/home/pi/Desktop/images/28012025/13/42/image_28012025_13_42_17_10319.jpg
/home/pi/Desktop/images/28012025/13/42/image_28012025_13_42_26_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":["1332387759","1332387755","1332387710","1332387728","1332387757","1332387724"],"photo_ids_order":["1332387710","1332387724","1332387728","1332387755","1332387757","1332387759"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7204c0dacc97a758ad69d49c13043a0d.jpg","text":"TemporaryFile(/tmp/multipartBody73654738603886263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089813369,"filename":"image_28012025_13_42_26_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/45eb794bef5ca5ce1fc45fcefde631ce.jpg","text":"TemporaryFile(/tmp/multipartBody2318244443047590505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089813369,"filename":"image_28012025_13_42_06_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/61a5f7138f4517af5f1db0e68ed56e43.jpg","text":"TemporaryFile(/tmp/multipartBody8180235309857243291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089813369,"filename":"image_28012025_13_41_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/1/28/d710caa87016fec63d6f8140c9ac84c7.jpg","text":"TemporaryFile(/tmp/multipartBody4952597367273776676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089813369,"filename":"image_28012025_13_41_56_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/004b03e3b5b1569b66b2f3797f108a01.jpg","text":"TemporaryFile(/tmp/multipartBody4560056328471855216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089813369,"filename":"image_28012025_13_42_17_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0a06c24a0583de85c5f2d49ff56c4c0d.jpg","text":"TemporaryFile(/tmp/multipartBody5860288454359016246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089813369,"filename":"image_28012025_13_41_47_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332387728","file1":"1332387724","file0":"1332387710","file4":"1332387757","file5":"1332387759","file3":"1332387755"},"map_files_photo_id_array":[{"photo_id":"1332387759","filename":"file5"},{"photo_id":"1332387728","filename":"file2"},{"photo_id":"1332387757","filename":"file4"},{"photo_id":"1332387724","filename":"file1"},{"photo_id":"1332387710","filename":"file0"},{"photo_id":"1332387755","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332387759":["hashtag1","hashtag2"]},{"1332387755":["hashtag1","hashtag2"]},{"1332387710":["hashtag1","hashtag2"]},{"1332387728":["hashtag1","hashtag2"]},{"1332387757":["hashtag1","hashtag2"]},{"1332387724":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332387759, 1332387755, 1332387710, 1332387728, 1332387757, 1332387724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.491610288619995 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:43:32.641889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/42/image_28012025_13_42_37_10378.jpg', '/home/pi/Desktop/images/28012025/13/42/image_28012025_13_42_46_9353.jpg', '/home/pi/Desktop/images/28012025/13/42/image_28012025_13_42_56_10414.jpg', '/home/pi/Desktop/images/28012025/13/42/image_28012025_13_43_07_10322.jpg', '/home/pi/Desktop/images/28012025/13/43/image_28012025_13_43_16_9416.jpg', '/home/pi/Desktop/images/28012025/13/43/image_28012025_13_43_26_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/42/image_28012025_13_42_37_10378.jpg
/home/pi/Desktop/images/28012025/13/42/image_28012025_13_42_46_9353.jpg
/home/pi/Desktop/images/28012025/13/42/image_28012025_13_42_56_10414.jpg
/home/pi/Desktop/images/28012025/13/42/image_28012025_13_43_07_10322.jpg
/home/pi/Desktop/images/28012025/13/43/image_28012025_13_43_16_9416.jpg
/home/pi/Desktop/images/28012025/13/43/image_28012025_13_43_26_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":["1332387867","1332387875","1332387878","1332387863","1332387877","1332387871"],"photo_ids_order":["1332387863","1332387867","1332387871","1332387875","1332387877","1332387878"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/988910dbb2383b98b198f64c08a50714.jpg","text":"TemporaryFile(/tmp/multipartBody4274250137950507497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089873596,"filename":"image_28012025_13_42_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/1/28/042b297b32471ac9ffca91d73642e178.jpg","text":"TemporaryFile(/tmp/multipartBody5913238554037461687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089873596,"filename":"image_28012025_13_43_07_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/320fd2c2224a00f13075553bfd1cf0b1.jpg","text":"TemporaryFile(/tmp/multipartBody3989922060535783481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089873596,"filename":"image_28012025_13_43_26_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3c9dfa74007d80d352ddaa091b68dabc.jpg","text":"TemporaryFile(/tmp/multipartBody1662287406188799730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089873596,"filename":"image_28012025_13_42_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/1/28/ac7a8ff93317818084f69b5339c2a92b.jpg","text":"TemporaryFile(/tmp/multipartBody3431554897828334233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089873596,"filename":"image_28012025_13_43_16_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/051715d98596f041b24195966f928beb.jpg","text":"TemporaryFile(/tmp/multipartBody5866044263191058924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089873596,"filename":"image_28012025_13_42_56_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332387871","file1":"1332387867","file0":"1332387863","file4":"1332387877","file5":"1332387878","file3":"1332387875"},"map_files_photo_id_array":[{"photo_id":"1332387878","filename":"file5"},{"photo_id":"1332387871","filename":"file2"},{"photo_id":"1332387877","filename":"file4"},{"photo_id":"1332387867","filename":"file1"},{"photo_id":"1332387863","filename":"file0"},{"photo_id":"1332387875","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332387867":["hashtag1","hashtag2"]},{"1332387875":["hashtag1","hashtag2"]},{"1332387878":["hashtag1","hashtag2"]},{"1332387863":["hashtag1","hashtag2"]},{"1332387877":["hashtag1","hashtag2"]},{"1332387871":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332387867, 1332387875, 1332387878, 1332387863, 1332387877, 1332387871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.80834984779358 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:44:32.869318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/43/image_28012025_13_43_37_10356.jpg', '/home/pi/Desktop/images/28012025/13/43/image_28012025_13_43_46_9432.jpg', '/home/pi/Desktop/images/28012025/13/43/image_28012025_13_43_57_10412.jpg', '/home/pi/Desktop/images/28012025/13/43/image_28012025_13_44_06_9353.jpg', '/home/pi/Desktop/images/28012025/13/44/image_28012025_13_44_16_10442.jpg', '/home/pi/Desktop/images/28012025/13/44/image_28012025_13_44_27_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/43/image_28012025_13_43_37_10356.jpg
/home/pi/Desktop/images/28012025/13/43/image_28012025_13_43_46_9432.jpg
/home/pi/Desktop/images/28012025/13/43/image_28012025_13_43_57_10412.jpg
/home/pi/Desktop/images/28012025/13/43/image_28012025_13_44_06_9353.jpg
/home/pi/Desktop/images/28012025/13/44/image_28012025_13_44_16_10442.jpg
/home/pi/Desktop/images/28012025/13/44/image_28012025_13_44_27_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":["1332388230","1332388298","1332388226","1332388241","1332388233","1332388236"],"photo_ids_order":["1332388226","1332388230","1332388233","1332388236","1332388241","1332388298"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ddcae44452aeaa0f25da63241ff81039.jpg","text":"TemporaryFile(/tmp/multipartBody7760109671100182468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089933839,"filename":"image_28012025_13_43_46_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d4e98a24171ea6427e1d70012cdb5325.jpg","text":"TemporaryFile(/tmp/multipartBody4599969712020115176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089933839,"filename":"image_28012025_13_44_27_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d165757283a53a7838dc1177df39e5cc.jpg","text":"TemporaryFile(/tmp/multipartBody40953027892319467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089933839,"filename":"image_28012025_13_43_37_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fc21fea7b16f1f193cb3dae8dc52262e.jpg","text":"TemporaryFile(/tmp/multipartBody1981423698514162716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089933839,"filename":"image_28012025_13_44_16_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/897d28126d1653fed9523d1966c017d3.jpg","text":"TemporaryFile(/tmp/multipartBody6557067815925290451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089933839,"filename":"image_28012025_13_43_57_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6fdf6a040f339a3f1a83ebd12e66d02f.jpg","text":"TemporaryFile(/tmp/multipartBody6632355545053838418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089933839,"filename":"image_28012025_13_44_06_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332388233","file1":"1332388230","file0":"1332388226","file4":"1332388241","file5":"1332388298","file3":"1332388236"},"map_files_photo_id_array":[{"photo_id":"1332388298","filename":"file5"},{"photo_id":"1332388233","filename":"file2"},{"photo_id":"1332388241","filename":"file4"},{"photo_id":"1332388230","filename":"file1"},{"photo_id":"1332388226","filename":"file0"},{"photo_id":"1332388236","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332388230":["hashtag1","hashtag2"]},{"1332388298":["hashtag1","hashtag2"]},{"1332388226":["hashtag1","hashtag2"]},{"1332388241":["hashtag1","hashtag2"]},{"1332388233":["hashtag1","hashtag2"]},{"1332388236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332388230, 1332388298, 1332388226, 1332388241, 1332388233, 1332388236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.43975567817688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:45:32.218236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/44/image_28012025_13_44_36_9389.jpg', '/home/pi/Desktop/images/28012025/13/44/image_28012025_13_44_47_10357.jpg', '/home/pi/Desktop/images/28012025/13/44/image_28012025_13_44_56_9443.jpg', '/home/pi/Desktop/images/28012025/13/44/image_28012025_13_45_06_10370.jpg', '/home/pi/Desktop/images/28012025/13/45/image_28012025_13_45_17_10390.jpg', '/home/pi/Desktop/images/28012025/13/45/image_28012025_13_45_26_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/44/image_28012025_13_44_36_9389.jpg
/home/pi/Desktop/images/28012025/13/44/image_28012025_13_44_47_10357.jpg
/home/pi/Desktop/images/28012025/13/44/image_28012025_13_44_56_9443.jpg
/home/pi/Desktop/images/28012025/13/44/image_28012025_13_45_06_10370.jpg
/home/pi/Desktop/images/28012025/13/45/image_28012025_13_45_17_10390.jpg
/home/pi/Desktop/images/28012025/13/45/image_28012025_13_45_26_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":["1332388370","1332388366","1332388360","1332388525","1332388524","1332388431"],"photo_ids_order":["1332388360","1332388366","1332388370","1332388431","1332388524","1332388525"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e14162bbd7d282f493c0d3c286559b92.jpg","text":"TemporaryFile(/tmp/multipartBody6314800288666629394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089993195,"filename":"image_28012025_13_44_56_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a7654f0ed3678cf6d4dbea133b8eb193.jpg","text":"TemporaryFile(/tmp/multipartBody1155789495356540492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089993195,"filename":"image_28012025_13_44_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/1/28/04dc7e9ea056dede7c2253dc64937b07.jpg","text":"TemporaryFile(/tmp/multipartBody3380220708694841152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089993195,"filename":"image_28012025_13_44_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/1/28/d1ee5894f3ebae1e87003e855f460dc2.jpg","text":"TemporaryFile(/tmp/multipartBody422145270654368692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089993195,"filename":"image_28012025_13_45_26_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9314c420dcb066c21bea7bd494869e8a.jpg","text":"TemporaryFile(/tmp/multipartBody1702369446818572106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089993195,"filename":"image_28012025_13_45_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/1/28/84849fe3ad830d4ba251652361924ac5.jpg","text":"TemporaryFile(/tmp/multipartBody6498249779140086170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738089993195,"filename":"image_28012025_13_45_06_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332388370","file1":"1332388366","file0":"1332388360","file4":"1332388524","file5":"1332388525","file3":"1332388431"},"map_files_photo_id_array":[{"photo_id":"1332388525","filename":"file5"},{"photo_id":"1332388370","filename":"file2"},{"photo_id":"1332388524","filename":"file4"},{"photo_id":"1332388366","filename":"file1"},{"photo_id":"1332388360","filename":"file0"},{"photo_id":"1332388431","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332388370":["hashtag1","hashtag2"]},{"1332388366":["hashtag1","hashtag2"]},{"1332388360":["hashtag1","hashtag2"]},{"1332388525":["hashtag1","hashtag2"]},{"1332388524":["hashtag1","hashtag2"]},{"1332388431":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332388370, 1332388366, 1332388360, 1332388525, 1332388524, 1332388431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.345890522003174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:46:32.371300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/45/image_28012025_13_45_36_10372.jpg', '/home/pi/Desktop/images/28012025/13/45/image_28012025_13_45_47_10348.jpg', '/home/pi/Desktop/images/28012025/13/45/image_28012025_13_45_56_9424.jpg', '/home/pi/Desktop/images/28012025/13/45/image_28012025_13_46_07_10366.jpg', '/home/pi/Desktop/images/28012025/13/46/image_28012025_13_46_16_9361.jpg', '/home/pi/Desktop/images/28012025/13/46/image_28012025_13_46_26_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/45/image_28012025_13_45_36_10372.jpg
/home/pi/Desktop/images/28012025/13/45/image_28012025_13_45_47_10348.jpg
/home/pi/Desktop/images/28012025/13/45/image_28012025_13_45_56_9424.jpg
/home/pi/Desktop/images/28012025/13/45/image_28012025_13_46_07_10366.jpg
/home/pi/Desktop/images/28012025/13/46/image_28012025_13_46_16_9361.jpg
/home/pi/Desktop/images/28012025/13/46/image_28012025_13_46_26_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5714735984802246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 19:46:42.318809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/45/image_28012025_13_45_36_10372.jpg', '/home/pi/Desktop/images/28012025/13/45/image_28012025_13_45_47_10348.jpg', '/home/pi/Desktop/images/28012025/13/45/image_28012025_13_45_56_9424.jpg', '/home/pi/Desktop/images/28012025/13/45/image_28012025_13_46_07_10366.jpg', '/home/pi/Desktop/images/28012025/13/46/image_28012025_13_46_16_9361.jpg', '/home/pi/Desktop/images/28012025/13/46/image_28012025_13_46_26_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/45/image_28012025_13_45_36_10372.jpg
/home/pi/Desktop/images/28012025/13/45/image_28012025_13_45_47_10348.jpg
/home/pi/Desktop/images/28012025/13/45/image_28012025_13_45_56_9424.jpg
/home/pi/Desktop/images/28012025/13/45/image_28012025_13_46_07_10366.jpg
/home/pi/Desktop/images/28012025/13/46/image_28012025_13_46_16_9361.jpg
/home/pi/Desktop/images/28012025/13/46/image_28012025_13_46_26_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":["1332388691","1332388679","1332388694","1332388684","1332388687","1332388689"],"photo_ids_order":["1332388679","1332388684","1332388687","1332388689","1332388691","1332388694"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7cd396c51f0a5db8de544c9281bcb65c.jpg","text":"TemporaryFile(/tmp/multipartBody512097767276826177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090063212,"filename":"image_28012025_13_46_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/1/28/2343191eae490e7e175ba3a789c55c36.jpg","text":"TemporaryFile(/tmp/multipartBody2042830537584037028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090063212,"filename":"image_28012025_13_45_36_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f99cb9eca69a47b2f7ef0d7861b8c2f4.jpg","text":"TemporaryFile(/tmp/multipartBody7344112818515077101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090063212,"filename":"image_28012025_13_46_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/1/28/a0f6734c36a0663a8aa169ab97bbc4ec.jpg","text":"TemporaryFile(/tmp/multipartBody7447821236674616631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090063212,"filename":"image_28012025_13_45_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/1/28/82b3297b5ecbc7bff0ea7b88d30f994a.jpg","text":"TemporaryFile(/tmp/multipartBody4970376755817712964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090063212,"filename":"image_28012025_13_45_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/1/28/1b48e7a654c480a65908dd87f499c8f2.jpg","text":"TemporaryFile(/tmp/multipartBody3390273562425113934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090063212,"filename":"image_28012025_13_46_07_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332388687","file1":"1332388684","file0":"1332388679","file4":"1332388691","file5":"1332388694","file3":"1332388689"},"map_files_photo_id_array":[{"photo_id":"1332388694","filename":"file5"},{"photo_id":"1332388687","filename":"file2"},{"photo_id":"1332388691","filename":"file4"},{"photo_id":"1332388684","filename":"file1"},{"photo_id":"1332388679","filename":"file0"},{"photo_id":"1332388689","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332388691":["hashtag1","hashtag2"]},{"1332388679":["hashtag1","hashtag2"]},{"1332388694":["hashtag1","hashtag2"]},{"1332388684":["hashtag1","hashtag2"]},{"1332388687":["hashtag1","hashtag2"]},{"1332388689":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332388691, 1332388679, 1332388694, 1332388684, 1332388687, 1332388689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.5099573135376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:47:32.527450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/46/image_28012025_13_46_37_10354.jpg', '/home/pi/Desktop/images/28012025/13/46/image_28012025_13_46_46_9333.jpg', '/home/pi/Desktop/images/28012025/13/46/image_28012025_13_46_56_10417.jpg', '/home/pi/Desktop/images/28012025/13/46/image_28012025_13_47_07_10329.jpg', '/home/pi/Desktop/images/28012025/13/47/image_28012025_13_47_16_9310.jpg', '/home/pi/Desktop/images/28012025/13/47/image_28012025_13_47_26_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/46/image_28012025_13_46_37_10354.jpg
/home/pi/Desktop/images/28012025/13/46/image_28012025_13_46_46_9333.jpg
/home/pi/Desktop/images/28012025/13/46/image_28012025_13_46_56_10417.jpg
/home/pi/Desktop/images/28012025/13/46/image_28012025_13_47_07_10329.jpg
/home/pi/Desktop/images/28012025/13/47/image_28012025_13_47_16_9310.jpg
/home/pi/Desktop/images/28012025/13/47/image_28012025_13_47_26_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":["1332388721","1332388756","1332388759","1332388738","1332388741","1332388735"],"photo_ids_order":["1332388721","1332388735","1332388738","1332388741","1332388756","1332388759"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8307a2386ee106cf5ac99ea6b43ec119.jpg","text":"TemporaryFile(/tmp/multipartBody6270400995533675153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090113511,"filename":"image_28012025_13_46_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/1/28/bbe419f68ae5e6988e7108209627e67e.jpg","text":"TemporaryFile(/tmp/multipartBody5221481685733654429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090113511,"filename":"image_28012025_13_47_16_9310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b6a8f0a013ac09a7de5f6cdac362c48d.jpg","text":"TemporaryFile(/tmp/multipartBody4924009824748713112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090113511,"filename":"image_28012025_13_47_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/1/28/776a2c1a7301469fd7c75e5dfb74e367.jpg","text":"TemporaryFile(/tmp/multipartBody5177832669877420598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090113511,"filename":"image_28012025_13_46_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/1/28/b9f633589cc64f6004585ce39184b34a.jpg","text":"TemporaryFile(/tmp/multipartBody3515939070862497002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090113511,"filename":"image_28012025_13_47_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/1/28/afaf138dbddf0e2063d64ee47c5cbf90.jpg","text":"TemporaryFile(/tmp/multipartBody5880258963857395100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090113511,"filename":"image_28012025_13_46_46_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332388738","file1":"1332388735","file0":"1332388721","file4":"1332388756","file5":"1332388759","file3":"1332388741"},"map_files_photo_id_array":[{"photo_id":"1332388759","filename":"file5"},{"photo_id":"1332388738","filename":"file2"},{"photo_id":"1332388756","filename":"file4"},{"photo_id":"1332388735","filename":"file1"},{"photo_id":"1332388721","filename":"file0"},{"photo_id":"1332388741","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332388721":["hashtag1","hashtag2"]},{"1332388756":["hashtag1","hashtag2"]},{"1332388759":["hashtag1","hashtag2"]},{"1332388738":["hashtag1","hashtag2"]},{"1332388741":["hashtag1","hashtag2"]},{"1332388735":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332388721, 1332388756, 1332388759, 1332388738, 1332388741, 1332388735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12740707397461 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:48:32.801468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/47/image_28012025_13_47_37_10441.jpg', '/home/pi/Desktop/images/28012025/13/47/image_28012025_13_47_46_9452.jpg', '/home/pi/Desktop/images/28012025/13/47/image_28012025_13_47_57_10342.jpg', '/home/pi/Desktop/images/28012025/13/47/image_28012025_13_48_06_9335.jpg', '/home/pi/Desktop/images/28012025/13/48/image_28012025_13_48_16_10454.jpg', '/home/pi/Desktop/images/28012025/13/48/image_28012025_13_48_27_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/47/image_28012025_13_47_37_10441.jpg
/home/pi/Desktop/images/28012025/13/47/image_28012025_13_47_46_9452.jpg
/home/pi/Desktop/images/28012025/13/47/image_28012025_13_47_57_10342.jpg
/home/pi/Desktop/images/28012025/13/47/image_28012025_13_48_06_9335.jpg
/home/pi/Desktop/images/28012025/13/48/image_28012025_13_48_16_10454.jpg
/home/pi/Desktop/images/28012025/13/48/image_28012025_13_48_27_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":["1332388792","1332388858","1332388867","1332388849","1332388869","1332388797"],"photo_ids_order":["1332388792","1332388797","1332388849","1332388858","1332388867","1332388869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/41cea6a3179162e3e139d6684ec3c86c.jpg","text":"TemporaryFile(/tmp/multipartBody7412865262728532056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090173783,"filename":"image_28012025_13_47_37_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/287d5374e948867f63a67065c58952ec.jpg","text":"TemporaryFile(/tmp/multipartBody3578291350618798068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090173783,"filename":"image_28012025_13_48_06_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a0b55181f39ca57eb1b160df25247997.jpg","text":"TemporaryFile(/tmp/multipartBody964443944989339314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090173783,"filename":"image_28012025_13_48_16_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/109e93462ca2a1544d32e6b311cc66dd.jpg","text":"TemporaryFile(/tmp/multipartBody1811845664375410759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090173783,"filename":"image_28012025_13_47_57_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/23edf559c78de6b91900e32ead2bbe32.jpg","text":"TemporaryFile(/tmp/multipartBody2916184508055396852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090173783,"filename":"image_28012025_13_48_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/1/28/87f7289641e0de047b123e85f79d721b.jpg","text":"TemporaryFile(/tmp/multipartBody5280381172410976097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090173783,"filename":"image_28012025_13_47_46_9452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332388849","file1":"1332388797","file0":"1332388792","file4":"1332388867","file5":"1332388869","file3":"1332388858"},"map_files_photo_id_array":[{"photo_id":"1332388869","filename":"file5"},{"photo_id":"1332388849","filename":"file2"},{"photo_id":"1332388867","filename":"file4"},{"photo_id":"1332388797","filename":"file1"},{"photo_id":"1332388792","filename":"file0"},{"photo_id":"1332388858","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332388792":["hashtag1","hashtag2"]},{"1332388858":["hashtag1","hashtag2"]},{"1332388867":["hashtag1","hashtag2"]},{"1332388849":["hashtag1","hashtag2"]},{"1332388869":["hashtag1","hashtag2"]},{"1332388797":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332388792, 1332388858, 1332388867, 1332388849, 1332388869, 1332388797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01781678199768 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:49:32.982903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/48/image_28012025_13_48_36_9329.jpg', '/home/pi/Desktop/images/28012025/13/48/image_28012025_13_48_46_10350.jpg', '/home/pi/Desktop/images/28012025/13/48/image_28012025_13_48_56_9424.jpg', '/home/pi/Desktop/images/28012025/13/48/image_28012025_13_49_06_10461.jpg', '/home/pi/Desktop/images/28012025/13/49/image_28012025_13_49_17_10438.jpg', '/home/pi/Desktop/images/28012025/13/49/image_28012025_13_49_26_9475.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/48/image_28012025_13_48_36_9329.jpg
/home/pi/Desktop/images/28012025/13/48/image_28012025_13_48_46_10350.jpg
/home/pi/Desktop/images/28012025/13/48/image_28012025_13_48_56_9424.jpg
/home/pi/Desktop/images/28012025/13/48/image_28012025_13_49_06_10461.jpg
/home/pi/Desktop/images/28012025/13/49/image_28012025_13_49_17_10438.jpg
/home/pi/Desktop/images/28012025/13/49/image_28012025_13_49_26_9475.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332388926","1332388911","1332388905","1332389005","1332389355","1332389384"],"photo_ids_order":["1332388905","1332388911","1332388926","1332389005","1332389355","1332389384"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/36bdfa9371d9a27a3b3ebdec772e110f.jpg","text":"TemporaryFile(/tmp/multipartBody9110301103419193378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090233946,"filename":"image_28012025_13_48_56_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fc40c0e932431776d16e43340b7eb12b.jpg","text":"TemporaryFile(/tmp/multipartBody8901627357454082747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090233946,"filename":"image_28012025_13_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/1/28/fa94752e477cfe6a16f5c6ff465d7d29.jpg","text":"TemporaryFile(/tmp/multipartBody13531387079803719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090233946,"filename":"image_28012025_13_48_36_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/456c4b2a430ce980479cd546f2b6c567.jpg","text":"TemporaryFile(/tmp/multipartBody8251743432566300522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090233946,"filename":"image_28012025_13_49_06_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a5efdfc554b82a1c414858250b091876.jpg","text":"TemporaryFile(/tmp/multipartBody2184119684625168149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090233946,"filename":"image_28012025_13_49_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/1/28/176044fe076763ea40626a70ff7ec2c8.jpg","text":"TemporaryFile(/tmp/multipartBody4353177942648034004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090233946,"filename":"image_28012025_13_49_26_9475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332388926","file1":"1332388911","file0":"1332388905","file4":"1332389355","file5":"1332389384","file3":"1332389005"},"map_files_photo_id_array":[{"photo_id":"1332389384","filename":"file5"},{"photo_id":"1332388926","filename":"file2"},{"photo_id":"1332389355","filename":"file4"},{"photo_id":"1332388911","filename":"file1"},{"photo_id":"1332388905","filename":"file0"},{"photo_id":"1332389005","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332388926":["hashtag1","hashtag2"]},{"1332388911":["hashtag1","hashtag2"]},{"1332388905":["hashtag1","hashtag2"]},{"1332389005":["hashtag1","hashtag2"]},{"1332389355":["hashtag1","hashtag2"]},{"1332389384":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332388926, 1332388911, 1332388905, 1332389005, 1332389355, 1332389384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13628149032593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:50:32.208014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/49/image_28012025_13_49_37_10327.jpg', '/home/pi/Desktop/images/28012025/13/49/image_28012025_13_49_46_9435.jpg', '/home/pi/Desktop/images/28012025/13/49/image_28012025_13_49_56_10408.jpg', '/home/pi/Desktop/images/28012025/13/49/image_28012025_13_50_07_10349.jpg', '/home/pi/Desktop/images/28012025/13/50/image_28012025_13_50_16_9310.jpg', '/home/pi/Desktop/images/28012025/13/50/image_28012025_13_50_26_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/49/image_28012025_13_49_37_10327.jpg
/home/pi/Desktop/images/28012025/13/49/image_28012025_13_49_46_9435.jpg
/home/pi/Desktop/images/28012025/13/49/image_28012025_13_49_56_10408.jpg
/home/pi/Desktop/images/28012025/13/49/image_28012025_13_50_07_10349.jpg
/home/pi/Desktop/images/28012025/13/50/image_28012025_13_50_16_9310.jpg
/home/pi/Desktop/images/28012025/13/50/image_28012025_13_50_26_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332389750","1332389735","1332389729","1332389740","1332389746","1332389724"],"photo_ids_order":["1332389724","1332389729","1332389735","1332389740","1332389746","1332389750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8b4b94c2c43ccee0fa2054fe6a1d1cc3.jpg","text":"TemporaryFile(/tmp/multipartBody656797515852304989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090293162,"filename":"image_28012025_13_50_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/1/28/18fb4062d8eae04ed0e8755732aa8f92.jpg","text":"TemporaryFile(/tmp/multipartBody7100413097420534720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090293162,"filename":"image_28012025_13_49_56_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c022e0eba435692a8749fc004d1ccba1.jpg","text":"TemporaryFile(/tmp/multipartBody4395645866168281228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090293162,"filename":"image_28012025_13_49_46_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/17ecba630c46f7426693f8bd79eb3f26.jpg","text":"TemporaryFile(/tmp/multipartBody2232482739746864089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090293162,"filename":"image_28012025_13_50_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/1/28/de57cc8e4e7f79d3e981e96f9df75c19.jpg","text":"TemporaryFile(/tmp/multipartBody144849097143183242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090293162,"filename":"image_28012025_13_50_16_9310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/95378625dff518038de43ca6636fc57f.jpg","text":"TemporaryFile(/tmp/multipartBody6227672845010094380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090293162,"filename":"image_28012025_13_49_37_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332389735","file1":"1332389729","file0":"1332389724","file4":"1332389746","file5":"1332389750","file3":"1332389740"},"map_files_photo_id_array":[{"photo_id":"1332389750","filename":"file5"},{"photo_id":"1332389735","filename":"file2"},{"photo_id":"1332389746","filename":"file4"},{"photo_id":"1332389729","filename":"file1"},{"photo_id":"1332389724","filename":"file0"},{"photo_id":"1332389740","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332389750":["hashtag1","hashtag2"]},{"1332389735":["hashtag1","hashtag2"]},{"1332389729":["hashtag1","hashtag2"]},{"1332389740":["hashtag1","hashtag2"]},{"1332389746":["hashtag1","hashtag2"]},{"1332389724":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332389750, 1332389735, 1332389729, 1332389740, 1332389746, 1332389724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.39038586616516 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:51:32.423690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/50/image_28012025_13_50_37_10433.jpg', '/home/pi/Desktop/images/28012025/13/50/image_28012025_13_50_46_9461.jpg', '/home/pi/Desktop/images/28012025/13/50/image_28012025_13_50_57_10350.jpg', '/home/pi/Desktop/images/28012025/13/50/image_28012025_13_51_06_9391.jpg', '/home/pi/Desktop/images/28012025/13/51/image_28012025_13_51_16_10358.jpg', '/home/pi/Desktop/images/28012025/13/51/image_28012025_13_51_27_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/50/image_28012025_13_50_37_10433.jpg
/home/pi/Desktop/images/28012025/13/50/image_28012025_13_50_46_9461.jpg
/home/pi/Desktop/images/28012025/13/50/image_28012025_13_50_57_10350.jpg
/home/pi/Desktop/images/28012025/13/50/image_28012025_13_51_06_9391.jpg
/home/pi/Desktop/images/28012025/13/51/image_28012025_13_51_16_10358.jpg
/home/pi/Desktop/images/28012025/13/51/image_28012025_13_51_27_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":["1332389963","1332389966","1332389974","1332389976","1332389972","1332389969"],"photo_ids_order":["1332389963","1332389966","1332389969","1332389972","1332389974","1332389976"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/98b6c20449f5a15eeca2f7b027e4e193.jpg","text":"TemporaryFile(/tmp/multipartBody7335943233623988450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090353396,"filename":"image_28012025_13_50_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/1/28/a08eb39f531d9da274f019f999c8c22f.jpg","text":"TemporaryFile(/tmp/multipartBody3896831687842949550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090353396,"filename":"image_28012025_13_50_46_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/84ecc4b17051c7a2d81f3ddde3f2d15b.jpg","text":"TemporaryFile(/tmp/multipartBody173791556895423193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090353396,"filename":"image_28012025_13_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/1/28/4030986ec64c37d8b62cc5ddb20b34e0.jpg","text":"TemporaryFile(/tmp/multipartBody1841901310461360556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090353396,"filename":"image_28012025_13_51_27_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/016616c9b01fcbe1424b1555214840ef.jpg","text":"TemporaryFile(/tmp/multipartBody6306193440596077111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090353396,"filename":"image_28012025_13_51_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/1/28/c5fff0a20b89fde2cad5e3b3ef7d608a.jpg","text":"TemporaryFile(/tmp/multipartBody5839235189651071716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090353396,"filename":"image_28012025_13_50_57_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332389969","file1":"1332389966","file0":"1332389963","file4":"1332389974","file5":"1332389976","file3":"1332389972"},"map_files_photo_id_array":[{"photo_id":"1332389976","filename":"file5"},{"photo_id":"1332389969","filename":"file2"},{"photo_id":"1332389974","filename":"file4"},{"photo_id":"1332389966","filename":"file1"},{"photo_id":"1332389963","filename":"file0"},{"photo_id":"1332389972","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332389963":["hashtag1","hashtag2"]},{"1332389966":["hashtag1","hashtag2"]},{"1332389974":["hashtag1","hashtag2"]},{"1332389976":["hashtag1","hashtag2"]},{"1332389972":["hashtag1","hashtag2"]},{"1332389969":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332389963, 1332389966, 1332389974, 1332389976, 1332389972, 1332389969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65119910240173 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:52:32.624300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/51/image_28012025_13_51_36_9382.jpg', '/home/pi/Desktop/images/28012025/13/51/image_28012025_13_51_47_10353.jpg', '/home/pi/Desktop/images/28012025/13/51/image_28012025_13_51_57_10347.jpg', '/home/pi/Desktop/images/28012025/13/51/image_28012025_13_52_06_9384.jpg', '/home/pi/Desktop/images/28012025/13/52/image_28012025_13_52_17_10403.jpg', '/home/pi/Desktop/images/28012025/13/52/image_28012025_13_52_26_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/51/image_28012025_13_51_36_9382.jpg
/home/pi/Desktop/images/28012025/13/51/image_28012025_13_51_47_10353.jpg
/home/pi/Desktop/images/28012025/13/51/image_28012025_13_51_57_10347.jpg
/home/pi/Desktop/images/28012025/13/51/image_28012025_13_52_06_9384.jpg
/home/pi/Desktop/images/28012025/13/52/image_28012025_13_52_17_10403.jpg
/home/pi/Desktop/images/28012025/13/52/image_28012025_13_52_26_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":["1332390108","1332390092","1332390044","1332390049","1332390115","1332390112"],"photo_ids_order":["1332390044","1332390049","1332390092","1332390108","1332390112","1332390115"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ee2c27a75ff6722ae9e59020e9711da7.jpg","text":"TemporaryFile(/tmp/multipartBody8071558282447783684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090413578,"filename":"image_28012025_13_52_06_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0d5b35d09bb33e2bd72bd5fa7250b22c.jpg","text":"TemporaryFile(/tmp/multipartBody5381877381205387369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090413578,"filename":"image_28012025_13_51_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/1/28/dda414071523c7c6fb69723ceee8d9d4.jpg","text":"TemporaryFile(/tmp/multipartBody1935737010309487049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090413578,"filename":"image_28012025_13_51_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/1/28/dbe32d90777715343e6f128a4cf10d70.jpg","text":"TemporaryFile(/tmp/multipartBody2123036805867067529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090413578,"filename":"image_28012025_13_51_47_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/95c4a6ff23a0345b594c42c404f7e184.jpg","text":"TemporaryFile(/tmp/multipartBody2835709682407237383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090413578,"filename":"image_28012025_13_52_26_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/256358dcbe2f5279239e71f15f173649.jpg","text":"TemporaryFile(/tmp/multipartBody312574879836906577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090413578,"filename":"image_28012025_13_52_17_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332390092","file1":"1332390049","file0":"1332390044","file4":"1332390112","file5":"1332390115","file3":"1332390108"},"map_files_photo_id_array":[{"photo_id":"1332390115","filename":"file5"},{"photo_id":"1332390092","filename":"file2"},{"photo_id":"1332390112","filename":"file4"},{"photo_id":"1332390049","filename":"file1"},{"photo_id":"1332390044","filename":"file0"},{"photo_id":"1332390108","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332390108":["hashtag1","hashtag2"]},{"1332390092":["hashtag1","hashtag2"]},{"1332390044":["hashtag1","hashtag2"]},{"1332390049":["hashtag1","hashtag2"]},{"1332390115":["hashtag1","hashtag2"]},{"1332390112":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332390108, 1332390092, 1332390044, 1332390049, 1332390115, 1332390112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.20841956138611 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:53:32.875863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/52/image_28012025_13_52_36_10436.jpg', '/home/pi/Desktop/images/28012025/13/52/image_28012025_13_52_47_10365.jpg', '/home/pi/Desktop/images/28012025/13/52/image_28012025_13_52_56_9461.jpg', '/home/pi/Desktop/images/28012025/13/52/image_28012025_13_53_07_10354.jpg', '/home/pi/Desktop/images/28012025/13/53/image_28012025_13_53_16_9338.jpg', '/home/pi/Desktop/images/28012025/13/53/image_28012025_13_53_26_10422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/52/image_28012025_13_52_36_10436.jpg
/home/pi/Desktop/images/28012025/13/52/image_28012025_13_52_47_10365.jpg
/home/pi/Desktop/images/28012025/13/52/image_28012025_13_52_56_9461.jpg
/home/pi/Desktop/images/28012025/13/52/image_28012025_13_53_07_10354.jpg
/home/pi/Desktop/images/28012025/13/53/image_28012025_13_53_16_9338.jpg
/home/pi/Desktop/images/28012025/13/53/image_28012025_13_53_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":["1332390170","1332390173","1332390134","1332390158","1332390163","1332390166"],"photo_ids_order":["1332390134","1332390158","1332390163","1332390166","1332390170","1332390173"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/de940d2282b5f777a59ae82ef12c956b.jpg","text":"TemporaryFile(/tmp/multipartBody7172782701145420750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090473860,"filename":"image_28012025_13_53_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/1/28/5f872f98f57620d3b01dbfd155ae535f.jpg","text":"TemporaryFile(/tmp/multipartBody3360022177473761827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090473860,"filename":"image_28012025_13_53_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/1/28/594e34714f3e1bf40d3b43c3e9b10cda.jpg","text":"TemporaryFile(/tmp/multipartBody2315270073201715481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090473860,"filename":"image_28012025_13_52_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/1/28/764db84297c70e20fe61df15772c8cb0.jpg","text":"TemporaryFile(/tmp/multipartBody2700483304233188134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090473860,"filename":"image_28012025_13_52_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/1/28/104afa71b1a91dde0fb416b4a5510ec2.jpg","text":"TemporaryFile(/tmp/multipartBody4736055931910909461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090473860,"filename":"image_28012025_13_52_56_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dc2dfdd16e79780afc5a6e05a6497bf5.jpg","text":"TemporaryFile(/tmp/multipartBody4496073702115997219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090473860,"filename":"image_28012025_13_53_07_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332390163","file1":"1332390158","file0":"1332390134","file4":"1332390170","file5":"1332390173","file3":"1332390166"},"map_files_photo_id_array":[{"photo_id":"1332390173","filename":"file5"},{"photo_id":"1332390163","filename":"file2"},{"photo_id":"1332390170","filename":"file4"},{"photo_id":"1332390158","filename":"file1"},{"photo_id":"1332390134","filename":"file0"},{"photo_id":"1332390166","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332390170":["hashtag1","hashtag2"]},{"1332390173":["hashtag1","hashtag2"]},{"1332390134":["hashtag1","hashtag2"]},{"1332390158":["hashtag1","hashtag2"]},{"1332390163":["hashtag1","hashtag2"]},{"1332390166":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332390170, 1332390173, 1332390134, 1332390158, 1332390163, 1332390166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.349716901779175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:54:32.159131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/53/image_28012025_13_53_37_10398.jpg', '/home/pi/Desktop/images/28012025/13/53/image_28012025_13_53_56_10343.jpg', '/home/pi/Desktop/images/28012025/13/53/image_28012025_13_54_07_10340.jpg', '/home/pi/Desktop/images/28012025/13/54/image_28012025_13_54_16_9319.jpg', '/home/pi/Desktop/images/28012025/13/54/image_28012025_13_54_36_9341.jpg', '/home/pi/Desktop/images/28012025/13/54/image_28012025_13_54_46_10457.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/53/image_28012025_13_53_37_10398.jpg
/home/pi/Desktop/images/28012025/13/53/image_28012025_13_53_56_10343.jpg
/home/pi/Desktop/images/28012025/13/53/image_28012025_13_54_07_10340.jpg
/home/pi/Desktop/images/28012025/13/54/image_28012025_13_54_16_9319.jpg
/home/pi/Desktop/images/28012025/13/54/image_28012025_13_54_36_9341.jpg
/home/pi/Desktop/images/28012025/13/54/image_28012025_13_54_46_10457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332390204","1332390196","1332390181","1332390200","1332390208","1332390186"],"photo_ids_order":["1332390181","1332390186","1332390196","1332390200","1332390204","1332390208"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dadcb3abb84ae47c14ea0a6a8085b0f1.jpg","text":"TemporaryFile(/tmp/multipartBody4079642971995296588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090533138,"filename":"image_28012025_13_54_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/1/28/6ea5dc1c74dd49ce8c5eac48d3287708.jpg","text":"TemporaryFile(/tmp/multipartBody9131914186619446286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090533138,"filename":"image_28012025_13_54_07_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4ec9eadc3b4beb3e24450c1ead62540a.jpg","text":"TemporaryFile(/tmp/multipartBody4070475730175438563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090533138,"filename":"image_28012025_13_53_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/1/28/e5fa6e844b38b0f5756714f60b8ed871.jpg","text":"TemporaryFile(/tmp/multipartBody3511060925157439324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090533138,"filename":"image_28012025_13_54_16_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c46546b1dd82841f083b2f6bf671159e.jpg","text":"TemporaryFile(/tmp/multipartBody3010364887746425233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090533138,"filename":"image_28012025_13_54_46_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1ad2d6e67196bd07c53a359a663da286.jpg","text":"TemporaryFile(/tmp/multipartBody4997439323967595380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090533138,"filename":"image_28012025_13_53_56_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332390196","file1":"1332390186","file0":"1332390181","file4":"1332390204","file5":"1332390208","file3":"1332390200"},"map_files_photo_id_array":[{"photo_id":"1332390208","filename":"file5"},{"photo_id":"1332390196","filename":"file2"},{"photo_id":"1332390204","filename":"file4"},{"photo_id":"1332390186","filename":"file1"},{"photo_id":"1332390181","filename":"file0"},{"photo_id":"1332390200","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332390204":["hashtag1","hashtag2"]},{"1332390196":["hashtag1","hashtag2"]},{"1332390181":["hashtag1","hashtag2"]},{"1332390200":["hashtag1","hashtag2"]},{"1332390208":["hashtag1","hashtag2"]},{"1332390186":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332390204, 1332390196, 1332390181, 1332390200, 1332390208, 1332390186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.66921782493591 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:55:32.498156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/54/image_28012025_13_55_06_9321.jpg', '/home/pi/Desktop/images/28012025/13/55/image_28012025_13_55_16_10331.jpg', '/home/pi/Desktop/images/28012025/13/55/image_28012025_13_55_27_10414.jpg', '/home/pi/Desktop/images/28012025/13/55/image_28012025_13_55_36_9335.jpg', '/home/pi/Desktop/images/28012025/13/55/image_28012025_13_55_46_10365.jpg', '/home/pi/Desktop/images/28012025/13/55/image_28012025_13_55_57_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/54/image_28012025_13_55_06_9321.jpg
/home/pi/Desktop/images/28012025/13/55/image_28012025_13_55_16_10331.jpg
/home/pi/Desktop/images/28012025/13/55/image_28012025_13_55_27_10414.jpg
/home/pi/Desktop/images/28012025/13/55/image_28012025_13_55_36_9335.jpg
/home/pi/Desktop/images/28012025/13/55/image_28012025_13_55_46_10365.jpg
/home/pi/Desktop/images/28012025/13/55/image_28012025_13_55_57_10344.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5725271701812744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 19:55:42.491866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/54/image_28012025_13_55_06_9321.jpg', '/home/pi/Desktop/images/28012025/13/55/image_28012025_13_55_16_10331.jpg', '/home/pi/Desktop/images/28012025/13/55/image_28012025_13_55_27_10414.jpg', '/home/pi/Desktop/images/28012025/13/55/image_28012025_13_55_36_9335.jpg', '/home/pi/Desktop/images/28012025/13/55/image_28012025_13_55_46_10365.jpg', '/home/pi/Desktop/images/28012025/13/55/image_28012025_13_55_57_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/54/image_28012025_13_55_06_9321.jpg
/home/pi/Desktop/images/28012025/13/55/image_28012025_13_55_16_10331.jpg
/home/pi/Desktop/images/28012025/13/55/image_28012025_13_55_27_10414.jpg
/home/pi/Desktop/images/28012025/13/55/image_28012025_13_55_36_9335.jpg
/home/pi/Desktop/images/28012025/13/55/image_28012025_13_55_46_10365.jpg
/home/pi/Desktop/images/28012025/13/55/image_28012025_13_55_57_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332390275","1332390236","1332390280","1332390277","1332390255","1332390249"],"photo_ids_order":["1332390236","1332390249","1332390255","1332390275","1332390277","1332390280"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bddc23ec3daca57211c9cc6a3ccd0680.jpg","text":"TemporaryFile(/tmp/multipartBody4524133975212599889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090603386,"filename":"image_28012025_13_55_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/1/28/d24b22f4b925e743568ee0f3d1f36a14.jpg","text":"TemporaryFile(/tmp/multipartBody5395752624963306303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090603386,"filename":"image_28012025_13_55_06_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/86f6a2e04ffb3b166880d65452725037.jpg","text":"TemporaryFile(/tmp/multipartBody5203560627999540272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090603386,"filename":"image_28012025_13_55_57_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f403440b50566fdc9b28fe997def0f6d.jpg","text":"TemporaryFile(/tmp/multipartBody6999107137861224912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090603386,"filename":"image_28012025_13_55_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/1/28/1dcae6df30c86ef4c1f322e3be633290.jpg","text":"TemporaryFile(/tmp/multipartBody1112691034456003254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090603386,"filename":"image_28012025_13_55_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/1/28/4e190a7c73857581afd0ddb9234a1e81.jpg","text":"TemporaryFile(/tmp/multipartBody5635490976316932058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090603386,"filename":"image_28012025_13_55_16_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332390255","file1":"1332390249","file0":"1332390236","file4":"1332390277","file5":"1332390280","file3":"1332390275"},"map_files_photo_id_array":[{"photo_id":"1332390280","filename":"file5"},{"photo_id":"1332390255","filename":"file2"},{"photo_id":"1332390277","filename":"file4"},{"photo_id":"1332390249","filename":"file1"},{"photo_id":"1332390236","filename":"file0"},{"photo_id":"1332390275","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332390275":["hashtag1","hashtag2"]},{"1332390236":["hashtag1","hashtag2"]},{"1332390280":["hashtag1","hashtag2"]},{"1332390277":["hashtag1","hashtag2"]},{"1332390255":["hashtag1","hashtag2"]},{"1332390249":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332390275, 1332390236, 1332390280, 1332390277, 1332390255, 1332390249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.64381432533264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:56:32.651057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/55/image_28012025_13_56_06_9314.jpg', '/home/pi/Desktop/images/28012025/13/56/image_28012025_13_56_16_10333.jpg', '/home/pi/Desktop/images/28012025/13/56/image_28012025_13_56_27_10374.jpg', '/home/pi/Desktop/images/28012025/13/56/image_28012025_13_56_36_9410.jpg', '/home/pi/Desktop/images/28012025/13/56/image_28012025_13_56_47_10374.jpg', '/home/pi/Desktop/images/28012025/13/56/image_28012025_13_56_56_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/55/image_28012025_13_56_06_9314.jpg
/home/pi/Desktop/images/28012025/13/56/image_28012025_13_56_16_10333.jpg
/home/pi/Desktop/images/28012025/13/56/image_28012025_13_56_27_10374.jpg
/home/pi/Desktop/images/28012025/13/56/image_28012025_13_56_36_9410.jpg
/home/pi/Desktop/images/28012025/13/56/image_28012025_13_56_47_10374.jpg
/home/pi/Desktop/images/28012025/13/56/image_28012025_13_56_56_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332390655","1332390619","1332390588","1332390546","1332390468","1332390540"],"photo_ids_order":["1332390468","1332390540","1332390546","1332390588","1332390619","1332390655"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a0d96e6f59956f13405b2c31be3ceb22.jpg","text":"TemporaryFile(/tmp/multipartBody7852931135004251179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090653601,"filename":"image_28012025_13_56_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/1/28/0ebd564152ee9599b3100c3f20ff48d5.jpg","text":"TemporaryFile(/tmp/multipartBody4002882532282204589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090653601,"filename":"image_28012025_13_56_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/1/28/8b0fa408d6daeb8346ee39416d13ef11.jpg","text":"TemporaryFile(/tmp/multipartBody8059992978575063754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090653601,"filename":"image_28012025_13_56_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/1/28/8258c371817ff2d5161cbdccff45a4c8.jpg","text":"TemporaryFile(/tmp/multipartBody557112574589843911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090653601,"filename":"image_28012025_13_56_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/1/28/8bb959995f4710cbdce344511b66c224.jpg","text":"TemporaryFile(/tmp/multipartBody4592222312183317851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090653601,"filename":"image_28012025_13_56_06_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3a25eac0caf424ae32827039132dfa21.jpg","text":"TemporaryFile(/tmp/multipartBody6933883793771682644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090653601,"filename":"image_28012025_13_56_16_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332390546","file1":"1332390540","file0":"1332390468","file4":"1332390619","file5":"1332390655","file3":"1332390588"},"map_files_photo_id_array":[{"photo_id":"1332390655","filename":"file5"},{"photo_id":"1332390546","filename":"file2"},{"photo_id":"1332390619","filename":"file4"},{"photo_id":"1332390540","filename":"file1"},{"photo_id":"1332390468","filename":"file0"},{"photo_id":"1332390588","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332390655":["hashtag1","hashtag2"]},{"1332390619":["hashtag1","hashtag2"]},{"1332390588":["hashtag1","hashtag2"]},{"1332390546":["hashtag1","hashtag2"]},{"1332390468":["hashtag1","hashtag2"]},{"1332390540":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332390655, 1332390619, 1332390588, 1332390546, 1332390468, 1332390540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.01036620140076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 19:57:32.947297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/56/image_28012025_13_57_06_10443.jpg', '/home/pi/Desktop/images/28012025/13/57/image_28012025_13_57_37_10442.jpg', '/home/pi/Desktop/images/28012025/13/57/image_28012025_13_57_46_9358.jpg', '/home/pi/Desktop/images/28012025/13/57/image_28012025_13_57_56_10389.jpg', '/home/pi/Desktop/images/28012025/13/57/image_28012025_13_58_07_10397.jpg', '/home/pi/Desktop/images/28012025/13/58/image_28012025_13_58_16_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/56/image_28012025_13_57_06_10443.jpg
/home/pi/Desktop/images/28012025/13/57/image_28012025_13_57_37_10442.jpg
/home/pi/Desktop/images/28012025/13/57/image_28012025_13_57_46_9358.jpg
/home/pi/Desktop/images/28012025/13/57/image_28012025_13_57_56_10389.jpg
/home/pi/Desktop/images/28012025/13/57/image_28012025_13_58_07_10397.jpg
/home/pi/Desktop/images/28012025/13/58/image_28012025_13_58_16_9361.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 www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 19:59:03.680124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/56/image_28012025_13_57_06_10443.jpg', '/home/pi/Desktop/images/28012025/13/57/image_28012025_13_57_37_10442.jpg', '/home/pi/Desktop/images/28012025/13/57/image_28012025_13_57_46_9358.jpg', '/home/pi/Desktop/images/28012025/13/57/image_28012025_13_57_56_10389.jpg', '/home/pi/Desktop/images/28012025/13/57/image_28012025_13_58_07_10397.jpg', '/home/pi/Desktop/images/28012025/13/58/image_28012025_13_58_16_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/56/image_28012025_13_57_06_10443.jpg
/home/pi/Desktop/images/28012025/13/57/image_28012025_13_57_37_10442.jpg
/home/pi/Desktop/images/28012025/13/57/image_28012025_13_57_46_9358.jpg
/home/pi/Desktop/images/28012025/13/57/image_28012025_13_57_56_10389.jpg
/home/pi/Desktop/images/28012025/13/57/image_28012025_13_58_07_10397.jpg
/home/pi/Desktop/images/28012025/13/58/image_28012025_13_58_16_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":["1332390866","1332390848","1332390839","1332390853","1332390861","1332390843"],"photo_ids_order":["1332390839","1332390843","1332390848","1332390853","1332390861","1332390866"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/112da1ad25d13c10b48410b55e7c51e9.jpg","text":"TemporaryFile(/tmp/multipartBody4798558912580276444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090804622,"filename":"image_28012025_13_58_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/1/28/110c560d49c172532b4b57e4623feb8a.jpg","text":"TemporaryFile(/tmp/multipartBody1733975096745639504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090804622,"filename":"image_28012025_13_57_46_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2e0700d079c523e43eadf7ce4decad76.jpg","text":"TemporaryFile(/tmp/multipartBody696817025710860742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090804622,"filename":"image_28012025_13_57_06_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c3e6ca5635c90a270baa29991a618caa.jpg","text":"TemporaryFile(/tmp/multipartBody8779462455374674988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090804622,"filename":"image_28012025_13_57_56_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/950e9bf7f2b6f4bc0d9b4d1a69f86748.jpg","text":"TemporaryFile(/tmp/multipartBody920820983809513840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090804622,"filename":"image_28012025_13_58_07_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/53f87946e8036e376a8d650b07efeca9.jpg","text":"TemporaryFile(/tmp/multipartBody964563356924429359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090804622,"filename":"image_28012025_13_57_37_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332390848","file1":"1332390843","file0":"1332390839","file4":"1332390861","file5":"1332390866","file3":"1332390853"},"map_files_photo_id_array":[{"photo_id":"1332390866","filename":"file5"},{"photo_id":"1332390848","filename":"file2"},{"photo_id":"1332390861","filename":"file4"},{"photo_id":"1332390843","filename":"file1"},{"photo_id":"1332390839","filename":"file0"},{"photo_id":"1332390853","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332390866":["hashtag1","hashtag2"]},{"1332390848":["hashtag1","hashtag2"]},{"1332390839":["hashtag1","hashtag2"]},{"1332390853":["hashtag1","hashtag2"]},{"1332390861":["hashtag1","hashtag2"]},{"1332390843":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332390866, 1332390848, 1332390839, 1332390853, 1332390861, 1332390843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.639180183410645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 19:59:52.613553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/25/image_23012025_23_25_46_9329.jpg', '/home/pi/Desktop/images/23012025/23/25/image_23012025_23_25_56_10353.jpg', '/home/pi/Desktop/images/23012025/23/25/image_23012025_23_26_07_10426.jpg', '/home/pi/Desktop/images/23012025/23/26/image_23012025_23_26_16_9339.jpg', '/home/pi/Desktop/images/23012025/23/26/image_23012025_23_26_37_10345.jpg', '/home/pi/Desktop/images/23012025/23/26/image_23012025_23_26_46_9421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/25/image_23012025_23_25_46_9329.jpg
/home/pi/Desktop/images/23012025/23/25/image_23012025_23_25_56_10353.jpg
/home/pi/Desktop/images/23012025/23/25/image_23012025_23_26_07_10426.jpg
/home/pi/Desktop/images/23012025/23/26/image_23012025_23_26_16_9339.jpg
/home/pi/Desktop/images/23012025/23/26/image_23012025_23_26_37_10345.jpg
/home/pi/Desktop/images/23012025/23/26/image_23012025_23_26_46_9421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332390887","1332390911","1332390883","1332390913","1332390916","1332390904"],"photo_ids_order":["1332390883","1332390887","1332390904","1332390911","1332390913","1332390916"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f7945a79c8704ec536029fb601c92c80.jpg","text":"TemporaryFile(/tmp/multipartBody5565395095974768118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090854732,"filename":"image_23012025_23_25_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/1/28/501161d722a787f290800a49dfe3d748.jpg","text":"TemporaryFile(/tmp/multipartBody1718400073016695085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090854732,"filename":"image_23012025_23_26_16_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/074383c4b216d252912e5815b7055a50.jpg","text":"TemporaryFile(/tmp/multipartBody914756256033911394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090854732,"filename":"image_23012025_23_25_46_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d9ef6d7892902d73c976f640aa25da35.jpg","text":"TemporaryFile(/tmp/multipartBody8552126417809029711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090854732,"filename":"image_23012025_23_26_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/1/28/6e57604836a0d5233e2889807bac5d16.jpg","text":"TemporaryFile(/tmp/multipartBody8833237072528571331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090854732,"filename":"image_23012025_23_26_46_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ba81a0b3cc0da36a4f6940398aa94fc6.jpg","text":"TemporaryFile(/tmp/multipartBody6766629530549277475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090854732,"filename":"image_23012025_23_26_07_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332390904","file1":"1332390887","file0":"1332390883","file4":"1332390913","file5":"1332390916","file3":"1332390911"},"map_files_photo_id_array":[{"photo_id":"1332390916","filename":"file5"},{"photo_id":"1332390904","filename":"file2"},{"photo_id":"1332390913","filename":"file4"},{"photo_id":"1332390887","filename":"file1"},{"photo_id":"1332390883","filename":"file0"},{"photo_id":"1332390911","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332390887":["hashtag1","hashtag2"]},{"1332390911":["hashtag1","hashtag2"]},{"1332390883":["hashtag1","hashtag2"]},{"1332390913":["hashtag1","hashtag2"]},{"1332390916":["hashtag1","hashtag2"]},{"1332390904":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332390887, 1332390911, 1332390883, 1332390913, 1332390916, 1332390904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.633750915527344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 20:00:42.836187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/58/image_28012025_13_58_26_10334.jpg', '/home/pi/Desktop/images/28012025/13/58/image_28012025_13_58_37_10346.jpg', '/home/pi/Desktop/images/28012025/13/58/image_28012025_13_58_56_10359.jpg', '/home/pi/Desktop/images/28012025/13/58/image_28012025_13_59_07_10341.jpg', '/home/pi/Desktop/images/28012025/13/59/image_28012025_13_59_16_9322.jpg', '/home/pi/Desktop/images/28012025/13/59/image_28012025_13_59_26_10326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/58/image_28012025_13_58_26_10334.jpg
/home/pi/Desktop/images/28012025/13/58/image_28012025_13_58_37_10346.jpg
/home/pi/Desktop/images/28012025/13/58/image_28012025_13_58_56_10359.jpg
/home/pi/Desktop/images/28012025/13/58/image_28012025_13_59_07_10341.jpg
/home/pi/Desktop/images/28012025/13/59/image_28012025_13_59_16_9322.jpg
/home/pi/Desktop/images/28012025/13/59/image_28012025_13_59_26_10326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332390950","1332390938","1332390940","1332390942","1332390936","1332390945"],"photo_ids_order":["1332390936","1332390938","1332390940","1332390942","1332390945","1332390950"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a6c55dd55b77bfe18b484e0bec59ca0d.jpg","text":"TemporaryFile(/tmp/multipartBody3992187874569642541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090903802,"filename":"image_28012025_13_59_26_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ff8a33c37921105f346f67dd4dd17be5.jpg","text":"TemporaryFile(/tmp/multipartBody3375491722916220338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090903802,"filename":"image_28012025_13_58_37_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f4b2360d683198bac5b2bb5774656f00.jpg","text":"TemporaryFile(/tmp/multipartBody8111809683749952075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090903802,"filename":"image_28012025_13_58_56_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/496d6cde41b29d83410e528dded404cc.jpg","text":"TemporaryFile(/tmp/multipartBody3646920463810480927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090903802,"filename":"image_28012025_13_59_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/1/28/41c72a2b8e4a1f9b12577d25be889e09.jpg","text":"TemporaryFile(/tmp/multipartBody3626585393363040565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090903802,"filename":"image_28012025_13_58_26_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ce1f601914ac118e6018731884705e1f.jpg","text":"TemporaryFile(/tmp/multipartBody7733360254923189785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090903802,"filename":"image_28012025_13_59_16_9322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332390940","file1":"1332390938","file0":"1332390936","file4":"1332390945","file5":"1332390950","file3":"1332390942"},"map_files_photo_id_array":[{"photo_id":"1332390950","filename":"file5"},{"photo_id":"1332390940","filename":"file2"},{"photo_id":"1332390945","filename":"file4"},{"photo_id":"1332390938","filename":"file1"},{"photo_id":"1332390936","filename":"file0"},{"photo_id":"1332390942","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332390950":["hashtag1","hashtag2"]},{"1332390938":["hashtag1","hashtag2"]},{"1332390940":["hashtag1","hashtag2"]},{"1332390942":["hashtag1","hashtag2"]},{"1332390936":["hashtag1","hashtag2"]},{"1332390945":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332390950, 1332390938, 1332390940, 1332390942, 1332390936, 1332390945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.947553634643555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:01:33.107734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/13/59/image_28012025_13_59_37_10351.jpg', '/home/pi/Desktop/images/28012025/13/59/image_28012025_13_59_46_9324.jpg', '/home/pi/Desktop/images/28012025/13/59/image_28012025_13_59_56_10349.jpg', '/home/pi/Desktop/images/28012025/14/01/image_28012025_14_01_14_10070.jpg', '/home/pi/Desktop/images/28012025/14/01/image_28012025_14_01_25_10368.jpg', '/home/pi/Desktop/images/28012025/14/01/image_28012025_14_01_35_10412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/13/59/image_28012025_13_59_37_10351.jpg
/home/pi/Desktop/images/28012025/13/59/image_28012025_13_59_46_9324.jpg
/home/pi/Desktop/images/28012025/13/59/image_28012025_13_59_56_10349.jpg
/home/pi/Desktop/images/28012025/14/01/image_28012025_14_01_14_10070.jpg
/home/pi/Desktop/images/28012025/14/01/image_28012025_14_01_25_10368.jpg
/home/pi/Desktop/images/28012025/14/01/image_28012025_14_01_35_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":["1332390974","1332390968","1332390979","1332390990","1332390987","1332390963"],"photo_ids_order":["1332390963","1332390968","1332390974","1332390979","1332390987","1332390990"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0de8085225d338343b3425101e744e17.jpg","text":"TemporaryFile(/tmp/multipartBody7961460852590497229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090954082,"filename":"image_28012025_13_59_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/1/28/6af7ad7f558ab5b92c0b82afb68343e0.jpg","text":"TemporaryFile(/tmp/multipartBody806832217294625117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090954082,"filename":"image_28012025_13_59_46_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a06e3957d722a9191de66cb2f57dfb8d.jpg","text":"TemporaryFile(/tmp/multipartBody1019426855003593742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090954082,"filename":"image_28012025_14_01_14_10070.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cb8e8159d187d9dd6d7671725b09ab7b.jpg","text":"TemporaryFile(/tmp/multipartBody7101719139725112986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090954082,"filename":"image_28012025_14_01_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/1/28/b1abe1c124762a0603da9280f710f2ca.jpg","text":"TemporaryFile(/tmp/multipartBody761754564265146424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090954082,"filename":"image_28012025_14_01_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/1/28/62082b2900edb5d3730084c178e635b0.jpg","text":"TemporaryFile(/tmp/multipartBody4992246282991679798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738090954082,"filename":"image_28012025_13_59_37_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332390974","file1":"1332390968","file0":"1332390963","file4":"1332390987","file5":"1332390990","file3":"1332390979"},"map_files_photo_id_array":[{"photo_id":"1332390990","filename":"file5"},{"photo_id":"1332390974","filename":"file2"},{"photo_id":"1332390987","filename":"file4"},{"photo_id":"1332390968","filename":"file1"},{"photo_id":"1332390963","filename":"file0"},{"photo_id":"1332390979","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332390974":["hashtag1","hashtag2"]},{"1332390968":["hashtag1","hashtag2"]},{"1332390979":["hashtag1","hashtag2"]},{"1332390990":["hashtag1","hashtag2"]},{"1332390987":["hashtag1","hashtag2"]},{"1332390963":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332390974, 1332390968, 1332390979, 1332390990, 1332390987, 1332390963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19368624687195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:02:32.318099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/01/image_28012025_14_01_45_9421.jpg', '/home/pi/Desktop/images/28012025/14/01/image_28012025_14_01_55_10338.jpg', '/home/pi/Desktop/images/28012025/14/01/image_28012025_14_02_05_10389.jpg', '/home/pi/Desktop/images/28012025/14/02/image_28012025_14_02_15_9399.jpg', '/home/pi/Desktop/images/28012025/14/02/image_28012025_14_02_25_10353.jpg', '/home/pi/Desktop/images/28012025/14/02/image_28012025_14_02_34_9407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/01/image_28012025_14_01_45_9421.jpg
/home/pi/Desktop/images/28012025/14/01/image_28012025_14_01_55_10338.jpg
/home/pi/Desktop/images/28012025/14/01/image_28012025_14_02_05_10389.jpg
/home/pi/Desktop/images/28012025/14/02/image_28012025_14_02_15_9399.jpg
/home/pi/Desktop/images/28012025/14/02/image_28012025_14_02_25_10353.jpg
/home/pi/Desktop/images/28012025/14/02/image_28012025_14_02_34_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":["1332391016","1332391007","1332391018","1332391017","1332391011","1332391014"],"photo_ids_order":["1332391007","1332391011","1332391014","1332391016","1332391017","1332391018"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/283d73042d430f0f1e79b665fe9c8e63.jpg","text":"TemporaryFile(/tmp/multipartBody6672068046656855298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091013280,"filename":"image_28012025_14_02_15_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/924df8ac5a9b6ae3e21c4761311a6e14.jpg","text":"TemporaryFile(/tmp/multipartBody616708475769897511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091013280,"filename":"image_28012025_14_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/1/28/05c2ce175c60bc743aa98008d63609ab.jpg","text":"TemporaryFile(/tmp/multipartBody5232146766150984446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091013280,"filename":"image_28012025_14_02_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/1/28/d00f476acd8eb99014441442307d8565.jpg","text":"TemporaryFile(/tmp/multipartBody6650455538023183578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091013280,"filename":"image_28012025_14_02_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/1/28/12f275a6767634752ff06d46e5c35807.jpg","text":"TemporaryFile(/tmp/multipartBody1047983453058938073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091013280,"filename":"image_28012025_14_01_55_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d1a7a7483b26f7d2abee730fe5c8d447.jpg","text":"TemporaryFile(/tmp/multipartBody4073604482536236779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091013280,"filename":"image_28012025_14_02_05_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332391014","file1":"1332391011","file0":"1332391007","file4":"1332391017","file5":"1332391018","file3":"1332391016"},"map_files_photo_id_array":[{"photo_id":"1332391018","filename":"file5"},{"photo_id":"1332391014","filename":"file2"},{"photo_id":"1332391017","filename":"file4"},{"photo_id":"1332391011","filename":"file1"},{"photo_id":"1332391007","filename":"file0"},{"photo_id":"1332391016","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332391016":["hashtag1","hashtag2"]},{"1332391007":["hashtag1","hashtag2"]},{"1332391018":["hashtag1","hashtag2"]},{"1332391017":["hashtag1","hashtag2"]},{"1332391011":["hashtag1","hashtag2"]},{"1332391014":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332391016, 1332391007, 1332391018, 1332391017, 1332391011, 1332391014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.81084942817688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:03:32.531660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/02/image_28012025_14_02_45_10360.jpg', '/home/pi/Desktop/images/28012025/14/02/image_28012025_14_02_55_10330.jpg', '/home/pi/Desktop/images/28012025/14/02/image_28012025_14_03_04_9324.jpg', '/home/pi/Desktop/images/28012025/14/03/image_28012025_14_03_15_10341.jpg', '/home/pi/Desktop/images/28012025/14/03/image_28012025_14_03_25_10352.jpg', '/home/pi/Desktop/images/28012025/14/03/image_28012025_14_03_35_9404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/02/image_28012025_14_02_45_10360.jpg
/home/pi/Desktop/images/28012025/14/02/image_28012025_14_02_55_10330.jpg
/home/pi/Desktop/images/28012025/14/02/image_28012025_14_03_04_9324.jpg
/home/pi/Desktop/images/28012025/14/03/image_28012025_14_03_15_10341.jpg
/home/pi/Desktop/images/28012025/14/03/image_28012025_14_03_25_10352.jpg
/home/pi/Desktop/images/28012025/14/03/image_28012025_14_03_35_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":["1332391046","1332391051","1332391054","1332391042","1332391056","1332391038"],"photo_ids_order":["1332391038","1332391042","1332391046","1332391051","1332391054","1332391056"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/548cb502d2039d5278fed302e09eaaf0.jpg","text":"TemporaryFile(/tmp/multipartBody4855669088557318714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091073487,"filename":"image_28012025_14_03_04_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f9565263be2016cf46dc6b488c47a6dd.jpg","text":"TemporaryFile(/tmp/multipartBody3060859935023371609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091073487,"filename":"image_28012025_14_03_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/1/28/debd60585573aa075226aa609758e1f4.jpg","text":"TemporaryFile(/tmp/multipartBody4860398901669425522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091073487,"filename":"image_28012025_14_03_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/1/28/bcd5c3e5824a94265eb3be14167cd067.jpg","text":"TemporaryFile(/tmp/multipartBody6436582442151778795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091073487,"filename":"image_28012025_14_02_55_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0b5f051dbe767bc054ef553606818a87.jpg","text":"TemporaryFile(/tmp/multipartBody6116080811659729576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091073487,"filename":"image_28012025_14_03_35_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fa74e6337bc2ada496709cc250459e52.jpg","text":"TemporaryFile(/tmp/multipartBody5924174624081684985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091073487,"filename":"image_28012025_14_02_45_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332391046","file1":"1332391042","file0":"1332391038","file4":"1332391054","file5":"1332391056","file3":"1332391051"},"map_files_photo_id_array":[{"photo_id":"1332391056","filename":"file5"},{"photo_id":"1332391046","filename":"file2"},{"photo_id":"1332391054","filename":"file4"},{"photo_id":"1332391042","filename":"file1"},{"photo_id":"1332391038","filename":"file0"},{"photo_id":"1332391051","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332391046":["hashtag1","hashtag2"]},{"1332391051":["hashtag1","hashtag2"]},{"1332391054":["hashtag1","hashtag2"]},{"1332391042":["hashtag1","hashtag2"]},{"1332391056":["hashtag1","hashtag2"]},{"1332391038":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332391046, 1332391051, 1332391054, 1332391042, 1332391056, 1332391038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.50315761566162 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:04:32.736463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/03/image_28012025_14_03_45_10336.jpg', '/home/pi/Desktop/images/28012025/14/03/image_28012025_14_03_54_9411.jpg', '/home/pi/Desktop/images/28012025/14/03/image_28012025_14_04_05_10356.jpg', '/home/pi/Desktop/images/28012025/14/04/image_28012025_14_04_15_10323.jpg', '/home/pi/Desktop/images/28012025/14/04/image_28012025_14_04_24_9399.jpg', '/home/pi/Desktop/images/28012025/14/04/image_28012025_14_04_35_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/03/image_28012025_14_03_45_10336.jpg
/home/pi/Desktop/images/28012025/14/03/image_28012025_14_03_54_9411.jpg
/home/pi/Desktop/images/28012025/14/03/image_28012025_14_04_05_10356.jpg
/home/pi/Desktop/images/28012025/14/04/image_28012025_14_04_15_10323.jpg
/home/pi/Desktop/images/28012025/14/04/image_28012025_14_04_24_9399.jpg
/home/pi/Desktop/images/28012025/14/04/image_28012025_14_04_35_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":["1332391088","1332391093","1332391112","1332391084","1332391080","1332391104"],"photo_ids_order":["1332391080","1332391084","1332391088","1332391093","1332391104","1332391112"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a6a39b8e7b5182bcc64063247ffff782.jpg","text":"TemporaryFile(/tmp/multipartBody133293588900809597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091133689,"filename":"image_28012025_14_04_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/1/28/e7a9ee7040af35a02efd9e8cbae43e81.jpg","text":"TemporaryFile(/tmp/multipartBody9142613638311833155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091133689,"filename":"image_28012025_14_04_15_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f3524363b389ae16b764ad2369b8028f.jpg","text":"TemporaryFile(/tmp/multipartBody4001813109475179795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091133689,"filename":"image_28012025_14_04_35_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/58f0dbaddbc56e7adb4eed38a2bcac26.jpg","text":"TemporaryFile(/tmp/multipartBody8546989423748471172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091133689,"filename":"image_28012025_14_03_54_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7bd3c4e81ea6d44d10d0a1946643cd89.jpg","text":"TemporaryFile(/tmp/multipartBody985799157420199586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091133689,"filename":"image_28012025_14_03_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/1/28/70749d2b304513f6533182127485b909.jpg","text":"TemporaryFile(/tmp/multipartBody4619406289338373565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091133689,"filename":"image_28012025_14_04_24_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332391088","file1":"1332391084","file0":"1332391080","file4":"1332391104","file5":"1332391112","file3":"1332391093"},"map_files_photo_id_array":[{"photo_id":"1332391112","filename":"file5"},{"photo_id":"1332391088","filename":"file2"},{"photo_id":"1332391104","filename":"file4"},{"photo_id":"1332391084","filename":"file1"},{"photo_id":"1332391080","filename":"file0"},{"photo_id":"1332391093","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332391088":["hashtag1","hashtag2"]},{"1332391093":["hashtag1","hashtag2"]},{"1332391112":["hashtag1","hashtag2"]},{"1332391084":["hashtag1","hashtag2"]},{"1332391080":["hashtag1","hashtag2"]},{"1332391104":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332391088, 1332391093, 1332391112, 1332391084, 1332391080, 1332391104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19142818450928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:05:33.064713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/04/image_28012025_14_04_45_10345.jpg', '/home/pi/Desktop/images/28012025/14/04/image_28012025_14_04_54_9336.jpg', '/home/pi/Desktop/images/28012025/14/04/image_28012025_14_05_05_10344.jpg', '/home/pi/Desktop/images/28012025/14/05/image_28012025_14_05_15_10340.jpg', '/home/pi/Desktop/images/28012025/14/05/image_28012025_14_05_24_9415.jpg', '/home/pi/Desktop/images/28012025/14/05/image_28012025_14_05_35_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/04/image_28012025_14_04_45_10345.jpg
/home/pi/Desktop/images/28012025/14/04/image_28012025_14_04_54_9336.jpg
/home/pi/Desktop/images/28012025/14/04/image_28012025_14_05_05_10344.jpg
/home/pi/Desktop/images/28012025/14/05/image_28012025_14_05_15_10340.jpg
/home/pi/Desktop/images/28012025/14/05/image_28012025_14_05_24_9415.jpg
/home/pi/Desktop/images/28012025/14/05/image_28012025_14_05_35_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":["1332391166","1332391154","1332391168","1332391159","1332391150","1332391163"],"photo_ids_order":["1332391150","1332391154","1332391159","1332391163","1332391166","1332391168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/39f0c1cbbfb1f8a550b34c628ac6d8de.jpg","text":"TemporaryFile(/tmp/multipartBody697674834599798298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091194041,"filename":"image_28012025_14_05_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/1/28/8233f0b6ed0406da9ce7c83a550f276c.jpg","text":"TemporaryFile(/tmp/multipartBody1759264374695588621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091194041,"filename":"image_28012025_14_04_54_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6b7d6a07832ba17ab77e4a83992e28ff.jpg","text":"TemporaryFile(/tmp/multipartBody1590255375033857098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091194041,"filename":"image_28012025_14_05_35_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8e7b7697a16ad69302b1ae14488631d4.jpg","text":"TemporaryFile(/tmp/multipartBody5186585621747256688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091194041,"filename":"image_28012025_14_05_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/1/28/307e109976e68c1add28c03de5e37cba.jpg","text":"TemporaryFile(/tmp/multipartBody2663683744650541569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091194041,"filename":"image_28012025_14_04_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/1/28/07c72c826ad82d1f75a1ceb894acf8d7.jpg","text":"TemporaryFile(/tmp/multipartBody6691226374372744626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091194041,"filename":"image_28012025_14_05_15_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332391159","file1":"1332391154","file0":"1332391150","file4":"1332391166","file5":"1332391168","file3":"1332391163"},"map_files_photo_id_array":[{"photo_id":"1332391168","filename":"file5"},{"photo_id":"1332391159","filename":"file2"},{"photo_id":"1332391166","filename":"file4"},{"photo_id":"1332391154","filename":"file1"},{"photo_id":"1332391150","filename":"file0"},{"photo_id":"1332391163","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332391166":["hashtag1","hashtag2"]},{"1332391154":["hashtag1","hashtag2"]},{"1332391168":["hashtag1","hashtag2"]},{"1332391159":["hashtag1","hashtag2"]},{"1332391150":["hashtag1","hashtag2"]},{"1332391163":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332391166, 1332391154, 1332391168, 1332391159, 1332391150, 1332391163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.87541627883911 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:06:32.219098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/05/image_28012025_14_05_55_10325.jpg', '/home/pi/Desktop/images/28012025/14/05/image_28012025_14_06_05_10335.jpg', '/home/pi/Desktop/images/28012025/14/06/image_28012025_14_06_14_9322.jpg', '/home/pi/Desktop/images/28012025/14/06/image_28012025_14_06_25_10403.jpg', '/home/pi/Desktop/images/28012025/14/06/image_28012025_14_06_35_10345.jpg', '/home/pi/Desktop/images/28012025/14/06/image_28012025_14_06_44_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/05/image_28012025_14_05_55_10325.jpg
/home/pi/Desktop/images/28012025/14/05/image_28012025_14_06_05_10335.jpg
/home/pi/Desktop/images/28012025/14/06/image_28012025_14_06_14_9322.jpg
/home/pi/Desktop/images/28012025/14/06/image_28012025_14_06_25_10403.jpg
/home/pi/Desktop/images/28012025/14/06/image_28012025_14_06_35_10345.jpg
/home/pi/Desktop/images/28012025/14/06/image_28012025_14_06_44_9349.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5588419437408447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 20:06:42.246469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/05/image_28012025_14_05_55_10325.jpg', '/home/pi/Desktop/images/28012025/14/05/image_28012025_14_06_05_10335.jpg', '/home/pi/Desktop/images/28012025/14/06/image_28012025_14_06_14_9322.jpg', '/home/pi/Desktop/images/28012025/14/06/image_28012025_14_06_25_10403.jpg', '/home/pi/Desktop/images/28012025/14/06/image_28012025_14_06_35_10345.jpg', '/home/pi/Desktop/images/28012025/14/06/image_28012025_14_06_44_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/05/image_28012025_14_05_55_10325.jpg
/home/pi/Desktop/images/28012025/14/05/image_28012025_14_06_05_10335.jpg
/home/pi/Desktop/images/28012025/14/06/image_28012025_14_06_14_9322.jpg
/home/pi/Desktop/images/28012025/14/06/image_28012025_14_06_25_10403.jpg
/home/pi/Desktop/images/28012025/14/06/image_28012025_14_06_35_10345.jpg
/home/pi/Desktop/images/28012025/14/06/image_28012025_14_06_44_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332391195","1332391207","1332391191","1332391218","1332391203","1332391199"],"photo_ids_order":["1332391191","1332391195","1332391199","1332391203","1332391207","1332391218"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4b523b67a7d629676a2d32e2e46bd541.jpg","text":"TemporaryFile(/tmp/multipartBody2486342397700067308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091263150,"filename":"image_28012025_14_06_05_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/732e9bd4bab82751bc6235236326c097.jpg","text":"TemporaryFile(/tmp/multipartBody2718109376849443516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091263150,"filename":"image_28012025_14_06_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/1/28/f21edc1cc210e73d57b16f155bee3b2e.jpg","text":"TemporaryFile(/tmp/multipartBody512329176218435846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091263150,"filename":"image_28012025_14_05_55_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a5c57bd67b1ecfabd45e2cab9958d807.jpg","text":"TemporaryFile(/tmp/multipartBody3864349197890293813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091263150,"filename":"image_28012025_14_06_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/1/28/eb64a0096cc0ea5bf67fa681ae5b1152.jpg","text":"TemporaryFile(/tmp/multipartBody5977838983577841595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091263150,"filename":"image_28012025_14_06_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/1/28/3a2a56a445bd4bdbb7ed1f41a704abe3.jpg","text":"TemporaryFile(/tmp/multipartBody7258381084454045100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091263150,"filename":"image_28012025_14_06_14_9322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332391199","file1":"1332391195","file0":"1332391191","file4":"1332391207","file5":"1332391218","file3":"1332391203"},"map_files_photo_id_array":[{"photo_id":"1332391218","filename":"file5"},{"photo_id":"1332391199","filename":"file2"},{"photo_id":"1332391207","filename":"file4"},{"photo_id":"1332391195","filename":"file1"},{"photo_id":"1332391191","filename":"file0"},{"photo_id":"1332391203","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332391195":["hashtag1","hashtag2"]},{"1332391207":["hashtag1","hashtag2"]},{"1332391191":["hashtag1","hashtag2"]},{"1332391218":["hashtag1","hashtag2"]},{"1332391203":["hashtag1","hashtag2"]},{"1332391199":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332391195, 1332391207, 1332391191, 1332391218, 1332391203, 1332391199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.15302562713623 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:07:32.504125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/06/image_28012025_14_06_55_10432.jpg', '/home/pi/Desktop/images/28012025/14/06/image_28012025_14_07_05_10423.jpg', '/home/pi/Desktop/images/28012025/14/07/image_28012025_14_07_15_9383.jpg', '/home/pi/Desktop/images/28012025/14/07/image_28012025_14_07_25_10351.jpg', '/home/pi/Desktop/images/28012025/14/07/image_28012025_14_07_34_9322.jpg', '/home/pi/Desktop/images/28012025/14/07/image_28012025_14_07_45_10392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/06/image_28012025_14_06_55_10432.jpg
/home/pi/Desktop/images/28012025/14/06/image_28012025_14_07_05_10423.jpg
/home/pi/Desktop/images/28012025/14/07/image_28012025_14_07_15_9383.jpg
/home/pi/Desktop/images/28012025/14/07/image_28012025_14_07_25_10351.jpg
/home/pi/Desktop/images/28012025/14/07/image_28012025_14_07_34_9322.jpg
/home/pi/Desktop/images/28012025/14/07/image_28012025_14_07_45_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":["1332391271","1332391259","1332391624","1332391266","1332391269","1332391263"],"photo_ids_order":["1332391259","1332391263","1332391266","1332391269","1332391271","1332391624"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/245f05c19dc68fb16f7bc797d12e3893.jpg","text":"TemporaryFile(/tmp/multipartBody6825444218392255272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091313455,"filename":"image_28012025_14_07_34_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9a84e4d761a75b2aad5e79f866a717c9.jpg","text":"TemporaryFile(/tmp/multipartBody4947037805841015643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091313455,"filename":"image_28012025_14_06_55_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/43ebc3cdb3ed49c598c89287139e988d.jpg","text":"TemporaryFile(/tmp/multipartBody8990273059699614493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091313455,"filename":"image_28012025_14_07_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/1/28/78ed3c517e3a3bb03bba67d61e78779f.jpg","text":"TemporaryFile(/tmp/multipartBody2998805494074505416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091313455,"filename":"image_28012025_14_07_15_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/036c5a5628bd8b82c6751193490fc34f.jpg","text":"TemporaryFile(/tmp/multipartBody6709412645051676105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091313455,"filename":"image_28012025_14_07_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/1/28/1c193416c3b5ca0beea51ef60c0da001.jpg","text":"TemporaryFile(/tmp/multipartBody4013733248666357244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091313455,"filename":"image_28012025_14_07_05_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332391266","file1":"1332391263","file0":"1332391259","file4":"1332391271","file5":"1332391624","file3":"1332391269"},"map_files_photo_id_array":[{"photo_id":"1332391624","filename":"file5"},{"photo_id":"1332391266","filename":"file2"},{"photo_id":"1332391271","filename":"file4"},{"photo_id":"1332391263","filename":"file1"},{"photo_id":"1332391259","filename":"file0"},{"photo_id":"1332391269","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332391271":["hashtag1","hashtag2"]},{"1332391259":["hashtag1","hashtag2"]},{"1332391624":["hashtag1","hashtag2"]},{"1332391266":["hashtag1","hashtag2"]},{"1332391269":["hashtag1","hashtag2"]},{"1332391263":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332391271, 1332391259, 1332391624, 1332391266, 1332391269, 1332391263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.15123796463013 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:08:32.771860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/07/image_28012025_14_07_55_10340.jpg', '/home/pi/Desktop/images/28012025/14/07/image_28012025_14_08_04_9399.jpg', '/home/pi/Desktop/images/28012025/14/08/image_28012025_14_08_15_10307.jpg', '/home/pi/Desktop/images/28012025/14/08/image_28012025_14_08_45_10354.jpg', '/home/pi/Desktop/images/28012025/14/08/image_28012025_14_08_54_9526.jpg', '/home/pi/Desktop/images/28012025/14/08/image_28012025_14_09_05_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/07/image_28012025_14_07_55_10340.jpg
/home/pi/Desktop/images/28012025/14/07/image_28012025_14_08_04_9399.jpg
/home/pi/Desktop/images/28012025/14/08/image_28012025_14_08_15_10307.jpg
/home/pi/Desktop/images/28012025/14/08/image_28012025_14_08_45_10354.jpg
/home/pi/Desktop/images/28012025/14/08/image_28012025_14_08_54_9526.jpg
/home/pi/Desktop/images/28012025/14/08/image_28012025_14_09_05_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":["1332392306","1332392315","1332392320","1332392302","1332392311","1332392318"],"photo_ids_order":["1332392302","1332392306","1332392311","1332392315","1332392318","1332392320"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e9cef360f9a58efe053ce7ae27e1c94b.jpg","text":"TemporaryFile(/tmp/multipartBody878156447359532551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091373721,"filename":"image_28012025_14_08_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/1/28/874e72a3e62c33b3f2de089e52ea4b93.jpg","text":"TemporaryFile(/tmp/multipartBody9018993419664115661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091373721,"filename":"image_28012025_14_08_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/1/28/72870156e92cf6e1382c80e4f6b56b97.jpg","text":"TemporaryFile(/tmp/multipartBody8809471262901397947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091373721,"filename":"image_28012025_14_09_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/1/28/ea6ddacdf7e8c7e6080b7024713603d0.jpg","text":"TemporaryFile(/tmp/multipartBody8637378274643440659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091373721,"filename":"image_28012025_14_07_55_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5e565d83fac4b5d1e985b60c82f44100.jpg","text":"TemporaryFile(/tmp/multipartBody8114770032723325078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091373721,"filename":"image_28012025_14_08_15_10307.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/68e8b4c08daf4ff14b341d0e39e1aee6.jpg","text":"TemporaryFile(/tmp/multipartBody4990433310711057894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091373721,"filename":"image_28012025_14_08_54_9526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332392311","file1":"1332392306","file0":"1332392302","file4":"1332392318","file5":"1332392320","file3":"1332392315"},"map_files_photo_id_array":[{"photo_id":"1332392320","filename":"file5"},{"photo_id":"1332392311","filename":"file2"},{"photo_id":"1332392318","filename":"file4"},{"photo_id":"1332392306","filename":"file1"},{"photo_id":"1332392302","filename":"file0"},{"photo_id":"1332392315","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332392306":["hashtag1","hashtag2"]},{"1332392315":["hashtag1","hashtag2"]},{"1332392320":["hashtag1","hashtag2"]},{"1332392302":["hashtag1","hashtag2"]},{"1332392311":["hashtag1","hashtag2"]},{"1332392318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332392306, 1332392315, 1332392320, 1332392302, 1332392311, 1332392318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.72988939285278 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:09:33.105436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/09/image_28012025_14_09_15_10314.jpg', '/home/pi/Desktop/images/28012025/14/09/image_28012025_14_09_24_9449.jpg', '/home/pi/Desktop/images/28012025/14/09/image_28012025_14_09_35_10399.jpg', '/home/pi/Desktop/images/28012025/14/09/image_28012025_14_09_44_9368.jpg', '/home/pi/Desktop/images/28012025/14/09/image_28012025_14_09_55_10335.jpg', '/home/pi/Desktop/images/28012025/14/09/image_28012025_14_10_05_10383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/09/image_28012025_14_09_15_10314.jpg
/home/pi/Desktop/images/28012025/14/09/image_28012025_14_09_24_9449.jpg
/home/pi/Desktop/images/28012025/14/09/image_28012025_14_09_35_10399.jpg
/home/pi/Desktop/images/28012025/14/09/image_28012025_14_09_44_9368.jpg
/home/pi/Desktop/images/28012025/14/09/image_28012025_14_09_55_10335.jpg
/home/pi/Desktop/images/28012025/14/09/image_28012025_14_10_05_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":["1332392338","1332392631","1332392334","1332392798","1332392348","1332392342"],"photo_ids_order":["1332392334","1332392338","1332392342","1332392348","1332392631","1332392798"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c7f27e73838813a2acfcea7caa884b87.jpg","text":"TemporaryFile(/tmp/multipartBody9163275908003148265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091434070,"filename":"image_28012025_14_09_24_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/77bec3e4e5f4f7bfa3f932672517e54e.jpg","text":"TemporaryFile(/tmp/multipartBody4861409671759903857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091434070,"filename":"image_28012025_14_09_55_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5157477d2c84965522686baae0b1e20e.jpg","text":"TemporaryFile(/tmp/multipartBody1331661756085014158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091434070,"filename":"image_28012025_14_09_15_10314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/aa6b6ec77d3682efd8863d48b111eed6.jpg","text":"TemporaryFile(/tmp/multipartBody7613480508409992248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091434070,"filename":"image_28012025_14_10_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/1/28/9b58ca8b88f2167cfe65cc88f9b1042e.jpg","text":"TemporaryFile(/tmp/multipartBody6218351668099467706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091434070,"filename":"image_28012025_14_09_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/1/28/f5a6ea4c085df50077716067ffb900e7.jpg","text":"TemporaryFile(/tmp/multipartBody6739358205297382862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091434070,"filename":"image_28012025_14_09_35_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332392342","file1":"1332392338","file0":"1332392334","file4":"1332392631","file5":"1332392798","file3":"1332392348"},"map_files_photo_id_array":[{"photo_id":"1332392798","filename":"file5"},{"photo_id":"1332392342","filename":"file2"},{"photo_id":"1332392631","filename":"file4"},{"photo_id":"1332392338","filename":"file1"},{"photo_id":"1332392334","filename":"file0"},{"photo_id":"1332392348","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332392338":["hashtag1","hashtag2"]},{"1332392631":["hashtag1","hashtag2"]},{"1332392334":["hashtag1","hashtag2"]},{"1332392798":["hashtag1","hashtag2"]},{"1332392348":["hashtag1","hashtag2"]},{"1332392342":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332392338, 1332392631, 1332392334, 1332392798, 1332392348, 1332392342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.21504354476929 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:10:32.227381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/10/image_28012025_14_10_14_9426.jpg', '/home/pi/Desktop/images/28012025/14/10/image_28012025_14_10_25_10344.jpg', '/home/pi/Desktop/images/28012025/14/10/image_28012025_14_10_35_10465.jpg', '/home/pi/Desktop/images/28012025/14/10/image_28012025_14_10_45_9388.jpg', '/home/pi/Desktop/images/28012025/14/10/image_28012025_14_10_55_10348.jpg', '/home/pi/Desktop/images/28012025/14/10/image_28012025_14_11_04_9323.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/10/image_28012025_14_10_14_9426.jpg
/home/pi/Desktop/images/28012025/14/10/image_28012025_14_10_25_10344.jpg
/home/pi/Desktop/images/28012025/14/10/image_28012025_14_10_35_10465.jpg
/home/pi/Desktop/images/28012025/14/10/image_28012025_14_10_45_9388.jpg
/home/pi/Desktop/images/28012025/14/10/image_28012025_14_10_55_10348.jpg
/home/pi/Desktop/images/28012025/14/10/image_28012025_14_11_04_9323.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5565309524536133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 20:10:42.249967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/10/image_28012025_14_10_14_9426.jpg', '/home/pi/Desktop/images/28012025/14/10/image_28012025_14_10_25_10344.jpg', '/home/pi/Desktop/images/28012025/14/10/image_28012025_14_10_35_10465.jpg', '/home/pi/Desktop/images/28012025/14/10/image_28012025_14_10_45_9388.jpg', '/home/pi/Desktop/images/28012025/14/10/image_28012025_14_10_55_10348.jpg', '/home/pi/Desktop/images/28012025/14/10/image_28012025_14_11_04_9323.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/10/image_28012025_14_10_14_9426.jpg
/home/pi/Desktop/images/28012025/14/10/image_28012025_14_10_25_10344.jpg
/home/pi/Desktop/images/28012025/14/10/image_28012025_14_10_35_10465.jpg
/home/pi/Desktop/images/28012025/14/10/image_28012025_14_10_45_9388.jpg
/home/pi/Desktop/images/28012025/14/10/image_28012025_14_10_55_10348.jpg
/home/pi/Desktop/images/28012025/14/10/image_28012025_14_11_04_9323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332392989","1332392979","1332392973","1332393035","1332393011","1332392984"],"photo_ids_order":["1332392973","1332392979","1332392984","1332392989","1332393011","1332393035"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7b23bf05480e462b5b1e9e589197333b.jpg","text":"TemporaryFile(/tmp/multipartBody7598361921193510849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091503140,"filename":"image_28012025_14_10_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/1/28/78a0077a843266d9a3fe7fe7fe839717.jpg","text":"TemporaryFile(/tmp/multipartBody136075097788726892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091503140,"filename":"image_28012025_14_10_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/1/28/3454f769c08a72e6d247554de6cce542.jpg","text":"TemporaryFile(/tmp/multipartBody3810732246921966426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091503140,"filename":"image_28012025_14_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/1/28/f57cc8dfe254d169cb996f71d49265df.jpg","text":"TemporaryFile(/tmp/multipartBody8021311606332983633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091503140,"filename":"image_28012025_14_11_04_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/288ba4334a0d30f2f8e8d6e15a224cc2.jpg","text":"TemporaryFile(/tmp/multipartBody4210212708021335458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091503140,"filename":"image_28012025_14_10_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/1/28/1f5e4b39c380f0e79102e98629d26d91.jpg","text":"TemporaryFile(/tmp/multipartBody1573520072194616631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091503140,"filename":"image_28012025_14_10_35_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332392984","file1":"1332392979","file0":"1332392973","file4":"1332393011","file5":"1332393035","file3":"1332392989"},"map_files_photo_id_array":[{"photo_id":"1332393035","filename":"file5"},{"photo_id":"1332392984","filename":"file2"},{"photo_id":"1332393011","filename":"file4"},{"photo_id":"1332392979","filename":"file1"},{"photo_id":"1332392973","filename":"file0"},{"photo_id":"1332392989","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332392989":["hashtag1","hashtag2"]},{"1332392979":["hashtag1","hashtag2"]},{"1332392973":["hashtag1","hashtag2"]},{"1332393035":["hashtag1","hashtag2"]},{"1332393011":["hashtag1","hashtag2"]},{"1332392984":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332392989, 1332392979, 1332392973, 1332393035, 1332393011, 1332392984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13908004760742 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:11:32.479742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/11/image_28012025_14_11_15_10337.jpg', '/home/pi/Desktop/images/28012025/14/11/image_28012025_14_11_25_10410.jpg', '/home/pi/Desktop/images/28012025/14/11/image_28012025_14_11_34_9325.jpg', '/home/pi/Desktop/images/28012025/14/11/image_28012025_14_11_45_10348.jpg', '/home/pi/Desktop/images/28012025/14/11/image_28012025_14_11_55_10353.jpg', '/home/pi/Desktop/images/28012025/14/11/image_28012025_14_12_04_9412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/11/image_28012025_14_11_15_10337.jpg
/home/pi/Desktop/images/28012025/14/11/image_28012025_14_11_25_10410.jpg
/home/pi/Desktop/images/28012025/14/11/image_28012025_14_11_34_9325.jpg
/home/pi/Desktop/images/28012025/14/11/image_28012025_14_11_45_10348.jpg
/home/pi/Desktop/images/28012025/14/11/image_28012025_14_11_55_10353.jpg
/home/pi/Desktop/images/28012025/14/11/image_28012025_14_12_04_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":["1332393049","1332393096","1332393075","1332393080","1332393047","1332393085"],"photo_ids_order":["1332393047","1332393049","1332393075","1332393080","1332393085","1332393096"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/554ca10df4badf605a02d3d96a46b01a.jpg","text":"TemporaryFile(/tmp/multipartBody129305492925718706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091553424,"filename":"image_28012025_14_11_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/1/28/1c380f62dfffaa33eac6d7a5d832e4d5.jpg","text":"TemporaryFile(/tmp/multipartBody3011930101453669491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091553424,"filename":"image_28012025_14_12_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/1/28/787e23b57545fedd14d3e741a0e368f6.jpg","text":"TemporaryFile(/tmp/multipartBody1976063961818681662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091553424,"filename":"image_28012025_14_11_34_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ce48e76a007113e8eb1e0645ae9449c8.jpg","text":"TemporaryFile(/tmp/multipartBody9101088212170498533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091553424,"filename":"image_28012025_14_11_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/1/28/2fcf01ad1e8cd8927bc3f8c371dd0cae.jpg","text":"TemporaryFile(/tmp/multipartBody5844862584803270629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091553424,"filename":"image_28012025_14_11_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/1/28/07b3fb93baf0099205c9dbded0e06425.jpg","text":"TemporaryFile(/tmp/multipartBody1403877968144552651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091553424,"filename":"image_28012025_14_11_55_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332393075","file1":"1332393049","file0":"1332393047","file4":"1332393085","file5":"1332393096","file3":"1332393080"},"map_files_photo_id_array":[{"photo_id":"1332393096","filename":"file5"},{"photo_id":"1332393075","filename":"file2"},{"photo_id":"1332393085","filename":"file4"},{"photo_id":"1332393049","filename":"file1"},{"photo_id":"1332393047","filename":"file0"},{"photo_id":"1332393080","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332393049":["hashtag1","hashtag2"]},{"1332393096":["hashtag1","hashtag2"]},{"1332393075":["hashtag1","hashtag2"]},{"1332393080":["hashtag1","hashtag2"]},{"1332393047":["hashtag1","hashtag2"]},{"1332393085":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332393049, 1332393096, 1332393075, 1332393080, 1332393047, 1332393085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47156286239624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:12:32.683963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/12/image_28012025_14_12_15_10342.jpg', '/home/pi/Desktop/images/28012025/14/12/image_28012025_14_12_24_9445.jpg', '/home/pi/Desktop/images/28012025/14/12/image_28012025_14_12_35_10342.jpg', '/home/pi/Desktop/images/28012025/14/12/image_28012025_14_12_45_10351.jpg', '/home/pi/Desktop/images/28012025/14/12/image_28012025_14_12_54_9346.jpg', '/home/pi/Desktop/images/28012025/14/12/image_28012025_14_13_05_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/12/image_28012025_14_12_15_10342.jpg
/home/pi/Desktop/images/28012025/14/12/image_28012025_14_12_24_9445.jpg
/home/pi/Desktop/images/28012025/14/12/image_28012025_14_12_35_10342.jpg
/home/pi/Desktop/images/28012025/14/12/image_28012025_14_12_45_10351.jpg
/home/pi/Desktop/images/28012025/14/12/image_28012025_14_12_54_9346.jpg
/home/pi/Desktop/images/28012025/14/12/image_28012025_14_13_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":["1332393186","1332393260","1332393206","1332393181","1332393262","1332393256"],"photo_ids_order":["1332393181","1332393186","1332393206","1332393256","1332393260","1332393262"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e87b0b083071c682ad6973a6a422edc7.jpg","text":"TemporaryFile(/tmp/multipartBody945015931808430534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091613635,"filename":"image_28012025_14_12_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/1/28/3ccd8ebd7c5fa7511372f923d66ec10f.jpg","text":"TemporaryFile(/tmp/multipartBody8371591370473767473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091613635,"filename":"image_28012025_14_12_54_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/eccaaf818a6442f380b52a76b6fd64e1.jpg","text":"TemporaryFile(/tmp/multipartBody3652720417764509749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091613635,"filename":"image_28012025_14_12_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/1/28/c580e07911090a4e05bdf24f109f6e1c.jpg","text":"TemporaryFile(/tmp/multipartBody8488573917280519739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091613635,"filename":"image_28012025_14_12_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/1/28/e54537194a5de8eb268aa504aa9d634c.jpg","text":"TemporaryFile(/tmp/multipartBody9081802256542674163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091613635,"filename":"image_28012025_14_13_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/1/28/49e1d016f62199b5174c7c79c4495d13.jpg","text":"TemporaryFile(/tmp/multipartBody1008356982680948309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091613635,"filename":"image_28012025_14_12_45_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332393206","file1":"1332393186","file0":"1332393181","file4":"1332393260","file5":"1332393262","file3":"1332393256"},"map_files_photo_id_array":[{"photo_id":"1332393262","filename":"file5"},{"photo_id":"1332393206","filename":"file2"},{"photo_id":"1332393260","filename":"file4"},{"photo_id":"1332393186","filename":"file1"},{"photo_id":"1332393181","filename":"file0"},{"photo_id":"1332393256","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332393186":["hashtag1","hashtag2"]},{"1332393260":["hashtag1","hashtag2"]},{"1332393206":["hashtag1","hashtag2"]},{"1332393181":["hashtag1","hashtag2"]},{"1332393262":["hashtag1","hashtag2"]},{"1332393256":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332393186, 1332393260, 1332393206, 1332393181, 1332393262, 1332393256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00154495239258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:13:33.070223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/13/image_28012025_14_13_15_10329.jpg', '/home/pi/Desktop/images/28012025/14/13/image_28012025_14_13_24_9433.jpg', '/home/pi/Desktop/images/28012025/14/13/image_28012025_14_13_35_10371.jpg', '/home/pi/Desktop/images/28012025/14/13/image_28012025_14_13_45_10342.jpg', '/home/pi/Desktop/images/28012025/14/13/image_28012025_14_13_55_9414.jpg', '/home/pi/Desktop/images/28012025/14/13/image_28012025_14_14_05_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/13/image_28012025_14_13_15_10329.jpg
/home/pi/Desktop/images/28012025/14/13/image_28012025_14_13_24_9433.jpg
/home/pi/Desktop/images/28012025/14/13/image_28012025_14_13_35_10371.jpg
/home/pi/Desktop/images/28012025/14/13/image_28012025_14_13_45_10342.jpg
/home/pi/Desktop/images/28012025/14/13/image_28012025_14_13_55_9414.jpg
/home/pi/Desktop/images/28012025/14/13/image_28012025_14_14_05_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332393352","1332393296","1332393299","1332393350","1332393302","1332393292"],"photo_ids_order":["1332393292","1332393296","1332393299","1332393302","1332393350","1332393352"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ddbd6355acbb4772dcda6405bfb260e4.jpg","text":"TemporaryFile(/tmp/multipartBody1572501310434225114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091674018,"filename":"image_28012025_14_14_05_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/15e3d574f0cfe606ce1e8fdd8cb97374.jpg","text":"TemporaryFile(/tmp/multipartBody4900063476423692784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091674018,"filename":"image_28012025_14_13_24_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/05b249f7e664a559d7665290330936ed.jpg","text":"TemporaryFile(/tmp/multipartBody426827197553275909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091674018,"filename":"image_28012025_14_13_35_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/765258aac0128a14e6d1a93d29f041be.jpg","text":"TemporaryFile(/tmp/multipartBody1945208161516836727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091674018,"filename":"image_28012025_14_13_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/1/28/b6f698ff60510748f6d2328f2edffccb.jpg","text":"TemporaryFile(/tmp/multipartBody4694883861870804601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091674018,"filename":"image_28012025_14_13_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/1/28/af5cc4b8dfac5490052dc0f3cf9b6339.jpg","text":"TemporaryFile(/tmp/multipartBody3015672314667604158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091674018,"filename":"image_28012025_14_13_15_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332393299","file1":"1332393296","file0":"1332393292","file4":"1332393350","file5":"1332393352","file3":"1332393302"},"map_files_photo_id_array":[{"photo_id":"1332393352","filename":"file5"},{"photo_id":"1332393299","filename":"file2"},{"photo_id":"1332393350","filename":"file4"},{"photo_id":"1332393296","filename":"file1"},{"photo_id":"1332393292","filename":"file0"},{"photo_id":"1332393302","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332393352":["hashtag1","hashtag2"]},{"1332393296":["hashtag1","hashtag2"]},{"1332393299":["hashtag1","hashtag2"]},{"1332393350":["hashtag1","hashtag2"]},{"1332393302":["hashtag1","hashtag2"]},{"1332393292":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332393352, 1332393296, 1332393299, 1332393350, 1332393302, 1332393292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.047693729400635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:14:32.305900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/14/image_28012025_14_14_15_10372.jpg', '/home/pi/Desktop/images/28012025/14/14/image_28012025_14_14_35_10351.jpg', '/home/pi/Desktop/images/28012025/14/14/image_28012025_14_14_44_9402.jpg', '/home/pi/Desktop/images/28012025/14/14/image_28012025_14_14_55_10341.jpg', '/home/pi/Desktop/images/28012025/14/14/image_28012025_14_15_05_10414.jpg', '/home/pi/Desktop/images/28012025/14/15/image_28012025_14_15_14_9387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/14/image_28012025_14_14_15_10372.jpg
/home/pi/Desktop/images/28012025/14/14/image_28012025_14_14_35_10351.jpg
/home/pi/Desktop/images/28012025/14/14/image_28012025_14_14_44_9402.jpg
/home/pi/Desktop/images/28012025/14/14/image_28012025_14_14_55_10341.jpg
/home/pi/Desktop/images/28012025/14/14/image_28012025_14_15_05_10414.jpg
/home/pi/Desktop/images/28012025/14/15/image_28012025_14_15_14_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":["1332393430","1332393448","1332393458","1332393443","1332393425","1332393454"],"photo_ids_order":["1332393425","1332393430","1332393443","1332393448","1332393454","1332393458"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8f7da25a13a005b0ba8cd71a9043a93c.jpg","text":"TemporaryFile(/tmp/multipartBody7378104342496055219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091733258,"filename":"image_28012025_14_14_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/1/28/2988bca7410cea377f1329fb05b914c4.jpg","text":"TemporaryFile(/tmp/multipartBody7655033091263586641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091733258,"filename":"image_28012025_14_14_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/1/28/ca89bd62d709e7216031a9bf84ee7541.jpg","text":"TemporaryFile(/tmp/multipartBody6836570380823280081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091733258,"filename":"image_28012025_14_15_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/1/28/0f105f3dab75a28f3b0a016341004798.jpg","text":"TemporaryFile(/tmp/multipartBody6789604822186405693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091733258,"filename":"image_28012025_14_14_44_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/697083addd5a43f788ebe5d8ff9dfe8b.jpg","text":"TemporaryFile(/tmp/multipartBody7075536706736779458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091733258,"filename":"image_28012025_14_14_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/1/28/1b7703bd0d15d32437618bebbe3a128d.jpg","text":"TemporaryFile(/tmp/multipartBody6600481724848248380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091733258,"filename":"image_28012025_14_15_05_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332393443","file1":"1332393430","file0":"1332393425","file4":"1332393454","file5":"1332393458","file3":"1332393448"},"map_files_photo_id_array":[{"photo_id":"1332393458","filename":"file5"},{"photo_id":"1332393443","filename":"file2"},{"photo_id":"1332393454","filename":"file4"},{"photo_id":"1332393430","filename":"file1"},{"photo_id":"1332393425","filename":"file0"},{"photo_id":"1332393448","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332393430":["hashtag1","hashtag2"]},{"1332393448":["hashtag1","hashtag2"]},{"1332393458":["hashtag1","hashtag2"]},{"1332393443":["hashtag1","hashtag2"]},{"1332393425":["hashtag1","hashtag2"]},{"1332393454":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332393430, 1332393448, 1332393458, 1332393443, 1332393425, 1332393454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.12284016609192 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:15:32.675424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/15/image_28012025_14_15_25_10421.jpg', '/home/pi/Desktop/images/28012025/14/15/image_28012025_14_15_35_10369.jpg', '/home/pi/Desktop/images/28012025/14/15/image_28012025_14_15_45_9327.jpg', '/home/pi/Desktop/images/28012025/14/15/image_28012025_14_15_55_10343.jpg', '/home/pi/Desktop/images/28012025/14/16/image_28012025_14_16_15_9416.jpg', '/home/pi/Desktop/images/28012025/14/16/image_28012025_14_16_25_10436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/15/image_28012025_14_15_25_10421.jpg
/home/pi/Desktop/images/28012025/14/15/image_28012025_14_15_35_10369.jpg
/home/pi/Desktop/images/28012025/14/15/image_28012025_14_15_45_9327.jpg
/home/pi/Desktop/images/28012025/14/15/image_28012025_14_15_55_10343.jpg
/home/pi/Desktop/images/28012025/14/16/image_28012025_14_16_15_9416.jpg
/home/pi/Desktop/images/28012025/14/16/image_28012025_14_16_25_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":["1332393712","1332393714","1332393698","1332393560","1332393707","1332393701"],"photo_ids_order":["1332393560","1332393698","1332393701","1332393707","1332393712","1332393714"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f1199493e93101803e2243f0d1466543.jpg","text":"TemporaryFile(/tmp/multipartBody2620953283976746748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091793634,"filename":"image_28012025_14_16_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/1/28/bb4f57965ef28cc91898daf310bb485a.jpg","text":"TemporaryFile(/tmp/multipartBody1839624248109583229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091793634,"filename":"image_28012025_14_16_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/1/28/9d08bd25eb655a30d426e1235a727d61.jpg","text":"TemporaryFile(/tmp/multipartBody8994129878567118491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091793634,"filename":"image_28012025_14_15_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/1/28/009c3f43aaf93584aac04e2979ca6af5.jpg","text":"TemporaryFile(/tmp/multipartBody3415878820593655182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091793634,"filename":"image_28012025_14_15_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/1/28/2076f5a27ee31b3c644c66a38babe6b3.jpg","text":"TemporaryFile(/tmp/multipartBody417471327676011442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091793634,"filename":"image_28012025_14_15_55_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dfb6eb76566fc40a29e58c3bb82e465d.jpg","text":"TemporaryFile(/tmp/multipartBody4829090275498718465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091793634,"filename":"image_28012025_14_15_45_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332393701","file1":"1332393698","file0":"1332393560","file4":"1332393712","file5":"1332393714","file3":"1332393707"},"map_files_photo_id_array":[{"photo_id":"1332393714","filename":"file5"},{"photo_id":"1332393701","filename":"file2"},{"photo_id":"1332393712","filename":"file4"},{"photo_id":"1332393698","filename":"file1"},{"photo_id":"1332393560","filename":"file0"},{"photo_id":"1332393707","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332393712":["hashtag1","hashtag2"]},{"1332393714":["hashtag1","hashtag2"]},{"1332393698":["hashtag1","hashtag2"]},{"1332393560":["hashtag1","hashtag2"]},{"1332393707":["hashtag1","hashtag2"]},{"1332393701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332393712, 1332393714, 1332393698, 1332393560, 1332393707, 1332393701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.92119598388672 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:16:32.864337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/16/image_28012025_14_16_34_9382.jpg', '/home/pi/Desktop/images/28012025/14/16/image_28012025_14_16_55_10402.jpg', '/home/pi/Desktop/images/28012025/14/16/image_28012025_14_17_05_9330.jpg', '/home/pi/Desktop/images/28012025/14/17/image_28012025_14_17_15_10328.jpg', '/home/pi/Desktop/images/28012025/14/17/image_28012025_14_17_24_9440.jpg', '/home/pi/Desktop/images/28012025/14/17/image_28012025_14_17_35_10388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/16/image_28012025_14_16_34_9382.jpg
/home/pi/Desktop/images/28012025/14/16/image_28012025_14_16_55_10402.jpg
/home/pi/Desktop/images/28012025/14/16/image_28012025_14_17_05_9330.jpg
/home/pi/Desktop/images/28012025/14/17/image_28012025_14_17_15_10328.jpg
/home/pi/Desktop/images/28012025/14/17/image_28012025_14_17_24_9440.jpg
/home/pi/Desktop/images/28012025/14/17/image_28012025_14_17_35_10388.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5640256404876709 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 20:16:42.865737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/16/image_28012025_14_16_34_9382.jpg', '/home/pi/Desktop/images/28012025/14/16/image_28012025_14_16_55_10402.jpg', '/home/pi/Desktop/images/28012025/14/16/image_28012025_14_17_05_9330.jpg', '/home/pi/Desktop/images/28012025/14/17/image_28012025_14_17_15_10328.jpg', '/home/pi/Desktop/images/28012025/14/17/image_28012025_14_17_24_9440.jpg', '/home/pi/Desktop/images/28012025/14/17/image_28012025_14_17_35_10388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/16/image_28012025_14_16_34_9382.jpg
/home/pi/Desktop/images/28012025/14/16/image_28012025_14_16_55_10402.jpg
/home/pi/Desktop/images/28012025/14/16/image_28012025_14_17_05_9330.jpg
/home/pi/Desktop/images/28012025/14/17/image_28012025_14_17_15_10328.jpg
/home/pi/Desktop/images/28012025/14/17/image_28012025_14_17_24_9440.jpg
/home/pi/Desktop/images/28012025/14/17/image_28012025_14_17_35_10388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332393742","1332393750","1332393753","1332393737","1332393746","1332393751"],"photo_ids_order":["1332393737","1332393742","1332393746","1332393750","1332393751","1332393753"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1ebcd7d02d799cbbd07521b7db1f05d8.jpg","text":"TemporaryFile(/tmp/multipartBody560385604209062512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091863747,"filename":"image_28012025_14_16_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/1/28/95e297ba887e56d362b7864cd0cdc9c7.jpg","text":"TemporaryFile(/tmp/multipartBody3551534186386348497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091863747,"filename":"image_28012025_14_17_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/1/28/9cd2d3c60d89bb859696e20bd4be73d5.jpg","text":"TemporaryFile(/tmp/multipartBody4402406351720680592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091863747,"filename":"image_28012025_14_17_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/1/28/db6778de7c63ff96fbfb9156a97793bd.jpg","text":"TemporaryFile(/tmp/multipartBody901206187401884533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091863747,"filename":"image_28012025_14_16_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/1/28/b6018c1e7ba26028a86aad935e7ce7b2.jpg","text":"TemporaryFile(/tmp/multipartBody3126547132916648257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091863747,"filename":"image_28012025_14_17_05_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7f94eeebca163c1229650963d63e3f33.jpg","text":"TemporaryFile(/tmp/multipartBody9119431369116922047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091863747,"filename":"image_28012025_14_17_24_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332393746","file1":"1332393742","file0":"1332393737","file4":"1332393751","file5":"1332393753","file3":"1332393750"},"map_files_photo_id_array":[{"photo_id":"1332393753","filename":"file5"},{"photo_id":"1332393746","filename":"file2"},{"photo_id":"1332393751","filename":"file4"},{"photo_id":"1332393742","filename":"file1"},{"photo_id":"1332393737","filename":"file0"},{"photo_id":"1332393750","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332393742":["hashtag1","hashtag2"]},{"1332393750":["hashtag1","hashtag2"]},{"1332393753":["hashtag1","hashtag2"]},{"1332393737":["hashtag1","hashtag2"]},{"1332393746":["hashtag1","hashtag2"]},{"1332393751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332393742, 1332393750, 1332393753, 1332393737, 1332393746, 1332393751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19522666931152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:17:33.230736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/17/image_28012025_14_17_45_10343.jpg', '/home/pi/Desktop/images/28012025/14/17/image_28012025_14_18_05_10326.jpg', '/home/pi/Desktop/images/28012025/14/18/image_28012025_14_18_15_10385.jpg', '/home/pi/Desktop/images/28012025/14/18/image_28012025_14_18_25_9333.jpg', '/home/pi/Desktop/images/28012025/14/18/image_28012025_14_18_35_10347.jpg', '/home/pi/Desktop/images/28012025/14/18/image_28012025_14_18_44_9452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/17/image_28012025_14_17_45_10343.jpg
/home/pi/Desktop/images/28012025/14/17/image_28012025_14_18_05_10326.jpg
/home/pi/Desktop/images/28012025/14/18/image_28012025_14_18_15_10385.jpg
/home/pi/Desktop/images/28012025/14/18/image_28012025_14_18_25_9333.jpg
/home/pi/Desktop/images/28012025/14/18/image_28012025_14_18_35_10347.jpg
/home/pi/Desktop/images/28012025/14/18/image_28012025_14_18_44_9452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332393769","1332393780","1332393774","1332393783","1332393785","1332393764"],"photo_ids_order":["1332393764","1332393769","1332393774","1332393780","1332393783","1332393785"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b30b6cc9d3c7687aedbd5e4e3b6eeeee.jpg","text":"TemporaryFile(/tmp/multipartBody7421360556893066607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091914205,"filename":"image_28012025_14_18_05_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1e0db98752117b717d1ab4b9c0b2f468.jpg","text":"TemporaryFile(/tmp/multipartBody7435874356506549659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091914205,"filename":"image_28012025_14_18_25_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/39122eed582d7d284b297e7a194e723d.jpg","text":"TemporaryFile(/tmp/multipartBody6032493241084624528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091914205,"filename":"image_28012025_14_18_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/1/28/f71fcb8bde29b8f0afaf21119e1ec6d2.jpg","text":"TemporaryFile(/tmp/multipartBody7853246399145254690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091914205,"filename":"image_28012025_14_18_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/1/28/8d8df485eaef161247a8647ab52ad956.jpg","text":"TemporaryFile(/tmp/multipartBody5996960276710458600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091914205,"filename":"image_28012025_14_18_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/1/28/e814f637c71d0de8be979e1395a3e744.jpg","text":"TemporaryFile(/tmp/multipartBody6969032132213379115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091914205,"filename":"image_28012025_14_17_45_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332393774","file1":"1332393769","file0":"1332393764","file4":"1332393783","file5":"1332393785","file3":"1332393780"},"map_files_photo_id_array":[{"photo_id":"1332393785","filename":"file5"},{"photo_id":"1332393774","filename":"file2"},{"photo_id":"1332393783","filename":"file4"},{"photo_id":"1332393769","filename":"file1"},{"photo_id":"1332393764","filename":"file0"},{"photo_id":"1332393780","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332393769":["hashtag1","hashtag2"]},{"1332393780":["hashtag1","hashtag2"]},{"1332393774":["hashtag1","hashtag2"]},{"1332393783":["hashtag1","hashtag2"]},{"1332393785":["hashtag1","hashtag2"]},{"1332393764":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332393769, 1332393780, 1332393774, 1332393783, 1332393785, 1332393764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29228138923645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:18:32.401065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/18/image_28012025_14_18_55_10362.jpg', '/home/pi/Desktop/images/28012025/14/18/image_28012025_14_19_05_10336.jpg', '/home/pi/Desktop/images/28012025/14/19/image_28012025_14_19_14_9365.jpg', '/home/pi/Desktop/images/28012025/14/19/image_28012025_14_19_25_10402.jpg', '/home/pi/Desktop/images/28012025/14/19/image_28012025_14_19_34_9459.jpg', '/home/pi/Desktop/images/28012025/14/19/image_28012025_14_19_45_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/18/image_28012025_14_18_55_10362.jpg
/home/pi/Desktop/images/28012025/14/18/image_28012025_14_19_05_10336.jpg
/home/pi/Desktop/images/28012025/14/19/image_28012025_14_19_14_9365.jpg
/home/pi/Desktop/images/28012025/14/19/image_28012025_14_19_25_10402.jpg
/home/pi/Desktop/images/28012025/14/19/image_28012025_14_19_34_9459.jpg
/home/pi/Desktop/images/28012025/14/19/image_28012025_14_19_45_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":["1332394287","1332394347","1332394341","1332394215","1332394351","1332394318"],"photo_ids_order":["1332394215","1332394287","1332394318","1332394341","1332394347","1332394351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7e41e1ba8924b5142e576a0b55641daa.jpg","text":"TemporaryFile(/tmp/multipartBody7042805383779527030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091973363,"filename":"image_28012025_14_19_05_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/baba0b1efca26b698ae2d4cc16eddb49.jpg","text":"TemporaryFile(/tmp/multipartBody2819645211850387690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091973363,"filename":"image_28012025_14_19_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/1/28/a81e7c9aba222051129e43f5d993320c.jpg","text":"TemporaryFile(/tmp/multipartBody6387848995167214184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091973363,"filename":"image_28012025_14_19_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/1/28/8a3c7657a44ad2e224fa50f67c7c1160.jpg","text":"TemporaryFile(/tmp/multipartBody8169793627163556296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091973363,"filename":"image_28012025_14_18_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/1/28/888b64f9e23592f38a699dc30f6c6fc8.jpg","text":"TemporaryFile(/tmp/multipartBody8065038280254423070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091973363,"filename":"image_28012025_14_19_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/1/28/92f20127d2f80560249b6e58ac0ad058.jpg","text":"TemporaryFile(/tmp/multipartBody2996006330936416094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738091973363,"filename":"image_28012025_14_19_14_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332394318","file1":"1332394287","file0":"1332394215","file4":"1332394347","file5":"1332394351","file3":"1332394341"},"map_files_photo_id_array":[{"photo_id":"1332394351","filename":"file5"},{"photo_id":"1332394318","filename":"file2"},{"photo_id":"1332394347","filename":"file4"},{"photo_id":"1332394287","filename":"file1"},{"photo_id":"1332394215","filename":"file0"},{"photo_id":"1332394341","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332394287":["hashtag1","hashtag2"]},{"1332394347":["hashtag1","hashtag2"]},{"1332394341":["hashtag1","hashtag2"]},{"1332394215":["hashtag1","hashtag2"]},{"1332394351":["hashtag1","hashtag2"]},{"1332394318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332394287, 1332394347, 1332394341, 1332394215, 1332394351, 1332394318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.40165305137634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:19:32.599519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/19/image_28012025_14_19_55_10347.jpg', '/home/pi/Desktop/images/28012025/14/19/image_28012025_14_20_04_9344.jpg', '/home/pi/Desktop/images/28012025/14/20/image_28012025_14_20_55_10484.jpg', '/home/pi/Desktop/images/28012025/14/20/image_28012025_14_21_05_9320.jpg', '/home/pi/Desktop/images/28012025/14/21/image_28012025_14_21_15_10355.jpg', '/home/pi/Desktop/images/28012025/14/21/image_28012025_14_21_24_9444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/19/image_28012025_14_19_55_10347.jpg
/home/pi/Desktop/images/28012025/14/19/image_28012025_14_20_04_9344.jpg
/home/pi/Desktop/images/28012025/14/20/image_28012025_14_20_55_10484.jpg
/home/pi/Desktop/images/28012025/14/20/image_28012025_14_21_05_9320.jpg
/home/pi/Desktop/images/28012025/14/21/image_28012025_14_21_15_10355.jpg
/home/pi/Desktop/images/28012025/14/21/image_28012025_14_21_24_9444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332394519","1332394515","1332394532","1332394558","1332394561","1332394528"],"photo_ids_order":["1332394515","1332394519","1332394528","1332394532","1332394558","1332394561"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b81e97a8cdcc2c04da07b5c04646302e.jpg","text":"TemporaryFile(/tmp/multipartBody4344765456643559376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092033573,"filename":"image_28012025_14_20_04_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7755d4a420ac61137050664a7290a299.jpg","text":"TemporaryFile(/tmp/multipartBody3368244506736483685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092033573,"filename":"image_28012025_14_19_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/1/28/3f565f9decc099e5589f995c947e50e2.jpg","text":"TemporaryFile(/tmp/multipartBody6821725593410044757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092033573,"filename":"image_28012025_14_21_05_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cc3d8944635e72e1b25a117cd3b92643.jpg","text":"TemporaryFile(/tmp/multipartBody5438393945255546261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092033573,"filename":"image_28012025_14_21_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a315176cf4c397d33ac79a5ccb0da927.jpg","text":"TemporaryFile(/tmp/multipartBody2401118950372147214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092033573,"filename":"image_28012025_14_21_24_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/eeca99e2213891532cf9ef39886f93a6.jpg","text":"TemporaryFile(/tmp/multipartBody6908142283548564777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092033573,"filename":"image_28012025_14_20_55_10484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332394528","file1":"1332394519","file0":"1332394515","file4":"1332394558","file5":"1332394561","file3":"1332394532"},"map_files_photo_id_array":[{"photo_id":"1332394561","filename":"file5"},{"photo_id":"1332394528","filename":"file2"},{"photo_id":"1332394558","filename":"file4"},{"photo_id":"1332394519","filename":"file1"},{"photo_id":"1332394515","filename":"file0"},{"photo_id":"1332394532","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332394519":["hashtag1","hashtag2"]},{"1332394515":["hashtag1","hashtag2"]},{"1332394532":["hashtag1","hashtag2"]},{"1332394558":["hashtag1","hashtag2"]},{"1332394561":["hashtag1","hashtag2"]},{"1332394528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332394519, 1332394515, 1332394532, 1332394558, 1332394561, 1332394528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.854536056518555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:20:32.916056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/21/image_28012025_14_21_35_10355.jpg', '/home/pi/Desktop/images/28012025/14/21/image_28012025_14_21_45_10341.jpg', '/home/pi/Desktop/images/28012025/14/21/image_28012025_14_21_54_9425.jpg', '/home/pi/Desktop/images/28012025/14/21/image_28012025_14_22_05_10429.jpg', '/home/pi/Desktop/images/28012025/14/22/image_28012025_14_22_14_9328.jpg', '/home/pi/Desktop/images/28012025/14/22/image_28012025_14_22_25_10422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/21/image_28012025_14_21_35_10355.jpg
/home/pi/Desktop/images/28012025/14/21/image_28012025_14_21_45_10341.jpg
/home/pi/Desktop/images/28012025/14/21/image_28012025_14_21_54_9425.jpg
/home/pi/Desktop/images/28012025/14/21/image_28012025_14_22_05_10429.jpg
/home/pi/Desktop/images/28012025/14/22/image_28012025_14_22_14_9328.jpg
/home/pi/Desktop/images/28012025/14/22/image_28012025_14_22_25_10422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332394668","1332394641","1332394675","1332394663","1332394672","1332394645"],"photo_ids_order":["1332394641","1332394645","1332394663","1332394668","1332394672","1332394675"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d48815545dfc02969dfa02b644be9919.jpg","text":"TemporaryFile(/tmp/multipartBody4074271244509105449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092093885,"filename":"image_28012025_14_22_05_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/96bc525c857cbf1058c663a8b52cd0cf.jpg","text":"TemporaryFile(/tmp/multipartBody8223028109125478637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092093885,"filename":"image_28012025_14_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/1/28/ea108cd6a78d44b3e412e5ea92bd4405.jpg","text":"TemporaryFile(/tmp/multipartBody1560323687377608407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092093885,"filename":"image_28012025_14_22_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/1/28/71caf2d4e3bea2e3db125675ca3c159a.jpg","text":"TemporaryFile(/tmp/multipartBody3925909522327949161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092093885,"filename":"image_28012025_14_21_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/1/28/72cf12f00099294208ea43eb291ac026.jpg","text":"TemporaryFile(/tmp/multipartBody5008028343226981819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092093885,"filename":"image_28012025_14_22_14_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/05ddd3491f33f1a0b30f9ca5fb127b21.jpg","text":"TemporaryFile(/tmp/multipartBody8270262188948257378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092093885,"filename":"image_28012025_14_21_45_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332394663","file1":"1332394645","file0":"1332394641","file4":"1332394672","file5":"1332394675","file3":"1332394668"},"map_files_photo_id_array":[{"photo_id":"1332394675","filename":"file5"},{"photo_id":"1332394663","filename":"file2"},{"photo_id":"1332394672","filename":"file4"},{"photo_id":"1332394645","filename":"file1"},{"photo_id":"1332394641","filename":"file0"},{"photo_id":"1332394668","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332394668":["hashtag1","hashtag2"]},{"1332394641":["hashtag1","hashtag2"]},{"1332394675":["hashtag1","hashtag2"]},{"1332394663":["hashtag1","hashtag2"]},{"1332394672":["hashtag1","hashtag2"]},{"1332394645":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332394668, 1332394641, 1332394675, 1332394663, 1332394672, 1332394645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.131770849227905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:21:32.214705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/22/image_28012025_14_22_35_10410.jpg', '/home/pi/Desktop/images/28012025/14/22/image_28012025_14_22_44_9337.jpg', '/home/pi/Desktop/images/28012025/14/22/image_28012025_14_22_55_10357.jpg', '/home/pi/Desktop/images/28012025/14/22/image_28012025_14_23_05_10340.jpg', '/home/pi/Desktop/images/28012025/14/23/image_28012025_14_23_15_9424.jpg', '/home/pi/Desktop/images/28012025/14/23/image_28012025_14_23_25_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/22/image_28012025_14_22_35_10410.jpg
/home/pi/Desktop/images/28012025/14/22/image_28012025_14_22_44_9337.jpg
/home/pi/Desktop/images/28012025/14/22/image_28012025_14_22_55_10357.jpg
/home/pi/Desktop/images/28012025/14/22/image_28012025_14_23_05_10340.jpg
/home/pi/Desktop/images/28012025/14/23/image_28012025_14_23_15_9424.jpg
/home/pi/Desktop/images/28012025/14/23/image_28012025_14_23_25_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332395736","1332395396","1332395492","1332395278","1332395164","1332395620"],"photo_ids_order":["1332395164","1332395278","1332395396","1332395492","1332395620","1332395736"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0eed8a2713d540bb3cecb022b850ee83.jpg","text":"TemporaryFile(/tmp/multipartBody8449626930192934748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092153186,"filename":"image_28012025_14_23_25_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cedbc8d79c128ce8c070f82abe89a247.jpg","text":"TemporaryFile(/tmp/multipartBody1867272856386148310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092153186,"filename":"image_28012025_14_22_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/1/28/f5ce6932f6ee2218d1dfdf0c57db6afa.jpg","text":"TemporaryFile(/tmp/multipartBody6788210253103817846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092153186,"filename":"image_28012025_14_23_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/1/28/7114d0b2929aee62990ff31dc5e9acc5.jpg","text":"TemporaryFile(/tmp/multipartBody6327554965620260938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092153186,"filename":"image_28012025_14_22_44_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d1e27f3fca50b7a172dda4a9a1e51264.jpg","text":"TemporaryFile(/tmp/multipartBody6326055238219124134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092153186,"filename":"image_28012025_14_22_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/1/28/1f655a1a845a53fefb6fcf05a0ec32e3.jpg","text":"TemporaryFile(/tmp/multipartBody3941244429530990667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092153186,"filename":"image_28012025_14_23_15_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332395396","file1":"1332395278","file0":"1332395164","file4":"1332395620","file5":"1332395736","file3":"1332395492"},"map_files_photo_id_array":[{"photo_id":"1332395736","filename":"file5"},{"photo_id":"1332395396","filename":"file2"},{"photo_id":"1332395620","filename":"file4"},{"photo_id":"1332395278","filename":"file1"},{"photo_id":"1332395164","filename":"file0"},{"photo_id":"1332395492","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332395736":["hashtag1","hashtag2"]},{"1332395396":["hashtag1","hashtag2"]},{"1332395492":["hashtag1","hashtag2"]},{"1332395278":["hashtag1","hashtag2"]},{"1332395164":["hashtag1","hashtag2"]},{"1332395620":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332395736, 1332395396, 1332395492, 1332395278, 1332395164, 1332395620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38621997833252 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:22:32.411478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/23/image_28012025_14_23_34_9414.jpg', '/home/pi/Desktop/images/28012025/14/23/image_28012025_14_23_45_10344.jpg', '/home/pi/Desktop/images/28012025/14/23/image_28012025_14_23_55_10474.jpg', '/home/pi/Desktop/images/28012025/14/23/image_28012025_14_24_05_9453.jpg', '/home/pi/Desktop/images/28012025/14/24/image_28012025_14_24_15_10380.jpg', '/home/pi/Desktop/images/28012025/14/24/image_28012025_14_24_35_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/23/image_28012025_14_23_34_9414.jpg
/home/pi/Desktop/images/28012025/14/23/image_28012025_14_23_45_10344.jpg
/home/pi/Desktop/images/28012025/14/23/image_28012025_14_23_55_10474.jpg
/home/pi/Desktop/images/28012025/14/23/image_28012025_14_24_05_9453.jpg
/home/pi/Desktop/images/28012025/14/24/image_28012025_14_24_15_10380.jpg
/home/pi/Desktop/images/28012025/14/24/image_28012025_14_24_35_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":["1332395792","1332395780","1332395797","1332395788","1332395796","1332395784"],"photo_ids_order":["1332395780","1332395784","1332395788","1332395792","1332395796","1332395797"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/083b156ad7c8a20c00bf0159312677b4.jpg","text":"TemporaryFile(/tmp/multipartBody5102503367835430168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092213381,"filename":"image_28012025_14_24_05_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/01ac00c03e487932e2c90a9ab68df470.jpg","text":"TemporaryFile(/tmp/multipartBody910677537974687731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092213381,"filename":"image_28012025_14_23_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/1/28/5e7e7724c765cf7b3e2d43b5362e1e9e.jpg","text":"TemporaryFile(/tmp/multipartBody7413048734147249299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092213381,"filename":"image_28012025_14_24_35_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ca7fa923d37b51c6cdc8dbce21158848.jpg","text":"TemporaryFile(/tmp/multipartBody7172421210781053677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092213381,"filename":"image_28012025_14_23_55_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0de62afca13ee2415137e959ce291e64.jpg","text":"TemporaryFile(/tmp/multipartBody9056572954683670291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092213381,"filename":"image_28012025_14_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/1/28/d9dd336bc8fced5d017568b3cfc786c2.jpg","text":"TemporaryFile(/tmp/multipartBody5173403369302113383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092213381,"filename":"image_28012025_14_23_45_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332395788","file1":"1332395784","file0":"1332395780","file4":"1332395796","file5":"1332395797","file3":"1332395792"},"map_files_photo_id_array":[{"photo_id":"1332395797","filename":"file5"},{"photo_id":"1332395788","filename":"file2"},{"photo_id":"1332395796","filename":"file4"},{"photo_id":"1332395784","filename":"file1"},{"photo_id":"1332395780","filename":"file0"},{"photo_id":"1332395792","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332395792":["hashtag1","hashtag2"]},{"1332395780":["hashtag1","hashtag2"]},{"1332395797":["hashtag1","hashtag2"]},{"1332395788":["hashtag1","hashtag2"]},{"1332395796":["hashtag1","hashtag2"]},{"1332395784":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332395792, 1332395780, 1332395797, 1332395788, 1332395796, 1332395784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.01184844970703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:23:32.744347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/24/image_28012025_14_24_45_10347.jpg', '/home/pi/Desktop/images/28012025/14/24/image_28012025_14_24_54_9340.jpg', '/home/pi/Desktop/images/28012025/14/24/image_28012025_14_25_05_10443.jpg', '/home/pi/Desktop/images/28012025/14/25/image_28012025_14_25_14_9456.jpg', '/home/pi/Desktop/images/28012025/14/25/image_28012025_14_25_25_10383.jpg', '/home/pi/Desktop/images/28012025/14/25/image_28012025_14_25_35_10329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/24/image_28012025_14_24_45_10347.jpg
/home/pi/Desktop/images/28012025/14/24/image_28012025_14_24_54_9340.jpg
/home/pi/Desktop/images/28012025/14/24/image_28012025_14_25_05_10443.jpg
/home/pi/Desktop/images/28012025/14/25/image_28012025_14_25_14_9456.jpg
/home/pi/Desktop/images/28012025/14/25/image_28012025_14_25_25_10383.jpg
/home/pi/Desktop/images/28012025/14/25/image_28012025_14_25_35_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332396373","1332396733","1332396328","1332396613","1332396294","1332396729"],"photo_ids_order":["1332396294","1332396328","1332396373","1332396613","1332396729","1332396733"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8c85665e234e95a26bef21ad0665fb95.jpg","text":"TemporaryFile(/tmp/multipartBody3861891301250372745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092273703,"filename":"image_28012025_14_25_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/1/28/a2f3939bac7f80fb609078917c9f45e6.jpg","text":"TemporaryFile(/tmp/multipartBody5999616145183347464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092273703,"filename":"image_28012025_14_25_35_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dd367932cd2065acfac0b16bff25e42c.jpg","text":"TemporaryFile(/tmp/multipartBody5444325300403065691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092273703,"filename":"image_28012025_14_24_54_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d811326ecd9a787007388663c952f15b.jpg","text":"TemporaryFile(/tmp/multipartBody3495137696035095173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092273703,"filename":"image_28012025_14_25_14_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/202deb67816733d820e3ab6bf92ac57c.jpg","text":"TemporaryFile(/tmp/multipartBody1118458045007112574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092273703,"filename":"image_28012025_14_24_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/1/28/566da48914d07977237295dc6a1be5d8.jpg","text":"TemporaryFile(/tmp/multipartBody3056274221911920367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092273703,"filename":"image_28012025_14_25_25_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332396373","file1":"1332396328","file0":"1332396294","file4":"1332396729","file5":"1332396733","file3":"1332396613"},"map_files_photo_id_array":[{"photo_id":"1332396733","filename":"file5"},{"photo_id":"1332396373","filename":"file2"},{"photo_id":"1332396729","filename":"file4"},{"photo_id":"1332396328","filename":"file1"},{"photo_id":"1332396294","filename":"file0"},{"photo_id":"1332396613","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332396373":["hashtag1","hashtag2"]},{"1332396733":["hashtag1","hashtag2"]},{"1332396328":["hashtag1","hashtag2"]},{"1332396613":["hashtag1","hashtag2"]},{"1332396294":["hashtag1","hashtag2"]},{"1332396729":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332396373, 1332396733, 1332396328, 1332396613, 1332396294, 1332396729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.22453260421753 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:24:32.899731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/25/image_28012025_14_25_44_9396.jpg', '/home/pi/Desktop/images/28012025/14/25/image_28012025_14_25_55_10446.jpg', '/home/pi/Desktop/images/28012025/14/25/image_28012025_14_26_05_10438.jpg', '/home/pi/Desktop/images/28012025/14/26/image_28012025_14_26_15_9326.jpg', '/home/pi/Desktop/images/28012025/14/26/image_28012025_14_26_25_10459.jpg', '/home/pi/Desktop/images/28012025/14/26/image_28012025_14_26_34_9448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/25/image_28012025_14_25_44_9396.jpg
/home/pi/Desktop/images/28012025/14/25/image_28012025_14_25_55_10446.jpg
/home/pi/Desktop/images/28012025/14/25/image_28012025_14_26_05_10438.jpg
/home/pi/Desktop/images/28012025/14/26/image_28012025_14_26_15_9326.jpg
/home/pi/Desktop/images/28012025/14/26/image_28012025_14_26_25_10459.jpg
/home/pi/Desktop/images/28012025/14/26/image_28012025_14_26_34_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":["1332397946","1332397619","1332397090","1332397852","1332397339","1332397213"],"photo_ids_order":["1332397090","1332397213","1332397339","1332397619","1332397852","1332397946"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7a00606190499afe76695efacfdd6606.jpg","text":"TemporaryFile(/tmp/multipartBody6053650899604346333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092333871,"filename":"image_28012025_14_26_34_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e33200c6f07a68d672dc89c184fd7899.jpg","text":"TemporaryFile(/tmp/multipartBody3909084520144405221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092333871,"filename":"image_28012025_14_26_15_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b976a0f2f4b40c706df76ccf245a2754.jpg","text":"TemporaryFile(/tmp/multipartBody2576080449086857860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092333871,"filename":"image_28012025_14_25_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/1/28/36a16c37c37c1c56ce8a8b893a4c0385.jpg","text":"TemporaryFile(/tmp/multipartBody6197422189737940249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092333871,"filename":"image_28012025_14_26_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/1/28/4f6badefd51cb3ea4f7f353471a4871f.jpg","text":"TemporaryFile(/tmp/multipartBody2386490162946268497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092333871,"filename":"image_28012025_14_26_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/1/28/df81db629a03e0a5758e2938ddc62088.jpg","text":"TemporaryFile(/tmp/multipartBody1202525178318574357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092333871,"filename":"image_28012025_14_25_55_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332397339","file1":"1332397213","file0":"1332397090","file4":"1332397852","file5":"1332397946","file3":"1332397619"},"map_files_photo_id_array":[{"photo_id":"1332397946","filename":"file5"},{"photo_id":"1332397339","filename":"file2"},{"photo_id":"1332397852","filename":"file4"},{"photo_id":"1332397213","filename":"file1"},{"photo_id":"1332397090","filename":"file0"},{"photo_id":"1332397619","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332397946":["hashtag1","hashtag2"]},{"1332397619":["hashtag1","hashtag2"]},{"1332397090":["hashtag1","hashtag2"]},{"1332397852":["hashtag1","hashtag2"]},{"1332397339":["hashtag1","hashtag2"]},{"1332397213":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332397946, 1332397619, 1332397090, 1332397852, 1332397339, 1332397213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62016987800598 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:25:33.257340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/26/image_28012025_14_26_45_10369.jpg', '/home/pi/Desktop/images/28012025/14/26/image_28012025_14_26_55_10401.jpg', '/home/pi/Desktop/images/28012025/14/26/image_28012025_14_27_05_9317.jpg', '/home/pi/Desktop/images/28012025/14/27/image_28012025_14_27_15_10347.jpg', '/home/pi/Desktop/images/28012025/14/27/image_28012025_14_27_24_9354.jpg', '/home/pi/Desktop/images/28012025/14/27/image_28012025_14_27_45_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/26/image_28012025_14_26_45_10369.jpg
/home/pi/Desktop/images/28012025/14/26/image_28012025_14_26_55_10401.jpg
/home/pi/Desktop/images/28012025/14/26/image_28012025_14_27_05_9317.jpg
/home/pi/Desktop/images/28012025/14/27/image_28012025_14_27_15_10347.jpg
/home/pi/Desktop/images/28012025/14/27/image_28012025_14_27_24_9354.jpg
/home/pi/Desktop/images/28012025/14/27/image_28012025_14_27_45_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332398284","1332397981","1332398250","1332398099","1332398004","1332398252"],"photo_ids_order":["1332397981","1332398004","1332398099","1332398250","1332398252","1332398284"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6373d02738eca4a42122f1e8d9e94877.jpg","text":"TemporaryFile(/tmp/multipartBody8119515740508818018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092394209,"filename":"image_28012025_14_27_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/1/28/42a686764f09a109519fcb7b5f01c0ab.jpg","text":"TemporaryFile(/tmp/multipartBody1420597385334777179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092394209,"filename":"image_28012025_14_26_45_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/495f225ce4f51afa4744c420704fb3f3.jpg","text":"TemporaryFile(/tmp/multipartBody650560058284066874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092394209,"filename":"image_28012025_14_27_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/1/28/7c84991acb038ae4c7b9d888381ecce1.jpg","text":"TemporaryFile(/tmp/multipartBody7179071421709129707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092394209,"filename":"image_28012025_14_27_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/1/28/7d346bb84949c619e5c5e2ab5f9dc85c.jpg","text":"TemporaryFile(/tmp/multipartBody8331227231835405333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092394209,"filename":"image_28012025_14_26_55_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/056d9cf47d6ab15d28e3a3e44702c369.jpg","text":"TemporaryFile(/tmp/multipartBody1961443848842428513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092394209,"filename":"image_28012025_14_27_24_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332398099","file1":"1332398004","file0":"1332397981","file4":"1332398252","file5":"1332398284","file3":"1332398250"},"map_files_photo_id_array":[{"photo_id":"1332398284","filename":"file5"},{"photo_id":"1332398099","filename":"file2"},{"photo_id":"1332398252","filename":"file4"},{"photo_id":"1332398004","filename":"file1"},{"photo_id":"1332397981","filename":"file0"},{"photo_id":"1332398250","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332398284":["hashtag1","hashtag2"]},{"1332397981":["hashtag1","hashtag2"]},{"1332398250":["hashtag1","hashtag2"]},{"1332398099":["hashtag1","hashtag2"]},{"1332398004":["hashtag1","hashtag2"]},{"1332398252":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332398284, 1332397981, 1332398250, 1332398099, 1332398004, 1332398252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.43087339401245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:26:32.374510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/27/image_28012025_14_27_54_9466.jpg', '/home/pi/Desktop/images/28012025/14/27/image_28012025_14_28_05_10362.jpg', '/home/pi/Desktop/images/28012025/14/28/image_28012025_14_28_15_10440.jpg', '/home/pi/Desktop/images/28012025/14/28/image_28012025_14_28_25_9334.jpg', '/home/pi/Desktop/images/28012025/14/28/image_28012025_14_28_35_10344.jpg', '/home/pi/Desktop/images/28012025/14/28/image_28012025_14_28_44_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/27/image_28012025_14_27_54_9466.jpg
/home/pi/Desktop/images/28012025/14/27/image_28012025_14_28_05_10362.jpg
/home/pi/Desktop/images/28012025/14/28/image_28012025_14_28_15_10440.jpg
/home/pi/Desktop/images/28012025/14/28/image_28012025_14_28_25_9334.jpg
/home/pi/Desktop/images/28012025/14/28/image_28012025_14_28_35_10344.jpg
/home/pi/Desktop/images/28012025/14/28/image_28012025_14_28_44_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":["1332398635","1332398611","1332398673","1332398913","1332398742","1332398706"],"photo_ids_order":["1332398611","1332398635","1332398673","1332398706","1332398742","1332398913"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ec1a9a36e3bb8b16185a155f4bf03bde.jpg","text":"TemporaryFile(/tmp/multipartBody8908036358225434666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092453323,"filename":"image_28012025_14_28_05_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b0479e09cf25a3ca4348647c22a4b108.jpg","text":"TemporaryFile(/tmp/multipartBody8311662054065723594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092453323,"filename":"image_28012025_14_27_54_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4e8517c95840030e8e68227a415cce29.jpg","text":"TemporaryFile(/tmp/multipartBody5578500201016244912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092453323,"filename":"image_28012025_14_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/1/28/cb76d61f4ab010063d64635f3301b056.jpg","text":"TemporaryFile(/tmp/multipartBody5937013462375543444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092453323,"filename":"image_28012025_14_28_44_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8090ac213461c192d08b8d8de4a34f7c.jpg","text":"TemporaryFile(/tmp/multipartBody4475927876965869327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092453323,"filename":"image_28012025_14_28_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/1/28/ffcaccff4ce8ea71028b01b9018e02c6.jpg","text":"TemporaryFile(/tmp/multipartBody1516324360717567391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092453323,"filename":"image_28012025_14_28_25_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332398673","file1":"1332398635","file0":"1332398611","file4":"1332398742","file5":"1332398913","file3":"1332398706"},"map_files_photo_id_array":[{"photo_id":"1332398913","filename":"file5"},{"photo_id":"1332398673","filename":"file2"},{"photo_id":"1332398742","filename":"file4"},{"photo_id":"1332398635","filename":"file1"},{"photo_id":"1332398611","filename":"file0"},{"photo_id":"1332398706","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332398635":["hashtag1","hashtag2"]},{"1332398611":["hashtag1","hashtag2"]},{"1332398673":["hashtag1","hashtag2"]},{"1332398913":["hashtag1","hashtag2"]},{"1332398742":["hashtag1","hashtag2"]},{"1332398706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332398635, 1332398611, 1332398673, 1332398913, 1332398742, 1332398706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.17709684371948 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:27:32.548641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/28/image_28012025_14_28_55_10345.jpg', '/home/pi/Desktop/images/28012025/14/28/image_28012025_14_29_05_10345.jpg', '/home/pi/Desktop/images/28012025/14/29/image_28012025_14_29_14_9311.jpg', '/home/pi/Desktop/images/28012025/14/29/image_28012025_14_29_25_10378.jpg', '/home/pi/Desktop/images/28012025/14/29/image_28012025_14_29_44_9385.jpg', '/home/pi/Desktop/images/28012025/14/29/image_28012025_14_30_04_9440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/28/image_28012025_14_28_55_10345.jpg
/home/pi/Desktop/images/28012025/14/28/image_28012025_14_29_05_10345.jpg
/home/pi/Desktop/images/28012025/14/29/image_28012025_14_29_14_9311.jpg
/home/pi/Desktop/images/28012025/14/29/image_28012025_14_29_25_10378.jpg
/home/pi/Desktop/images/28012025/14/29/image_28012025_14_29_44_9385.jpg
/home/pi/Desktop/images/28012025/14/29/image_28012025_14_30_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":["1332399016","1332399018","1332399012","1332399014","1332399017","1332399008"],"photo_ids_order":["1332399008","1332399012","1332399014","1332399016","1332399017","1332399018"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5e0f1fa5f50e6e8772e63e315dd51ba7.jpg","text":"TemporaryFile(/tmp/multipartBody758014083159126577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092513521,"filename":"image_28012025_14_29_25_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/929ebac1bee6dce197ac125d63bd5001.jpg","text":"TemporaryFile(/tmp/multipartBody6866075957072113512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092513521,"filename":"image_28012025_14_30_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/1/28/ba7355ab22cbeaeb7f6320e6d4a545b9.jpg","text":"TemporaryFile(/tmp/multipartBody3528884478418731941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092513521,"filename":"image_28012025_14_29_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/1/28/3df54ae2a463a1f76ad78f2b7c482196.jpg","text":"TemporaryFile(/tmp/multipartBody4043923358496195099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092513521,"filename":"image_28012025_14_29_14_9311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/948f6cba7fd9950aaeadef85e3e0ff71.jpg","text":"TemporaryFile(/tmp/multipartBody7742451349245374949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092513521,"filename":"image_28012025_14_29_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/1/28/88e6d31a162c525cfe7fc8f5ed64076f.jpg","text":"TemporaryFile(/tmp/multipartBody8292517808322193210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092513521,"filename":"image_28012025_14_28_55_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332399014","file1":"1332399012","file0":"1332399008","file4":"1332399017","file5":"1332399018","file3":"1332399016"},"map_files_photo_id_array":[{"photo_id":"1332399018","filename":"file5"},{"photo_id":"1332399014","filename":"file2"},{"photo_id":"1332399017","filename":"file4"},{"photo_id":"1332399012","filename":"file1"},{"photo_id":"1332399008","filename":"file0"},{"photo_id":"1332399016","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332399016":["hashtag1","hashtag2"]},{"1332399018":["hashtag1","hashtag2"]},{"1332399012":["hashtag1","hashtag2"]},{"1332399014":["hashtag1","hashtag2"]},{"1332399017":["hashtag1","hashtag2"]},{"1332399008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332399016, 1332399018, 1332399012, 1332399014, 1332399017, 1332399008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.64465308189392 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:28:33.474693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/30/image_28012025_14_30_25_10356.jpg', '/home/pi/Desktop/images/28012025/14/30/image_28012025_14_30_34_9429.jpg', '/home/pi/Desktop/images/28012025/14/30/image_28012025_14_30_45_10351.jpg', '/home/pi/Desktop/images/28012025/14/30/image_28012025_14_30_55_10346.jpg', '/home/pi/Desktop/images/28012025/14/30/image_28012025_14_31_05_9416.jpg', '/home/pi/Desktop/images/28012025/14/31/image_28012025_14_31_15_10327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/30/image_28012025_14_30_25_10356.jpg
/home/pi/Desktop/images/28012025/14/30/image_28012025_14_30_34_9429.jpg
/home/pi/Desktop/images/28012025/14/30/image_28012025_14_30_45_10351.jpg
/home/pi/Desktop/images/28012025/14/30/image_28012025_14_30_55_10346.jpg
/home/pi/Desktop/images/28012025/14/30/image_28012025_14_31_05_9416.jpg
/home/pi/Desktop/images/28012025/14/31/image_28012025_14_31_15_10327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332399055","1332399037","1332399054","1332399042","1332399051","1332399047"],"photo_ids_order":["1332399037","1332399042","1332399047","1332399051","1332399054","1332399055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f9753fdaceda5b8badc80758d24e095a.jpg","text":"TemporaryFile(/tmp/multipartBody5486595054828990045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092574441,"filename":"image_28012025_14_31_15_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/83c3ffe3d81d349ce6eb1fa453aa2369.jpg","text":"TemporaryFile(/tmp/multipartBody7637032560431342949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092574441,"filename":"image_28012025_14_30_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/1/28/9a28253194bb8a1f466636be9b15b0b9.jpg","text":"TemporaryFile(/tmp/multipartBody1313241404410208025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092574441,"filename":"image_28012025_14_31_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/1/28/4c53ad60b9e1a9d0db9ce595112d71e7.jpg","text":"TemporaryFile(/tmp/multipartBody5469632710542683742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092574441,"filename":"image_28012025_14_30_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/1/28/40515c52349fe754a4c49c35733d4ab9.jpg","text":"TemporaryFile(/tmp/multipartBody5586117141525552604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092574441,"filename":"image_28012025_14_30_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/1/28/30ec07b850478ed9bb5b9d1b350d51f1.jpg","text":"TemporaryFile(/tmp/multipartBody673718363278205584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092574441,"filename":"image_28012025_14_30_45_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332399047","file1":"1332399042","file0":"1332399037","file4":"1332399054","file5":"1332399055","file3":"1332399051"},"map_files_photo_id_array":[{"photo_id":"1332399055","filename":"file5"},{"photo_id":"1332399047","filename":"file2"},{"photo_id":"1332399054","filename":"file4"},{"photo_id":"1332399042","filename":"file1"},{"photo_id":"1332399037","filename":"file0"},{"photo_id":"1332399051","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332399055":["hashtag1","hashtag2"]},{"1332399037":["hashtag1","hashtag2"]},{"1332399054":["hashtag1","hashtag2"]},{"1332399042":["hashtag1","hashtag2"]},{"1332399051":["hashtag1","hashtag2"]},{"1332399047":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332399055, 1332399037, 1332399054, 1332399042, 1332399051, 1332399047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40252637863159 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:29:32.617061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/31/image_28012025_14_31_25_10396.jpg', '/home/pi/Desktop/images/28012025/14/31/image_28012025_14_31_45_10361.jpg', '/home/pi/Desktop/images/28012025/14/31/image_28012025_14_31_54_9405.jpg', '/home/pi/Desktop/images/28012025/14/31/image_28012025_14_32_05_10320.jpg', '/home/pi/Desktop/images/28012025/14/32/image_28012025_14_32_15_10322.jpg', '/home/pi/Desktop/images/28012025/14/32/image_28012025_14_32_24_9438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/31/image_28012025_14_31_25_10396.jpg
/home/pi/Desktop/images/28012025/14/31/image_28012025_14_31_45_10361.jpg
/home/pi/Desktop/images/28012025/14/31/image_28012025_14_31_54_9405.jpg
/home/pi/Desktop/images/28012025/14/31/image_28012025_14_32_05_10320.jpg
/home/pi/Desktop/images/28012025/14/32/image_28012025_14_32_15_10322.jpg
/home/pi/Desktop/images/28012025/14/32/image_28012025_14_32_24_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":["1332399077","1332399102","1332399092","1332399089","1332399074","1332399104"],"photo_ids_order":["1332399074","1332399077","1332399089","1332399092","1332399102","1332399104"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d361951c440d657df6d4a19c6dfc913e.jpg","text":"TemporaryFile(/tmp/multipartBody5944094609742361631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092633572,"filename":"image_28012025_14_31_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/1/28/3ec025d6d94060be7b623ac8b4c87d43.jpg","text":"TemporaryFile(/tmp/multipartBody1481416449234980092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092633572,"filename":"image_28012025_14_32_15_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2abdf6f07a04034c9b21be2cbada8f29.jpg","text":"TemporaryFile(/tmp/multipartBody7073952370945219441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092633572,"filename":"image_28012025_14_32_05_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4d7bee27c6be574c567ac775586cbdda.jpg","text":"TemporaryFile(/tmp/multipartBody1387798554638370504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092633572,"filename":"image_28012025_14_31_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/1/28/98930f580227f76675f6655154d423c3.jpg","text":"TemporaryFile(/tmp/multipartBody3533137989283224405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092633572,"filename":"image_28012025_14_31_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/1/28/5ca4cabc052171352d731b782d4c3afa.jpg","text":"TemporaryFile(/tmp/multipartBody8168870833284802905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092633572,"filename":"image_28012025_14_32_24_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332399089","file1":"1332399077","file0":"1332399074","file4":"1332399102","file5":"1332399104","file3":"1332399092"},"map_files_photo_id_array":[{"photo_id":"1332399104","filename":"file5"},{"photo_id":"1332399089","filename":"file2"},{"photo_id":"1332399102","filename":"file4"},{"photo_id":"1332399077","filename":"file1"},{"photo_id":"1332399074","filename":"file0"},{"photo_id":"1332399092","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332399077":["hashtag1","hashtag2"]},{"1332399102":["hashtag1","hashtag2"]},{"1332399092":["hashtag1","hashtag2"]},{"1332399089":["hashtag1","hashtag2"]},{"1332399074":["hashtag1","hashtag2"]},{"1332399104":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332399077, 1332399102, 1332399092, 1332399089, 1332399074, 1332399104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.45241737365723 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:30:32.977944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/32/image_28012025_14_32_35_10366.jpg', '/home/pi/Desktop/images/28012025/14/32/image_28012025_14_32_45_10418.jpg', '/home/pi/Desktop/images/28012025/14/32/image_28012025_14_32_55_9331.jpg', '/home/pi/Desktop/images/28012025/14/32/image_28012025_14_33_05_10341.jpg', '/home/pi/Desktop/images/28012025/14/33/image_28012025_14_33_14_9396.jpg', '/home/pi/Desktop/images/28012025/14/33/image_28012025_14_33_25_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/32/image_28012025_14_32_35_10366.jpg
/home/pi/Desktop/images/28012025/14/32/image_28012025_14_32_45_10418.jpg
/home/pi/Desktop/images/28012025/14/32/image_28012025_14_32_55_9331.jpg
/home/pi/Desktop/images/28012025/14/32/image_28012025_14_33_05_10341.jpg
/home/pi/Desktop/images/28012025/14/33/image_28012025_14_33_14_9396.jpg
/home/pi/Desktop/images/28012025/14/33/image_28012025_14_33_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":["1332399220","1332399183","1332399186","1332399185","1332399155","1332399157"],"photo_ids_order":["1332399155","1332399157","1332399183","1332399185","1332399186","1332399220"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c0802a5cbe8a4b027fbc7987ffcecffd.jpg","text":"TemporaryFile(/tmp/multipartBody5720712695582554818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092693941,"filename":"image_28012025_14_33_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/1/28/ee0acafadd8c3a95d28582c6265f810f.jpg","text":"TemporaryFile(/tmp/multipartBody3674716945728091359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092693941,"filename":"image_28012025_14_32_55_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a07b622a24a74b9c6046a5de9648fef3.jpg","text":"TemporaryFile(/tmp/multipartBody4823869980860452796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092693941,"filename":"image_28012025_14_33_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/1/28/cb7e5486bb0b7235029356ab224ea0b3.jpg","text":"TemporaryFile(/tmp/multipartBody6907052895360609091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092693941,"filename":"image_28012025_14_33_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/1/28/5e5b511d9f6c27ed9bb9721b74a0a38a.jpg","text":"TemporaryFile(/tmp/multipartBody7574551872326861683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092693941,"filename":"image_28012025_14_32_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/1/28/f86f97b1161d29e7e285b4c7a92ccc0d.jpg","text":"TemporaryFile(/tmp/multipartBody8681611687392787503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092693941,"filename":"image_28012025_14_32_45_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332399183","file1":"1332399157","file0":"1332399155","file4":"1332399186","file5":"1332399220","file3":"1332399185"},"map_files_photo_id_array":[{"photo_id":"1332399220","filename":"file5"},{"photo_id":"1332399183","filename":"file2"},{"photo_id":"1332399186","filename":"file4"},{"photo_id":"1332399157","filename":"file1"},{"photo_id":"1332399155","filename":"file0"},{"photo_id":"1332399185","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332399220":["hashtag1","hashtag2"]},{"1332399183":["hashtag1","hashtag2"]},{"1332399186":["hashtag1","hashtag2"]},{"1332399185":["hashtag1","hashtag2"]},{"1332399155":["hashtag1","hashtag2"]},{"1332399157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332399220, 1332399183, 1332399186, 1332399185, 1332399155, 1332399157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.208799600601196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:31:32.147214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/33/image_28012025_14_33_35_10357.jpg', '/home/pi/Desktop/images/28012025/14/33/image_28012025_14_33_44_9328.jpg', '/home/pi/Desktop/images/28012025/14/33/image_28012025_14_33_55_10354.jpg', '/home/pi/Desktop/images/28012025/14/33/image_28012025_14_34_05_10332.jpg', '/home/pi/Desktop/images/28012025/14/34/image_28012025_14_34_14_9430.jpg', '/home/pi/Desktop/images/28012025/14/34/image_28012025_14_34_25_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/33/image_28012025_14_33_35_10357.jpg
/home/pi/Desktop/images/28012025/14/33/image_28012025_14_33_44_9328.jpg
/home/pi/Desktop/images/28012025/14/33/image_28012025_14_33_55_10354.jpg
/home/pi/Desktop/images/28012025/14/33/image_28012025_14_34_05_10332.jpg
/home/pi/Desktop/images/28012025/14/34/image_28012025_14_34_14_9430.jpg
/home/pi/Desktop/images/28012025/14/34/image_28012025_14_34_25_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":["1332399562","1332399556","1332399597","1332399654","1332399600","1332399593"],"photo_ids_order":["1332399556","1332399562","1332399593","1332399597","1332399600","1332399654"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ef90c108e7067f49083b43dddbfc9f5c.jpg","text":"TemporaryFile(/tmp/multipartBody4953290364562132293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092753102,"filename":"image_28012025_14_33_44_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3057a1c9036db42e6018f1f603bfdb25.jpg","text":"TemporaryFile(/tmp/multipartBody6054056203294725296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092753102,"filename":"image_28012025_14_33_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/1/28/b299ec8ca90c3b51b358ad490b19e8dc.jpg","text":"TemporaryFile(/tmp/multipartBody7907016193725766264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092753102,"filename":"image_28012025_14_34_05_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4a83c8165e8d3b0b6f2c438279581b59.jpg","text":"TemporaryFile(/tmp/multipartBody6851434731407450297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092753102,"filename":"image_28012025_14_34_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/1/28/f0f4c7fa52c6ef7d641aeef20e525989.jpg","text":"TemporaryFile(/tmp/multipartBody8998692764825035620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092753102,"filename":"image_28012025_14_34_14_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d077dc30492e7123906327139eb0423d.jpg","text":"TemporaryFile(/tmp/multipartBody3523429530254172772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092753102,"filename":"image_28012025_14_33_55_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332399593","file1":"1332399562","file0":"1332399556","file4":"1332399600","file5":"1332399654","file3":"1332399597"},"map_files_photo_id_array":[{"photo_id":"1332399654","filename":"file5"},{"photo_id":"1332399593","filename":"file2"},{"photo_id":"1332399600","filename":"file4"},{"photo_id":"1332399562","filename":"file1"},{"photo_id":"1332399556","filename":"file0"},{"photo_id":"1332399597","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332399562":["hashtag1","hashtag2"]},{"1332399556":["hashtag1","hashtag2"]},{"1332399597":["hashtag1","hashtag2"]},{"1332399654":["hashtag1","hashtag2"]},{"1332399600":["hashtag1","hashtag2"]},{"1332399593":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332399562, 1332399556, 1332399597, 1332399654, 1332399600, 1332399593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.57280492782593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:32:32.331239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/34/image_28012025_14_34_35_10363.jpg', '/home/pi/Desktop/images/28012025/14/34/image_28012025_14_34_44_9326.jpg', '/home/pi/Desktop/images/28012025/14/34/image_28012025_14_34_55_10359.jpg', '/home/pi/Desktop/images/28012025/14/34/image_28012025_14_35_04_9450.jpg', '/home/pi/Desktop/images/28012025/14/35/image_28012025_14_35_15_10334.jpg', '/home/pi/Desktop/images/28012025/14/35/image_28012025_14_35_25_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/34/image_28012025_14_34_35_10363.jpg
/home/pi/Desktop/images/28012025/14/34/image_28012025_14_34_44_9326.jpg
/home/pi/Desktop/images/28012025/14/34/image_28012025_14_34_55_10359.jpg
/home/pi/Desktop/images/28012025/14/34/image_28012025_14_35_04_9450.jpg
/home/pi/Desktop/images/28012025/14/35/image_28012025_14_35_15_10334.jpg
/home/pi/Desktop/images/28012025/14/35/image_28012025_14_35_25_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332399715","1332399756","1332399705","1332399746","1332399763","1332399751"],"photo_ids_order":["1332399705","1332399715","1332399746","1332399751","1332399756","1332399763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/248217c2a7c6d87647a90395b9f55b43.jpg","text":"TemporaryFile(/tmp/multipartBody6277746291845358050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092813296,"filename":"image_28012025_14_34_44_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fe75364615da245ffb025469b9667fc8.jpg","text":"TemporaryFile(/tmp/multipartBody6184338868900606494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092813296,"filename":"image_28012025_14_35_15_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5c417a20cd183666da4a339da025fea8.jpg","text":"TemporaryFile(/tmp/multipartBody1144212352816562534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092813296,"filename":"image_28012025_14_34_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/38510e82209ee2fbdb3550263f500708.jpg","text":"TemporaryFile(/tmp/multipartBody6029724217701828839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092813296,"filename":"image_28012025_14_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/1/28/8b24b15292c98915486441ed10bb25a4.jpg","text":"TemporaryFile(/tmp/multipartBody4825539662383905450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092813296,"filename":"image_28012025_14_35_25_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3a261f9c1f8dbf803402c68911b91521.jpg","text":"TemporaryFile(/tmp/multipartBody2170118478437698202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092813296,"filename":"image_28012025_14_35_04_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332399746","file1":"1332399715","file0":"1332399705","file4":"1332399756","file5":"1332399763","file3":"1332399751"},"map_files_photo_id_array":[{"photo_id":"1332399763","filename":"file5"},{"photo_id":"1332399746","filename":"file2"},{"photo_id":"1332399756","filename":"file4"},{"photo_id":"1332399715","filename":"file1"},{"photo_id":"1332399705","filename":"file0"},{"photo_id":"1332399751","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332399715":["hashtag1","hashtag2"]},{"1332399756":["hashtag1","hashtag2"]},{"1332399705":["hashtag1","hashtag2"]},{"1332399746":["hashtag1","hashtag2"]},{"1332399763":["hashtag1","hashtag2"]},{"1332399751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332399715, 1332399756, 1332399705, 1332399746, 1332399763, 1332399751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.74411678314209 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:33:32.750900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/35/image_28012025_14_35_34_9329.jpg', '/home/pi/Desktop/images/28012025/14/35/image_28012025_14_35_45_10435.jpg', '/home/pi/Desktop/images/28012025/14/35/image_28012025_14_35_55_10554.jpg', '/home/pi/Desktop/images/28012025/14/35/image_28012025_14_36_05_9342.jpg', '/home/pi/Desktop/images/28012025/14/36/image_28012025_14_36_15_10328.jpg', '/home/pi/Desktop/images/28012025/14/36/image_28012025_14_36_24_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/35/image_28012025_14_35_34_9329.jpg
/home/pi/Desktop/images/28012025/14/35/image_28012025_14_35_45_10435.jpg
/home/pi/Desktop/images/28012025/14/35/image_28012025_14_35_55_10554.jpg
/home/pi/Desktop/images/28012025/14/35/image_28012025_14_36_05_9342.jpg
/home/pi/Desktop/images/28012025/14/36/image_28012025_14_36_15_10328.jpg
/home/pi/Desktop/images/28012025/14/36/image_28012025_14_36_24_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":["1332399832","1332399817","1332399881","1332399836","1332399830","1332399883"],"photo_ids_order":["1332399817","1332399830","1332399832","1332399836","1332399881","1332399883"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b5b7bb4905fceed85b3625fb3a827eb4.jpg","text":"TemporaryFile(/tmp/multipartBody7334343324265246630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092873700,"filename":"image_28012025_14_35_55_10554.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d2611b034f99e60f707ce829d11f2c33.jpg","text":"TemporaryFile(/tmp/multipartBody2803326291688064475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092873700,"filename":"image_28012025_14_35_34_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fcfc943ec57e1fbe55c8aaf6c0334aca.jpg","text":"TemporaryFile(/tmp/multipartBody6901393200651404162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092873700,"filename":"image_28012025_14_36_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/1/28/064e98058f5a3921ed972aef9b7a4b63.jpg","text":"TemporaryFile(/tmp/multipartBody7797716390149440133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092873700,"filename":"image_28012025_14_36_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/1/28/b0ba575296ba792aef1061442db56ad0.jpg","text":"TemporaryFile(/tmp/multipartBody2894464926726680749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092873700,"filename":"image_28012025_14_35_45_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c6b6ac7b6ae6ffb5953962d42acc47c1.jpg","text":"TemporaryFile(/tmp/multipartBody810487362242202510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092873700,"filename":"image_28012025_14_36_24_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332399832","file1":"1332399830","file0":"1332399817","file4":"1332399881","file5":"1332399883","file3":"1332399836"},"map_files_photo_id_array":[{"photo_id":"1332399883","filename":"file5"},{"photo_id":"1332399832","filename":"file2"},{"photo_id":"1332399881","filename":"file4"},{"photo_id":"1332399830","filename":"file1"},{"photo_id":"1332399817","filename":"file0"},{"photo_id":"1332399836","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332399832":["hashtag1","hashtag2"]},{"1332399817":["hashtag1","hashtag2"]},{"1332399881":["hashtag1","hashtag2"]},{"1332399836":["hashtag1","hashtag2"]},{"1332399830":["hashtag1","hashtag2"]},{"1332399883":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332399832, 1332399817, 1332399881, 1332399836, 1332399830, 1332399883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.90182423591614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:34:32.880680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/36/image_28012025_14_36_35_10361.jpg', '/home/pi/Desktop/images/28012025/14/36/image_28012025_14_36_45_10345.jpg', '/home/pi/Desktop/images/28012025/14/36/image_28012025_14_36_54_9427.jpg', '/home/pi/Desktop/images/28012025/14/36/image_28012025_14_37_05_10395.jpg', '/home/pi/Desktop/images/28012025/14/37/image_28012025_14_37_15_10424.jpg', '/home/pi/Desktop/images/28012025/14/37/image_28012025_14_37_25_9326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/36/image_28012025_14_36_35_10361.jpg
/home/pi/Desktop/images/28012025/14/36/image_28012025_14_36_45_10345.jpg
/home/pi/Desktop/images/28012025/14/36/image_28012025_14_36_54_9427.jpg
/home/pi/Desktop/images/28012025/14/36/image_28012025_14_37_05_10395.jpg
/home/pi/Desktop/images/28012025/14/37/image_28012025_14_37_15_10424.jpg
/home/pi/Desktop/images/28012025/14/37/image_28012025_14_37_25_9326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332399919","1332399910","1332399922","1332399915","1332399924","1332399906"],"photo_ids_order":["1332399906","1332399910","1332399915","1332399919","1332399922","1332399924"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bd429a80a0bf23785db8db505b0c9bfe.jpg","text":"TemporaryFile(/tmp/multipartBody2619323670415066863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092933836,"filename":"image_28012025_14_37_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/1/28/92ef748ffb5eb5ba708732cb513390f2.jpg","text":"TemporaryFile(/tmp/multipartBody1927096096661042903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092933836,"filename":"image_28012025_14_36_45_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c86b137934ab67d662b908b90935d81d.jpg","text":"TemporaryFile(/tmp/multipartBody5668195212504449013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092933836,"filename":"image_28012025_14_37_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/1/28/0b396c12f93b08e7a1560ae25db495f9.jpg","text":"TemporaryFile(/tmp/multipartBody3560018024745021782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092933836,"filename":"image_28012025_14_36_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/1/28/22aa45a236bdf3896f71af27c31137b6.jpg","text":"TemporaryFile(/tmp/multipartBody2536038520387180131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092933836,"filename":"image_28012025_14_37_25_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3e4b050fe6fc579287cd564923030f70.jpg","text":"TemporaryFile(/tmp/multipartBody1941098870697138305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092933836,"filename":"image_28012025_14_36_35_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332399915","file1":"1332399910","file0":"1332399906","file4":"1332399922","file5":"1332399924","file3":"1332399919"},"map_files_photo_id_array":[{"photo_id":"1332399924","filename":"file5"},{"photo_id":"1332399915","filename":"file2"},{"photo_id":"1332399922","filename":"file4"},{"photo_id":"1332399910","filename":"file1"},{"photo_id":"1332399906","filename":"file0"},{"photo_id":"1332399919","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332399919":["hashtag1","hashtag2"]},{"1332399910":["hashtag1","hashtag2"]},{"1332399922":["hashtag1","hashtag2"]},{"1332399915":["hashtag1","hashtag2"]},{"1332399924":["hashtag1","hashtag2"]},{"1332399906":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332399919, 1332399910, 1332399922, 1332399915, 1332399924, 1332399906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89481472969055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:35:33.124558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/37/image_28012025_14_37_35_10323.jpg', '/home/pi/Desktop/images/28012025/14/37/image_28012025_14_37_44_9480.jpg', '/home/pi/Desktop/images/28012025/14/37/image_28012025_14_37_55_10352.jpg', '/home/pi/Desktop/images/28012025/14/37/image_28012025_14_38_05_10337.jpg', '/home/pi/Desktop/images/28012025/14/38/image_28012025_14_38_14_9433.jpg', '/home/pi/Desktop/images/28012025/14/38/image_28012025_14_38_25_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/37/image_28012025_14_37_35_10323.jpg
/home/pi/Desktop/images/28012025/14/37/image_28012025_14_37_44_9480.jpg
/home/pi/Desktop/images/28012025/14/37/image_28012025_14_37_55_10352.jpg
/home/pi/Desktop/images/28012025/14/37/image_28012025_14_38_05_10337.jpg
/home/pi/Desktop/images/28012025/14/38/image_28012025_14_38_14_9433.jpg
/home/pi/Desktop/images/28012025/14/38/image_28012025_14_38_25_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332399946","1332399972","1332399951","1332399968","1332399961","1332399970"],"photo_ids_order":["1332399946","1332399951","1332399961","1332399968","1332399970","1332399972"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1d16a8ad0e54e8cd77cd32f47988ef02.jpg","text":"TemporaryFile(/tmp/multipartBody2063513471758715379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092994092,"filename":"image_28012025_14_37_35_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/66860afc4f4a0ec06ce0bd6f00cc7f88.jpg","text":"TemporaryFile(/tmp/multipartBody6204767764335120644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092994092,"filename":"image_28012025_14_38_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/1/28/8526f709144a76f278b7a1bb7a9b4b22.jpg","text":"TemporaryFile(/tmp/multipartBody6116422734586724495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092994092,"filename":"image_28012025_14_37_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/1/28/7b4bb89ce280869e680deab11d4784a2.jpg","text":"TemporaryFile(/tmp/multipartBody5936605694573328445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092994092,"filename":"image_28012025_14_38_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/1/28/33f83eac4dc76faaf6d632ff359c1444.jpg","text":"TemporaryFile(/tmp/multipartBody2637237841892977855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092994092,"filename":"image_28012025_14_37_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/1/28/9ddb24703d4de84cd79eb791f0c52936.jpg","text":"TemporaryFile(/tmp/multipartBody410729057720467531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738092994092,"filename":"image_28012025_14_38_14_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332399961","file1":"1332399951","file0":"1332399946","file4":"1332399970","file5":"1332399972","file3":"1332399968"},"map_files_photo_id_array":[{"photo_id":"1332399972","filename":"file5"},{"photo_id":"1332399961","filename":"file2"},{"photo_id":"1332399970","filename":"file4"},{"photo_id":"1332399951","filename":"file1"},{"photo_id":"1332399946","filename":"file0"},{"photo_id":"1332399968","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332399946":["hashtag1","hashtag2"]},{"1332399972":["hashtag1","hashtag2"]},{"1332399951":["hashtag1","hashtag2"]},{"1332399968":["hashtag1","hashtag2"]},{"1332399961":["hashtag1","hashtag2"]},{"1332399970":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332399946, 1332399972, 1332399951, 1332399968, 1332399961, 1332399970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.29482936859131 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:36:32.452531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/38/image_28012025_14_38_34_9464.jpg', '/home/pi/Desktop/images/28012025/14/38/image_28012025_14_38_45_10345.jpg', '/home/pi/Desktop/images/28012025/14/38/image_28012025_14_38_55_10349.jpg', '/home/pi/Desktop/images/28012025/14/38/image_28012025_14_39_04_9336.jpg', '/home/pi/Desktop/images/28012025/14/39/image_28012025_14_39_15_10334.jpg', '/home/pi/Desktop/images/28012025/14/39/image_28012025_14_39_25_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/38/image_28012025_14_38_34_9464.jpg
/home/pi/Desktop/images/28012025/14/38/image_28012025_14_38_45_10345.jpg
/home/pi/Desktop/images/28012025/14/38/image_28012025_14_38_55_10349.jpg
/home/pi/Desktop/images/28012025/14/38/image_28012025_14_39_04_9336.jpg
/home/pi/Desktop/images/28012025/14/39/image_28012025_14_39_15_10334.jpg
/home/pi/Desktop/images/28012025/14/39/image_28012025_14_39_25_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332400026","1332400029","1332400022","1332400034","1332400237","1332400374"],"photo_ids_order":["1332400022","1332400026","1332400029","1332400034","1332400237","1332400374"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/effed4135f95510ece44933899c2c5d0.jpg","text":"TemporaryFile(/tmp/multipartBody4684505355756246773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093053422,"filename":"image_28012025_14_38_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/1/28/dc09eab2470a8fd4e22fc4e41766e1fb.jpg","text":"TemporaryFile(/tmp/multipartBody3648255465227068732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093053422,"filename":"image_28012025_14_38_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/1/28/a5c341e7c65bdd882b66ffcec019ba5b.jpg","text":"TemporaryFile(/tmp/multipartBody5345746876441374672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093053422,"filename":"image_28012025_14_38_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/1/28/4166c84cf003ef59c4ffa3a7b538a1a2.jpg","text":"TemporaryFile(/tmp/multipartBody2172092307203652880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093053422,"filename":"image_28012025_14_39_04_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8ac144297319ece97f1dc9a9668bd0ca.jpg","text":"TemporaryFile(/tmp/multipartBody3745961618300038310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093053422,"filename":"image_28012025_14_39_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/1/28/c472015883ab8dd4aa38a8a5f8633d04.jpg","text":"TemporaryFile(/tmp/multipartBody3825706144609619095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093053422,"filename":"image_28012025_14_39_25_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332400029","file1":"1332400026","file0":"1332400022","file4":"1332400237","file5":"1332400374","file3":"1332400034"},"map_files_photo_id_array":[{"photo_id":"1332400374","filename":"file5"},{"photo_id":"1332400029","filename":"file2"},{"photo_id":"1332400237","filename":"file4"},{"photo_id":"1332400026","filename":"file1"},{"photo_id":"1332400022","filename":"file0"},{"photo_id":"1332400034","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332400026":["hashtag1","hashtag2"]},{"1332400029":["hashtag1","hashtag2"]},{"1332400022":["hashtag1","hashtag2"]},{"1332400034":["hashtag1","hashtag2"]},{"1332400237":["hashtag1","hashtag2"]},{"1332400374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332400026, 1332400029, 1332400022, 1332400034, 1332400237, 1332400374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.46375107765198 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:37:32.830363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/39/image_28012025_14_39_34_9435.jpg', '/home/pi/Desktop/images/28012025/14/39/image_28012025_14_39_45_10427.jpg', '/home/pi/Desktop/images/28012025/14/39/image_28012025_14_40_05_9350.jpg', '/home/pi/Desktop/images/28012025/14/40/image_28012025_14_40_15_10354.jpg', '/home/pi/Desktop/images/28012025/14/40/image_28012025_14_40_35_10349.jpg', '/home/pi/Desktop/images/28012025/14/40/image_28012025_14_40_45_10428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/39/image_28012025_14_39_34_9435.jpg
/home/pi/Desktop/images/28012025/14/39/image_28012025_14_39_45_10427.jpg
/home/pi/Desktop/images/28012025/14/39/image_28012025_14_40_05_9350.jpg
/home/pi/Desktop/images/28012025/14/40/image_28012025_14_40_15_10354.jpg
/home/pi/Desktop/images/28012025/14/40/image_28012025_14_40_35_10349.jpg
/home/pi/Desktop/images/28012025/14/40/image_28012025_14_40_45_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":["1332400773","1332400778","1332400690","1332400789","1332400782","1332400791"],"photo_ids_order":["1332400690","1332400773","1332400778","1332400782","1332400789","1332400791"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/41225bbcb2677ad0b8dc0c8ad219fbdf.jpg","text":"TemporaryFile(/tmp/multipartBody4320630595515600375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093114008,"filename":"image_28012025_14_39_45_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/67cd31cc90b8b4c1bd781499f1f2fb44.jpg","text":"TemporaryFile(/tmp/multipartBody303268723369102992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093114008,"filename":"image_28012025_14_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/1/28/494fda5280872c251efa57355ac0e45d.jpg","text":"TemporaryFile(/tmp/multipartBody4076527225492391533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093114008,"filename":"image_28012025_14_39_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/1/28/2cd968e031698a719b55ccdd5fa8a8a3.jpg","text":"TemporaryFile(/tmp/multipartBody9136162947613258753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093114008,"filename":"image_28012025_14_40_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/1/28/7cb29c0610222bfc69244cb70c3df925.jpg","text":"TemporaryFile(/tmp/multipartBody6105429020193740482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093114008,"filename":"image_28012025_14_40_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/1/28/8d4f781dcea7c0b497b4c5b72245de0e.jpg","text":"TemporaryFile(/tmp/multipartBody6730175578954484573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093114008,"filename":"image_28012025_14_40_45_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332400778","file1":"1332400773","file0":"1332400690","file4":"1332400789","file5":"1332400791","file3":"1332400782"},"map_files_photo_id_array":[{"photo_id":"1332400791","filename":"file5"},{"photo_id":"1332400778","filename":"file2"},{"photo_id":"1332400789","filename":"file4"},{"photo_id":"1332400773","filename":"file1"},{"photo_id":"1332400690","filename":"file0"},{"photo_id":"1332400782","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332400773":["hashtag1","hashtag2"]},{"1332400778":["hashtag1","hashtag2"]},{"1332400690":["hashtag1","hashtag2"]},{"1332400789":["hashtag1","hashtag2"]},{"1332400782":["hashtag1","hashtag2"]},{"1332400791":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332400773, 1332400778, 1332400690, 1332400789, 1332400782, 1332400791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.443363666534424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:38:33.037528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/40/image_28012025_14_40_55_9447.jpg', '/home/pi/Desktop/images/28012025/14/40/image_28012025_14_41_05_10335.jpg', '/home/pi/Desktop/images/28012025/14/41/image_28012025_14_41_14_9455.jpg', '/home/pi/Desktop/images/28012025/14/41/image_28012025_14_41_25_10350.jpg', '/home/pi/Desktop/images/28012025/14/41/image_28012025_14_41_35_10353.jpg', '/home/pi/Desktop/images/28012025/14/41/image_28012025_14_41_44_9440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/40/image_28012025_14_40_55_9447.jpg
/home/pi/Desktop/images/28012025/14/40/image_28012025_14_41_05_10335.jpg
/home/pi/Desktop/images/28012025/14/41/image_28012025_14_41_14_9455.jpg
/home/pi/Desktop/images/28012025/14/41/image_28012025_14_41_25_10350.jpg
/home/pi/Desktop/images/28012025/14/41/image_28012025_14_41_35_10353.jpg
/home/pi/Desktop/images/28012025/14/41/image_28012025_14_41_44_9440.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5842454433441162 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 20:38:43.052014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/40/image_28012025_14_40_55_9447.jpg', '/home/pi/Desktop/images/28012025/14/40/image_28012025_14_41_05_10335.jpg', '/home/pi/Desktop/images/28012025/14/41/image_28012025_14_41_14_9455.jpg', '/home/pi/Desktop/images/28012025/14/41/image_28012025_14_41_25_10350.jpg', '/home/pi/Desktop/images/28012025/14/41/image_28012025_14_41_35_10353.jpg', '/home/pi/Desktop/images/28012025/14/41/image_28012025_14_41_44_9440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/40/image_28012025_14_40_55_9447.jpg
/home/pi/Desktop/images/28012025/14/40/image_28012025_14_41_05_10335.jpg
/home/pi/Desktop/images/28012025/14/41/image_28012025_14_41_14_9455.jpg
/home/pi/Desktop/images/28012025/14/41/image_28012025_14_41_25_10350.jpg
/home/pi/Desktop/images/28012025/14/41/image_28012025_14_41_35_10353.jpg
/home/pi/Desktop/images/28012025/14/41/image_28012025_14_41_44_9440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332401162","1332401084","1332401159","1332401150","1332401155","1332401166"],"photo_ids_order":["1332401084","1332401150","1332401155","1332401159","1332401162","1332401166"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/26488b8a1ba2c4b5e412cac0147cfdc1.jpg","text":"TemporaryFile(/tmp/multipartBody5365748168009564471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093184342,"filename":"image_28012025_14_41_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/1/28/983a834164b21b3a08b0c2e276e8bac8.jpg","text":"TemporaryFile(/tmp/multipartBody7932006342748011988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093184342,"filename":"image_28012025_14_40_55_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0cda3a355c05902bb296e53021f9be42.jpg","text":"TemporaryFile(/tmp/multipartBody7460634727073857452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093184342,"filename":"image_28012025_14_41_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/1/28/792851ea6d31bcf802c0961ab243195a.jpg","text":"TemporaryFile(/tmp/multipartBody7143072360627366404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093184342,"filename":"image_28012025_14_41_05_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/af37db7b2c4f3d73055c87cad1ec7595.jpg","text":"TemporaryFile(/tmp/multipartBody3649438955725169522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093184342,"filename":"image_28012025_14_41_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/1/28/2b67a859ffd772410e436147a3c770f7.jpg","text":"TemporaryFile(/tmp/multipartBody2245822684137851119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093184342,"filename":"image_28012025_14_41_44_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332401155","file1":"1332401150","file0":"1332401084","file4":"1332401162","file5":"1332401166","file3":"1332401159"},"map_files_photo_id_array":[{"photo_id":"1332401166","filename":"file5"},{"photo_id":"1332401155","filename":"file2"},{"photo_id":"1332401162","filename":"file4"},{"photo_id":"1332401150","filename":"file1"},{"photo_id":"1332401084","filename":"file0"},{"photo_id":"1332401159","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332401162":["hashtag1","hashtag2"]},{"1332401084":["hashtag1","hashtag2"]},{"1332401159":["hashtag1","hashtag2"]},{"1332401150":["hashtag1","hashtag2"]},{"1332401155":["hashtag1","hashtag2"]},{"1332401166":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332401162, 1332401084, 1332401159, 1332401150, 1332401155, 1332401166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.1542534828186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:39:32.156982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/41/image_28012025_14_41_55_10446.jpg', '/home/pi/Desktop/images/28012025/14/41/image_28012025_14_42_04_9458.jpg', '/home/pi/Desktop/images/28012025/14/42/image_28012025_14_42_34_9332.jpg', '/home/pi/Desktop/images/28012025/14/42/image_28012025_14_42_45_10342.jpg', '/home/pi/Desktop/images/28012025/14/42/image_28012025_14_42_55_10334.jpg', '/home/pi/Desktop/images/28012025/14/42/image_28012025_14_43_04_9440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/41/image_28012025_14_41_55_10446.jpg
/home/pi/Desktop/images/28012025/14/41/image_28012025_14_42_04_9458.jpg
/home/pi/Desktop/images/28012025/14/42/image_28012025_14_42_34_9332.jpg
/home/pi/Desktop/images/28012025/14/42/image_28012025_14_42_45_10342.jpg
/home/pi/Desktop/images/28012025/14/42/image_28012025_14_42_55_10334.jpg
/home/pi/Desktop/images/28012025/14/42/image_28012025_14_43_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":["1332401177","1332401357","1332401210","1332401194","1332401197","1332401190"],"photo_ids_order":["1332401177","1332401190","1332401194","1332401197","1332401210","1332401357"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9849549f58718f9a0ddcca6a7de36cc4.jpg","text":"TemporaryFile(/tmp/multipartBody3816339998280507789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093233115,"filename":"image_28012025_14_41_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/1/28/6898e130598df456ab0b4f349ca7c859.jpg","text":"TemporaryFile(/tmp/multipartBody5442521583789706417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093233115,"filename":"image_28012025_14_43_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/1/28/6efa796bc3b3706cf5b0b4e7293c7712.jpg","text":"TemporaryFile(/tmp/multipartBody3530829015787805900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093233115,"filename":"image_28012025_14_42_55_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f3f1dfd4a5b0af151032b7dcd6bd9f9e.jpg","text":"TemporaryFile(/tmp/multipartBody2122240731931741536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093233115,"filename":"image_28012025_14_42_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/1/28/97ba01ddf158e36d51032dc6e33c97d5.jpg","text":"TemporaryFile(/tmp/multipartBody4912927912612546533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093233115,"filename":"image_28012025_14_42_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/1/28/8d03ad384e439d42eb4f0a45ee48e4d6.jpg","text":"TemporaryFile(/tmp/multipartBody8935087931170418171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093233115,"filename":"image_28012025_14_42_04_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332401194","file1":"1332401190","file0":"1332401177","file4":"1332401210","file5":"1332401357","file3":"1332401197"},"map_files_photo_id_array":[{"photo_id":"1332401357","filename":"file5"},{"photo_id":"1332401194","filename":"file2"},{"photo_id":"1332401210","filename":"file4"},{"photo_id":"1332401190","filename":"file1"},{"photo_id":"1332401177","filename":"file0"},{"photo_id":"1332401197","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332401177":["hashtag1","hashtag2"]},{"1332401357":["hashtag1","hashtag2"]},{"1332401210":["hashtag1","hashtag2"]},{"1332401194":["hashtag1","hashtag2"]},{"1332401197":["hashtag1","hashtag2"]},{"1332401190":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332401177, 1332401357, 1332401210, 1332401194, 1332401197, 1332401190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.94781970977783 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:40:32.451031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/43/image_28012025_14_43_15_10336.jpg', '/home/pi/Desktop/images/28012025/14/43/image_28012025_14_43_35_9328.jpg', '/home/pi/Desktop/images/28012025/14/43/image_28012025_14_43_45_10362.jpg', '/home/pi/Desktop/images/28012025/14/43/image_28012025_14_43_54_9493.jpg', '/home/pi/Desktop/images/28012025/14/43/image_28012025_14_44_05_10358.jpg', '/home/pi/Desktop/images/28012025/14/44/image_28012025_14_44_15_10434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/43/image_28012025_14_43_15_10336.jpg
/home/pi/Desktop/images/28012025/14/43/image_28012025_14_43_35_9328.jpg
/home/pi/Desktop/images/28012025/14/43/image_28012025_14_43_45_10362.jpg
/home/pi/Desktop/images/28012025/14/43/image_28012025_14_43_54_9493.jpg
/home/pi/Desktop/images/28012025/14/43/image_28012025_14_44_05_10358.jpg
/home/pi/Desktop/images/28012025/14/44/image_28012025_14_44_15_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":["1332402071","1332401936","1332402448","1332402570","1332402307","1332402168"],"photo_ids_order":["1332401936","1332402071","1332402168","1332402307","1332402448","1332402570"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/19ff8c9f6f269e3665ee3160ca146cfe.jpg","text":"TemporaryFile(/tmp/multipartBody6430237832409537274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093293410,"filename":"image_28012025_14_43_35_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d7ead78eae01289887bd9bd8c7f0e5d9.jpg","text":"TemporaryFile(/tmp/multipartBody4752758944158735499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093293410,"filename":"image_28012025_14_43_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/1/28/b5c93dd2d9e010507a3ed0485d27583b.jpg","text":"TemporaryFile(/tmp/multipartBody3976117820880415514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093293410,"filename":"image_28012025_14_44_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/1/28/93ffc6593b28fee3b8d5c458b592485a.jpg","text":"TemporaryFile(/tmp/multipartBody6211067086896013396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093293410,"filename":"image_28012025_14_44_15_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/495edf1287ea04151fc777a1d10db5f3.jpg","text":"TemporaryFile(/tmp/multipartBody1423719088609497863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093293410,"filename":"image_28012025_14_43_54_9493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8087425bca1716feecc49df6b3c8b16a.jpg","text":"TemporaryFile(/tmp/multipartBody4213542841408999929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093293410,"filename":"image_28012025_14_43_45_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332402168","file1":"1332402071","file0":"1332401936","file4":"1332402448","file5":"1332402570","file3":"1332402307"},"map_files_photo_id_array":[{"photo_id":"1332402570","filename":"file5"},{"photo_id":"1332402168","filename":"file2"},{"photo_id":"1332402448","filename":"file4"},{"photo_id":"1332402071","filename":"file1"},{"photo_id":"1332401936","filename":"file0"},{"photo_id":"1332402307","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332402071":["hashtag1","hashtag2"]},{"1332401936":["hashtag1","hashtag2"]},{"1332402448":["hashtag1","hashtag2"]},{"1332402570":["hashtag1","hashtag2"]},{"1332402307":["hashtag1","hashtag2"]},{"1332402168":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332402071, 1332401936, 1332402448, 1332402570, 1332402307, 1332402168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.89840078353882 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:41:32.728560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/44/image_28012025_14_44_25_9386.jpg', '/home/pi/Desktop/images/28012025/14/44/image_28012025_14_44_35_10414.jpg', '/home/pi/Desktop/images/28012025/14/44/image_28012025_14_44_44_9354.jpg', '/home/pi/Desktop/images/28012025/14/44/image_28012025_14_44_55_10341.jpg', '/home/pi/Desktop/images/28012025/14/44/image_28012025_14_45_05_10327.jpg', '/home/pi/Desktop/images/28012025/14/45/image_28012025_14_45_14_9411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/44/image_28012025_14_44_25_9386.jpg
/home/pi/Desktop/images/28012025/14/44/image_28012025_14_44_35_10414.jpg
/home/pi/Desktop/images/28012025/14/44/image_28012025_14_44_44_9354.jpg
/home/pi/Desktop/images/28012025/14/44/image_28012025_14_44_55_10341.jpg
/home/pi/Desktop/images/28012025/14/44/image_28012025_14_45_05_10327.jpg
/home/pi/Desktop/images/28012025/14/45/image_28012025_14_45_14_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":["1332402653","1332402655","1332402792","1332402888","1332402899","1332402680"],"photo_ids_order":["1332402653","1332402655","1332402680","1332402792","1332402888","1332402899"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/aec770aeed1e0414253a2e76867e33ff.jpg","text":"TemporaryFile(/tmp/multipartBody8401669613379191624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093353697,"filename":"image_28012025_14_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/1/28/2cd06a403859f1535389372719b14de8.jpg","text":"TemporaryFile(/tmp/multipartBody1024777427553840190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093353697,"filename":"image_28012025_14_44_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/1/28/ced03bf56ce37fd4775ae23aad9238c8.jpg","text":"TemporaryFile(/tmp/multipartBody1761700988890622214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093353697,"filename":"image_28012025_14_44_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/1/28/693e09e3eabb2574c4e83975d34a1347.jpg","text":"TemporaryFile(/tmp/multipartBody6357476923460526591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093353697,"filename":"image_28012025_14_45_05_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/475e1d17ed73e696471bbf1c7496853b.jpg","text":"TemporaryFile(/tmp/multipartBody3407795300650090060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093353697,"filename":"image_28012025_14_45_14_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5c717c3ad9039ddb05b62299c8a57080.jpg","text":"TemporaryFile(/tmp/multipartBody1991083914003454555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093353697,"filename":"image_28012025_14_44_44_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332402680","file1":"1332402655","file0":"1332402653","file4":"1332402888","file5":"1332402899","file3":"1332402792"},"map_files_photo_id_array":[{"photo_id":"1332402899","filename":"file5"},{"photo_id":"1332402680","filename":"file2"},{"photo_id":"1332402888","filename":"file4"},{"photo_id":"1332402655","filename":"file1"},{"photo_id":"1332402653","filename":"file0"},{"photo_id":"1332402792","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332402653":["hashtag1","hashtag2"]},{"1332402655":["hashtag1","hashtag2"]},{"1332402792":["hashtag1","hashtag2"]},{"1332402888":["hashtag1","hashtag2"]},{"1332402899":["hashtag1","hashtag2"]},{"1332402680":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332402653, 1332402655, 1332402792, 1332402888, 1332402899, 1332402680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.181671380996704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:42:33.030060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/45/image_28012025_14_45_25_10349.jpg', '/home/pi/Desktop/images/28012025/14/45/image_28012025_14_45_35_10435.jpg', '/home/pi/Desktop/images/28012025/14/45/image_28012025_14_45_45_9347.jpg', '/home/pi/Desktop/images/28012025/14/45/image_28012025_14_45_55_10363.jpg', '/home/pi/Desktop/images/28012025/14/46/image_28012025_14_46_15_10416.jpg', '/home/pi/Desktop/images/28012025/14/46/image_28012025_14_46_24_9466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/45/image_28012025_14_45_25_10349.jpg
/home/pi/Desktop/images/28012025/14/45/image_28012025_14_45_35_10435.jpg
/home/pi/Desktop/images/28012025/14/45/image_28012025_14_45_45_9347.jpg
/home/pi/Desktop/images/28012025/14/45/image_28012025_14_45_55_10363.jpg
/home/pi/Desktop/images/28012025/14/46/image_28012025_14_46_15_10416.jpg
/home/pi/Desktop/images/28012025/14/46/image_28012025_14_46_24_9466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332403081","1332403066","1332403069","1332403080","1332403082","1332403049"],"photo_ids_order":["1332403049","1332403066","1332403069","1332403080","1332403081","1332403082"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/57f8bdc2f2742d93f802f9ceae3eea52.jpg","text":"TemporaryFile(/tmp/multipartBody8919833324551698753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093414014,"filename":"image_28012025_14_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/1/28/e6c35f413fae4ef9f2a72a15462f8e53.jpg","text":"TemporaryFile(/tmp/multipartBody4131450987539553080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093414014,"filename":"image_28012025_14_45_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/1/28/ce23f5e1b2517616c1fb2615c226e1ec.jpg","text":"TemporaryFile(/tmp/multipartBody3683862991770252695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093414014,"filename":"image_28012025_14_45_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/1/28/2f5ea9f4dd2dfa61d0f2a82f03884fb4.jpg","text":"TemporaryFile(/tmp/multipartBody8350013285282209545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093414014,"filename":"image_28012025_14_45_55_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0244410d245d188ed405c63e2f92a11a.jpg","text":"TemporaryFile(/tmp/multipartBody7574194457402183805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093414014,"filename":"image_28012025_14_46_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/1/28/acd6d937a0ad80bd274f8935b20b6376.jpg","text":"TemporaryFile(/tmp/multipartBody7193283550327175797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093414014,"filename":"image_28012025_14_45_25_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332403069","file1":"1332403066","file0":"1332403049","file4":"1332403081","file5":"1332403082","file3":"1332403080"},"map_files_photo_id_array":[{"photo_id":"1332403082","filename":"file5"},{"photo_id":"1332403069","filename":"file2"},{"photo_id":"1332403081","filename":"file4"},{"photo_id":"1332403066","filename":"file1"},{"photo_id":"1332403049","filename":"file0"},{"photo_id":"1332403080","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332403081":["hashtag1","hashtag2"]},{"1332403066":["hashtag1","hashtag2"]},{"1332403069":["hashtag1","hashtag2"]},{"1332403080":["hashtag1","hashtag2"]},{"1332403082":["hashtag1","hashtag2"]},{"1332403049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332403081, 1332403066, 1332403069, 1332403080, 1332403082, 1332403049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.11803436279297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:43:32.209761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/46/image_28012025_14_46_35_10334.jpg', '/home/pi/Desktop/images/28012025/14/46/image_28012025_14_46_45_10413.jpg', '/home/pi/Desktop/images/28012025/14/46/image_28012025_14_46_54_9414.jpg', '/home/pi/Desktop/images/28012025/14/46/image_28012025_14_47_05_10337.jpg', '/home/pi/Desktop/images/28012025/14/47/image_28012025_14_47_15_10462.jpg', '/home/pi/Desktop/images/28012025/14/47/image_28012025_14_47_25_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/46/image_28012025_14_46_35_10334.jpg
/home/pi/Desktop/images/28012025/14/46/image_28012025_14_46_45_10413.jpg
/home/pi/Desktop/images/28012025/14/46/image_28012025_14_46_54_9414.jpg
/home/pi/Desktop/images/28012025/14/46/image_28012025_14_47_05_10337.jpg
/home/pi/Desktop/images/28012025/14/47/image_28012025_14_47_15_10462.jpg
/home/pi/Desktop/images/28012025/14/47/image_28012025_14_47_25_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":["1332403360","1332403357","1332403366","1332403368","1332403362","1332403364"],"photo_ids_order":["1332403357","1332403360","1332403362","1332403364","1332403366","1332403368"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cbb10d290b1d6744d3530b471c8038a6.jpg","text":"TemporaryFile(/tmp/multipartBody600741915167141764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093473188,"filename":"image_28012025_14_46_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/1/28/606d25167d4db949d3fb770e3f713d11.jpg","text":"TemporaryFile(/tmp/multipartBody5447421899381898670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093473188,"filename":"image_28012025_14_46_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/1/28/8515fce9a6d10a81c4c264727fa324ce.jpg","text":"TemporaryFile(/tmp/multipartBody4397074203794791981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093473188,"filename":"image_28012025_14_47_15_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4b512926b7641f5712ddd831c6480601.jpg","text":"TemporaryFile(/tmp/multipartBody2982052717804661829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093473188,"filename":"image_28012025_14_47_25_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f91d991407c42df0649ec8e37c6d4156.jpg","text":"TemporaryFile(/tmp/multipartBody5035367646088437370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093473188,"filename":"image_28012025_14_46_54_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/40a229e7112b59dd5ba35b57980cd87c.jpg","text":"TemporaryFile(/tmp/multipartBody7522036043179799914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093473188,"filename":"image_28012025_14_47_05_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332403362","file1":"1332403360","file0":"1332403357","file4":"1332403366","file5":"1332403368","file3":"1332403364"},"map_files_photo_id_array":[{"photo_id":"1332403368","filename":"file5"},{"photo_id":"1332403362","filename":"file2"},{"photo_id":"1332403366","filename":"file4"},{"photo_id":"1332403360","filename":"file1"},{"photo_id":"1332403357","filename":"file0"},{"photo_id":"1332403364","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332403360":["hashtag1","hashtag2"]},{"1332403357":["hashtag1","hashtag2"]},{"1332403366":["hashtag1","hashtag2"]},{"1332403368":["hashtag1","hashtag2"]},{"1332403362":["hashtag1","hashtag2"]},{"1332403364":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332403360, 1332403357, 1332403366, 1332403368, 1332403362, 1332403364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.14302897453308 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:44:32.416126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/47/image_28012025_14_47_44_9334.jpg', '/home/pi/Desktop/images/28012025/14/47/image_28012025_14_48_05_10344.jpg', '/home/pi/Desktop/images/28012025/14/48/image_28012025_14_48_14_9333.jpg', '/home/pi/Desktop/images/28012025/14/48/image_28012025_14_48_25_10337.jpg', '/home/pi/Desktop/images/28012025/14/48/image_28012025_14_48_45_9423.jpg', '/home/pi/Desktop/images/28012025/14/48/image_28012025_14_48_55_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/47/image_28012025_14_47_44_9334.jpg
/home/pi/Desktop/images/28012025/14/47/image_28012025_14_48_05_10344.jpg
/home/pi/Desktop/images/28012025/14/48/image_28012025_14_48_14_9333.jpg
/home/pi/Desktop/images/28012025/14/48/image_28012025_14_48_25_10337.jpg
/home/pi/Desktop/images/28012025/14/48/image_28012025_14_48_45_9423.jpg
/home/pi/Desktop/images/28012025/14/48/image_28012025_14_48_55_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332403471","1332403465","1332403411","1332403475","1332403460","1332403448"],"photo_ids_order":["1332403411","1332403448","1332403460","1332403465","1332403471","1332403475"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4d5b4b721d9bad1b609925caa839c6a4.jpg","text":"TemporaryFile(/tmp/multipartBody5544931475791160262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093533406,"filename":"image_28012025_14_48_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/1/28/ffd4e0b516d6fd80291683c9ae1e582b.jpg","text":"TemporaryFile(/tmp/multipartBody6189391535545535459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093533406,"filename":"image_28012025_14_48_25_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/eec4397083a188be01a85cae13be5cc6.jpg","text":"TemporaryFile(/tmp/multipartBody2601891058640322148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093533406,"filename":"image_28012025_14_47_44_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/79b502e704490da6140c8d811ebbac9a.jpg","text":"TemporaryFile(/tmp/multipartBody6781295371667221656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093533406,"filename":"image_28012025_14_48_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/1/28/70518e371886360a9844ee816d8551d6.jpg","text":"TemporaryFile(/tmp/multipartBody8027486216288877209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093533406,"filename":"image_28012025_14_48_14_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4e3a8ead3eb0428afa60d944997ef19c.jpg","text":"TemporaryFile(/tmp/multipartBody8268122103888402290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093533406,"filename":"image_28012025_14_48_05_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332403460","file1":"1332403448","file0":"1332403411","file4":"1332403471","file5":"1332403475","file3":"1332403465"},"map_files_photo_id_array":[{"photo_id":"1332403475","filename":"file5"},{"photo_id":"1332403460","filename":"file2"},{"photo_id":"1332403471","filename":"file4"},{"photo_id":"1332403448","filename":"file1"},{"photo_id":"1332403411","filename":"file0"},{"photo_id":"1332403465","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332403471":["hashtag1","hashtag2"]},{"1332403465":["hashtag1","hashtag2"]},{"1332403411":["hashtag1","hashtag2"]},{"1332403475":["hashtag1","hashtag2"]},{"1332403460":["hashtag1","hashtag2"]},{"1332403448":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332403471, 1332403465, 1332403411, 1332403475, 1332403460, 1332403448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.61962556838989 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:45:32.764462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/48/image_28012025_14_49_04_9407.jpg', '/home/pi/Desktop/images/28012025/14/49/image_28012025_14_49_15_10354.jpg', '/home/pi/Desktop/images/28012025/14/49/image_28012025_14_49_25_10348.jpg', '/home/pi/Desktop/images/28012025/14/49/image_28012025_14_49_34_9429.jpg', '/home/pi/Desktop/images/28012025/14/49/image_28012025_14_49_45_10351.jpg', '/home/pi/Desktop/images/28012025/14/49/image_28012025_14_49_54_9489.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/48/image_28012025_14_49_04_9407.jpg
/home/pi/Desktop/images/28012025/14/49/image_28012025_14_49_15_10354.jpg
/home/pi/Desktop/images/28012025/14/49/image_28012025_14_49_25_10348.jpg
/home/pi/Desktop/images/28012025/14/49/image_28012025_14_49_34_9429.jpg
/home/pi/Desktop/images/28012025/14/49/image_28012025_14_49_45_10351.jpg
/home/pi/Desktop/images/28012025/14/49/image_28012025_14_49_54_9489.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332403699","1332403693","1332403594","1332403509","1332403512","1332403506"],"photo_ids_order":["1332403506","1332403509","1332403512","1332403594","1332403693","1332403699"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/738f4e98888962d836632301e04d493f.jpg","text":"TemporaryFile(/tmp/multipartBody7054760892126850141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093593729,"filename":"image_28012025_14_49_54_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bc0f5d45d7186110f5fe60958e17e877.jpg","text":"TemporaryFile(/tmp/multipartBody4968679521069357601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093593729,"filename":"image_28012025_14_49_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/1/28/d677f170bca99129b87d288ea9b465e9.jpg","text":"TemporaryFile(/tmp/multipartBody7222747618692445178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093593729,"filename":"image_28012025_14_49_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/1/28/bfab42f3e3e95d74317345d554765c19.jpg","text":"TemporaryFile(/tmp/multipartBody7738458095008808958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093593729,"filename":"image_28012025_14_49_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/1/28/7f4cc60ba1068e682f2199e171d326a3.jpg","text":"TemporaryFile(/tmp/multipartBody461092468963201501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093593729,"filename":"image_28012025_14_49_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/1/28/cd8533858ccef4178a8d81b01ae2aa03.jpg","text":"TemporaryFile(/tmp/multipartBody5058378613751945948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093593729,"filename":"image_28012025_14_49_04_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332403512","file1":"1332403509","file0":"1332403506","file4":"1332403693","file5":"1332403699","file3":"1332403594"},"map_files_photo_id_array":[{"photo_id":"1332403699","filename":"file5"},{"photo_id":"1332403512","filename":"file2"},{"photo_id":"1332403693","filename":"file4"},{"photo_id":"1332403509","filename":"file1"},{"photo_id":"1332403506","filename":"file0"},{"photo_id":"1332403594","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332403699":["hashtag1","hashtag2"]},{"1332403693":["hashtag1","hashtag2"]},{"1332403594":["hashtag1","hashtag2"]},{"1332403509":["hashtag1","hashtag2"]},{"1332403512":["hashtag1","hashtag2"]},{"1332403506":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332403699, 1332403693, 1332403594, 1332403509, 1332403512, 1332403506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.52458167076111 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:46:32.897586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/49/image_28012025_14_50_05_10343.jpg', '/home/pi/Desktop/images/28012025/14/50/image_28012025_14_50_15_10352.jpg', '/home/pi/Desktop/images/28012025/14/50/image_28012025_14_50_24_9362.jpg', '/home/pi/Desktop/images/28012025/14/50/image_28012025_14_50_35_10342.jpg', '/home/pi/Desktop/images/28012025/14/50/image_28012025_14_50_45_10356.jpg', '/home/pi/Desktop/images/28012025/14/50/image_28012025_14_50_54_9437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/49/image_28012025_14_50_05_10343.jpg
/home/pi/Desktop/images/28012025/14/50/image_28012025_14_50_15_10352.jpg
/home/pi/Desktop/images/28012025/14/50/image_28012025_14_50_24_9362.jpg
/home/pi/Desktop/images/28012025/14/50/image_28012025_14_50_35_10342.jpg
/home/pi/Desktop/images/28012025/14/50/image_28012025_14_50_45_10356.jpg
/home/pi/Desktop/images/28012025/14/50/image_28012025_14_50_54_9437.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5826334953308105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 20:46:42.808716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/49/image_28012025_14_50_05_10343.jpg', '/home/pi/Desktop/images/28012025/14/50/image_28012025_14_50_15_10352.jpg', '/home/pi/Desktop/images/28012025/14/50/image_28012025_14_50_24_9362.jpg', '/home/pi/Desktop/images/28012025/14/50/image_28012025_14_50_35_10342.jpg', '/home/pi/Desktop/images/28012025/14/50/image_28012025_14_50_45_10356.jpg', '/home/pi/Desktop/images/28012025/14/50/image_28012025_14_50_54_9437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/49/image_28012025_14_50_05_10343.jpg
/home/pi/Desktop/images/28012025/14/50/image_28012025_14_50_15_10352.jpg
/home/pi/Desktop/images/28012025/14/50/image_28012025_14_50_24_9362.jpg
/home/pi/Desktop/images/28012025/14/50/image_28012025_14_50_35_10342.jpg
/home/pi/Desktop/images/28012025/14/50/image_28012025_14_50_45_10356.jpg
/home/pi/Desktop/images/28012025/14/50/image_28012025_14_50_54_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":["1332404023","1332404202","1332404027","1332404018","1332404095","1332404098"],"photo_ids_order":["1332404018","1332404023","1332404027","1332404095","1332404098","1332404202"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1a67248cabd306b3451435ee7bdb8fe4.jpg","text":"TemporaryFile(/tmp/multipartBody2878111641537450379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093663703,"filename":"image_28012025_14_50_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/1/28/bee405e2a0dc8745a2dd566d71f8034c.jpg","text":"TemporaryFile(/tmp/multipartBody2406906066760181764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093663703,"filename":"image_28012025_14_50_54_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/313bb0125f33ff20c5144b4d33382278.jpg","text":"TemporaryFile(/tmp/multipartBody9186218669764348313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093663703,"filename":"image_28012025_14_50_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/1/28/de003a64e289fd844c1050686884c5af.jpg","text":"TemporaryFile(/tmp/multipartBody909909972522593645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093663703,"filename":"image_28012025_14_50_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/1/28/a7dcafa1356ed113fa594e65c3ad8267.jpg","text":"TemporaryFile(/tmp/multipartBody8148646730806543087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093663703,"filename":"image_28012025_14_50_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/1/28/26c83d4e563baf4308cfca2aefe0a4f0.jpg","text":"TemporaryFile(/tmp/multipartBody3288313985617227307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093663703,"filename":"image_28012025_14_50_45_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332404027","file1":"1332404023","file0":"1332404018","file4":"1332404098","file5":"1332404202","file3":"1332404095"},"map_files_photo_id_array":[{"photo_id":"1332404202","filename":"file5"},{"photo_id":"1332404027","filename":"file2"},{"photo_id":"1332404098","filename":"file4"},{"photo_id":"1332404023","filename":"file1"},{"photo_id":"1332404018","filename":"file0"},{"photo_id":"1332404095","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332404023":["hashtag1","hashtag2"]},{"1332404202":["hashtag1","hashtag2"]},{"1332404027":["hashtag1","hashtag2"]},{"1332404018":["hashtag1","hashtag2"]},{"1332404095":["hashtag1","hashtag2"]},{"1332404098":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332404023, 1332404202, 1332404027, 1332404018, 1332404095, 1332404098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.629371881484985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:47:32.145413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/50/image_28012025_14_51_05_10408.jpg', '/home/pi/Desktop/images/28012025/14/51/image_28012025_14_51_14_9383.jpg', '/home/pi/Desktop/images/28012025/14/51/image_28012025_14_51_25_10363.jpg', '/home/pi/Desktop/images/28012025/14/51/image_28012025_14_51_35_10338.jpg', '/home/pi/Desktop/images/28012025/14/51/image_28012025_14_51_44_9462.jpg', '/home/pi/Desktop/images/28012025/14/51/image_28012025_14_51_55_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/50/image_28012025_14_51_05_10408.jpg
/home/pi/Desktop/images/28012025/14/51/image_28012025_14_51_14_9383.jpg
/home/pi/Desktop/images/28012025/14/51/image_28012025_14_51_25_10363.jpg
/home/pi/Desktop/images/28012025/14/51/image_28012025_14_51_35_10338.jpg
/home/pi/Desktop/images/28012025/14/51/image_28012025_14_51_44_9462.jpg
/home/pi/Desktop/images/28012025/14/51/image_28012025_14_51_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":["1332404277","1332404286","1332404288","1332404273","1332404282","1332404284"],"photo_ids_order":["1332404273","1332404277","1332404282","1332404284","1332404286","1332404288"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d49514a323f197e4ed18ef94ef882f6d.jpg","text":"TemporaryFile(/tmp/multipartBody2697773995094758445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093713112,"filename":"image_28012025_14_51_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/1/28/637dcb1d1bd4bca7d992d8b332f3812a.jpg","text":"TemporaryFile(/tmp/multipartBody3822141426199722877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093713112,"filename":"image_28012025_14_51_44_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/37f008b08b1c267abc71b7086726438b.jpg","text":"TemporaryFile(/tmp/multipartBody1426705129803002265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093713112,"filename":"image_28012025_14_51_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/1/28/dccc93f4cabc7e4b2c6312001c873231.jpg","text":"TemporaryFile(/tmp/multipartBody1661721524653825068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093713112,"filename":"image_28012025_14_51_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/1/28/4c0d6fdc801d0ccdf7251a1fbf72268c.jpg","text":"TemporaryFile(/tmp/multipartBody9201937336836918433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093713112,"filename":"image_28012025_14_51_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/1/28/419b36dfc774644bbf3ff3e912e2dead.jpg","text":"TemporaryFile(/tmp/multipartBody6979068890354339961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093713112,"filename":"image_28012025_14_51_35_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332404282","file1":"1332404277","file0":"1332404273","file4":"1332404286","file5":"1332404288","file3":"1332404284"},"map_files_photo_id_array":[{"photo_id":"1332404288","filename":"file5"},{"photo_id":"1332404282","filename":"file2"},{"photo_id":"1332404286","filename":"file4"},{"photo_id":"1332404277","filename":"file1"},{"photo_id":"1332404273","filename":"file0"},{"photo_id":"1332404284","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332404277":["hashtag1","hashtag2"]},{"1332404286":["hashtag1","hashtag2"]},{"1332404288":["hashtag1","hashtag2"]},{"1332404273":["hashtag1","hashtag2"]},{"1332404282":["hashtag1","hashtag2"]},{"1332404284":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332404277, 1332404286, 1332404288, 1332404273, 1332404282, 1332404284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.318811893463135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:48:32.468608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/51/image_28012025_14_52_04_9471.jpg', '/home/pi/Desktop/images/28012025/14/52/image_28012025_14_52_15_10438.jpg', '/home/pi/Desktop/images/28012025/14/52/image_28012025_14_52_25_10380.jpg', '/home/pi/Desktop/images/28012025/14/52/image_28012025_14_52_34_9420.jpg', '/home/pi/Desktop/images/28012025/14/52/image_28012025_14_52_45_10357.jpg', '/home/pi/Desktop/images/28012025/14/52/image_28012025_14_52_54_9451.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/51/image_28012025_14_52_04_9471.jpg
/home/pi/Desktop/images/28012025/14/52/image_28012025_14_52_15_10438.jpg
/home/pi/Desktop/images/28012025/14/52/image_28012025_14_52_25_10380.jpg
/home/pi/Desktop/images/28012025/14/52/image_28012025_14_52_34_9420.jpg
/home/pi/Desktop/images/28012025/14/52/image_28012025_14_52_45_10357.jpg
/home/pi/Desktop/images/28012025/14/52/image_28012025_14_52_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":["1332404323","1332404358","1332404355","1332404313","1332404319","1332404360"],"photo_ids_order":["1332404313","1332404319","1332404323","1332404355","1332404358","1332404360"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ee691767b5211455fbdc5ac612406a5b.jpg","text":"TemporaryFile(/tmp/multipartBody4238405281285770368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093773431,"filename":"image_28012025_14_52_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/1/28/bbcec701354d8f3a0f0936b05e72840a.jpg","text":"TemporaryFile(/tmp/multipartBody1425288948764666820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093773431,"filename":"image_28012025_14_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/1/28/e804da6515bff0b4a5675a39981e1572.jpg","text":"TemporaryFile(/tmp/multipartBody4229932057202061760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093773431,"filename":"image_28012025_14_52_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/1/28/29b32bb6972d0bf27629da6b9f5fbe68.jpg","text":"TemporaryFile(/tmp/multipartBody1534992623371985948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093773431,"filename":"image_28012025_14_52_04_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/32fa48ea401415e03e5a05d48b764c65.jpg","text":"TemporaryFile(/tmp/multipartBody7359676247366208979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093773431,"filename":"image_28012025_14_52_15_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/357b32edcca7781232b60cb297b68d79.jpg","text":"TemporaryFile(/tmp/multipartBody669391910640389708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093773431,"filename":"image_28012025_14_52_54_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332404323","file1":"1332404319","file0":"1332404313","file4":"1332404358","file5":"1332404360","file3":"1332404355"},"map_files_photo_id_array":[{"photo_id":"1332404360","filename":"file5"},{"photo_id":"1332404323","filename":"file2"},{"photo_id":"1332404358","filename":"file4"},{"photo_id":"1332404319","filename":"file1"},{"photo_id":"1332404313","filename":"file0"},{"photo_id":"1332404355","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332404323":["hashtag1","hashtag2"]},{"1332404358":["hashtag1","hashtag2"]},{"1332404355":["hashtag1","hashtag2"]},{"1332404313":["hashtag1","hashtag2"]},{"1332404319":["hashtag1","hashtag2"]},{"1332404360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332404323, 1332404358, 1332404355, 1332404313, 1332404319, 1332404360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.46362042427063 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:49:32.574913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/52/image_28012025_14_53_05_10342.jpg', '/home/pi/Desktop/images/28012025/14/53/image_28012025_14_53_15_10327.jpg', '/home/pi/Desktop/images/28012025/14/53/image_28012025_14_53_24_9399.jpg', '/home/pi/Desktop/images/28012025/14/53/image_28012025_14_53_35_10349.jpg', '/home/pi/Desktop/images/28012025/14/53/image_28012025_14_53_45_10345.jpg', '/home/pi/Desktop/images/28012025/14/53/image_28012025_14_53_54_9414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/52/image_28012025_14_53_05_10342.jpg
/home/pi/Desktop/images/28012025/14/53/image_28012025_14_53_15_10327.jpg
/home/pi/Desktop/images/28012025/14/53/image_28012025_14_53_24_9399.jpg
/home/pi/Desktop/images/28012025/14/53/image_28012025_14_53_35_10349.jpg
/home/pi/Desktop/images/28012025/14/53/image_28012025_14_53_45_10345.jpg
/home/pi/Desktop/images/28012025/14/53/image_28012025_14_53_54_9414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332404419","1332404396","1332404381","1332404369","1332404402","1332404374"],"photo_ids_order":["1332404369","1332404374","1332404381","1332404396","1332404402","1332404419"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b2ce4214865342b728a581cec0835cb2.jpg","text":"TemporaryFile(/tmp/multipartBody1172505934462950154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093833526,"filename":"image_28012025_14_53_54_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8da94843c60da7699678d21a3368b1b0.jpg","text":"TemporaryFile(/tmp/multipartBody887549160306993315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093833526,"filename":"image_28012025_14_53_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/1/28/8cd2579c550e000bc405023fc3c05ad3.jpg","text":"TemporaryFile(/tmp/multipartBody4378687901702049803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093833526,"filename":"image_28012025_14_53_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/1/28/62817420e24be752590317ffdc9418ab.jpg","text":"TemporaryFile(/tmp/multipartBody7196423688464598719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093833526,"filename":"image_28012025_14_53_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/1/28/d2eb8f1b264cc3e4926c5bdb93aaee54.jpg","text":"TemporaryFile(/tmp/multipartBody7325205998297310387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093833526,"filename":"image_28012025_14_53_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/1/28/50a9b3eac257e98d8cbd741a103b9c61.jpg","text":"TemporaryFile(/tmp/multipartBody6819403413002641243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093833526,"filename":"image_28012025_14_53_15_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332404381","file1":"1332404374","file0":"1332404369","file4":"1332404402","file5":"1332404419","file3":"1332404396"},"map_files_photo_id_array":[{"photo_id":"1332404419","filename":"file5"},{"photo_id":"1332404381","filename":"file2"},{"photo_id":"1332404402","filename":"file4"},{"photo_id":"1332404374","filename":"file1"},{"photo_id":"1332404369","filename":"file0"},{"photo_id":"1332404396","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332404419":["hashtag1","hashtag2"]},{"1332404396":["hashtag1","hashtag2"]},{"1332404381":["hashtag1","hashtag2"]},{"1332404369":["hashtag1","hashtag2"]},{"1332404402":["hashtag1","hashtag2"]},{"1332404374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332404419, 1332404396, 1332404381, 1332404369, 1332404402, 1332404374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.626537799835205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:50:32.953127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/53/image_28012025_14_54_05_10339.jpg', '/home/pi/Desktop/images/28012025/14/54/image_28012025_14_54_14_9494.jpg', '/home/pi/Desktop/images/28012025/14/54/image_28012025_14_54_25_10349.jpg', '/home/pi/Desktop/images/28012025/14/54/image_28012025_14_54_35_10349.jpg', '/home/pi/Desktop/images/28012025/14/54/image_28012025_14_54_44_9391.jpg', '/home/pi/Desktop/images/28012025/14/54/image_28012025_14_54_55_10329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/53/image_28012025_14_54_05_10339.jpg
/home/pi/Desktop/images/28012025/14/54/image_28012025_14_54_14_9494.jpg
/home/pi/Desktop/images/28012025/14/54/image_28012025_14_54_25_10349.jpg
/home/pi/Desktop/images/28012025/14/54/image_28012025_14_54_35_10349.jpg
/home/pi/Desktop/images/28012025/14/54/image_28012025_14_54_44_9391.jpg
/home/pi/Desktop/images/28012025/14/54/image_28012025_14_54_55_10329.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5624122619628906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 20:50:43.003714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/53/image_28012025_14_54_05_10339.jpg', '/home/pi/Desktop/images/28012025/14/54/image_28012025_14_54_14_9494.jpg', '/home/pi/Desktop/images/28012025/14/54/image_28012025_14_54_25_10349.jpg', '/home/pi/Desktop/images/28012025/14/54/image_28012025_14_54_35_10349.jpg', '/home/pi/Desktop/images/28012025/14/54/image_28012025_14_54_44_9391.jpg', '/home/pi/Desktop/images/28012025/14/54/image_28012025_14_54_55_10329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/53/image_28012025_14_54_05_10339.jpg
/home/pi/Desktop/images/28012025/14/54/image_28012025_14_54_14_9494.jpg
/home/pi/Desktop/images/28012025/14/54/image_28012025_14_54_25_10349.jpg
/home/pi/Desktop/images/28012025/14/54/image_28012025_14_54_35_10349.jpg
/home/pi/Desktop/images/28012025/14/54/image_28012025_14_54_44_9391.jpg
/home/pi/Desktop/images/28012025/14/54/image_28012025_14_54_55_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332404550","1332404535","1332404555","1332404540","1332404558","1332404545"],"photo_ids_order":["1332404535","1332404540","1332404545","1332404550","1332404555","1332404558"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a32c7b48411f0dfc9cf29cc5e5328cf2.jpg","text":"TemporaryFile(/tmp/multipartBody8333881412177973276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093903893,"filename":"image_28012025_14_54_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/1/28/75e9f74cd25d787fcfc09e885091fa05.jpg","text":"TemporaryFile(/tmp/multipartBody357168257524046542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093903893,"filename":"image_28012025_14_54_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/1/28/17454f6310de98023aca87540d6dade5.jpg","text":"TemporaryFile(/tmp/multipartBody2315897857255427274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093903893,"filename":"image_28012025_14_54_44_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/70864e1989eef7514dfffe30f6eaf8c1.jpg","text":"TemporaryFile(/tmp/multipartBody6135165699556158875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093903893,"filename":"image_28012025_14_54_14_9494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e606bd56802e908ffde2620e3a84df3f.jpg","text":"TemporaryFile(/tmp/multipartBody2276708064420160354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093903893,"filename":"image_28012025_14_54_55_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e9b7af0eeae2798da235d4419176fb1b.jpg","text":"TemporaryFile(/tmp/multipartBody1969845146866424441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093903893,"filename":"image_28012025_14_54_25_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332404545","file1":"1332404540","file0":"1332404535","file4":"1332404555","file5":"1332404558","file3":"1332404550"},"map_files_photo_id_array":[{"photo_id":"1332404558","filename":"file5"},{"photo_id":"1332404545","filename":"file2"},{"photo_id":"1332404555","filename":"file4"},{"photo_id":"1332404540","filename":"file1"},{"photo_id":"1332404535","filename":"file0"},{"photo_id":"1332404550","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332404550":["hashtag1","hashtag2"]},{"1332404535":["hashtag1","hashtag2"]},{"1332404555":["hashtag1","hashtag2"]},{"1332404540":["hashtag1","hashtag2"]},{"1332404558":["hashtag1","hashtag2"]},{"1332404545":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332404550, 1332404535, 1332404555, 1332404540, 1332404558, 1332404545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.80937671661377 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:51:32.267698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/54/image_28012025_14_55_05_10338.jpg', '/home/pi/Desktop/images/28012025/14/55/image_28012025_14_55_14_9319.jpg', '/home/pi/Desktop/images/28012025/14/55/image_28012025_14_55_25_10349.jpg', '/home/pi/Desktop/images/28012025/14/55/image_28012025_14_55_35_10327.jpg', '/home/pi/Desktop/images/28012025/14/55/image_28012025_14_55_44_9415.jpg', '/home/pi/Desktop/images/28012025/14/55/image_28012025_14_55_55_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/54/image_28012025_14_55_05_10338.jpg
/home/pi/Desktop/images/28012025/14/55/image_28012025_14_55_14_9319.jpg
/home/pi/Desktop/images/28012025/14/55/image_28012025_14_55_25_10349.jpg
/home/pi/Desktop/images/28012025/14/55/image_28012025_14_55_35_10327.jpg
/home/pi/Desktop/images/28012025/14/55/image_28012025_14_55_44_9415.jpg
/home/pi/Desktop/images/28012025/14/55/image_28012025_14_55_55_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":["1332404583","1332404571","1332404585","1332404581","1332404575","1332404578"],"photo_ids_order":["1332404571","1332404575","1332404578","1332404581","1332404583","1332404585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cf044b807d9bde85b5e3944aa1a1d100.jpg","text":"TemporaryFile(/tmp/multipartBody5605589101656002082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093953232,"filename":"image_28012025_14_55_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/1/28/fc6ffc76009a99b859cd2fbf82d2d136.jpg","text":"TemporaryFile(/tmp/multipartBody695680635511173169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093953232,"filename":"image_28012025_14_55_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/1/28/50169419049934aa0a8194372035c5f3.jpg","text":"TemporaryFile(/tmp/multipartBody5420028735168363673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093953232,"filename":"image_28012025_14_55_55_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e839e62fc7a3e2837649f4becd9789da.jpg","text":"TemporaryFile(/tmp/multipartBody4679550527451531699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093953232,"filename":"image_28012025_14_55_35_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e68bee22c9be22a860d7ca2eecd92502.jpg","text":"TemporaryFile(/tmp/multipartBody5507014545762906865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093953232,"filename":"image_28012025_14_55_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/1/28/94771e6330bfa7c22cfe9d0079aca712.jpg","text":"TemporaryFile(/tmp/multipartBody9016906163500287670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738093953232,"filename":"image_28012025_14_55_25_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332404578","file1":"1332404575","file0":"1332404571","file4":"1332404583","file5":"1332404585","file3":"1332404581"},"map_files_photo_id_array":[{"photo_id":"1332404585","filename":"file5"},{"photo_id":"1332404578","filename":"file2"},{"photo_id":"1332404583","filename":"file4"},{"photo_id":"1332404575","filename":"file1"},{"photo_id":"1332404571","filename":"file0"},{"photo_id":"1332404581","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332404583":["hashtag1","hashtag2"]},{"1332404571":["hashtag1","hashtag2"]},{"1332404585":["hashtag1","hashtag2"]},{"1332404581":["hashtag1","hashtag2"]},{"1332404575":["hashtag1","hashtag2"]},{"1332404578":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332404583, 1332404571, 1332404585, 1332404581, 1332404575, 1332404578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5403265953064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:52:32.602997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/55/image_28012025_14_56_04_9449.jpg', '/home/pi/Desktop/images/28012025/14/56/image_28012025_14_56_15_10348.jpg', '/home/pi/Desktop/images/28012025/14/56/image_28012025_14_56_25_10333.jpg', '/home/pi/Desktop/images/28012025/14/56/image_28012025_14_56_34_9321.jpg', '/home/pi/Desktop/images/28012025/14/56/image_28012025_14_56_45_10353.jpg', '/home/pi/Desktop/images/28012025/14/56/image_28012025_14_56_55_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/55/image_28012025_14_56_04_9449.jpg
/home/pi/Desktop/images/28012025/14/56/image_28012025_14_56_15_10348.jpg
/home/pi/Desktop/images/28012025/14/56/image_28012025_14_56_25_10333.jpg
/home/pi/Desktop/images/28012025/14/56/image_28012025_14_56_34_9321.jpg
/home/pi/Desktop/images/28012025/14/56/image_28012025_14_56_45_10353.jpg
/home/pi/Desktop/images/28012025/14/56/image_28012025_14_56_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":["1332404608","1332404602","1332404605","1332404610","1332404596","1332404599"],"photo_ids_order":["1332404596","1332404599","1332404602","1332404605","1332404608","1332404610"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a4e91d3076bd154d8c3a6cba4c243648.jpg","text":"TemporaryFile(/tmp/multipartBody4099306698777749767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094013563,"filename":"image_28012025_14_56_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/1/28/9997e0ee4449950f179ac6e0b8e2db84.jpg","text":"TemporaryFile(/tmp/multipartBody6180455237021544351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094013563,"filename":"image_28012025_14_56_25_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1ce8177d952785cb72560b3d9ea8a1ae.jpg","text":"TemporaryFile(/tmp/multipartBody8915282825383138924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094013563,"filename":"image_28012025_14_56_34_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f7b528ea130502475878e8aed497ed88.jpg","text":"TemporaryFile(/tmp/multipartBody639973722769620963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094013563,"filename":"image_28012025_14_56_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/1/28/a930e080a92cd2469c0cb4cf8b26f080.jpg","text":"TemporaryFile(/tmp/multipartBody2091908052654429571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094013563,"filename":"image_28012025_14_56_04_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b525c1dcd208cd5f8f55b5f26fafb799.jpg","text":"TemporaryFile(/tmp/multipartBody8990081319977326893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094013563,"filename":"image_28012025_14_56_15_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332404602","file1":"1332404599","file0":"1332404596","file4":"1332404608","file5":"1332404610","file3":"1332404605"},"map_files_photo_id_array":[{"photo_id":"1332404610","filename":"file5"},{"photo_id":"1332404602","filename":"file2"},{"photo_id":"1332404608","filename":"file4"},{"photo_id":"1332404599","filename":"file1"},{"photo_id":"1332404596","filename":"file0"},{"photo_id":"1332404605","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332404608":["hashtag1","hashtag2"]},{"1332404602":["hashtag1","hashtag2"]},{"1332404605":["hashtag1","hashtag2"]},{"1332404610":["hashtag1","hashtag2"]},{"1332404596":["hashtag1","hashtag2"]},{"1332404599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332404608, 1332404602, 1332404605, 1332404610, 1332404596, 1332404599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.49545240402222 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:53:32.922428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/56/image_28012025_14_57_04_9329.jpg', '/home/pi/Desktop/images/28012025/14/57/image_28012025_14_57_15_10323.jpg', '/home/pi/Desktop/images/28012025/14/57/image_28012025_14_57_25_10334.jpg', '/home/pi/Desktop/images/28012025/14/57/image_28012025_14_57_34_9425.jpg', '/home/pi/Desktop/images/28012025/14/57/image_28012025_14_57_45_10356.jpg', '/home/pi/Desktop/images/28012025/14/57/image_28012025_14_57_55_10402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/56/image_28012025_14_57_04_9329.jpg
/home/pi/Desktop/images/28012025/14/57/image_28012025_14_57_15_10323.jpg
/home/pi/Desktop/images/28012025/14/57/image_28012025_14_57_25_10334.jpg
/home/pi/Desktop/images/28012025/14/57/image_28012025_14_57_34_9425.jpg
/home/pi/Desktop/images/28012025/14/57/image_28012025_14_57_45_10356.jpg
/home/pi/Desktop/images/28012025/14/57/image_28012025_14_57_55_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332404704","1332404792","1332404633","1332404630","1332404788","1332404627"],"photo_ids_order":["1332404627","1332404630","1332404633","1332404704","1332404788","1332404792"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7e2dfc0b3d641f4520416088c7a3fa0b.jpg","text":"TemporaryFile(/tmp/multipartBody4544428834461661886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094073921,"filename":"image_28012025_14_57_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/1/28/043a1d937f6c14910f37d0ca1a01af2a.jpg","text":"TemporaryFile(/tmp/multipartBody5630380844093975154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094073921,"filename":"image_28012025_14_57_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/1/28/38a2bb0a7fe4e90e18bb82f54e343ff9.jpg","text":"TemporaryFile(/tmp/multipartBody3966275446105502821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094073921,"filename":"image_28012025_14_57_25_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/60cc21c8c3993ab29d9900a81893aafc.jpg","text":"TemporaryFile(/tmp/multipartBody4165327187930197744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094073921,"filename":"image_28012025_14_57_15_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ed811db65a3dbe17ca503783304b1fb5.jpg","text":"TemporaryFile(/tmp/multipartBody7503590897362882121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094073921,"filename":"image_28012025_14_57_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/1/28/bfc458f6e20f6bf48c1d80688b8e14a4.jpg","text":"TemporaryFile(/tmp/multipartBody1910923077064882084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094073921,"filename":"image_28012025_14_57_04_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332404633","file1":"1332404630","file0":"1332404627","file4":"1332404788","file5":"1332404792","file3":"1332404704"},"map_files_photo_id_array":[{"photo_id":"1332404792","filename":"file5"},{"photo_id":"1332404633","filename":"file2"},{"photo_id":"1332404788","filename":"file4"},{"photo_id":"1332404630","filename":"file1"},{"photo_id":"1332404627","filename":"file0"},{"photo_id":"1332404704","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332404704":["hashtag1","hashtag2"]},{"1332404792":["hashtag1","hashtag2"]},{"1332404633":["hashtag1","hashtag2"]},{"1332404630":["hashtag1","hashtag2"]},{"1332404788":["hashtag1","hashtag2"]},{"1332404627":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332404704, 1332404792, 1332404633, 1332404630, 1332404788, 1332404627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.0665180683136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:54:33.147233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/57/image_28012025_14_58_05_9313.jpg', '/home/pi/Desktop/images/28012025/14/58/image_28012025_14_58_24_9407.jpg', '/home/pi/Desktop/images/28012025/14/58/image_28012025_14_58_35_10340.jpg', '/home/pi/Desktop/images/28012025/14/58/image_28012025_14_58_45_10340.jpg', '/home/pi/Desktop/images/28012025/14/58/image_28012025_14_58_54_9335.jpg', '/home/pi/Desktop/images/28012025/14/58/image_28012025_14_59_05_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/57/image_28012025_14_58_05_9313.jpg
/home/pi/Desktop/images/28012025/14/58/image_28012025_14_58_24_9407.jpg
/home/pi/Desktop/images/28012025/14/58/image_28012025_14_58_35_10340.jpg
/home/pi/Desktop/images/28012025/14/58/image_28012025_14_58_45_10340.jpg
/home/pi/Desktop/images/28012025/14/58/image_28012025_14_58_54_9335.jpg
/home/pi/Desktop/images/28012025/14/58/image_28012025_14_59_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5760729312896729 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 20:54:43.117357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/57/image_28012025_14_58_05_9313.jpg', '/home/pi/Desktop/images/28012025/14/58/image_28012025_14_58_24_9407.jpg', '/home/pi/Desktop/images/28012025/14/58/image_28012025_14_58_35_10340.jpg', '/home/pi/Desktop/images/28012025/14/58/image_28012025_14_58_45_10340.jpg', '/home/pi/Desktop/images/28012025/14/58/image_28012025_14_58_54_9335.jpg', '/home/pi/Desktop/images/28012025/14/58/image_28012025_14_59_05_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/57/image_28012025_14_58_05_9313.jpg
/home/pi/Desktop/images/28012025/14/58/image_28012025_14_58_24_9407.jpg
/home/pi/Desktop/images/28012025/14/58/image_28012025_14_58_35_10340.jpg
/home/pi/Desktop/images/28012025/14/58/image_28012025_14_58_45_10340.jpg
/home/pi/Desktop/images/28012025/14/58/image_28012025_14_58_54_9335.jpg
/home/pi/Desktop/images/28012025/14/58/image_28012025_14_59_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":["1332404902","1332404946","1332404943","1332404916","1332404894","1332404896"],"photo_ids_order":["1332404894","1332404896","1332404902","1332404916","1332404943","1332404946"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4fbb5d2113de8a4abb94abaa42d80f9e.jpg","text":"TemporaryFile(/tmp/multipartBody6049210730248596819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094143998,"filename":"image_28012025_14_58_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/1/28/f3cca9adb6135ae9b15550915370980f.jpg","text":"TemporaryFile(/tmp/multipartBody7234359735103027535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094143998,"filename":"image_28012025_14_59_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/1/28/ed35078d254b9b760c0df1315748346c.jpg","text":"TemporaryFile(/tmp/multipartBody1497394809636710733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094143998,"filename":"image_28012025_14_58_54_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b3f19344ab234574284930a69dc86779.jpg","text":"TemporaryFile(/tmp/multipartBody7589204649545873907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094143998,"filename":"image_28012025_14_58_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/1/28/99017011c786582f9d2fbe4acc75b4d4.jpg","text":"TemporaryFile(/tmp/multipartBody2367002167044970426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094143998,"filename":"image_28012025_14_58_05_9313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/995eacb5d0941cc01f294452a447f0be.jpg","text":"TemporaryFile(/tmp/multipartBody7456271738995426604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094143998,"filename":"image_28012025_14_58_24_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332404902","file1":"1332404896","file0":"1332404894","file4":"1332404943","file5":"1332404946","file3":"1332404916"},"map_files_photo_id_array":[{"photo_id":"1332404946","filename":"file5"},{"photo_id":"1332404902","filename":"file2"},{"photo_id":"1332404943","filename":"file4"},{"photo_id":"1332404896","filename":"file1"},{"photo_id":"1332404894","filename":"file0"},{"photo_id":"1332404916","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332404902":["hashtag1","hashtag2"]},{"1332404946":["hashtag1","hashtag2"]},{"1332404943":["hashtag1","hashtag2"]},{"1332404916":["hashtag1","hashtag2"]},{"1332404894":["hashtag1","hashtag2"]},{"1332404896":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332404902, 1332404946, 1332404943, 1332404916, 1332404894, 1332404896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.74904465675354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:55:32.453078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/14/59/image_28012025_14_59_15_10444.jpg', '/home/pi/Desktop/images/28012025/14/59/image_28012025_14_59_24_9432.jpg', '/home/pi/Desktop/images/28012025/14/59/image_28012025_14_59_35_10435.jpg', '/home/pi/Desktop/images/28012025/14/59/image_28012025_14_59_44_9469.jpg', '/home/pi/Desktop/images/28012025/14/59/image_28012025_14_59_55_10372.jpg', '/home/pi/Desktop/images/28012025/15/00/image_28012025_15_00_16_10074.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/14/59/image_28012025_14_59_15_10444.jpg
/home/pi/Desktop/images/28012025/14/59/image_28012025_14_59_24_9432.jpg
/home/pi/Desktop/images/28012025/14/59/image_28012025_14_59_35_10435.jpg
/home/pi/Desktop/images/28012025/14/59/image_28012025_14_59_44_9469.jpg
/home/pi/Desktop/images/28012025/14/59/image_28012025_14_59_55_10372.jpg
/home/pi/Desktop/images/28012025/15/00/image_28012025_15_00_16_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":["1332404950","1332404964","1332404961","1332404992","1332404953","1332404956"],"photo_ids_order":["1332404950","1332404953","1332404956","1332404961","1332404964","1332404992"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e0914d1403e4b5e3644e2bed527dad88.jpg","text":"TemporaryFile(/tmp/multipartBody6114793780507031920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094193396,"filename":"image_28012025_14_59_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/1/28/f8121bf0fb33612dc0de37358618836b.jpg","text":"TemporaryFile(/tmp/multipartBody2333017140000234560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094193396,"filename":"image_28012025_14_59_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/1/28/c5aef40747b83d9ff1a4d946d795a53f.jpg","text":"TemporaryFile(/tmp/multipartBody7739634307687768582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094193396,"filename":"image_28012025_14_59_44_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/668078c3a156b6d9962969d117098378.jpg","text":"TemporaryFile(/tmp/multipartBody7603525627788751011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094193396,"filename":"image_28012025_15_00_16_10074.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1a61eaf1772d29b0f109b6414787bc31.jpg","text":"TemporaryFile(/tmp/multipartBody6420647245507095868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094193396,"filename":"image_28012025_14_59_24_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/664b5777ff0d0ac034ebd2fc3be481b8.jpg","text":"TemporaryFile(/tmp/multipartBody5610649416118973755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094193396,"filename":"image_28012025_14_59_35_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332404956","file1":"1332404953","file0":"1332404950","file4":"1332404964","file5":"1332404992","file3":"1332404961"},"map_files_photo_id_array":[{"photo_id":"1332404992","filename":"file5"},{"photo_id":"1332404956","filename":"file2"},{"photo_id":"1332404964","filename":"file4"},{"photo_id":"1332404953","filename":"file1"},{"photo_id":"1332404950","filename":"file0"},{"photo_id":"1332404961","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332404950":["hashtag1","hashtag2"]},{"1332404964":["hashtag1","hashtag2"]},{"1332404961":["hashtag1","hashtag2"]},{"1332404992":["hashtag1","hashtag2"]},{"1332404953":["hashtag1","hashtag2"]},{"1332404956":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332404950, 1332404964, 1332404961, 1332404992, 1332404953, 1332404956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75918531417847 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:56:32.802452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/00/image_28012025_15_00_27_10446.jpg', '/home/pi/Desktop/images/28012025/15/00/image_28012025_15_00_37_10336.jpg', '/home/pi/Desktop/images/28012025/15/00/image_28012025_15_00_46_9345.jpg', '/home/pi/Desktop/images/28012025/15/00/image_28012025_15_00_57_10339.jpg', '/home/pi/Desktop/images/28012025/15/00/image_28012025_15_01_07_10319.jpg', '/home/pi/Desktop/images/28012025/15/01/image_28012025_15_01_27_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/00/image_28012025_15_00_27_10446.jpg
/home/pi/Desktop/images/28012025/15/00/image_28012025_15_00_37_10336.jpg
/home/pi/Desktop/images/28012025/15/00/image_28012025_15_00_46_9345.jpg
/home/pi/Desktop/images/28012025/15/00/image_28012025_15_00_57_10339.jpg
/home/pi/Desktop/images/28012025/15/00/image_28012025_15_01_07_10319.jpg
/home/pi/Desktop/images/28012025/15/01/image_28012025_15_01_27_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":["1332405075","1332405066","1332405068","1332405070","1332405073","1332405076"],"photo_ids_order":["1332405066","1332405068","1332405070","1332405073","1332405075","1332405076"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/47257a91ab8dd97011b8c032421b24ea.jpg","text":"TemporaryFile(/tmp/multipartBody142932731048001711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094253754,"filename":"image_28012025_15_01_07_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5fecdd5ac99a1fa559c969983f6d3b60.jpg","text":"TemporaryFile(/tmp/multipartBody1705429212624316008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094253754,"filename":"image_28012025_15_00_27_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/60a7836fe1bf3a94ce59e10bed7d4c0e.jpg","text":"TemporaryFile(/tmp/multipartBody3878695025169514158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094253754,"filename":"image_28012025_15_00_37_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a4acb3a294765c95aa6113d7618f5797.jpg","text":"TemporaryFile(/tmp/multipartBody454003353345283521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094253754,"filename":"image_28012025_15_00_46_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/739d1af9fe9c7c7404b656a19a30e05e.jpg","text":"TemporaryFile(/tmp/multipartBody4373859219709710179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094253754,"filename":"image_28012025_15_00_57_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2f5ccb13f4805550140394672624ce8a.jpg","text":"TemporaryFile(/tmp/multipartBody1962857539024343608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094253754,"filename":"image_28012025_15_01_27_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332405070","file1":"1332405068","file0":"1332405066","file4":"1332405075","file5":"1332405076","file3":"1332405073"},"map_files_photo_id_array":[{"photo_id":"1332405076","filename":"file5"},{"photo_id":"1332405070","filename":"file2"},{"photo_id":"1332405075","filename":"file4"},{"photo_id":"1332405068","filename":"file1"},{"photo_id":"1332405066","filename":"file0"},{"photo_id":"1332405073","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332405075":["hashtag1","hashtag2"]},{"1332405066":["hashtag1","hashtag2"]},{"1332405068":["hashtag1","hashtag2"]},{"1332405070":["hashtag1","hashtag2"]},{"1332405073":["hashtag1","hashtag2"]},{"1332405076":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332405075, 1332405066, 1332405068, 1332405070, 1332405073, 1332405076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.21751403808594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:57:33.079854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/01/image_28012025_15_01_36_9459.jpg', '/home/pi/Desktop/images/28012025/15/01/image_28012025_15_01_47_10406.jpg', '/home/pi/Desktop/images/28012025/15/01/image_28012025_15_01_57_10351.jpg', '/home/pi/Desktop/images/28012025/15/01/image_28012025_15_02_07_9442.jpg', '/home/pi/Desktop/images/28012025/15/02/image_28012025_15_02_17_10315.jpg', '/home/pi/Desktop/images/28012025/15/02/image_28012025_15_02_27_9895.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/01/image_28012025_15_01_36_9459.jpg
/home/pi/Desktop/images/28012025/15/01/image_28012025_15_01_47_10406.jpg
/home/pi/Desktop/images/28012025/15/01/image_28012025_15_01_57_10351.jpg
/home/pi/Desktop/images/28012025/15/01/image_28012025_15_02_07_9442.jpg
/home/pi/Desktop/images/28012025/15/02/image_28012025_15_02_17_10315.jpg
/home/pi/Desktop/images/28012025/15/02/image_28012025_15_02_27_9895.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 www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 20:59:04.083318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/01/image_28012025_15_01_36_9459.jpg', '/home/pi/Desktop/images/28012025/15/01/image_28012025_15_01_47_10406.jpg', '/home/pi/Desktop/images/28012025/15/01/image_28012025_15_01_57_10351.jpg', '/home/pi/Desktop/images/28012025/15/01/image_28012025_15_02_07_9442.jpg', '/home/pi/Desktop/images/28012025/15/02/image_28012025_15_02_17_10315.jpg', '/home/pi/Desktop/images/28012025/15/02/image_28012025_15_02_27_9895.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/01/image_28012025_15_01_36_9459.jpg
/home/pi/Desktop/images/28012025/15/01/image_28012025_15_01_47_10406.jpg
/home/pi/Desktop/images/28012025/15/01/image_28012025_15_01_57_10351.jpg
/home/pi/Desktop/images/28012025/15/01/image_28012025_15_02_07_9442.jpg
/home/pi/Desktop/images/28012025/15/02/image_28012025_15_02_17_10315.jpg
/home/pi/Desktop/images/28012025/15/02/image_28012025_15_02_27_9895.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5514824390411377 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 20:59:32.807114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/01/image_28012025_15_01_36_9459.jpg', '/home/pi/Desktop/images/28012025/15/01/image_28012025_15_01_47_10406.jpg', '/home/pi/Desktop/images/28012025/15/01/image_28012025_15_01_57_10351.jpg', '/home/pi/Desktop/images/28012025/15/01/image_28012025_15_02_07_9442.jpg', '/home/pi/Desktop/images/28012025/15/02/image_28012025_15_02_17_10315.jpg', '/home/pi/Desktop/images/28012025/15/02/image_28012025_15_02_27_9895.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/01/image_28012025_15_01_36_9459.jpg
/home/pi/Desktop/images/28012025/15/01/image_28012025_15_01_47_10406.jpg
/home/pi/Desktop/images/28012025/15/01/image_28012025_15_01_57_10351.jpg
/home/pi/Desktop/images/28012025/15/01/image_28012025_15_02_07_9442.jpg
/home/pi/Desktop/images/28012025/15/02/image_28012025_15_02_17_10315.jpg
/home/pi/Desktop/images/28012025/15/02/image_28012025_15_02_27_9895.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332406119","1332406107","1332406127","1332406115","1332406124","1332406111"],"photo_ids_order":["1332406107","1332406111","1332406115","1332406119","1332406124","1332406127"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5d7e6231283405962d2013c6364da72e.jpg","text":"TemporaryFile(/tmp/multipartBody1376427878752902334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094433689,"filename":"image_28012025_15_02_07_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/53f16f13e625d1a29a68a39253a5af29.jpg","text":"TemporaryFile(/tmp/multipartBody185906432552163551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094433689,"filename":"image_28012025_15_01_36_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2c9f75f440b3b3572dd9d6e19afbabe9.jpg","text":"TemporaryFile(/tmp/multipartBody7834364097719816077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094433689,"filename":"image_28012025_15_02_27_9895.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/acc3b3a5525ba2b2fe2b4f058c7eebc9.jpg","text":"TemporaryFile(/tmp/multipartBody2119913359707228622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094433689,"filename":"image_28012025_15_01_57_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4393cd2df32c83f06cc91abf74042c0f.jpg","text":"TemporaryFile(/tmp/multipartBody6575441820540421150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094433689,"filename":"image_28012025_15_02_17_10315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8c6f01f73c40fcb5e1e204551a5df529.jpg","text":"TemporaryFile(/tmp/multipartBody8124235183802494272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094433689,"filename":"image_28012025_15_01_47_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332406115","file1":"1332406111","file0":"1332406107","file4":"1332406124","file5":"1332406127","file3":"1332406119"},"map_files_photo_id_array":[{"photo_id":"1332406127","filename":"file5"},{"photo_id":"1332406115","filename":"file2"},{"photo_id":"1332406124","filename":"file4"},{"photo_id":"1332406111","filename":"file1"},{"photo_id":"1332406107","filename":"file0"},{"photo_id":"1332406119","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332406119":["hashtag1","hashtag2"]},{"1332406107":["hashtag1","hashtag2"]},{"1332406127":["hashtag1","hashtag2"]},{"1332406115":["hashtag1","hashtag2"]},{"1332406124":["hashtag1","hashtag2"]},{"1332406111":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332406119, 1332406107, 1332406127, 1332406115, 1332406124, 1332406111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75590491294861 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:00:32.930464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/02/image_28012025_15_02_37_10340.jpg', '/home/pi/Desktop/images/28012025/15/02/image_28012025_15_02_47_9462.jpg', '/home/pi/Desktop/images/28012025/15/02/image_28012025_15_02_57_10339.jpg', '/home/pi/Desktop/images/28012025/15/02/image_28012025_15_03_06_9467.jpg', '/home/pi/Desktop/images/28012025/15/03/image_28012025_15_03_17_10327.jpg', '/home/pi/Desktop/images/28012025/15/03/image_28012025_15_03_27_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/02/image_28012025_15_02_37_10340.jpg
/home/pi/Desktop/images/28012025/15/02/image_28012025_15_02_47_9462.jpg
/home/pi/Desktop/images/28012025/15/02/image_28012025_15_02_57_10339.jpg
/home/pi/Desktop/images/28012025/15/02/image_28012025_15_03_06_9467.jpg
/home/pi/Desktop/images/28012025/15/03/image_28012025_15_03_17_10327.jpg
/home/pi/Desktop/images/28012025/15/03/image_28012025_15_03_27_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":["1332406184","1332407129","1332406175","1332406157","1332406363","1332406776"],"photo_ids_order":["1332406157","1332406175","1332406184","1332406363","1332406776","1332407129"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9d14297162a27821e31d5954dd6676f1.jpg","text":"TemporaryFile(/tmp/multipartBody335492671670923832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094493885,"filename":"image_28012025_15_02_57_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/60972e43376967d79c56f25e97cc2e8f.jpg","text":"TemporaryFile(/tmp/multipartBody6323684959356453242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094493885,"filename":"image_28012025_15_03_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/1/28/18bc2b8d629375477fdf51f138a781c3.jpg","text":"TemporaryFile(/tmp/multipartBody6395430125448717106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094493885,"filename":"image_28012025_15_02_47_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0ec24a6978bb75d268d2cbbb1d8dd73d.jpg","text":"TemporaryFile(/tmp/multipartBody8863346716252566453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094493885,"filename":"image_28012025_15_02_37_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ea5fccb1581c4484e9da4f3dac1f9802.jpg","text":"TemporaryFile(/tmp/multipartBody612819117407987173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094493885,"filename":"image_28012025_15_03_06_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/711b429608895d0939a2e6ea2b23c9c8.jpg","text":"TemporaryFile(/tmp/multipartBody2087521761541798051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094493885,"filename":"image_28012025_15_03_17_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332406184","file1":"1332406175","file0":"1332406157","file4":"1332406776","file5":"1332407129","file3":"1332406363"},"map_files_photo_id_array":[{"photo_id":"1332407129","filename":"file5"},{"photo_id":"1332406184","filename":"file2"},{"photo_id":"1332406776","filename":"file4"},{"photo_id":"1332406175","filename":"file1"},{"photo_id":"1332406157","filename":"file0"},{"photo_id":"1332406363","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332406184":["hashtag1","hashtag2"]},{"1332407129":["hashtag1","hashtag2"]},{"1332406175":["hashtag1","hashtag2"]},{"1332406157":["hashtag1","hashtag2"]},{"1332406363":["hashtag1","hashtag2"]},{"1332406776":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332406184, 1332407129, 1332406175, 1332406157, 1332406363, 1332406776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5922646522522 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:01:33.178758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/03/image_28012025_15_03_36_9443.jpg', '/home/pi/Desktop/images/28012025/15/03/image_28012025_15_03_47_10350.jpg', '/home/pi/Desktop/images/28012025/15/03/image_28012025_15_03_56_9449.jpg', '/home/pi/Desktop/images/28012025/15/03/image_28012025_15_04_07_10357.jpg', '/home/pi/Desktop/images/28012025/15/04/image_28012025_15_04_17_10334.jpg', '/home/pi/Desktop/images/28012025/15/04/image_28012025_15_04_27_9815.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/03/image_28012025_15_03_36_9443.jpg
/home/pi/Desktop/images/28012025/15/03/image_28012025_15_03_47_10350.jpg
/home/pi/Desktop/images/28012025/15/03/image_28012025_15_03_56_9449.jpg
/home/pi/Desktop/images/28012025/15/03/image_28012025_15_04_07_10357.jpg
/home/pi/Desktop/images/28012025/15/04/image_28012025_15_04_17_10334.jpg
/home/pi/Desktop/images/28012025/15/04/image_28012025_15_04_27_9815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332407336","1332407333","1332407335","1332407329","1332407331","1332407337"],"photo_ids_order":["1332407329","1332407331","1332407333","1332407335","1332407336","1332407337"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/91d4a07a30b409be3f0c7e91dde79dca.jpg","text":"TemporaryFile(/tmp/multipartBody326020656134758449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094554164,"filename":"image_28012025_15_04_17_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/53bd67d890561570831fd1d269bbcb0a.jpg","text":"TemporaryFile(/tmp/multipartBody7659905227028291956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094554164,"filename":"image_28012025_15_03_56_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/be3eef9b1fd3df0707f9618266601c1c.jpg","text":"TemporaryFile(/tmp/multipartBody4554568176807982492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094554164,"filename":"image_28012025_15_04_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/1/28/90429951bdc0889f7efa09e81b4acb94.jpg","text":"TemporaryFile(/tmp/multipartBody876852546722725007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094554164,"filename":"image_28012025_15_03_36_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c7995020dc76fc0c4a202f7f4bd11957.jpg","text":"TemporaryFile(/tmp/multipartBody6251511543570388620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094554164,"filename":"image_28012025_15_03_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/1/28/111b5ea116ad5be6b5596018ccbb343e.jpg","text":"TemporaryFile(/tmp/multipartBody3017123904156194234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094554164,"filename":"image_28012025_15_04_27_9815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332407333","file1":"1332407331","file0":"1332407329","file4":"1332407336","file5":"1332407337","file3":"1332407335"},"map_files_photo_id_array":[{"photo_id":"1332407337","filename":"file5"},{"photo_id":"1332407333","filename":"file2"},{"photo_id":"1332407336","filename":"file4"},{"photo_id":"1332407331","filename":"file1"},{"photo_id":"1332407329","filename":"file0"},{"photo_id":"1332407335","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332407336":["hashtag1","hashtag2"]},{"1332407333":["hashtag1","hashtag2"]},{"1332407335":["hashtag1","hashtag2"]},{"1332407329":["hashtag1","hashtag2"]},{"1332407331":["hashtag1","hashtag2"]},{"1332407337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332407336, 1332407333, 1332407335, 1332407329, 1332407331, 1332407337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.1509006023407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:02:32.362259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/04/image_28012025_15_04_37_10325.jpg', '/home/pi/Desktop/images/28012025/15/04/image_28012025_15_04_47_9513.jpg', '/home/pi/Desktop/images/28012025/15/04/image_28012025_15_04_57_10443.jpg', '/home/pi/Desktop/images/28012025/15/04/image_28012025_15_05_06_9348.jpg', '/home/pi/Desktop/images/28012025/15/05/image_28012025_15_05_17_10333.jpg', '/home/pi/Desktop/images/28012025/15/05/image_28012025_15_05_27_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/04/image_28012025_15_04_37_10325.jpg
/home/pi/Desktop/images/28012025/15/04/image_28012025_15_04_47_9513.jpg
/home/pi/Desktop/images/28012025/15/04/image_28012025_15_04_57_10443.jpg
/home/pi/Desktop/images/28012025/15/04/image_28012025_15_05_06_9348.jpg
/home/pi/Desktop/images/28012025/15/05/image_28012025_15_05_17_10333.jpg
/home/pi/Desktop/images/28012025/15/05/image_28012025_15_05_27_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":["1332407777","1332407735","1332407720","1332407738","1332407775","1332407733"],"photo_ids_order":["1332407720","1332407733","1332407735","1332407738","1332407775","1332407777"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9300b0e95da47deb537323801a5d890e.jpg","text":"TemporaryFile(/tmp/multipartBody6073960279073467144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094613309,"filename":"image_28012025_15_05_27_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/595502453577cbcffca4179aa9270d87.jpg","text":"TemporaryFile(/tmp/multipartBody6483811702562294628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094613309,"filename":"image_28012025_15_04_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/1/28/d2448ad2d41477c5ebf5b5005101fe04.jpg","text":"TemporaryFile(/tmp/multipartBody3242212132218829744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094613309,"filename":"image_28012025_15_04_37_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/15f397f7db48d979d03d32f61351f9fe.jpg","text":"TemporaryFile(/tmp/multipartBody7144541900961549264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094613309,"filename":"image_28012025_15_05_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/1/28/b1354a4dd67a54e8508e0a2027f2d6dc.jpg","text":"TemporaryFile(/tmp/multipartBody5413581284627980162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094613309,"filename":"image_28012025_15_05_17_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2460e9d19a44f01c948b2752503ff3f5.jpg","text":"TemporaryFile(/tmp/multipartBody5540244385132109529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094613309,"filename":"image_28012025_15_04_47_9513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332407735","file1":"1332407733","file0":"1332407720","file4":"1332407775","file5":"1332407777","file3":"1332407738"},"map_files_photo_id_array":[{"photo_id":"1332407777","filename":"file5"},{"photo_id":"1332407735","filename":"file2"},{"photo_id":"1332407775","filename":"file4"},{"photo_id":"1332407733","filename":"file1"},{"photo_id":"1332407720","filename":"file0"},{"photo_id":"1332407738","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332407777":["hashtag1","hashtag2"]},{"1332407735":["hashtag1","hashtag2"]},{"1332407720":["hashtag1","hashtag2"]},{"1332407738":["hashtag1","hashtag2"]},{"1332407775":["hashtag1","hashtag2"]},{"1332407733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332407777, 1332407735, 1332407720, 1332407738, 1332407775, 1332407733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.93751645088196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:03:32.618417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/05/image_28012025_15_05_37_9435.jpg', '/home/pi/Desktop/images/28012025/15/05/image_28012025_15_05_47_10347.jpg', '/home/pi/Desktop/images/28012025/15/05/image_28012025_15_05_56_9451.jpg', '/home/pi/Desktop/images/28012025/15/05/image_28012025_15_06_07_10352.jpg', '/home/pi/Desktop/images/28012025/15/06/image_28012025_15_06_17_10328.jpg', '/home/pi/Desktop/images/28012025/15/06/image_28012025_15_06_26_9327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/05/image_28012025_15_05_37_9435.jpg
/home/pi/Desktop/images/28012025/15/05/image_28012025_15_05_47_10347.jpg
/home/pi/Desktop/images/28012025/15/05/image_28012025_15_05_56_9451.jpg
/home/pi/Desktop/images/28012025/15/05/image_28012025_15_06_07_10352.jpg
/home/pi/Desktop/images/28012025/15/06/image_28012025_15_06_17_10328.jpg
/home/pi/Desktop/images/28012025/15/06/image_28012025_15_06_26_9327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332407798","1332407807","1332407790","1332407802","1332407805","1332407795"],"photo_ids_order":["1332407790","1332407795","1332407798","1332407802","1332407805","1332407807"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d3db4c3650ee1969d4a42af5afa537cf.jpg","text":"TemporaryFile(/tmp/multipartBody9132568587483436571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094673560,"filename":"image_28012025_15_05_56_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a500365338de89bb80539f97938cf58b.jpg","text":"TemporaryFile(/tmp/multipartBody2332310894991851284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094673560,"filename":"image_28012025_15_06_26_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6772f7b96a0102dc5422062b729fcd19.jpg","text":"TemporaryFile(/tmp/multipartBody8211879046946236881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094673560,"filename":"image_28012025_15_05_37_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/275fa8e6dde49a2b7e23956ad3ed4efa.jpg","text":"TemporaryFile(/tmp/multipartBody1958994859602093233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094673560,"filename":"image_28012025_15_06_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/1/28/85f0c959294ff60846d84e47f9c2080c.jpg","text":"TemporaryFile(/tmp/multipartBody6762828943999414957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094673560,"filename":"image_28012025_15_06_17_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/159d4a3e82647fd2fd9c123a6ba1f1a4.jpg","text":"TemporaryFile(/tmp/multipartBody2165951213756688008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094673560,"filename":"image_28012025_15_05_47_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332407798","file1":"1332407795","file0":"1332407790","file4":"1332407805","file5":"1332407807","file3":"1332407802"},"map_files_photo_id_array":[{"photo_id":"1332407807","filename":"file5"},{"photo_id":"1332407798","filename":"file2"},{"photo_id":"1332407805","filename":"file4"},{"photo_id":"1332407795","filename":"file1"},{"photo_id":"1332407790","filename":"file0"},{"photo_id":"1332407802","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332407798":["hashtag1","hashtag2"]},{"1332407807":["hashtag1","hashtag2"]},{"1332407790":["hashtag1","hashtag2"]},{"1332407802":["hashtag1","hashtag2"]},{"1332407805":["hashtag1","hashtag2"]},{"1332407795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332407798, 1332407807, 1332407790, 1332407802, 1332407805, 1332407795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.802525997161865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:04:32.873671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/06/image_28012025_15_06_37_10336.jpg', '/home/pi/Desktop/images/28012025/15/06/image_28012025_15_06_47_10351.jpg', '/home/pi/Desktop/images/28012025/15/06/image_28012025_15_06_56_9309.jpg', '/home/pi/Desktop/images/28012025/15/06/image_28012025_15_07_07_10339.jpg', '/home/pi/Desktop/images/28012025/15/07/image_28012025_15_07_17_10327.jpg', '/home/pi/Desktop/images/28012025/15/07/image_28012025_15_07_26_9435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/06/image_28012025_15_06_37_10336.jpg
/home/pi/Desktop/images/28012025/15/06/image_28012025_15_06_47_10351.jpg
/home/pi/Desktop/images/28012025/15/06/image_28012025_15_06_56_9309.jpg
/home/pi/Desktop/images/28012025/15/06/image_28012025_15_07_07_10339.jpg
/home/pi/Desktop/images/28012025/15/07/image_28012025_15_07_17_10327.jpg
/home/pi/Desktop/images/28012025/15/07/image_28012025_15_07_26_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5529012680053711 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 21:04:42.794595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/06/image_28012025_15_06_37_10336.jpg', '/home/pi/Desktop/images/28012025/15/06/image_28012025_15_06_47_10351.jpg', '/home/pi/Desktop/images/28012025/15/06/image_28012025_15_06_56_9309.jpg', '/home/pi/Desktop/images/28012025/15/06/image_28012025_15_07_07_10339.jpg', '/home/pi/Desktop/images/28012025/15/07/image_28012025_15_07_17_10327.jpg', '/home/pi/Desktop/images/28012025/15/07/image_28012025_15_07_26_9435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/06/image_28012025_15_06_37_10336.jpg
/home/pi/Desktop/images/28012025/15/06/image_28012025_15_06_47_10351.jpg
/home/pi/Desktop/images/28012025/15/06/image_28012025_15_06_56_9309.jpg
/home/pi/Desktop/images/28012025/15/06/image_28012025_15_07_07_10339.jpg
/home/pi/Desktop/images/28012025/15/07/image_28012025_15_07_17_10327.jpg
/home/pi/Desktop/images/28012025/15/07/image_28012025_15_07_26_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":["1332408608","1332408571","1332408610","1332408601","1332408585","1332408612"],"photo_ids_order":["1332408571","1332408585","1332408601","1332408608","1332408610","1332408612"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e13f0b720237fa440dfbb90356273ffa.jpg","text":"TemporaryFile(/tmp/multipartBody5421374389737215400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094743675,"filename":"image_28012025_15_07_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/1/28/cbd4516233b612071cae4d75565ffc53.jpg","text":"TemporaryFile(/tmp/multipartBody8580765387343776319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094743675,"filename":"image_28012025_15_06_37_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/eb09ceb63f2056947b5fccf805ed96d9.jpg","text":"TemporaryFile(/tmp/multipartBody122662362504218641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094743675,"filename":"image_28012025_15_07_17_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b39d67d4dae2d2a58e864d0d38056204.jpg","text":"TemporaryFile(/tmp/multipartBody7162294065108389084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094743675,"filename":"image_28012025_15_06_56_9309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3b5f0d0ee00c7db97482a40c8ed20eb8.jpg","text":"TemporaryFile(/tmp/multipartBody551417172667742983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094743675,"filename":"image_28012025_15_06_47_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d079fd50cb0884a552c0a96c310bac7a.jpg","text":"TemporaryFile(/tmp/multipartBody2813832596855207483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094743675,"filename":"image_28012025_15_07_26_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332408601","file1":"1332408585","file0":"1332408571","file4":"1332408610","file5":"1332408612","file3":"1332408608"},"map_files_photo_id_array":[{"photo_id":"1332408612","filename":"file5"},{"photo_id":"1332408601","filename":"file2"},{"photo_id":"1332408610","filename":"file4"},{"photo_id":"1332408585","filename":"file1"},{"photo_id":"1332408571","filename":"file0"},{"photo_id":"1332408608","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332408608":["hashtag1","hashtag2"]},{"1332408571":["hashtag1","hashtag2"]},{"1332408610":["hashtag1","hashtag2"]},{"1332408601":["hashtag1","hashtag2"]},{"1332408585":["hashtag1","hashtag2"]},{"1332408612":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332408608, 1332408571, 1332408610, 1332408601, 1332408585, 1332408612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.34812521934509 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:05:33.151654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/07/image_28012025_15_07_37_10348.jpg', '/home/pi/Desktop/images/28012025/15/07/image_28012025_15_07_46_9417.jpg', '/home/pi/Desktop/images/28012025/15/07/image_28012025_15_07_57_10416.jpg', '/home/pi/Desktop/images/28012025/15/07/image_28012025_15_08_07_10352.jpg', '/home/pi/Desktop/images/28012025/15/08/image_28012025_15_08_16_9313.jpg', '/home/pi/Desktop/images/28012025/15/08/image_28012025_15_08_27_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/07/image_28012025_15_07_37_10348.jpg
/home/pi/Desktop/images/28012025/15/07/image_28012025_15_07_46_9417.jpg
/home/pi/Desktop/images/28012025/15/07/image_28012025_15_07_57_10416.jpg
/home/pi/Desktop/images/28012025/15/07/image_28012025_15_08_07_10352.jpg
/home/pi/Desktop/images/28012025/15/08/image_28012025_15_08_16_9313.jpg
/home/pi/Desktop/images/28012025/15/08/image_28012025_15_08_27_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":["1332409243","1332409009","1332408649","1332408802","1332409149","1332409049"],"photo_ids_order":["1332408649","1332408802","1332409009","1332409049","1332409149","1332409243"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f0094590e9eb8fc23a6a802d9cc9b5b0.jpg","text":"TemporaryFile(/tmp/multipartBody4548995579992073683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094794110,"filename":"image_28012025_15_08_27_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9bcc3a63b77e337760a56b8882e3bd42.jpg","text":"TemporaryFile(/tmp/multipartBody5763506019312685271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094794110,"filename":"image_28012025_15_07_57_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/58fac695058ac056fa6a76d3d3a1627d.jpg","text":"TemporaryFile(/tmp/multipartBody3239057293718891067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094794110,"filename":"image_28012025_15_07_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/1/28/e1527f5ced0b91761acb0b678b0c2b4a.jpg","text":"TemporaryFile(/tmp/multipartBody4562061943328442966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094794110,"filename":"image_28012025_15_07_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/1/28/dbc114fbab403d59cc635e5251d23d66.jpg","text":"TemporaryFile(/tmp/multipartBody2944960442680620179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094794110,"filename":"image_28012025_15_08_16_9313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cb41bec6f567098ec9c1cce99108bafe.jpg","text":"TemporaryFile(/tmp/multipartBody5271087083924076760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094794110,"filename":"image_28012025_15_08_07_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332409009","file1":"1332408802","file0":"1332408649","file4":"1332409149","file5":"1332409243","file3":"1332409049"},"map_files_photo_id_array":[{"photo_id":"1332409243","filename":"file5"},{"photo_id":"1332409009","filename":"file2"},{"photo_id":"1332409149","filename":"file4"},{"photo_id":"1332408802","filename":"file1"},{"photo_id":"1332408649","filename":"file0"},{"photo_id":"1332409049","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332409243":["hashtag1","hashtag2"]},{"1332409009":["hashtag1","hashtag2"]},{"1332408649":["hashtag1","hashtag2"]},{"1332408802":["hashtag1","hashtag2"]},{"1332409149":["hashtag1","hashtag2"]},{"1332409049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332409243, 1332409009, 1332408649, 1332408802, 1332409149, 1332409049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50872445106506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:06:32.278688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/08/image_28012025_15_08_37_10456.jpg', '/home/pi/Desktop/images/28012025/15/08/image_28012025_15_08_46_9427.jpg', '/home/pi/Desktop/images/28012025/15/08/image_28012025_15_08_57_10442.jpg', '/home/pi/Desktop/images/28012025/15/08/image_28012025_15_09_06_9338.jpg', '/home/pi/Desktop/images/28012025/15/09/image_28012025_15_09_17_10347.jpg', '/home/pi/Desktop/images/28012025/15/09/image_28012025_15_09_27_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/08/image_28012025_15_08_37_10456.jpg
/home/pi/Desktop/images/28012025/15/08/image_28012025_15_08_46_9427.jpg
/home/pi/Desktop/images/28012025/15/08/image_28012025_15_08_57_10442.jpg
/home/pi/Desktop/images/28012025/15/08/image_28012025_15_09_06_9338.jpg
/home/pi/Desktop/images/28012025/15/09/image_28012025_15_09_17_10347.jpg
/home/pi/Desktop/images/28012025/15/09/image_28012025_15_09_27_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":["1332409468","1332409456","1332409450","1332409444","1332409464","1332409437"],"photo_ids_order":["1332409437","1332409444","1332409450","1332409456","1332409464","1332409468"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9ce0e349c3166f29f1045c769a426616.jpg","text":"TemporaryFile(/tmp/multipartBody3927835310061186586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094853243,"filename":"image_28012025_15_09_27_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c8887770c0a2baa8dd80c0adf2ecfb1b.jpg","text":"TemporaryFile(/tmp/multipartBody3768944750311903916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094853243,"filename":"image_28012025_15_09_06_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fa4cb67a873a6ce1f2d542897d8bc68d.jpg","text":"TemporaryFile(/tmp/multipartBody4497864939551343828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094853243,"filename":"image_28012025_15_08_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/1/28/003aeabdc6916bd4d263c78054341caf.jpg","text":"TemporaryFile(/tmp/multipartBody4610390624575579537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094853243,"filename":"image_28012025_15_08_46_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/363869b822f14fad5e526995e52e0207.jpg","text":"TemporaryFile(/tmp/multipartBody2779761679998058658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094853243,"filename":"image_28012025_15_09_17_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3b68a865c88f499ab3da28b6103ef0b7.jpg","text":"TemporaryFile(/tmp/multipartBody5510130681678362203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094853243,"filename":"image_28012025_15_08_37_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332409450","file1":"1332409444","file0":"1332409437","file4":"1332409464","file5":"1332409468","file3":"1332409456"},"map_files_photo_id_array":[{"photo_id":"1332409468","filename":"file5"},{"photo_id":"1332409450","filename":"file2"},{"photo_id":"1332409464","filename":"file4"},{"photo_id":"1332409444","filename":"file1"},{"photo_id":"1332409437","filename":"file0"},{"photo_id":"1332409456","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332409468":["hashtag1","hashtag2"]},{"1332409456":["hashtag1","hashtag2"]},{"1332409450":["hashtag1","hashtag2"]},{"1332409444":["hashtag1","hashtag2"]},{"1332409464":["hashtag1","hashtag2"]},{"1332409437":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332409468, 1332409456, 1332409450, 1332409444, 1332409464, 1332409437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.311182260513306 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:07:32.491221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/09/image_28012025_15_09_36_9330.jpg', '/home/pi/Desktop/images/28012025/15/09/image_28012025_15_09_47_10373.jpg', '/home/pi/Desktop/images/28012025/15/09/image_28012025_15_09_57_10341.jpg', '/home/pi/Desktop/images/28012025/15/09/image_28012025_15_10_06_9328.jpg', '/home/pi/Desktop/images/28012025/15/10/image_28012025_15_10_17_10328.jpg', '/home/pi/Desktop/images/28012025/15/10/image_28012025_15_10_27_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/09/image_28012025_15_09_36_9330.jpg
/home/pi/Desktop/images/28012025/15/09/image_28012025_15_09_47_10373.jpg
/home/pi/Desktop/images/28012025/15/09/image_28012025_15_09_57_10341.jpg
/home/pi/Desktop/images/28012025/15/09/image_28012025_15_10_06_9328.jpg
/home/pi/Desktop/images/28012025/15/10/image_28012025_15_10_17_10328.jpg
/home/pi/Desktop/images/28012025/15/10/image_28012025_15_10_27_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":["1332409558","1332409567","1332409561","1332409549","1332409563","1332409554"],"photo_ids_order":["1332409549","1332409554","1332409558","1332409561","1332409563","1332409567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7897ea387049d15703f93ece8006377a.jpg","text":"TemporaryFile(/tmp/multipartBody596108572936714528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094913430,"filename":"image_28012025_15_09_57_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c909ee489f8a68f91d74a38bcad8554c.jpg","text":"TemporaryFile(/tmp/multipartBody2058932055134765489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094913430,"filename":"image_28012025_15_10_27_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c0facf1e18343ffc4cf6a4966e56aa39.jpg","text":"TemporaryFile(/tmp/multipartBody3696501103716411227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094913430,"filename":"image_28012025_15_10_06_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6d52bd254f85853426ef070b2bd22f08.jpg","text":"TemporaryFile(/tmp/multipartBody1185206520012505322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094913430,"filename":"image_28012025_15_09_36_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/74c737f046e89382d2239a0d25287233.jpg","text":"TemporaryFile(/tmp/multipartBody1825923358856502669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094913430,"filename":"image_28012025_15_10_17_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/faa987f4020723ea6aaa0629602feb52.jpg","text":"TemporaryFile(/tmp/multipartBody1182866618689313769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094913430,"filename":"image_28012025_15_09_47_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332409558","file1":"1332409554","file0":"1332409549","file4":"1332409563","file5":"1332409567","file3":"1332409561"},"map_files_photo_id_array":[{"photo_id":"1332409567","filename":"file5"},{"photo_id":"1332409558","filename":"file2"},{"photo_id":"1332409563","filename":"file4"},{"photo_id":"1332409554","filename":"file1"},{"photo_id":"1332409549","filename":"file0"},{"photo_id":"1332409561","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332409558":["hashtag1","hashtag2"]},{"1332409567":["hashtag1","hashtag2"]},{"1332409561":["hashtag1","hashtag2"]},{"1332409549":["hashtag1","hashtag2"]},{"1332409563":["hashtag1","hashtag2"]},{"1332409554":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332409558, 1332409567, 1332409561, 1332409549, 1332409563, 1332409554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13415169715881 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:08:32.930650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/10/image_28012025_15_10_36_9435.jpg', '/home/pi/Desktop/images/28012025/15/10/image_28012025_15_10_47_10350.jpg', '/home/pi/Desktop/images/28012025/15/10/image_28012025_15_10_57_10335.jpg', '/home/pi/Desktop/images/28012025/15/10/image_28012025_15_11_07_9436.jpg', '/home/pi/Desktop/images/28012025/15/11/image_28012025_15_11_17_10335.jpg', '/home/pi/Desktop/images/28012025/15/11/image_28012025_15_11_26_9439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/10/image_28012025_15_10_36_9435.jpg
/home/pi/Desktop/images/28012025/15/10/image_28012025_15_10_47_10350.jpg
/home/pi/Desktop/images/28012025/15/10/image_28012025_15_10_57_10335.jpg
/home/pi/Desktop/images/28012025/15/10/image_28012025_15_11_07_9436.jpg
/home/pi/Desktop/images/28012025/15/11/image_28012025_15_11_17_10335.jpg
/home/pi/Desktop/images/28012025/15/11/image_28012025_15_11_26_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":["1332409601","1332409636","1332409609","1332409620","1332409631","1332409625"],"photo_ids_order":["1332409601","1332409609","1332409620","1332409625","1332409631","1332409636"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a752ba9309ad02897c39720980e3d5d3.jpg","text":"TemporaryFile(/tmp/multipartBody3522046529869847287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094973875,"filename":"image_28012025_15_10_36_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fa2484fd864ca004935a3a935635c009.jpg","text":"TemporaryFile(/tmp/multipartBody758537014172315219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094973875,"filename":"image_28012025_15_11_26_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1de8c8fdc182b25cabdf9d984d6ea270.jpg","text":"TemporaryFile(/tmp/multipartBody5606928677497666032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094973875,"filename":"image_28012025_15_10_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/1/28/0333265e080cc026825ebcd919a64bcc.jpg","text":"TemporaryFile(/tmp/multipartBody4490618423885330803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094973875,"filename":"image_28012025_15_10_57_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5d21e3d7bb03364da6321bd3b3d63508.jpg","text":"TemporaryFile(/tmp/multipartBody1610976564884432905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094973875,"filename":"image_28012025_15_11_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/1/28/7cd02b0b261707f4244e48d04762d8fe.jpg","text":"TemporaryFile(/tmp/multipartBody8855476753467453961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738094973875,"filename":"image_28012025_15_11_07_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332409620","file1":"1332409609","file0":"1332409601","file4":"1332409631","file5":"1332409636","file3":"1332409625"},"map_files_photo_id_array":[{"photo_id":"1332409636","filename":"file5"},{"photo_id":"1332409620","filename":"file2"},{"photo_id":"1332409631","filename":"file4"},{"photo_id":"1332409609","filename":"file1"},{"photo_id":"1332409601","filename":"file0"},{"photo_id":"1332409625","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332409601":["hashtag1","hashtag2"]},{"1332409636":["hashtag1","hashtag2"]},{"1332409609":["hashtag1","hashtag2"]},{"1332409620":["hashtag1","hashtag2"]},{"1332409631":["hashtag1","hashtag2"]},{"1332409625":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332409601, 1332409636, 1332409609, 1332409620, 1332409631, 1332409625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.4849317073822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:09:33.063900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/11/image_28012025_15_11_37_10366.jpg', '/home/pi/Desktop/images/28012025/15/11/image_28012025_15_11_47_10335.jpg', '/home/pi/Desktop/images/28012025/15/11/image_28012025_15_11_56_9335.jpg', '/home/pi/Desktop/images/28012025/15/11/image_28012025_15_12_07_10332.jpg', '/home/pi/Desktop/images/28012025/15/12/image_28012025_15_12_17_10358.jpg', '/home/pi/Desktop/images/28012025/15/12/image_28012025_15_12_26_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/11/image_28012025_15_11_37_10366.jpg
/home/pi/Desktop/images/28012025/15/11/image_28012025_15_11_47_10335.jpg
/home/pi/Desktop/images/28012025/15/11/image_28012025_15_11_56_9335.jpg
/home/pi/Desktop/images/28012025/15/11/image_28012025_15_12_07_10332.jpg
/home/pi/Desktop/images/28012025/15/12/image_28012025_15_12_17_10358.jpg
/home/pi/Desktop/images/28012025/15/12/image_28012025_15_12_26_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332409807","1332409804","1332409821","1332409818","1332409812","1332409815"],"photo_ids_order":["1332409804","1332409807","1332409812","1332409815","1332409818","1332409821"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bc5f4440e5a9f1413724dda0a7d6db3e.jpg","text":"TemporaryFile(/tmp/multipartBody6869494040948154048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095034027,"filename":"image_28012025_15_11_47_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b79b8291773d5f0cb03be7623f8b2b77.jpg","text":"TemporaryFile(/tmp/multipartBody8723420990672372014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095034027,"filename":"image_28012025_15_11_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/1/28/2696fa7f8eb3a7ab58825f3fc953717f.jpg","text":"TemporaryFile(/tmp/multipartBody6425557714077285784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095034027,"filename":"image_28012025_15_12_26_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5738ba125dd8d508ecb97940fdff74b8.jpg","text":"TemporaryFile(/tmp/multipartBody5722625468626728096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095034027,"filename":"image_28012025_15_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/1/28/4f97957779522344f0e2baa9d007c799.jpg","text":"TemporaryFile(/tmp/multipartBody9212797237464388403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095034027,"filename":"image_28012025_15_11_56_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/68eb1fd45f394cebf994a0b1c03828d8.jpg","text":"TemporaryFile(/tmp/multipartBody7955446321400916704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095034027,"filename":"image_28012025_15_12_07_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332409812","file1":"1332409807","file0":"1332409804","file4":"1332409818","file5":"1332409821","file3":"1332409815"},"map_files_photo_id_array":[{"photo_id":"1332409821","filename":"file5"},{"photo_id":"1332409812","filename":"file2"},{"photo_id":"1332409818","filename":"file4"},{"photo_id":"1332409807","filename":"file1"},{"photo_id":"1332409804","filename":"file0"},{"photo_id":"1332409815","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332409807":["hashtag1","hashtag2"]},{"1332409804":["hashtag1","hashtag2"]},{"1332409821":["hashtag1","hashtag2"]},{"1332409818":["hashtag1","hashtag2"]},{"1332409812":["hashtag1","hashtag2"]},{"1332409815":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332409807, 1332409804, 1332409821, 1332409818, 1332409812, 1332409815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03049921989441 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:10:32.268448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/12/image_28012025_15_12_37_10168.jpg', '/home/pi/Desktop/images/28012025/15/12/image_28012025_15_12_47_10438.jpg', '/home/pi/Desktop/images/28012025/15/12/image_28012025_15_12_56_9442.jpg', '/home/pi/Desktop/images/28012025/15/12/image_28012025_15_13_07_10421.jpg', '/home/pi/Desktop/images/28012025/15/13/image_28012025_15_13_16_9352.jpg', '/home/pi/Desktop/images/28012025/15/13/image_28012025_15_13_26_10076.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/12/image_28012025_15_12_37_10168.jpg
/home/pi/Desktop/images/28012025/15/12/image_28012025_15_12_47_10438.jpg
/home/pi/Desktop/images/28012025/15/12/image_28012025_15_12_56_9442.jpg
/home/pi/Desktop/images/28012025/15/12/image_28012025_15_13_07_10421.jpg
/home/pi/Desktop/images/28012025/15/13/image_28012025_15_13_16_9352.jpg
/home/pi/Desktop/images/28012025/15/13/image_28012025_15_13_26_10076.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5509476661682129 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 21:10:42.270017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/12/image_28012025_15_12_37_10168.jpg', '/home/pi/Desktop/images/28012025/15/12/image_28012025_15_12_47_10438.jpg', '/home/pi/Desktop/images/28012025/15/12/image_28012025_15_12_56_9442.jpg', '/home/pi/Desktop/images/28012025/15/12/image_28012025_15_13_07_10421.jpg', '/home/pi/Desktop/images/28012025/15/13/image_28012025_15_13_16_9352.jpg', '/home/pi/Desktop/images/28012025/15/13/image_28012025_15_13_26_10076.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/12/image_28012025_15_12_37_10168.jpg
/home/pi/Desktop/images/28012025/15/12/image_28012025_15_12_47_10438.jpg
/home/pi/Desktop/images/28012025/15/12/image_28012025_15_12_56_9442.jpg
/home/pi/Desktop/images/28012025/15/12/image_28012025_15_13_07_10421.jpg
/home/pi/Desktop/images/28012025/15/13/image_28012025_15_13_16_9352.jpg
/home/pi/Desktop/images/28012025/15/13/image_28012025_15_13_26_10076.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332410027","1332410042","1332410044","1332410035","1332409994","1332410039"],"photo_ids_order":["1332409994","1332410027","1332410035","1332410039","1332410042","1332410044"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/76474f9dc0157e10e9233e1bcf3bcf34.jpg","text":"TemporaryFile(/tmp/multipartBody8599891407228057360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095103158,"filename":"image_28012025_15_12_47_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cde902073de5b894db39fdb6834f1764.jpg","text":"TemporaryFile(/tmp/multipartBody3051990805588126603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095103158,"filename":"image_28012025_15_13_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/1/28/4ba223769535f8779227ffebeaa3cedc.jpg","text":"TemporaryFile(/tmp/multipartBody431131488301133785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095103158,"filename":"image_28012025_15_13_26_10076.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/08cf5588890e23785fbc7aeff58972aa.jpg","text":"TemporaryFile(/tmp/multipartBody6226912762443831423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095103158,"filename":"image_28012025_15_12_56_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/35b2c27abbe67ff72119f1e706711982.jpg","text":"TemporaryFile(/tmp/multipartBody2177278227756583143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095103158,"filename":"image_28012025_15_12_37_10168.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7012be25aad9e1440e4e59c501941ea5.jpg","text":"TemporaryFile(/tmp/multipartBody7755283592966508948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095103158,"filename":"image_28012025_15_13_07_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332410035","file1":"1332410027","file0":"1332409994","file4":"1332410042","file5":"1332410044","file3":"1332410039"},"map_files_photo_id_array":[{"photo_id":"1332410044","filename":"file5"},{"photo_id":"1332410035","filename":"file2"},{"photo_id":"1332410042","filename":"file4"},{"photo_id":"1332410027","filename":"file1"},{"photo_id":"1332409994","filename":"file0"},{"photo_id":"1332410039","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332410027":["hashtag1","hashtag2"]},{"1332410042":["hashtag1","hashtag2"]},{"1332410044":["hashtag1","hashtag2"]},{"1332410035":["hashtag1","hashtag2"]},{"1332409994":["hashtag1","hashtag2"]},{"1332410039":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332410027, 1332410042, 1332410044, 1332410035, 1332409994, 1332410039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.405245780944824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:11:32.571833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/13/image_28012025_15_13_37_10341.jpg', '/home/pi/Desktop/images/28012025/15/13/image_28012025_15_13_47_10452.jpg', '/home/pi/Desktop/images/28012025/15/13/image_28012025_15_13_56_9372.jpg', '/home/pi/Desktop/images/28012025/15/13/image_28012025_15_14_07_10349.jpg', '/home/pi/Desktop/images/28012025/15/14/image_28012025_15_14_16_9467.jpg', '/home/pi/Desktop/images/28012025/15/14/image_28012025_15_14_27_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/13/image_28012025_15_13_37_10341.jpg
/home/pi/Desktop/images/28012025/15/13/image_28012025_15_13_47_10452.jpg
/home/pi/Desktop/images/28012025/15/13/image_28012025_15_13_56_9372.jpg
/home/pi/Desktop/images/28012025/15/13/image_28012025_15_14_07_10349.jpg
/home/pi/Desktop/images/28012025/15/14/image_28012025_15_14_16_9467.jpg
/home/pi/Desktop/images/28012025/15/14/image_28012025_15_14_27_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5646214485168457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 21:11:42.557225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/13/image_28012025_15_13_37_10341.jpg', '/home/pi/Desktop/images/28012025/15/13/image_28012025_15_13_47_10452.jpg', '/home/pi/Desktop/images/28012025/15/13/image_28012025_15_13_56_9372.jpg', '/home/pi/Desktop/images/28012025/15/13/image_28012025_15_14_07_10349.jpg', '/home/pi/Desktop/images/28012025/15/14/image_28012025_15_14_16_9467.jpg', '/home/pi/Desktop/images/28012025/15/14/image_28012025_15_14_27_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/13/image_28012025_15_13_37_10341.jpg
/home/pi/Desktop/images/28012025/15/13/image_28012025_15_13_47_10452.jpg
/home/pi/Desktop/images/28012025/15/13/image_28012025_15_13_56_9372.jpg
/home/pi/Desktop/images/28012025/15/13/image_28012025_15_14_07_10349.jpg
/home/pi/Desktop/images/28012025/15/14/image_28012025_15_14_16_9467.jpg
/home/pi/Desktop/images/28012025/15/14/image_28012025_15_14_27_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":["1332410108","1332410105","1332410131","1332410091","1332410078","1332410087"],"photo_ids_order":["1332410078","1332410087","1332410091","1332410105","1332410108","1332410131"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4695bdd032c8c79f984f3676aec3a233.jpg","text":"TemporaryFile(/tmp/multipartBody8482689828765944103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095165256,"filename":"image_28012025_15_14_16_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5fe718393f545e2765b0a49262ecca18.jpg","text":"TemporaryFile(/tmp/multipartBody8763166873535597212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095165256,"filename":"image_28012025_15_14_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/1/28/876d52afd85cd5a49bfed93191e19ff8.jpg","text":"TemporaryFile(/tmp/multipartBody6656755427759592119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095165256,"filename":"image_28012025_15_14_27_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/089282a046d6cf7b5f1c729897e43b06.jpg","text":"TemporaryFile(/tmp/multipartBody5463410021895028089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095165256,"filename":"image_28012025_15_13_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/1/28/988cb73e9ef99b15d45a30fbbfcc8c58.jpg","text":"TemporaryFile(/tmp/multipartBody1765636176356228034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095165256,"filename":"image_28012025_15_13_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/1/28/c38f6c7f66f22a386aedd4ac22f29e5d.jpg","text":"TemporaryFile(/tmp/multipartBody3904040828250484442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095165256,"filename":"image_28012025_15_13_47_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332410091","file1":"1332410087","file0":"1332410078","file4":"1332410108","file5":"1332410131","file3":"1332410105"},"map_files_photo_id_array":[{"photo_id":"1332410131","filename":"file5"},{"photo_id":"1332410091","filename":"file2"},{"photo_id":"1332410108","filename":"file4"},{"photo_id":"1332410087","filename":"file1"},{"photo_id":"1332410078","filename":"file0"},{"photo_id":"1332410105","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332410108":["hashtag1","hashtag2"]},{"1332410105":["hashtag1","hashtag2"]},{"1332410131":["hashtag1","hashtag2"]},{"1332410091":["hashtag1","hashtag2"]},{"1332410078":["hashtag1","hashtag2"]},{"1332410087":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332410108, 1332410105, 1332410131, 1332410091, 1332410078, 1332410087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.04736042022705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:12:32.721484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/14/image_28012025_15_14_37_10363.jpg', '/home/pi/Desktop/images/28012025/15/14/image_28012025_15_14_46_9436.jpg', '/home/pi/Desktop/images/28012025/15/14/image_28012025_15_14_57_10329.jpg', '/home/pi/Desktop/images/28012025/15/14/image_28012025_15_15_07_10331.jpg', '/home/pi/Desktop/images/28012025/15/15/image_28012025_15_15_17_9430.jpg', '/home/pi/Desktop/images/28012025/15/15/image_28012025_15_15_27_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/14/image_28012025_15_14_37_10363.jpg
/home/pi/Desktop/images/28012025/15/14/image_28012025_15_14_46_9436.jpg
/home/pi/Desktop/images/28012025/15/14/image_28012025_15_14_57_10329.jpg
/home/pi/Desktop/images/28012025/15/14/image_28012025_15_15_07_10331.jpg
/home/pi/Desktop/images/28012025/15/15/image_28012025_15_15_17_9430.jpg
/home/pi/Desktop/images/28012025/15/15/image_28012025_15_15_27_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":["1332410176","1332410166","1332410151","1332410145","1332410148","1332410171"],"photo_ids_order":["1332410145","1332410148","1332410151","1332410166","1332410171","1332410176"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2e09c110efccce73509f218cecc6ad0d.jpg","text":"TemporaryFile(/tmp/multipartBody2750361844789219105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095213675,"filename":"image_28012025_15_15_27_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4384b57bef798dd5684340843ad2f3fe.jpg","text":"TemporaryFile(/tmp/multipartBody7775075593993191458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095213675,"filename":"image_28012025_15_15_07_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bdece1c26d6988e0c4831649fc39e13c.jpg","text":"TemporaryFile(/tmp/multipartBody1962111995964053689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095213675,"filename":"image_28012025_15_14_57_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/88ae4cfb6adecf0bb1e25ae69b5e82be.jpg","text":"TemporaryFile(/tmp/multipartBody4012773205539372140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095213675,"filename":"image_28012025_15_14_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/1/28/7f83b4c5f29721141aaa6c202090728d.jpg","text":"TemporaryFile(/tmp/multipartBody2201954495561432465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095213675,"filename":"image_28012025_15_14_46_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2fc08283c6a94245078ab10019dedc37.jpg","text":"TemporaryFile(/tmp/multipartBody9161202302219781206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095213675,"filename":"image_28012025_15_15_17_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332410151","file1":"1332410148","file0":"1332410145","file4":"1332410171","file5":"1332410176","file3":"1332410166"},"map_files_photo_id_array":[{"photo_id":"1332410176","filename":"file5"},{"photo_id":"1332410151","filename":"file2"},{"photo_id":"1332410171","filename":"file4"},{"photo_id":"1332410148","filename":"file1"},{"photo_id":"1332410145","filename":"file0"},{"photo_id":"1332410166","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332410176":["hashtag1","hashtag2"]},{"1332410166":["hashtag1","hashtag2"]},{"1332410151":["hashtag1","hashtag2"]},{"1332410145":["hashtag1","hashtag2"]},{"1332410148":["hashtag1","hashtag2"]},{"1332410171":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332410176, 1332410166, 1332410151, 1332410145, 1332410148, 1332410171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.05099415779114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:13:33.030434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/15/image_28012025_15_15_36_9385.jpg', '/home/pi/Desktop/images/28012025/15/15/image_28012025_15_15_47_10348.jpg', '/home/pi/Desktop/images/28012025/15/15/image_28012025_15_15_57_10334.jpg', '/home/pi/Desktop/images/28012025/15/15/image_28012025_15_16_06_9415.jpg', '/home/pi/Desktop/images/28012025/15/16/image_28012025_15_16_17_10327.jpg', '/home/pi/Desktop/images/28012025/15/16/image_28012025_15_16_27_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/15/image_28012025_15_15_36_9385.jpg
/home/pi/Desktop/images/28012025/15/15/image_28012025_15_15_47_10348.jpg
/home/pi/Desktop/images/28012025/15/15/image_28012025_15_15_57_10334.jpg
/home/pi/Desktop/images/28012025/15/15/image_28012025_15_16_06_9415.jpg
/home/pi/Desktop/images/28012025/15/16/image_28012025_15_16_17_10327.jpg
/home/pi/Desktop/images/28012025/15/16/image_28012025_15_16_27_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":["1332410351","1332410347","1332410341","1332410338","1332410283","1332410354"],"photo_ids_order":["1332410283","1332410338","1332410341","1332410347","1332410351","1332410354"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e0d8e3f51ef63e5e423265c77a29bee1.jpg","text":"TemporaryFile(/tmp/multipartBody1454513537598738838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095273979,"filename":"image_28012025_15_16_17_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2d417d5b3a16d584e9396a9272f30be1.jpg","text":"TemporaryFile(/tmp/multipartBody3015042733276595472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095273979,"filename":"image_28012025_15_16_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/1/28/efb4a9042fcad30a136382696d5a693e.jpg","text":"TemporaryFile(/tmp/multipartBody8578597702951598039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095273979,"filename":"image_28012025_15_15_57_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/01f2fcbec6d399e9641cb4bb9d5aa528.jpg","text":"TemporaryFile(/tmp/multipartBody2484798815275224990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095273979,"filename":"image_28012025_15_15_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/1/28/486dbf6a72a3b6707048cf3d242af574.jpg","text":"TemporaryFile(/tmp/multipartBody8573499171578564121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095273979,"filename":"image_28012025_15_15_36_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e35680ca9acc1999452c1c534f4c2e64.jpg","text":"TemporaryFile(/tmp/multipartBody6574190793655450525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095273979,"filename":"image_28012025_15_16_27_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332410341","file1":"1332410338","file0":"1332410283","file4":"1332410351","file5":"1332410354","file3":"1332410347"},"map_files_photo_id_array":[{"photo_id":"1332410354","filename":"file5"},{"photo_id":"1332410341","filename":"file2"},{"photo_id":"1332410351","filename":"file4"},{"photo_id":"1332410338","filename":"file1"},{"photo_id":"1332410283","filename":"file0"},{"photo_id":"1332410347","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332410351":["hashtag1","hashtag2"]},{"1332410347":["hashtag1","hashtag2"]},{"1332410341":["hashtag1","hashtag2"]},{"1332410338":["hashtag1","hashtag2"]},{"1332410283":["hashtag1","hashtag2"]},{"1332410354":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332410351, 1332410347, 1332410341, 1332410338, 1332410283, 1332410354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.397762298583984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:14:32.177331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/16/image_28012025_15_16_36_9418.jpg', '/home/pi/Desktop/images/28012025/15/16/image_28012025_15_16_47_10453.jpg', '/home/pi/Desktop/images/28012025/15/16/image_28012025_15_16_56_9449.jpg', '/home/pi/Desktop/images/28012025/15/17/image_28012025_15_17_17_10330.jpg', '/home/pi/Desktop/images/28012025/15/17/image_28012025_15_17_26_9440.jpg', '/home/pi/Desktop/images/28012025/15/17/image_28012025_15_17_37_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/16/image_28012025_15_16_36_9418.jpg
/home/pi/Desktop/images/28012025/15/16/image_28012025_15_16_47_10453.jpg
/home/pi/Desktop/images/28012025/15/16/image_28012025_15_16_56_9449.jpg
/home/pi/Desktop/images/28012025/15/17/image_28012025_15_17_17_10330.jpg
/home/pi/Desktop/images/28012025/15/17/image_28012025_15_17_26_9440.jpg
/home/pi/Desktop/images/28012025/15/17/image_28012025_15_17_37_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":["1332411070","1332411073","1332411087","1332410730","1332411077","1332411082"],"photo_ids_order":["1332410730","1332411070","1332411073","1332411077","1332411082","1332411087"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5eb1a4131d3c96d3bca02d5a340b51ac.jpg","text":"TemporaryFile(/tmp/multipartBody8318709785366930873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095333143,"filename":"image_28012025_15_16_47_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8c9412e656400521fc450e60ea786e2d.jpg","text":"TemporaryFile(/tmp/multipartBody8314530592957696901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095333143,"filename":"image_28012025_15_16_56_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4073108a4fbaf6f1e7f2f6978483c1ac.jpg","text":"TemporaryFile(/tmp/multipartBody3352285379368318400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095333143,"filename":"image_28012025_15_17_37_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c55b56ed7861d552fc3df7c24c908eb6.jpg","text":"TemporaryFile(/tmp/multipartBody7201820406364095081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095333143,"filename":"image_28012025_15_16_36_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/68ce7d7a10ab84d12a15b2fb70350c5b.jpg","text":"TemporaryFile(/tmp/multipartBody2638238066210363235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095333143,"filename":"image_28012025_15_17_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/1/28/c9ef5058d7ae47e4b43605848da0aa11.jpg","text":"TemporaryFile(/tmp/multipartBody5432350838895461630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095333143,"filename":"image_28012025_15_17_26_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332411073","file1":"1332411070","file0":"1332410730","file4":"1332411082","file5":"1332411087","file3":"1332411077"},"map_files_photo_id_array":[{"photo_id":"1332411087","filename":"file5"},{"photo_id":"1332411073","filename":"file2"},{"photo_id":"1332411082","filename":"file4"},{"photo_id":"1332411070","filename":"file1"},{"photo_id":"1332410730","filename":"file0"},{"photo_id":"1332411077","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332411070":["hashtag1","hashtag2"]},{"1332411073":["hashtag1","hashtag2"]},{"1332411087":["hashtag1","hashtag2"]},{"1332410730":["hashtag1","hashtag2"]},{"1332411077":["hashtag1","hashtag2"]},{"1332411082":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332411070, 1332411073, 1332411087, 1332410730, 1332411077, 1332411082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.413010120391846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:15:33.274808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/17/image_28012025_15_17_46_9436.jpg', '/home/pi/Desktop/images/28012025/15/17/image_28012025_15_17_57_10333.jpg', '/home/pi/Desktop/images/28012025/15/17/image_28012025_15_18_07_10343.jpg', '/home/pi/Desktop/images/28012025/15/18/image_28012025_15_18_16_9359.jpg', '/home/pi/Desktop/images/28012025/15/18/image_28012025_15_18_27_10331.jpg', '/home/pi/Desktop/images/28012025/15/18/image_28012025_15_18_37_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/17/image_28012025_15_17_46_9436.jpg
/home/pi/Desktop/images/28012025/15/17/image_28012025_15_17_57_10333.jpg
/home/pi/Desktop/images/28012025/15/17/image_28012025_15_18_07_10343.jpg
/home/pi/Desktop/images/28012025/15/18/image_28012025_15_18_16_9359.jpg
/home/pi/Desktop/images/28012025/15/18/image_28012025_15_18_27_10331.jpg
/home/pi/Desktop/images/28012025/15/18/image_28012025_15_18_37_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":["1332411474","1332411558","1332411392","1332411530","1332411560","1332411509"],"photo_ids_order":["1332411392","1332411474","1332411509","1332411530","1332411558","1332411560"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0fe7b7324db99c08376a69c0e2999a32.jpg","text":"TemporaryFile(/tmp/multipartBody1164652179313429772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095394240,"filename":"image_28012025_15_17_57_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/04ba4c2214b7571e6afaf489caffb173.jpg","text":"TemporaryFile(/tmp/multipartBody7453641272166634835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095394240,"filename":"image_28012025_15_18_27_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ea736fee451e4f13ac5dcfc40f281a3a.jpg","text":"TemporaryFile(/tmp/multipartBody8859892815141017353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095394240,"filename":"image_28012025_15_17_46_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/16b5f73066e8037fce757b3874613e3a.jpg","text":"TemporaryFile(/tmp/multipartBody6060350414438557783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095394240,"filename":"image_28012025_15_18_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/1/28/372ba043c06ff1b536fe351abd0a4a10.jpg","text":"TemporaryFile(/tmp/multipartBody1402243828206654998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095394240,"filename":"image_28012025_15_18_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/1/28/86c37049c32ca94396dbe873bf7b53a9.jpg","text":"TemporaryFile(/tmp/multipartBody254593283202156383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095394240,"filename":"image_28012025_15_18_07_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332411509","file1":"1332411474","file0":"1332411392","file4":"1332411558","file5":"1332411560","file3":"1332411530"},"map_files_photo_id_array":[{"photo_id":"1332411560","filename":"file5"},{"photo_id":"1332411509","filename":"file2"},{"photo_id":"1332411558","filename":"file4"},{"photo_id":"1332411474","filename":"file1"},{"photo_id":"1332411392","filename":"file0"},{"photo_id":"1332411530","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332411474":["hashtag1","hashtag2"]},{"1332411558":["hashtag1","hashtag2"]},{"1332411392":["hashtag1","hashtag2"]},{"1332411530":["hashtag1","hashtag2"]},{"1332411560":["hashtag1","hashtag2"]},{"1332411509":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332411474, 1332411558, 1332411392, 1332411530, 1332411560, 1332411509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.29144906997681 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:16:32.583949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/18/image_28012025_15_18_46_9354.jpg', '/home/pi/Desktop/images/28012025/15/18/image_28012025_15_18_57_10328.jpg', '/home/pi/Desktop/images/28012025/15/18/image_28012025_15_19_07_10318.jpg', '/home/pi/Desktop/images/28012025/15/19/image_28012025_15_19_16_9320.jpg', '/home/pi/Desktop/images/28012025/15/19/image_28012025_15_19_27_10424.jpg', '/home/pi/Desktop/images/28012025/15/19/image_28012025_15_19_37_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/18/image_28012025_15_18_46_9354.jpg
/home/pi/Desktop/images/28012025/15/18/image_28012025_15_18_57_10328.jpg
/home/pi/Desktop/images/28012025/15/18/image_28012025_15_19_07_10318.jpg
/home/pi/Desktop/images/28012025/15/19/image_28012025_15_19_16_9320.jpg
/home/pi/Desktop/images/28012025/15/19/image_28012025_15_19_27_10424.jpg
/home/pi/Desktop/images/28012025/15/19/image_28012025_15_19_37_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":["1332411868","1332411846","1332411825","1332411840","1332411863","1332411857"],"photo_ids_order":["1332411825","1332411840","1332411846","1332411857","1332411863","1332411868"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/718a4f547e2ebb1ab76c68ab9cefd2eb.jpg","text":"TemporaryFile(/tmp/multipartBody1322742827983577611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095453536,"filename":"image_28012025_15_19_37_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/83632c1d9c4c53f47230751c7d5e4b9b.jpg","text":"TemporaryFile(/tmp/multipartBody2251870709227031979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095453536,"filename":"image_28012025_15_19_07_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3ca3acea7203f488f7d8cf2a63efa046.jpg","text":"TemporaryFile(/tmp/multipartBody2230762082558615656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095453536,"filename":"image_28012025_15_18_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/1/28/47dbf69f12dd1e372ca886e2da0b7b16.jpg","text":"TemporaryFile(/tmp/multipartBody3100254975066301889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095453536,"filename":"image_28012025_15_18_57_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d916358376b98cb8cf9c0b5b34ada392.jpg","text":"TemporaryFile(/tmp/multipartBody8334036320656492749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095453536,"filename":"image_28012025_15_19_27_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/14a3443ec751189335df866b19864b3d.jpg","text":"TemporaryFile(/tmp/multipartBody977323672497723842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095453536,"filename":"image_28012025_15_19_16_9320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332411846","file1":"1332411840","file0":"1332411825","file4":"1332411863","file5":"1332411868","file3":"1332411857"},"map_files_photo_id_array":[{"photo_id":"1332411868","filename":"file5"},{"photo_id":"1332411846","filename":"file2"},{"photo_id":"1332411863","filename":"file4"},{"photo_id":"1332411840","filename":"file1"},{"photo_id":"1332411825","filename":"file0"},{"photo_id":"1332411857","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332411868":["hashtag1","hashtag2"]},{"1332411846":["hashtag1","hashtag2"]},{"1332411825":["hashtag1","hashtag2"]},{"1332411840":["hashtag1","hashtag2"]},{"1332411863":["hashtag1","hashtag2"]},{"1332411857":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332411868, 1332411846, 1332411825, 1332411840, 1332411863, 1332411857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.66288113594055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:17:32.753683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/19/image_28012025_15_19_46_9434.jpg', '/home/pi/Desktop/images/28012025/15/19/image_28012025_15_19_57_10340.jpg', '/home/pi/Desktop/images/28012025/15/19/image_28012025_15_20_06_9433.jpg', '/home/pi/Desktop/images/28012025/15/20/image_28012025_15_20_17_10337.jpg', '/home/pi/Desktop/images/28012025/15/20/image_28012025_15_20_27_10442.jpg', '/home/pi/Desktop/images/28012025/15/20/image_28012025_15_20_36_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/19/image_28012025_15_19_46_9434.jpg
/home/pi/Desktop/images/28012025/15/19/image_28012025_15_19_57_10340.jpg
/home/pi/Desktop/images/28012025/15/19/image_28012025_15_20_06_9433.jpg
/home/pi/Desktop/images/28012025/15/20/image_28012025_15_20_17_10337.jpg
/home/pi/Desktop/images/28012025/15/20/image_28012025_15_20_27_10442.jpg
/home/pi/Desktop/images/28012025/15/20/image_28012025_15_20_36_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332411901","1332411894","1332411888","1332411898","1332411883","1332411877"],"photo_ids_order":["1332411877","1332411883","1332411888","1332411894","1332411898","1332411901"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/20cc9a3a70df3066739adcf995d53381.jpg","text":"TemporaryFile(/tmp/multipartBody5575159866732529562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095513710,"filename":"image_28012025_15_20_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/1/28/5c13c8fa4ac77a0af8ed9c74cecbc488.jpg","text":"TemporaryFile(/tmp/multipartBody4559038904087070124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095513710,"filename":"image_28012025_15_20_17_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f9e3b3a4219e817e7084bae116f60480.jpg","text":"TemporaryFile(/tmp/multipartBody7163484325197107347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095513710,"filename":"image_28012025_15_20_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/1/28/9396cc6000aa767b6d20fe48efed4c67.jpg","text":"TemporaryFile(/tmp/multipartBody6700261624568960068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095513710,"filename":"image_28012025_15_20_27_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/831a9c06fe9cd0382e2bf19b82dd2fa4.jpg","text":"TemporaryFile(/tmp/multipartBody767841982495390913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095513710,"filename":"image_28012025_15_19_57_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0b7779bfcf716800daea7737232f8cfa.jpg","text":"TemporaryFile(/tmp/multipartBody8491676434311678843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095513710,"filename":"image_28012025_15_19_46_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332411888","file1":"1332411883","file0":"1332411877","file4":"1332411898","file5":"1332411901","file3":"1332411894"},"map_files_photo_id_array":[{"photo_id":"1332411901","filename":"file5"},{"photo_id":"1332411888","filename":"file2"},{"photo_id":"1332411898","filename":"file4"},{"photo_id":"1332411883","filename":"file1"},{"photo_id":"1332411877","filename":"file0"},{"photo_id":"1332411894","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332411901":["hashtag1","hashtag2"]},{"1332411894":["hashtag1","hashtag2"]},{"1332411888":["hashtag1","hashtag2"]},{"1332411898":["hashtag1","hashtag2"]},{"1332411883":["hashtag1","hashtag2"]},{"1332411877":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332411901, 1332411894, 1332411888, 1332411898, 1332411883, 1332411877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.436270236968994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:18:32.972474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/20/image_28012025_15_20_47_10450.jpg', '/home/pi/Desktop/images/28012025/15/20/image_28012025_15_20_56_9439.jpg', '/home/pi/Desktop/images/28012025/15/20/image_28012025_15_21_07_10424.jpg', '/home/pi/Desktop/images/28012025/15/21/image_28012025_15_21_17_10329.jpg', '/home/pi/Desktop/images/28012025/15/21/image_28012025_15_21_26_9331.jpg', '/home/pi/Desktop/images/28012025/15/21/image_28012025_15_21_37_10389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/20/image_28012025_15_20_47_10450.jpg
/home/pi/Desktop/images/28012025/15/20/image_28012025_15_20_56_9439.jpg
/home/pi/Desktop/images/28012025/15/20/image_28012025_15_21_07_10424.jpg
/home/pi/Desktop/images/28012025/15/21/image_28012025_15_21_17_10329.jpg
/home/pi/Desktop/images/28012025/15/21/image_28012025_15_21_26_9331.jpg
/home/pi/Desktop/images/28012025/15/21/image_28012025_15_21_37_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":["1332412191","1332411934","1332412344","1332411942","1332411939","1332411989"],"photo_ids_order":["1332411934","1332411939","1332411942","1332411989","1332412191","1332412344"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2468da933b2ff78a30d1781945570c3f.jpg","text":"TemporaryFile(/tmp/multipartBody550678981421190407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095573947,"filename":"image_28012025_15_21_26_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/080304431c78cf661f1bedc267b5beba.jpg","text":"TemporaryFile(/tmp/multipartBody2667664197682791365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095573947,"filename":"image_28012025_15_20_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/1/28/17b45c3822de239302a089a8e9342f7a.jpg","text":"TemporaryFile(/tmp/multipartBody7798326676070597164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095573947,"filename":"image_28012025_15_21_37_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fcc94c33603891ea819e9dff3bc7dee6.jpg","text":"TemporaryFile(/tmp/multipartBody1546178252172122722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095573947,"filename":"image_28012025_15_21_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/1/28/5738c75f831dc6ef42074b4df11b4c4b.jpg","text":"TemporaryFile(/tmp/multipartBody7657500202944291326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095573947,"filename":"image_28012025_15_20_56_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c6feba759b2b6ca2bb0902a01c2011e5.jpg","text":"TemporaryFile(/tmp/multipartBody2756217899023150617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095573947,"filename":"image_28012025_15_21_17_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332411942","file1":"1332411939","file0":"1332411934","file4":"1332412191","file5":"1332412344","file3":"1332411989"},"map_files_photo_id_array":[{"photo_id":"1332412344","filename":"file5"},{"photo_id":"1332411942","filename":"file2"},{"photo_id":"1332412191","filename":"file4"},{"photo_id":"1332411939","filename":"file1"},{"photo_id":"1332411934","filename":"file0"},{"photo_id":"1332411989","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332412191":["hashtag1","hashtag2"]},{"1332411934":["hashtag1","hashtag2"]},{"1332412344":["hashtag1","hashtag2"]},{"1332411942":["hashtag1","hashtag2"]},{"1332411939":["hashtag1","hashtag2"]},{"1332411989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332412191, 1332411934, 1332412344, 1332411942, 1332411939, 1332411989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.73226547241211 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:19:32.161221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/21/image_28012025_15_21_47_10352.jpg', '/home/pi/Desktop/images/28012025/15/21/image_28012025_15_21_56_9332.jpg', '/home/pi/Desktop/images/28012025/15/22/image_28012025_15_22_17_10323.jpg', '/home/pi/Desktop/images/28012025/15/22/image_28012025_15_22_27_9445.jpg', '/home/pi/Desktop/images/28012025/15/22/image_28012025_15_22_37_10345.jpg', '/home/pi/Desktop/images/28012025/15/22/image_28012025_15_22_46_9470.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/21/image_28012025_15_21_47_10352.jpg
/home/pi/Desktop/images/28012025/15/21/image_28012025_15_21_56_9332.jpg
/home/pi/Desktop/images/28012025/15/22/image_28012025_15_22_17_10323.jpg
/home/pi/Desktop/images/28012025/15/22/image_28012025_15_22_27_9445.jpg
/home/pi/Desktop/images/28012025/15/22/image_28012025_15_22_37_10345.jpg
/home/pi/Desktop/images/28012025/15/22/image_28012025_15_22_46_9470.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332412642","1332412584","1332412638","1332412626","1332412589","1332412456"],"photo_ids_order":["1332412456","1332412584","1332412589","1332412626","1332412638","1332412642"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/73cc2c50944d078d341971cb65c41fe0.jpg","text":"TemporaryFile(/tmp/multipartBody4194756001103279849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095633128,"filename":"image_28012025_15_22_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/1/28/0a5ce07dc26251cb7ded04ec51d483b0.jpg","text":"TemporaryFile(/tmp/multipartBody7488449906301407148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095633128,"filename":"image_28012025_15_21_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/1/28/a02494fe7392412e272e2ff4647bb460.jpg","text":"TemporaryFile(/tmp/multipartBody7925055942067992153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095633128,"filename":"image_28012025_15_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/1/28/4f63cb6fbfffd07aa375202ea94a757f.jpg","text":"TemporaryFile(/tmp/multipartBody1579042377826605331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095633128,"filename":"image_28012025_15_22_27_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/43da80561bfb03d6b5f2de2be26f6027.jpg","text":"TemporaryFile(/tmp/multipartBody7846666677574933243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095633128,"filename":"image_28012025_15_22_17_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/34a90ff0b1da36860e72cabbec5fd706.jpg","text":"TemporaryFile(/tmp/multipartBody8102151564519038162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095633128,"filename":"image_28012025_15_21_47_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332412589","file1":"1332412584","file0":"1332412456","file4":"1332412638","file5":"1332412642","file3":"1332412626"},"map_files_photo_id_array":[{"photo_id":"1332412642","filename":"file5"},{"photo_id":"1332412589","filename":"file2"},{"photo_id":"1332412638","filename":"file4"},{"photo_id":"1332412584","filename":"file1"},{"photo_id":"1332412456","filename":"file0"},{"photo_id":"1332412626","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332412642":["hashtag1","hashtag2"]},{"1332412584":["hashtag1","hashtag2"]},{"1332412638":["hashtag1","hashtag2"]},{"1332412626":["hashtag1","hashtag2"]},{"1332412589":["hashtag1","hashtag2"]},{"1332412456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332412642, 1332412584, 1332412638, 1332412626, 1332412589, 1332412456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.93904399871826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:20:32.371936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/22/image_28012025_15_22_57_10354.jpg', '/home/pi/Desktop/images/28012025/15/22/image_28012025_15_23_06_9443.jpg', '/home/pi/Desktop/images/28012025/15/23/image_28012025_15_23_17_10422.jpg', '/home/pi/Desktop/images/28012025/15/23/image_28012025_15_23_27_10358.jpg', '/home/pi/Desktop/images/28012025/15/23/image_28012025_15_23_36_9346.jpg', '/home/pi/Desktop/images/28012025/15/23/image_28012025_15_23_47_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/22/image_28012025_15_22_57_10354.jpg
/home/pi/Desktop/images/28012025/15/22/image_28012025_15_23_06_9443.jpg
/home/pi/Desktop/images/28012025/15/23/image_28012025_15_23_17_10422.jpg
/home/pi/Desktop/images/28012025/15/23/image_28012025_15_23_27_10358.jpg
/home/pi/Desktop/images/28012025/15/23/image_28012025_15_23_36_9346.jpg
/home/pi/Desktop/images/28012025/15/23/image_28012025_15_23_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":["1332413085","1332412893","1332413016","1332413054","1332413080","1332412969"],"photo_ids_order":["1332412893","1332412969","1332413016","1332413054","1332413080","1332413085"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/78f231e0343034acb523067da1dfe860.jpg","text":"TemporaryFile(/tmp/multipartBody6828016563026020714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095693337,"filename":"image_28012025_15_23_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/1/28/1fccb941b131dfc3d8113749c8daf212.jpg","text":"TemporaryFile(/tmp/multipartBody2219390623980213299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095693337,"filename":"image_28012025_15_22_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/1/28/2b704db356e6fd636c7dc9c85dddc275.jpg","text":"TemporaryFile(/tmp/multipartBody7665007093216971534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095693337,"filename":"image_28012025_15_23_17_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/caf0a5911fbba3b8b2e2fbdd1dafbb92.jpg","text":"TemporaryFile(/tmp/multipartBody9048021960790999056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095693337,"filename":"image_28012025_15_23_27_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/482904565431990bc2cee8beacb5b839.jpg","text":"TemporaryFile(/tmp/multipartBody4116437952856235860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095693337,"filename":"image_28012025_15_23_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/1/28/76ac0a9330f2370091db1e6ea5e12758.jpg","text":"TemporaryFile(/tmp/multipartBody1792598322024015167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095693337,"filename":"image_28012025_15_23_06_9443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332413016","file1":"1332412969","file0":"1332412893","file4":"1332413080","file5":"1332413085","file3":"1332413054"},"map_files_photo_id_array":[{"photo_id":"1332413085","filename":"file5"},{"photo_id":"1332413016","filename":"file2"},{"photo_id":"1332413080","filename":"file4"},{"photo_id":"1332412969","filename":"file1"},{"photo_id":"1332412893","filename":"file0"},{"photo_id":"1332413054","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332413085":["hashtag1","hashtag2"]},{"1332412893":["hashtag1","hashtag2"]},{"1332413016":["hashtag1","hashtag2"]},{"1332413054":["hashtag1","hashtag2"]},{"1332413080":["hashtag1","hashtag2"]},{"1332412969":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332413085, 1332412893, 1332413016, 1332413054, 1332413080, 1332412969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04818534851074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:21:32.628520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/23/image_28012025_15_23_57_10331.jpg', '/home/pi/Desktop/images/28012025/15/23/image_28012025_15_24_06_9356.jpg', '/home/pi/Desktop/images/28012025/15/24/image_28012025_15_24_17_10404.jpg', '/home/pi/Desktop/images/28012025/15/24/image_28012025_15_24_27_10364.jpg', '/home/pi/Desktop/images/28012025/15/24/image_28012025_15_24_37_9435.jpg', '/home/pi/Desktop/images/28012025/15/24/image_28012025_15_24_47_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/23/image_28012025_15_23_57_10331.jpg
/home/pi/Desktop/images/28012025/15/23/image_28012025_15_24_06_9356.jpg
/home/pi/Desktop/images/28012025/15/24/image_28012025_15_24_17_10404.jpg
/home/pi/Desktop/images/28012025/15/24/image_28012025_15_24_27_10364.jpg
/home/pi/Desktop/images/28012025/15/24/image_28012025_15_24_37_9435.jpg
/home/pi/Desktop/images/28012025/15/24/image_28012025_15_24_47_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":["1332413163","1332413157","1332413142","1332413150","1332413161","1332413134"],"photo_ids_order":["1332413134","1332413142","1332413150","1332413157","1332413161","1332413163"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/71901d21cf4f70888ca5625c0316737d.jpg","text":"TemporaryFile(/tmp/multipartBody2052034098142727872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095753791,"filename":"image_28012025_15_24_47_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fc8541ace80e883737d5dd58007f8333.jpg","text":"TemporaryFile(/tmp/multipartBody6443358950694442269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095753791,"filename":"image_28012025_15_24_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/1/28/72fbfb769844493fd98f662878314920.jpg","text":"TemporaryFile(/tmp/multipartBody1963176979038416327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095753791,"filename":"image_28012025_15_24_06_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0ea6b477df79fceb4faddfc459d03e15.jpg","text":"TemporaryFile(/tmp/multipartBody4803237305679907510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095753791,"filename":"image_28012025_15_24_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/1/28/ba7b30435db8681280d867c4f6a17ca7.jpg","text":"TemporaryFile(/tmp/multipartBody1163675219198782818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095753791,"filename":"image_28012025_15_24_37_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7cb5b857ebcf73b5b5c7cbfa76cc6500.jpg","text":"TemporaryFile(/tmp/multipartBody2668581080181232296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095753791,"filename":"image_28012025_15_23_57_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332413150","file1":"1332413142","file0":"1332413134","file4":"1332413161","file5":"1332413163","file3":"1332413157"},"map_files_photo_id_array":[{"photo_id":"1332413163","filename":"file5"},{"photo_id":"1332413150","filename":"file2"},{"photo_id":"1332413161","filename":"file4"},{"photo_id":"1332413142","filename":"file1"},{"photo_id":"1332413134","filename":"file0"},{"photo_id":"1332413157","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332413163":["hashtag1","hashtag2"]},{"1332413157":["hashtag1","hashtag2"]},{"1332413142":["hashtag1","hashtag2"]},{"1332413150":["hashtag1","hashtag2"]},{"1332413161":["hashtag1","hashtag2"]},{"1332413134":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332413163, 1332413157, 1332413142, 1332413150, 1332413161, 1332413134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.940425634384155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:22:33.020532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/24/image_28012025_15_24_56_9374.jpg', '/home/pi/Desktop/images/28012025/15/24/image_28012025_15_25_07_10338.jpg', '/home/pi/Desktop/images/28012025/15/25/image_28012025_15_25_17_10338.jpg', '/home/pi/Desktop/images/28012025/15/25/image_28012025_15_25_26_9357.jpg', '/home/pi/Desktop/images/28012025/15/25/image_28012025_15_25_37_10411.jpg', '/home/pi/Desktop/images/28012025/15/25/image_28012025_15_25_47_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/24/image_28012025_15_24_56_9374.jpg
/home/pi/Desktop/images/28012025/15/24/image_28012025_15_25_07_10338.jpg
/home/pi/Desktop/images/28012025/15/25/image_28012025_15_25_17_10338.jpg
/home/pi/Desktop/images/28012025/15/25/image_28012025_15_25_26_9357.jpg
/home/pi/Desktop/images/28012025/15/25/image_28012025_15_25_37_10411.jpg
/home/pi/Desktop/images/28012025/15/25/image_28012025_15_25_47_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332413226","1332413219","1332413228","1332413197","1332413215","1332413193"],"photo_ids_order":["1332413193","1332413197","1332413215","1332413219","1332413226","1332413228"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1b93ee0abd612a5eade1a74371c9ea50.jpg","text":"TemporaryFile(/tmp/multipartBody6402241383133454358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095814002,"filename":"image_28012025_15_25_37_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4e1f3153fcafb917df97d7006f2cc9b2.jpg","text":"TemporaryFile(/tmp/multipartBody1730073720634479387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095814002,"filename":"image_28012025_15_25_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/1/28/9345de012e8fb7f6c90d0d1776faf7de.jpg","text":"TemporaryFile(/tmp/multipartBody5090757288208924202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095814002,"filename":"image_28012025_15_25_47_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0c47fc80147ef7305dd1b0b6f9375e87.jpg","text":"TemporaryFile(/tmp/multipartBody3123284317810022081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095814002,"filename":"image_28012025_15_25_07_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8e6ecc2f4a35a6e681237d8db1c224b3.jpg","text":"TemporaryFile(/tmp/multipartBody2749883400855779478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095814002,"filename":"image_28012025_15_25_17_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b2a78f16973e865281e8d4049d0b4d37.jpg","text":"TemporaryFile(/tmp/multipartBody206191679216797992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095814002,"filename":"image_28012025_15_24_56_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332413215","file1":"1332413197","file0":"1332413193","file4":"1332413226","file5":"1332413228","file3":"1332413219"},"map_files_photo_id_array":[{"photo_id":"1332413228","filename":"file5"},{"photo_id":"1332413215","filename":"file2"},{"photo_id":"1332413226","filename":"file4"},{"photo_id":"1332413197","filename":"file1"},{"photo_id":"1332413193","filename":"file0"},{"photo_id":"1332413219","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332413226":["hashtag1","hashtag2"]},{"1332413219":["hashtag1","hashtag2"]},{"1332413228":["hashtag1","hashtag2"]},{"1332413197":["hashtag1","hashtag2"]},{"1332413215":["hashtag1","hashtag2"]},{"1332413193":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332413226, 1332413219, 1332413228, 1332413197, 1332413215, 1332413193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.06949853897095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:23:33.039590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/25/image_28012025_15_25_56_9429.jpg', '/home/pi/Desktop/images/28012025/15/25/image_28012025_15_26_07_10347.jpg', '/home/pi/Desktop/images/28012025/15/26/image_28012025_15_26_16_9400.jpg', '/home/pi/Desktop/images/28012025/15/26/image_28012025_15_26_27_10400.jpg', '/home/pi/Desktop/images/28012025/15/26/image_28012025_15_26_37_10356.jpg', '/home/pi/Desktop/images/28012025/15/26/image_28012025_15_26_46_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/25/image_28012025_15_25_56_9429.jpg
/home/pi/Desktop/images/28012025/15/25/image_28012025_15_26_07_10347.jpg
/home/pi/Desktop/images/28012025/15/26/image_28012025_15_26_16_9400.jpg
/home/pi/Desktop/images/28012025/15/26/image_28012025_15_26_27_10400.jpg
/home/pi/Desktop/images/28012025/15/26/image_28012025_15_26_37_10356.jpg
/home/pi/Desktop/images/28012025/15/26/image_28012025_15_26_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":["1332413322","1332413301","1332413333","1332413296","1332413292","1332413305"],"photo_ids_order":["1332413292","1332413296","1332413301","1332413305","1332413322","1332413333"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cbcf0551f31e0bfb76c20fc8aa846380.jpg","text":"TemporaryFile(/tmp/multipartBody1920317253784283983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095874004,"filename":"image_28012025_15_26_37_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a77c4599659b09d062c2df81d3a4946a.jpg","text":"TemporaryFile(/tmp/multipartBody1303933459870663353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095874004,"filename":"image_28012025_15_26_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/1/28/bcab0528ce4dd625706554a1120a109c.jpg","text":"TemporaryFile(/tmp/multipartBody8390415950715700748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095874004,"filename":"image_28012025_15_26_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/1/28/9301a5b1e47a5c22be41ce17bd42b01b.jpg","text":"TemporaryFile(/tmp/multipartBody2792589943169196988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095874004,"filename":"image_28012025_15_26_07_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b293932d29b84ef081fd7e5f83ab4610.jpg","text":"TemporaryFile(/tmp/multipartBody7880764946696884476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095874004,"filename":"image_28012025_15_25_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/1/28/f52165fe58a246a0fe5846aa478e6fd7.jpg","text":"TemporaryFile(/tmp/multipartBody2719032318981418566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095874004,"filename":"image_28012025_15_26_27_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332413301","file1":"1332413296","file0":"1332413292","file4":"1332413322","file5":"1332413333","file3":"1332413305"},"map_files_photo_id_array":[{"photo_id":"1332413333","filename":"file5"},{"photo_id":"1332413301","filename":"file2"},{"photo_id":"1332413322","filename":"file4"},{"photo_id":"1332413296","filename":"file1"},{"photo_id":"1332413292","filename":"file0"},{"photo_id":"1332413305","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332413322":["hashtag1","hashtag2"]},{"1332413301":["hashtag1","hashtag2"]},{"1332413333":["hashtag1","hashtag2"]},{"1332413296":["hashtag1","hashtag2"]},{"1332413292":["hashtag1","hashtag2"]},{"1332413305":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332413322, 1332413301, 1332413333, 1332413296, 1332413292, 1332413305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.063833236694336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:24:32.340824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/26/image_28012025_15_27_07_10346.jpg', '/home/pi/Desktop/images/28012025/15/27/image_28012025_15_27_16_9324.jpg', '/home/pi/Desktop/images/28012025/15/27/image_28012025_15_27_27_10344.jpg', '/home/pi/Desktop/images/28012025/15/27/image_28012025_15_27_37_10406.jpg', '/home/pi/Desktop/images/28012025/15/27/image_28012025_15_27_46_9381.jpg', '/home/pi/Desktop/images/28012025/15/27/image_28012025_15_27_57_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/26/image_28012025_15_27_07_10346.jpg
/home/pi/Desktop/images/28012025/15/27/image_28012025_15_27_16_9324.jpg
/home/pi/Desktop/images/28012025/15/27/image_28012025_15_27_27_10344.jpg
/home/pi/Desktop/images/28012025/15/27/image_28012025_15_27_37_10406.jpg
/home/pi/Desktop/images/28012025/15/27/image_28012025_15_27_46_9381.jpg
/home/pi/Desktop/images/28012025/15/27/image_28012025_15_27_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":["1332413430","1332413429","1332413426","1332413408","1332413362","1332413404"],"photo_ids_order":["1332413362","1332413404","1332413408","1332413426","1332413429","1332413430"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/90726a57cf81a98d724d2d50c923b77e.jpg","text":"TemporaryFile(/tmp/multipartBody7989412689849932595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095933316,"filename":"image_28012025_15_27_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/1/28/5542df742eeb362d51ac3e2023f4a59f.jpg","text":"TemporaryFile(/tmp/multipartBody6068679104194322111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095933316,"filename":"image_28012025_15_27_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/1/28/dd366b0ad82da3a3415c845748a6f70e.jpg","text":"TemporaryFile(/tmp/multipartBody1980741732099972348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095933316,"filename":"image_28012025_15_27_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/1/28/ff96cb168065f6552e05b0da2cf0571b.jpg","text":"TemporaryFile(/tmp/multipartBody3688686196900624890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095933316,"filename":"image_28012025_15_27_27_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/22320424bf2f659b8138ea94d965d138.jpg","text":"TemporaryFile(/tmp/multipartBody3444799377362688430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095933316,"filename":"image_28012025_15_27_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/1/28/0aa20d6991080ede43f3ae4c8fa7c44d.jpg","text":"TemporaryFile(/tmp/multipartBody8462424045190729575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095933316,"filename":"image_28012025_15_27_16_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332413408","file1":"1332413404","file0":"1332413362","file4":"1332413429","file5":"1332413430","file3":"1332413426"},"map_files_photo_id_array":[{"photo_id":"1332413430","filename":"file5"},{"photo_id":"1332413408","filename":"file2"},{"photo_id":"1332413429","filename":"file4"},{"photo_id":"1332413404","filename":"file1"},{"photo_id":"1332413362","filename":"file0"},{"photo_id":"1332413426","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332413430":["hashtag1","hashtag2"]},{"1332413429":["hashtag1","hashtag2"]},{"1332413426":["hashtag1","hashtag2"]},{"1332413408":["hashtag1","hashtag2"]},{"1332413362":["hashtag1","hashtag2"]},{"1332413404":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332413430, 1332413429, 1332413426, 1332413408, 1332413362, 1332413404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76774787902832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:25:32.632619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/27/image_28012025_15_28_06_9399.jpg', '/home/pi/Desktop/images/28012025/15/28/image_28012025_15_28_17_10330.jpg', '/home/pi/Desktop/images/28012025/15/28/image_28012025_15_28_27_10346.jpg', '/home/pi/Desktop/images/28012025/15/28/image_28012025_15_28_36_9431.jpg', '/home/pi/Desktop/images/28012025/15/28/image_28012025_15_28_47_10350.jpg', '/home/pi/Desktop/images/28012025/15/28/image_28012025_15_28_57_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/27/image_28012025_15_28_06_9399.jpg
/home/pi/Desktop/images/28012025/15/28/image_28012025_15_28_17_10330.jpg
/home/pi/Desktop/images/28012025/15/28/image_28012025_15_28_27_10346.jpg
/home/pi/Desktop/images/28012025/15/28/image_28012025_15_28_36_9431.jpg
/home/pi/Desktop/images/28012025/15/28/image_28012025_15_28_47_10350.jpg
/home/pi/Desktop/images/28012025/15/28/image_28012025_15_28_57_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332413457","1332413591","1332413587","1332413596","1332413455","1332413598"],"photo_ids_order":["1332413455","1332413457","1332413587","1332413591","1332413596","1332413598"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a97e7b78b8291a681f78c5574db12d64.jpg","text":"TemporaryFile(/tmp/multipartBody1106853115576343728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095993596,"filename":"image_28012025_15_28_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/1/28/d8e19141e857aee967e565cea341eb68.jpg","text":"TemporaryFile(/tmp/multipartBody7870941318704030737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095993596,"filename":"image_28012025_15_28_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/1/28/b7101be7f504d055cd82aed38a70cd19.jpg","text":"TemporaryFile(/tmp/multipartBody10596797248276947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095993596,"filename":"image_28012025_15_28_27_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0dcc2524a50223069f61ea944c41f6a8.jpg","text":"TemporaryFile(/tmp/multipartBody6591631843195869798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095993596,"filename":"image_28012025_15_28_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/1/28/cef3ca04ae724cd2cd085dabeea3fa21.jpg","text":"TemporaryFile(/tmp/multipartBody1851924802691506211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095993596,"filename":"image_28012025_15_28_06_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bff4a8782e86fec779333448880d599c.jpg","text":"TemporaryFile(/tmp/multipartBody1649891603771445792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738095993596,"filename":"image_28012025_15_28_57_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332413587","file1":"1332413457","file0":"1332413455","file4":"1332413596","file5":"1332413598","file3":"1332413591"},"map_files_photo_id_array":[{"photo_id":"1332413598","filename":"file5"},{"photo_id":"1332413587","filename":"file2"},{"photo_id":"1332413596","filename":"file4"},{"photo_id":"1332413457","filename":"file1"},{"photo_id":"1332413455","filename":"file0"},{"photo_id":"1332413591","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332413457":["hashtag1","hashtag2"]},{"1332413591":["hashtag1","hashtag2"]},{"1332413587":["hashtag1","hashtag2"]},{"1332413596":["hashtag1","hashtag2"]},{"1332413455":["hashtag1","hashtag2"]},{"1332413598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332413457, 1332413591, 1332413587, 1332413596, 1332413455, 1332413598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.78111457824707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:26:32.912372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/28/image_28012025_15_29_06_9393.jpg', '/home/pi/Desktop/images/28012025/15/29/image_28012025_15_29_17_10315.jpg', '/home/pi/Desktop/images/28012025/15/29/image_28012025_15_29_27_10346.jpg', '/home/pi/Desktop/images/28012025/15/29/image_28012025_15_29_37_9437.jpg', '/home/pi/Desktop/images/28012025/15/29/image_28012025_15_29_47_10360.jpg', '/home/pi/Desktop/images/28012025/15/29/image_28012025_15_29_56_9416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/28/image_28012025_15_29_06_9393.jpg
/home/pi/Desktop/images/28012025/15/29/image_28012025_15_29_17_10315.jpg
/home/pi/Desktop/images/28012025/15/29/image_28012025_15_29_27_10346.jpg
/home/pi/Desktop/images/28012025/15/29/image_28012025_15_29_37_9437.jpg
/home/pi/Desktop/images/28012025/15/29/image_28012025_15_29_47_10360.jpg
/home/pi/Desktop/images/28012025/15/29/image_28012025_15_29_56_9416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332413640","1332413619","1332413645","1332413654","1332413650","1332413632"],"photo_ids_order":["1332413619","1332413632","1332413640","1332413645","1332413650","1332413654"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/39bafe6629c68eb5beba0fb763e458a6.jpg","text":"TemporaryFile(/tmp/multipartBody4884224967306326889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096053862,"filename":"image_28012025_15_29_27_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e6200d9e64a4f1fdae89c0064bf6a197.jpg","text":"TemporaryFile(/tmp/multipartBody8683239870354771133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096053862,"filename":"image_28012025_15_29_06_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ec33a512717d869cac99661df25272ef.jpg","text":"TemporaryFile(/tmp/multipartBody6424480645761834089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096053862,"filename":"image_28012025_15_29_37_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ae92bb9e29fae1871e69448241c3f0b5.jpg","text":"TemporaryFile(/tmp/multipartBody3908144280834329016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096053862,"filename":"image_28012025_15_29_56_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1c5f47ebb1942015125f44926c1626fa.jpg","text":"TemporaryFile(/tmp/multipartBody4267546685620937244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096053862,"filename":"image_28012025_15_29_47_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/240b210612d7c9a5b45b474c5fba66f6.jpg","text":"TemporaryFile(/tmp/multipartBody1353016838228009344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096053862,"filename":"image_28012025_15_29_17_10315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332413640","file1":"1332413632","file0":"1332413619","file4":"1332413650","file5":"1332413654","file3":"1332413645"},"map_files_photo_id_array":[{"photo_id":"1332413654","filename":"file5"},{"photo_id":"1332413640","filename":"file2"},{"photo_id":"1332413650","filename":"file4"},{"photo_id":"1332413632","filename":"file1"},{"photo_id":"1332413619","filename":"file0"},{"photo_id":"1332413645","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332413640":["hashtag1","hashtag2"]},{"1332413619":["hashtag1","hashtag2"]},{"1332413645":["hashtag1","hashtag2"]},{"1332413654":["hashtag1","hashtag2"]},{"1332413650":["hashtag1","hashtag2"]},{"1332413632":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332413640, 1332413619, 1332413645, 1332413654, 1332413650, 1332413632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.63984274864197 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:27:33.123010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/29/image_28012025_15_30_07_10351.jpg', '/home/pi/Desktop/images/28012025/15/30/image_28012025_15_30_17_10349.jpg', '/home/pi/Desktop/images/28012025/15/30/image_28012025_15_30_26_9349.jpg', '/home/pi/Desktop/images/28012025/15/30/image_28012025_15_30_37_10340.jpg', '/home/pi/Desktop/images/28012025/15/30/image_28012025_15_30_47_10333.jpg', '/home/pi/Desktop/images/28012025/15/30/image_28012025_15_30_56_9318.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/29/image_28012025_15_30_07_10351.jpg
/home/pi/Desktop/images/28012025/15/30/image_28012025_15_30_17_10349.jpg
/home/pi/Desktop/images/28012025/15/30/image_28012025_15_30_26_9349.jpg
/home/pi/Desktop/images/28012025/15/30/image_28012025_15_30_37_10340.jpg
/home/pi/Desktop/images/28012025/15/30/image_28012025_15_30_47_10333.jpg
/home/pi/Desktop/images/28012025/15/30/image_28012025_15_30_56_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":["1332413715","1332413724","1332413747","1332413755","1332413719","1332413716"],"photo_ids_order":["1332413715","1332413716","1332413719","1332413724","1332413747","1332413755"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8bf5d47ddfc46dfeb8cd32a0b95ff582.jpg","text":"TemporaryFile(/tmp/multipartBody2388247772759382028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096114088,"filename":"image_28012025_15_30_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/1/28/eed850d09cd1ba87c5bb3cada4079384.jpg","text":"TemporaryFile(/tmp/multipartBody5422345877034269765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096114088,"filename":"image_28012025_15_30_37_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/64652a55e85e850d0a7b30aeec66e8f6.jpg","text":"TemporaryFile(/tmp/multipartBody5558075633532825849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096114088,"filename":"image_28012025_15_30_47_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a04de547a91cbc50eb0e304bf94313b1.jpg","text":"TemporaryFile(/tmp/multipartBody651935690844552956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096114088,"filename":"image_28012025_15_30_56_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3735c808926c5a74902bf808baf5efd8.jpg","text":"TemporaryFile(/tmp/multipartBody2243719968900469504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096114088,"filename":"image_28012025_15_30_26_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/701c7bb83653f01913a9893d7bffd931.jpg","text":"TemporaryFile(/tmp/multipartBody4729267777335393383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096114088,"filename":"image_28012025_15_30_17_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332413719","file1":"1332413716","file0":"1332413715","file4":"1332413747","file5":"1332413755","file3":"1332413724"},"map_files_photo_id_array":[{"photo_id":"1332413755","filename":"file5"},{"photo_id":"1332413719","filename":"file2"},{"photo_id":"1332413747","filename":"file4"},{"photo_id":"1332413716","filename":"file1"},{"photo_id":"1332413715","filename":"file0"},{"photo_id":"1332413724","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332413715":["hashtag1","hashtag2"]},{"1332413724":["hashtag1","hashtag2"]},{"1332413747":["hashtag1","hashtag2"]},{"1332413755":["hashtag1","hashtag2"]},{"1332413719":["hashtag1","hashtag2"]},{"1332413716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332413715, 1332413724, 1332413747, 1332413755, 1332413719, 1332413716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.90189027786255 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:28:33.283399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/30/image_28012025_15_31_07_10341.jpg', '/home/pi/Desktop/images/28012025/15/31/image_28012025_15_31_17_10348.jpg', '/home/pi/Desktop/images/28012025/15/31/image_28012025_15_31_26_9321.jpg', '/home/pi/Desktop/images/28012025/15/31/image_28012025_15_31_37_10345.jpg', '/home/pi/Desktop/images/28012025/15/31/image_28012025_15_31_47_10346.jpg', '/home/pi/Desktop/images/28012025/15/31/image_28012025_15_31_56_9383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/30/image_28012025_15_31_07_10341.jpg
/home/pi/Desktop/images/28012025/15/31/image_28012025_15_31_17_10348.jpg
/home/pi/Desktop/images/28012025/15/31/image_28012025_15_31_26_9321.jpg
/home/pi/Desktop/images/28012025/15/31/image_28012025_15_31_37_10345.jpg
/home/pi/Desktop/images/28012025/15/31/image_28012025_15_31_47_10346.jpg
/home/pi/Desktop/images/28012025/15/31/image_28012025_15_31_56_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5557734966278076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 21:28:43.327474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/30/image_28012025_15_31_07_10341.jpg', '/home/pi/Desktop/images/28012025/15/31/image_28012025_15_31_17_10348.jpg', '/home/pi/Desktop/images/28012025/15/31/image_28012025_15_31_26_9321.jpg', '/home/pi/Desktop/images/28012025/15/31/image_28012025_15_31_37_10345.jpg', '/home/pi/Desktop/images/28012025/15/31/image_28012025_15_31_47_10346.jpg', '/home/pi/Desktop/images/28012025/15/31/image_28012025_15_31_56_9383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/30/image_28012025_15_31_07_10341.jpg
/home/pi/Desktop/images/28012025/15/31/image_28012025_15_31_17_10348.jpg
/home/pi/Desktop/images/28012025/15/31/image_28012025_15_31_26_9321.jpg
/home/pi/Desktop/images/28012025/15/31/image_28012025_15_31_37_10345.jpg
/home/pi/Desktop/images/28012025/15/31/image_28012025_15_31_47_10346.jpg
/home/pi/Desktop/images/28012025/15/31/image_28012025_15_31_56_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":["1332413835","1332413820","1332413942","1332414172","1332413801","1332414043"],"photo_ids_order":["1332413801","1332413820","1332413835","1332413942","1332414043","1332414172"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/acaea11ca3ddb94f6f5086a3040c5b38.jpg","text":"TemporaryFile(/tmp/multipartBody5524929099367440194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096184207,"filename":"image_28012025_15_31_26_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0e9ce56d3cfbb1f7502c0b425780d290.jpg","text":"TemporaryFile(/tmp/multipartBody1889929504959218699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096184207,"filename":"image_28012025_15_31_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/1/28/c093d4736d577606e0dfcbe591195f46.jpg","text":"TemporaryFile(/tmp/multipartBody2374676040844176453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096184207,"filename":"image_28012025_15_31_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/1/28/f0a23dd21404cd8f182f5ceed5a72446.jpg","text":"TemporaryFile(/tmp/multipartBody9002767374986606327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096184207,"filename":"image_28012025_15_31_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/1/28/c9786b4641ac4e350de4cc3e5a35ea6d.jpg","text":"TemporaryFile(/tmp/multipartBody3716698825441676482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096184207,"filename":"image_28012025_15_31_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/1/28/f33d455c31bc0a3234c1ce17d863eca5.jpg","text":"TemporaryFile(/tmp/multipartBody3087179514310577089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096184207,"filename":"image_28012025_15_31_47_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332413835","file1":"1332413820","file0":"1332413801","file4":"1332414043","file5":"1332414172","file3":"1332413942"},"map_files_photo_id_array":[{"photo_id":"1332414172","filename":"file5"},{"photo_id":"1332413835","filename":"file2"},{"photo_id":"1332414043","filename":"file4"},{"photo_id":"1332413820","filename":"file1"},{"photo_id":"1332413801","filename":"file0"},{"photo_id":"1332413942","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332413835":["hashtag1","hashtag2"]},{"1332413820":["hashtag1","hashtag2"]},{"1332413942":["hashtag1","hashtag2"]},{"1332414172":["hashtag1","hashtag2"]},{"1332413801":["hashtag1","hashtag2"]},{"1332414043":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332413835, 1332413820, 1332413942, 1332414172, 1332413801, 1332414043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.15206718444824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:29:32.491883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/32/image_28012025_15_32_17_10176.jpg', '/home/pi/Desktop/images/28012025/15/32/image_28012025_15_32_26_9400.jpg', '/home/pi/Desktop/images/28012025/15/32/image_28012025_15_32_37_10325.jpg', '/home/pi/Desktop/images/28012025/15/32/image_28012025_15_32_47_10361.jpg', '/home/pi/Desktop/images/28012025/15/32/image_28012025_15_32_56_9445.jpg', '/home/pi/Desktop/images/28012025/15/32/image_28012025_15_33_07_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/32/image_28012025_15_32_17_10176.jpg
/home/pi/Desktop/images/28012025/15/32/image_28012025_15_32_26_9400.jpg
/home/pi/Desktop/images/28012025/15/32/image_28012025_15_32_37_10325.jpg
/home/pi/Desktop/images/28012025/15/32/image_28012025_15_32_47_10361.jpg
/home/pi/Desktop/images/28012025/15/32/image_28012025_15_32_56_9445.jpg
/home/pi/Desktop/images/28012025/15/32/image_28012025_15_33_07_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332414557","1332414556","1332414631","1332414706","1332414700","1332414492"],"photo_ids_order":["1332414492","1332414556","1332414557","1332414631","1332414700","1332414706"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c234c9a164b0478f28b25d19a49ae309.jpg","text":"TemporaryFile(/tmp/multipartBody2420253578052178479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096233440,"filename":"image_28012025_15_32_37_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/742411a24305d8ed5bd77efcac910c34.jpg","text":"TemporaryFile(/tmp/multipartBody552203503938018189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096233440,"filename":"image_28012025_15_32_26_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3f0e5aab7d33e6069a0fe2fc1698f60a.jpg","text":"TemporaryFile(/tmp/multipartBody929346920553325978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096233440,"filename":"image_28012025_15_32_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/1/28/d92eea7e8d6ef7c7fae10da5bedc1c06.jpg","text":"TemporaryFile(/tmp/multipartBody1664222178430447612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096233440,"filename":"image_28012025_15_33_07_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cb250ce1bf26aaeae32e3b024b5cf331.jpg","text":"TemporaryFile(/tmp/multipartBody6168275806167922356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096233440,"filename":"image_28012025_15_32_56_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/82524c7294732d2a61699efedb680fc8.jpg","text":"TemporaryFile(/tmp/multipartBody1560425040393005398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096233440,"filename":"image_28012025_15_32_17_10176.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332414557","file1":"1332414556","file0":"1332414492","file4":"1332414700","file5":"1332414706","file3":"1332414631"},"map_files_photo_id_array":[{"photo_id":"1332414706","filename":"file5"},{"photo_id":"1332414557","filename":"file2"},{"photo_id":"1332414700","filename":"file4"},{"photo_id":"1332414556","filename":"file1"},{"photo_id":"1332414492","filename":"file0"},{"photo_id":"1332414631","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332414557":["hashtag1","hashtag2"]},{"1332414556":["hashtag1","hashtag2"]},{"1332414631":["hashtag1","hashtag2"]},{"1332414706":["hashtag1","hashtag2"]},{"1332414700":["hashtag1","hashtag2"]},{"1332414492":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332414557, 1332414556, 1332414631, 1332414706, 1332414700, 1332414492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.02637553215027 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:30:32.826932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/33/image_28012025_15_33_17_10331.jpg', '/home/pi/Desktop/images/28012025/15/33/image_28012025_15_33_27_9424.jpg', '/home/pi/Desktop/images/28012025/15/33/image_28012025_15_33_37_10347.jpg', '/home/pi/Desktop/images/28012025/15/33/image_28012025_15_33_46_9379.jpg', '/home/pi/Desktop/images/28012025/15/33/image_28012025_15_33_57_10360.jpg', '/home/pi/Desktop/images/28012025/15/33/image_28012025_15_34_07_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/33/image_28012025_15_33_17_10331.jpg
/home/pi/Desktop/images/28012025/15/33/image_28012025_15_33_27_9424.jpg
/home/pi/Desktop/images/28012025/15/33/image_28012025_15_33_37_10347.jpg
/home/pi/Desktop/images/28012025/15/33/image_28012025_15_33_46_9379.jpg
/home/pi/Desktop/images/28012025/15/33/image_28012025_15_33_57_10360.jpg
/home/pi/Desktop/images/28012025/15/33/image_28012025_15_34_07_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":["1332415085","1332415133","1332415069","1332415120","1332415175","1332415020"],"photo_ids_order":["1332415020","1332415069","1332415085","1332415120","1332415133","1332415175"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/befe457b6547ab6f038fffc655085322.jpg","text":"TemporaryFile(/tmp/multipartBody6281913512242448201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096293782,"filename":"image_28012025_15_33_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/1/28/646743d405f8a472248180290decabe8.jpg","text":"TemporaryFile(/tmp/multipartBody1739691899675097531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096293782,"filename":"image_28012025_15_33_57_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c8918874c9ab4866a8562ccc636b5317.jpg","text":"TemporaryFile(/tmp/multipartBody1674640507234292219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096293782,"filename":"image_28012025_15_33_27_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/93305371228913e922ce0924a5948bf7.jpg","text":"TemporaryFile(/tmp/multipartBody621498159308471916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096293782,"filename":"image_28012025_15_33_46_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bec334d0b012cc9e91f99bc131f4b6bd.jpg","text":"TemporaryFile(/tmp/multipartBody5627593055505722894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096293782,"filename":"image_28012025_15_34_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/1/28/b01ef8706a3a4a30b61cd5d3d7d45417.jpg","text":"TemporaryFile(/tmp/multipartBody9099702853467528963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096293782,"filename":"image_28012025_15_33_17_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332415085","file1":"1332415069","file0":"1332415020","file4":"1332415133","file5":"1332415175","file3":"1332415120"},"map_files_photo_id_array":[{"photo_id":"1332415175","filename":"file5"},{"photo_id":"1332415085","filename":"file2"},{"photo_id":"1332415133","filename":"file4"},{"photo_id":"1332415069","filename":"file1"},{"photo_id":"1332415020","filename":"file0"},{"photo_id":"1332415120","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332415085":["hashtag1","hashtag2"]},{"1332415133":["hashtag1","hashtag2"]},{"1332415069":["hashtag1","hashtag2"]},{"1332415120":["hashtag1","hashtag2"]},{"1332415175":["hashtag1","hashtag2"]},{"1332415020":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332415085, 1332415133, 1332415069, 1332415120, 1332415175, 1332415020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.749632596969604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:31:33.018587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/34/image_28012025_15_34_16_9419.jpg', '/home/pi/Desktop/images/28012025/15/34/image_28012025_15_34_27_10346.jpg', '/home/pi/Desktop/images/28012025/15/34/image_28012025_15_34_37_10330.jpg', '/home/pi/Desktop/images/28012025/15/34/image_28012025_15_34_46_9337.jpg', '/home/pi/Desktop/images/28012025/15/34/image_28012025_15_34_57_10461.jpg', '/home/pi/Desktop/images/28012025/15/34/image_28012025_15_35_06_9432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/34/image_28012025_15_34_16_9419.jpg
/home/pi/Desktop/images/28012025/15/34/image_28012025_15_34_27_10346.jpg
/home/pi/Desktop/images/28012025/15/34/image_28012025_15_34_37_10330.jpg
/home/pi/Desktop/images/28012025/15/34/image_28012025_15_34_46_9337.jpg
/home/pi/Desktop/images/28012025/15/34/image_28012025_15_34_57_10461.jpg
/home/pi/Desktop/images/28012025/15/34/image_28012025_15_35_06_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":["1332415379","1332415334","1332415498","1332415486","1332415465","1332415501"],"photo_ids_order":["1332415334","1332415379","1332415465","1332415486","1332415498","1332415501"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0bba7d6c38007817e259fad945032fa3.jpg","text":"TemporaryFile(/tmp/multipartBody9010949433086383777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096353963,"filename":"image_28012025_15_34_27_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0bba401acadc1a999cd9b636a825f4eb.jpg","text":"TemporaryFile(/tmp/multipartBody6219925133456160264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096353963,"filename":"image_28012025_15_34_16_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3929abf656af7b93f79c19a7b66f3ebe.jpg","text":"TemporaryFile(/tmp/multipartBody5213451725643283657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096353963,"filename":"image_28012025_15_34_57_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ee2139acf80fc503c4efd7d3a2649314.jpg","text":"TemporaryFile(/tmp/multipartBody1059275170230507644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096353963,"filename":"image_28012025_15_34_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/1/28/d6125298edcab43f45400c333b87b8c4.jpg","text":"TemporaryFile(/tmp/multipartBody3030603751876472400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096353963,"filename":"image_28012025_15_34_37_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dc656c7c02c1e71f9d25353e307cf633.jpg","text":"TemporaryFile(/tmp/multipartBody218889291553491613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096353963,"filename":"image_28012025_15_35_06_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332415465","file1":"1332415379","file0":"1332415334","file4":"1332415498","file5":"1332415501","file3":"1332415486"},"map_files_photo_id_array":[{"photo_id":"1332415501","filename":"file5"},{"photo_id":"1332415465","filename":"file2"},{"photo_id":"1332415498","filename":"file4"},{"photo_id":"1332415379","filename":"file1"},{"photo_id":"1332415334","filename":"file0"},{"photo_id":"1332415486","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332415379":["hashtag1","hashtag2"]},{"1332415334":["hashtag1","hashtag2"]},{"1332415498":["hashtag1","hashtag2"]},{"1332415486":["hashtag1","hashtag2"]},{"1332415465":["hashtag1","hashtag2"]},{"1332415501":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332415379, 1332415334, 1332415498, 1332415486, 1332415465, 1332415501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.54283809661865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:32:33.154573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/35/image_28012025_15_35_17_10336.jpg', '/home/pi/Desktop/images/28012025/15/35/image_28012025_15_35_27_10418.jpg', '/home/pi/Desktop/images/28012025/15/35/image_28012025_15_35_36_9419.jpg', '/home/pi/Desktop/images/28012025/15/35/image_28012025_15_35_47_10340.jpg', '/home/pi/Desktop/images/28012025/15/35/image_28012025_15_35_56_9448.jpg', '/home/pi/Desktop/images/28012025/15/35/image_28012025_15_36_07_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/35/image_28012025_15_35_17_10336.jpg
/home/pi/Desktop/images/28012025/15/35/image_28012025_15_35_27_10418.jpg
/home/pi/Desktop/images/28012025/15/35/image_28012025_15_35_36_9419.jpg
/home/pi/Desktop/images/28012025/15/35/image_28012025_15_35_47_10340.jpg
/home/pi/Desktop/images/28012025/15/35/image_28012025_15_35_56_9448.jpg
/home/pi/Desktop/images/28012025/15/35/image_28012025_15_36_07_10333.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5687642097473145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 21:32:43.256945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/35/image_28012025_15_35_17_10336.jpg', '/home/pi/Desktop/images/28012025/15/35/image_28012025_15_35_27_10418.jpg', '/home/pi/Desktop/images/28012025/15/35/image_28012025_15_35_36_9419.jpg', '/home/pi/Desktop/images/28012025/15/35/image_28012025_15_35_47_10340.jpg', '/home/pi/Desktop/images/28012025/15/35/image_28012025_15_35_56_9448.jpg', '/home/pi/Desktop/images/28012025/15/35/image_28012025_15_36_07_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/35/image_28012025_15_35_17_10336.jpg
/home/pi/Desktop/images/28012025/15/35/image_28012025_15_35_27_10418.jpg
/home/pi/Desktop/images/28012025/15/35/image_28012025_15_35_36_9419.jpg
/home/pi/Desktop/images/28012025/15/35/image_28012025_15_35_47_10340.jpg
/home/pi/Desktop/images/28012025/15/35/image_28012025_15_35_56_9448.jpg
/home/pi/Desktop/images/28012025/15/35/image_28012025_15_36_07_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332415562","1332415561","1332415543","1332415537","1332415563","1332415548"],"photo_ids_order":["1332415537","1332415543","1332415548","1332415561","1332415562","1332415563"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4df3ef031f28fad283704865127abc5c.jpg","text":"TemporaryFile(/tmp/multipartBody6307172913240022571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096424144,"filename":"image_28012025_15_35_56_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a2f7e0ee98aa3c348ed3ae421d5bd66e.jpg","text":"TemporaryFile(/tmp/multipartBody1499226428151427436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096424144,"filename":"image_28012025_15_35_47_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ce94bd1582889796ed0ccd5dbd5f90d8.jpg","text":"TemporaryFile(/tmp/multipartBody6008906891726265606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096424144,"filename":"image_28012025_15_35_27_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a0a911cc6ba884833c9eea3a47c7a0c5.jpg","text":"TemporaryFile(/tmp/multipartBody597007522603390284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096424144,"filename":"image_28012025_15_35_17_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5cfea6fdb4d59929c90c6ce510991728.jpg","text":"TemporaryFile(/tmp/multipartBody7127005104447227797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096424144,"filename":"image_28012025_15_36_07_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4c09976bb079c3f3e7efac35ba6ffc3d.jpg","text":"TemporaryFile(/tmp/multipartBody6881190084274556759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096424144,"filename":"image_28012025_15_35_36_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332415548","file1":"1332415543","file0":"1332415537","file4":"1332415562","file5":"1332415563","file3":"1332415561"},"map_files_photo_id_array":[{"photo_id":"1332415563","filename":"file5"},{"photo_id":"1332415548","filename":"file2"},{"photo_id":"1332415562","filename":"file4"},{"photo_id":"1332415543","filename":"file1"},{"photo_id":"1332415537","filename":"file0"},{"photo_id":"1332415561","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332415562":["hashtag1","hashtag2"]},{"1332415561":["hashtag1","hashtag2"]},{"1332415543":["hashtag1","hashtag2"]},{"1332415537":["hashtag1","hashtag2"]},{"1332415563":["hashtag1","hashtag2"]},{"1332415548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332415562, 1332415561, 1332415543, 1332415537, 1332415563, 1332415548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.43781542778015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:33:32.466102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/36/image_28012025_15_36_17_10311.jpg', '/home/pi/Desktop/images/28012025/15/36/image_28012025_15_36_26_9408.jpg', '/home/pi/Desktop/images/28012025/15/36/image_28012025_15_36_37_10338.jpg', '/home/pi/Desktop/images/28012025/15/36/image_28012025_15_36_47_10418.jpg', '/home/pi/Desktop/images/28012025/15/36/image_28012025_15_36_56_9433.jpg', '/home/pi/Desktop/images/28012025/15/36/image_28012025_15_37_07_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/36/image_28012025_15_36_17_10311.jpg
/home/pi/Desktop/images/28012025/15/36/image_28012025_15_36_26_9408.jpg
/home/pi/Desktop/images/28012025/15/36/image_28012025_15_36_37_10338.jpg
/home/pi/Desktop/images/28012025/15/36/image_28012025_15_36_47_10418.jpg
/home/pi/Desktop/images/28012025/15/36/image_28012025_15_36_56_9433.jpg
/home/pi/Desktop/images/28012025/15/36/image_28012025_15_37_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":["1332415646","1332415634","1332415637","1332415630","1332415642","1332415626"],"photo_ids_order":["1332415626","1332415630","1332415634","1332415637","1332415642","1332415646"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/917bbd38cbe0b20a7cf641ea683c3366.jpg","text":"TemporaryFile(/tmp/multipartBody2103050182513444572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096473421,"filename":"image_28012025_15_37_07_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6a3ef3d1ca5272cb42aa6de089057d10.jpg","text":"TemporaryFile(/tmp/multipartBody5151033496760230543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096473421,"filename":"image_28012025_15_36_37_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/913a24e797d0598bd61e2d0b144f3f54.jpg","text":"TemporaryFile(/tmp/multipartBody8917798494067436866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096473421,"filename":"image_28012025_15_36_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/1/28/64e81dfbbdbf8a1112cf4ba3dd825821.jpg","text":"TemporaryFile(/tmp/multipartBody1432886885408422468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096473421,"filename":"image_28012025_15_36_26_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bb2f4e192a0b6ee3a9ac01df25ac41c1.jpg","text":"TemporaryFile(/tmp/multipartBody6170853065190948330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096473421,"filename":"image_28012025_15_36_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/1/28/233b65c4fdb672e618df612750ac761b.jpg","text":"TemporaryFile(/tmp/multipartBody5587899686984426286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096473421,"filename":"image_28012025_15_36_17_10311.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332415634","file1":"1332415630","file0":"1332415626","file4":"1332415642","file5":"1332415646","file3":"1332415637"},"map_files_photo_id_array":[{"photo_id":"1332415646","filename":"file5"},{"photo_id":"1332415634","filename":"file2"},{"photo_id":"1332415642","filename":"file4"},{"photo_id":"1332415630","filename":"file1"},{"photo_id":"1332415626","filename":"file0"},{"photo_id":"1332415637","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332415646":["hashtag1","hashtag2"]},{"1332415634":["hashtag1","hashtag2"]},{"1332415637":["hashtag1","hashtag2"]},{"1332415630":["hashtag1","hashtag2"]},{"1332415642":["hashtag1","hashtag2"]},{"1332415626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332415646, 1332415634, 1332415637, 1332415630, 1332415642, 1332415626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22971701622009 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:34:32.648263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/37/image_28012025_15_37_16_9375.jpg', '/home/pi/Desktop/images/28012025/15/37/image_28012025_15_37_27_10451.jpg', '/home/pi/Desktop/images/28012025/15/37/image_28012025_15_37_37_10427.jpg', '/home/pi/Desktop/images/28012025/15/37/image_28012025_15_37_46_9343.jpg', '/home/pi/Desktop/images/28012025/15/37/image_28012025_15_37_57_10344.jpg', '/home/pi/Desktop/images/28012025/15/37/image_28012025_15_38_06_9381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/37/image_28012025_15_37_16_9375.jpg
/home/pi/Desktop/images/28012025/15/37/image_28012025_15_37_27_10451.jpg
/home/pi/Desktop/images/28012025/15/37/image_28012025_15_37_37_10427.jpg
/home/pi/Desktop/images/28012025/15/37/image_28012025_15_37_46_9343.jpg
/home/pi/Desktop/images/28012025/15/37/image_28012025_15_37_57_10344.jpg
/home/pi/Desktop/images/28012025/15/37/image_28012025_15_38_06_9381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332415658","1332415675","1332415663","1332415692","1332415734","1332415670"],"photo_ids_order":["1332415658","1332415663","1332415670","1332415675","1332415692","1332415734"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d0951a45f977bc153eb032083b680553.jpg","text":"TemporaryFile(/tmp/multipartBody7355907832748243298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096533614,"filename":"image_28012025_15_37_16_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/21cf7840c2cb61a4a47e5eaccee9cd5e.jpg","text":"TemporaryFile(/tmp/multipartBody7848808175984313608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096533614,"filename":"image_28012025_15_37_46_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bc67d0ac89313178760455a8a359b0c0.jpg","text":"TemporaryFile(/tmp/multipartBody1789300631720893558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096533614,"filename":"image_28012025_15_37_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/1/28/211cf7430ceee7d31a08949ba012f7a0.jpg","text":"TemporaryFile(/tmp/multipartBody6985691583485230105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096533614,"filename":"image_28012025_15_37_57_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5ddb4bd59919525c00a01789f5f1db70.jpg","text":"TemporaryFile(/tmp/multipartBody6299949548726042906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096533614,"filename":"image_28012025_15_38_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/1/28/c2c791b6cff66811025b9deb8b109100.jpg","text":"TemporaryFile(/tmp/multipartBody8861606078608355696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096533614,"filename":"image_28012025_15_37_37_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332415670","file1":"1332415663","file0":"1332415658","file4":"1332415692","file5":"1332415734","file3":"1332415675"},"map_files_photo_id_array":[{"photo_id":"1332415734","filename":"file5"},{"photo_id":"1332415670","filename":"file2"},{"photo_id":"1332415692","filename":"file4"},{"photo_id":"1332415663","filename":"file1"},{"photo_id":"1332415658","filename":"file0"},{"photo_id":"1332415675","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332415658":["hashtag1","hashtag2"]},{"1332415675":["hashtag1","hashtag2"]},{"1332415663":["hashtag1","hashtag2"]},{"1332415692":["hashtag1","hashtag2"]},{"1332415734":["hashtag1","hashtag2"]},{"1332415670":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332415658, 1332415675, 1332415663, 1332415692, 1332415734, 1332415670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.551695108413696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:35:32.901977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/38/image_28012025_15_38_17_10437.jpg', '/home/pi/Desktop/images/28012025/15/38/image_28012025_15_38_27_10344.jpg', '/home/pi/Desktop/images/28012025/15/38/image_28012025_15_38_36_9384.jpg', '/home/pi/Desktop/images/28012025/15/38/image_28012025_15_38_47_10431.jpg', '/home/pi/Desktop/images/28012025/15/38/image_28012025_15_38_56_9451.jpg', '/home/pi/Desktop/images/28012025/15/38/image_28012025_15_39_07_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/38/image_28012025_15_38_17_10437.jpg
/home/pi/Desktop/images/28012025/15/38/image_28012025_15_38_27_10344.jpg
/home/pi/Desktop/images/28012025/15/38/image_28012025_15_38_36_9384.jpg
/home/pi/Desktop/images/28012025/15/38/image_28012025_15_38_47_10431.jpg
/home/pi/Desktop/images/28012025/15/38/image_28012025_15_38_56_9451.jpg
/home/pi/Desktop/images/28012025/15/38/image_28012025_15_39_07_10353.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5695102214813232 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 21:35:42.924234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/38/image_28012025_15_38_17_10437.jpg', '/home/pi/Desktop/images/28012025/15/38/image_28012025_15_38_27_10344.jpg', '/home/pi/Desktop/images/28012025/15/38/image_28012025_15_38_36_9384.jpg', '/home/pi/Desktop/images/28012025/15/38/image_28012025_15_38_47_10431.jpg', '/home/pi/Desktop/images/28012025/15/38/image_28012025_15_38_56_9451.jpg', '/home/pi/Desktop/images/28012025/15/38/image_28012025_15_39_07_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/38/image_28012025_15_38_17_10437.jpg
/home/pi/Desktop/images/28012025/15/38/image_28012025_15_38_27_10344.jpg
/home/pi/Desktop/images/28012025/15/38/image_28012025_15_38_36_9384.jpg
/home/pi/Desktop/images/28012025/15/38/image_28012025_15_38_47_10431.jpg
/home/pi/Desktop/images/28012025/15/38/image_28012025_15_38_56_9451.jpg
/home/pi/Desktop/images/28012025/15/38/image_28012025_15_39_07_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332416501","1332416204","1332416497","1332416299","1332416509","1332416505"],"photo_ids_order":["1332416204","1332416299","1332416497","1332416501","1332416505","1332416509"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6bf3613608817d495994d94ad0ac726d.jpg","text":"TemporaryFile(/tmp/multipartBody7191519232377711911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096603818,"filename":"image_28012025_15_38_47_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d8a7a292e23174389fa11377bfef41e2.jpg","text":"TemporaryFile(/tmp/multipartBody2189696511866572424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096603818,"filename":"image_28012025_15_38_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/1/28/eb119b9273aa32d2d79a5e808e6be1f2.jpg","text":"TemporaryFile(/tmp/multipartBody5271882706382094810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096603818,"filename":"image_28012025_15_38_36_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d3b6e29a397ab6de243bda1b7faac729.jpg","text":"TemporaryFile(/tmp/multipartBody5946757824880347012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096603818,"filename":"image_28012025_15_38_27_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4b9c43943ccff7e906286f59a4dabb2c.jpg","text":"TemporaryFile(/tmp/multipartBody4604427719323486438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096603818,"filename":"image_28012025_15_39_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/1/28/9949f2bae9fbf0503e143f433bd0bacb.jpg","text":"TemporaryFile(/tmp/multipartBody1751192417039835754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096603818,"filename":"image_28012025_15_38_56_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332416497","file1":"1332416299","file0":"1332416204","file4":"1332416505","file5":"1332416509","file3":"1332416501"},"map_files_photo_id_array":[{"photo_id":"1332416509","filename":"file5"},{"photo_id":"1332416497","filename":"file2"},{"photo_id":"1332416505","filename":"file4"},{"photo_id":"1332416299","filename":"file1"},{"photo_id":"1332416204","filename":"file0"},{"photo_id":"1332416501","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332416501":["hashtag1","hashtag2"]},{"1332416204":["hashtag1","hashtag2"]},{"1332416497":["hashtag1","hashtag2"]},{"1332416299":["hashtag1","hashtag2"]},{"1332416509":["hashtag1","hashtag2"]},{"1332416505":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332416501, 1332416204, 1332416497, 1332416299, 1332416509, 1332416505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.45191550254822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:36:33.180187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/39/image_28012025_15_39_17_10394.jpg', '/home/pi/Desktop/images/28012025/15/39/image_28012025_15_39_26_9447.jpg', '/home/pi/Desktop/images/28012025/15/39/image_28012025_15_39_37_10336.jpg', '/home/pi/Desktop/images/28012025/15/39/image_28012025_15_39_47_10355.jpg', '/home/pi/Desktop/images/28012025/15/39/image_28012025_15_39_57_9447.jpg', '/home/pi/Desktop/images/28012025/15/39/image_28012025_15_40_07_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/39/image_28012025_15_39_17_10394.jpg
/home/pi/Desktop/images/28012025/15/39/image_28012025_15_39_26_9447.jpg
/home/pi/Desktop/images/28012025/15/39/image_28012025_15_39_37_10336.jpg
/home/pi/Desktop/images/28012025/15/39/image_28012025_15_39_47_10355.jpg
/home/pi/Desktop/images/28012025/15/39/image_28012025_15_39_57_9447.jpg
/home/pi/Desktop/images/28012025/15/39/image_28012025_15_40_07_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":["1332416647","1332416728","1332416778","1332416736","1332416855","1332416744"],"photo_ids_order":["1332416647","1332416728","1332416736","1332416744","1332416778","1332416855"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0db38871ae409af6bfd4ebbf04a3e000.jpg","text":"TemporaryFile(/tmp/multipartBody4145269088054037755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096654150,"filename":"image_28012025_15_39_17_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b99d284e64056a3f74d32359f68db4a6.jpg","text":"TemporaryFile(/tmp/multipartBody2946175112965295923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096654150,"filename":"image_28012025_15_39_26_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fa3778f86fac84dd3851649ce5701e47.jpg","text":"TemporaryFile(/tmp/multipartBody3287890510465036987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096654150,"filename":"image_28012025_15_39_57_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2d5ca9d9d9d64d929fefb986d3368516.jpg","text":"TemporaryFile(/tmp/multipartBody5076940170040020413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096654150,"filename":"image_28012025_15_39_37_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/20a677dc5c3f876ca3bff8a365af2f83.jpg","text":"TemporaryFile(/tmp/multipartBody8743508943762944231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096654150,"filename":"image_28012025_15_40_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/1/28/e4fb774206c2aebf1be5e206665e0343.jpg","text":"TemporaryFile(/tmp/multipartBody8485984260921867330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096654150,"filename":"image_28012025_15_39_47_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332416736","file1":"1332416728","file0":"1332416647","file4":"1332416778","file5":"1332416855","file3":"1332416744"},"map_files_photo_id_array":[{"photo_id":"1332416855","filename":"file5"},{"photo_id":"1332416736","filename":"file2"},{"photo_id":"1332416778","filename":"file4"},{"photo_id":"1332416728","filename":"file1"},{"photo_id":"1332416647","filename":"file0"},{"photo_id":"1332416744","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332416647":["hashtag1","hashtag2"]},{"1332416728":["hashtag1","hashtag2"]},{"1332416778":["hashtag1","hashtag2"]},{"1332416736":["hashtag1","hashtag2"]},{"1332416855":["hashtag1","hashtag2"]},{"1332416744":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332416647, 1332416728, 1332416778, 1332416736, 1332416855, 1332416744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.23096513748169 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:37:32.285038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/40/image_28012025_15_40_16_9408.jpg', '/home/pi/Desktop/images/28012025/15/40/image_28012025_15_40_27_10356.jpg', '/home/pi/Desktop/images/28012025/15/40/image_28012025_15_40_37_10431.jpg', '/home/pi/Desktop/images/28012025/15/40/image_28012025_15_40_46_9331.jpg', '/home/pi/Desktop/images/28012025/15/40/image_28012025_15_40_57_10352.jpg', '/home/pi/Desktop/images/28012025/15/40/image_28012025_15_41_06_9415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/40/image_28012025_15_40_16_9408.jpg
/home/pi/Desktop/images/28012025/15/40/image_28012025_15_40_27_10356.jpg
/home/pi/Desktop/images/28012025/15/40/image_28012025_15_40_37_10431.jpg
/home/pi/Desktop/images/28012025/15/40/image_28012025_15_40_46_9331.jpg
/home/pi/Desktop/images/28012025/15/40/image_28012025_15_40_57_10352.jpg
/home/pi/Desktop/images/28012025/15/40/image_28012025_15_41_06_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":["1332417262","1332417259","1332417264","1332417164","1332417029","1332417268"],"photo_ids_order":["1332417029","1332417164","1332417259","1332417262","1332417264","1332417268"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e03da674bbb5197b700b345c469fa507.jpg","text":"TemporaryFile(/tmp/multipartBody478874715611144075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096713619,"filename":"image_28012025_15_40_46_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dbf761aa6b91cc7072300da6ced76e30.jpg","text":"TemporaryFile(/tmp/multipartBody8582238184133681140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096713619,"filename":"image_28012025_15_40_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/1/28/0f2ee0459acbeb5593d5ac8ae8c1ed51.jpg","text":"TemporaryFile(/tmp/multipartBody3558558786008734717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096713619,"filename":"image_28012025_15_40_57_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e942657c6e79c19f4f99f33a47d3949a.jpg","text":"TemporaryFile(/tmp/multipartBody6679334283744324836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096713619,"filename":"image_28012025_15_40_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/1/28/726e45ae0f74367c180d4025422ee6ae.jpg","text":"TemporaryFile(/tmp/multipartBody8242433669697276890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096713619,"filename":"image_28012025_15_40_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/1/28/fca4a613164c433083e610ff794b033d.jpg","text":"TemporaryFile(/tmp/multipartBody7653185495830171693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096713619,"filename":"image_28012025_15_41_06_9415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332417259","file1":"1332417164","file0":"1332417029","file4":"1332417264","file5":"1332417268","file3":"1332417262"},"map_files_photo_id_array":[{"photo_id":"1332417268","filename":"file5"},{"photo_id":"1332417259","filename":"file2"},{"photo_id":"1332417264","filename":"file4"},{"photo_id":"1332417164","filename":"file1"},{"photo_id":"1332417029","filename":"file0"},{"photo_id":"1332417262","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332417262":["hashtag1","hashtag2"]},{"1332417259":["hashtag1","hashtag2"]},{"1332417264":["hashtag1","hashtag2"]},{"1332417164":["hashtag1","hashtag2"]},{"1332417029":["hashtag1","hashtag2"]},{"1332417268":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332417262, 1332417259, 1332417264, 1332417164, 1332417029, 1332417268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.15857791900635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:38:32.380569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/41/image_28012025_15_41_17_10344.jpg', '/home/pi/Desktop/images/28012025/15/41/image_28012025_15_41_27_10338.jpg', '/home/pi/Desktop/images/28012025/15/41/image_28012025_15_41_36_9395.jpg', '/home/pi/Desktop/images/28012025/15/41/image_28012025_15_41_47_10422.jpg', '/home/pi/Desktop/images/28012025/15/41/image_28012025_15_41_57_10342.jpg', '/home/pi/Desktop/images/28012025/15/41/image_28012025_15_42_06_9397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/41/image_28012025_15_41_17_10344.jpg
/home/pi/Desktop/images/28012025/15/41/image_28012025_15_41_27_10338.jpg
/home/pi/Desktop/images/28012025/15/41/image_28012025_15_41_36_9395.jpg
/home/pi/Desktop/images/28012025/15/41/image_28012025_15_41_47_10422.jpg
/home/pi/Desktop/images/28012025/15/41/image_28012025_15_41_57_10342.jpg
/home/pi/Desktop/images/28012025/15/41/image_28012025_15_42_06_9397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332417355","1332417364","1332417351","1332417312","1332417359","1332417308"],"photo_ids_order":["1332417308","1332417312","1332417351","1332417355","1332417359","1332417364"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9865cfb3aa54f89483d7d86d38909be9.jpg","text":"TemporaryFile(/tmp/multipartBody5252456759613659763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096773339,"filename":"image_28012025_15_41_47_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ff8dbaf22ad88169f00d4b7547614eaf.jpg","text":"TemporaryFile(/tmp/multipartBody3693412168882241664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096773339,"filename":"image_28012025_15_42_06_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8b15fc246e7da24cdd0c9813fb1a1b50.jpg","text":"TemporaryFile(/tmp/multipartBody6490496350274892346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096773339,"filename":"image_28012025_15_41_36_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/63a509284f64fbef54da4f9fa42466d7.jpg","text":"TemporaryFile(/tmp/multipartBody2478387087560716771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096773339,"filename":"image_28012025_15_41_27_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8a717a3f6c7ecbfc0e8865097fb6b227.jpg","text":"TemporaryFile(/tmp/multipartBody3677939988845526422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096773339,"filename":"image_28012025_15_41_57_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/02cd9b52d435ff851b31034d2a765ebf.jpg","text":"TemporaryFile(/tmp/multipartBody7014900695144050048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096773339,"filename":"image_28012025_15_41_17_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332417351","file1":"1332417312","file0":"1332417308","file4":"1332417359","file5":"1332417364","file3":"1332417355"},"map_files_photo_id_array":[{"photo_id":"1332417364","filename":"file5"},{"photo_id":"1332417351","filename":"file2"},{"photo_id":"1332417359","filename":"file4"},{"photo_id":"1332417312","filename":"file1"},{"photo_id":"1332417308","filename":"file0"},{"photo_id":"1332417355","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332417355":["hashtag1","hashtag2"]},{"1332417364":["hashtag1","hashtag2"]},{"1332417351":["hashtag1","hashtag2"]},{"1332417312":["hashtag1","hashtag2"]},{"1332417359":["hashtag1","hashtag2"]},{"1332417308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332417355, 1332417364, 1332417351, 1332417312, 1332417359, 1332417308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.787514448165894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:39:32.729343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/42/image_28012025_15_42_17_10342.jpg', '/home/pi/Desktop/images/28012025/15/42/image_28012025_15_42_26_9404.jpg', '/home/pi/Desktop/images/28012025/15/42/image_28012025_15_42_37_10359.jpg', '/home/pi/Desktop/images/28012025/15/42/image_28012025_15_42_47_10344.jpg', '/home/pi/Desktop/images/28012025/15/42/image_28012025_15_42_56_9395.jpg', '/home/pi/Desktop/images/28012025/15/42/image_28012025_15_43_07_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/42/image_28012025_15_42_17_10342.jpg
/home/pi/Desktop/images/28012025/15/42/image_28012025_15_42_26_9404.jpg
/home/pi/Desktop/images/28012025/15/42/image_28012025_15_42_37_10359.jpg
/home/pi/Desktop/images/28012025/15/42/image_28012025_15_42_47_10344.jpg
/home/pi/Desktop/images/28012025/15/42/image_28012025_15_42_56_9395.jpg
/home/pi/Desktop/images/28012025/15/42/image_28012025_15_43_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":["1332417397","1332417399","1332417390","1332417393","1332417402","1332417401"],"photo_ids_order":["1332417390","1332417393","1332417397","1332417399","1332417401","1332417402"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/43cbd3224f4a048b2eaabaf9ae80e585.jpg","text":"TemporaryFile(/tmp/multipartBody1826652189750876144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096833696,"filename":"image_28012025_15_42_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/1/28/b2130ca24dd86a5808ba313c299154bd.jpg","text":"TemporaryFile(/tmp/multipartBody7723037952628844754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096833696,"filename":"image_28012025_15_42_47_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2e4a4c6e304062446ec2adcbebe143a1.jpg","text":"TemporaryFile(/tmp/multipartBody4084733602079730354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096833696,"filename":"image_28012025_15_42_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/1/28/79a91ad5e9a7cf59498cb8c6397742d6.jpg","text":"TemporaryFile(/tmp/multipartBody7340671571635063543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096833696,"filename":"image_28012025_15_42_26_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e4dff0ab5a01cfb7dea71318e960f08b.jpg","text":"TemporaryFile(/tmp/multipartBody1136205075724490005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096833696,"filename":"image_28012025_15_43_07_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ce60c7d376c09e1c73233c68c83fdc27.jpg","text":"TemporaryFile(/tmp/multipartBody5885242178587074775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096833696,"filename":"image_28012025_15_42_56_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332417397","file1":"1332417393","file0":"1332417390","file4":"1332417401","file5":"1332417402","file3":"1332417399"},"map_files_photo_id_array":[{"photo_id":"1332417402","filename":"file5"},{"photo_id":"1332417397","filename":"file2"},{"photo_id":"1332417401","filename":"file4"},{"photo_id":"1332417393","filename":"file1"},{"photo_id":"1332417390","filename":"file0"},{"photo_id":"1332417399","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332417397":["hashtag1","hashtag2"]},{"1332417399":["hashtag1","hashtag2"]},{"1332417390":["hashtag1","hashtag2"]},{"1332417393":["hashtag1","hashtag2"]},{"1332417402":["hashtag1","hashtag2"]},{"1332417401":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332417397, 1332417399, 1332417390, 1332417393, 1332417402, 1332417401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.11435890197754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:40:33.015088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/43/image_28012025_15_43_17_10369.jpg', '/home/pi/Desktop/images/28012025/15/43/image_28012025_15_43_26_9327.jpg', '/home/pi/Desktop/images/28012025/15/43/image_28012025_15_43_37_10438.jpg', '/home/pi/Desktop/images/28012025/15/43/image_28012025_15_43_47_10332.jpg', '/home/pi/Desktop/images/28012025/15/43/image_28012025_15_43_56_9327.jpg', '/home/pi/Desktop/images/28012025/15/43/image_28012025_15_44_07_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/43/image_28012025_15_43_17_10369.jpg
/home/pi/Desktop/images/28012025/15/43/image_28012025_15_43_26_9327.jpg
/home/pi/Desktop/images/28012025/15/43/image_28012025_15_43_37_10438.jpg
/home/pi/Desktop/images/28012025/15/43/image_28012025_15_43_47_10332.jpg
/home/pi/Desktop/images/28012025/15/43/image_28012025_15_43_56_9327.jpg
/home/pi/Desktop/images/28012025/15/43/image_28012025_15_44_07_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":["1332417469","1332417525","1332417519","1332417494","1332417488","1332417449"],"photo_ids_order":["1332417449","1332417469","1332417488","1332417494","1332417519","1332417525"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cbccc8543006cbeacf9e876bea287c9b.jpg","text":"TemporaryFile(/tmp/multipartBody6744554699867366602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096893966,"filename":"image_28012025_15_43_26_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4ae80e6c02a334f46fe2bc22dbd2efcf.jpg","text":"TemporaryFile(/tmp/multipartBody6751471973255411431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096893966,"filename":"image_28012025_15_44_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/1/28/625a36ed35fa6266cb466973792d2409.jpg","text":"TemporaryFile(/tmp/multipartBody760192386813240606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096893966,"filename":"image_28012025_15_43_56_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a82c163dab3f21cc76f83f95c1dde20f.jpg","text":"TemporaryFile(/tmp/multipartBody1823445624089568502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096893966,"filename":"image_28012025_15_43_47_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a6ddf7968ebfe498fecf15f4be6a7447.jpg","text":"TemporaryFile(/tmp/multipartBody3715821611257910187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096893966,"filename":"image_28012025_15_43_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/1/28/74e242218a518287eaaa91c08da78c1a.jpg","text":"TemporaryFile(/tmp/multipartBody8286974836834948755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096893966,"filename":"image_28012025_15_43_17_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332417488","file1":"1332417469","file0":"1332417449","file4":"1332417519","file5":"1332417525","file3":"1332417494"},"map_files_photo_id_array":[{"photo_id":"1332417525","filename":"file5"},{"photo_id":"1332417488","filename":"file2"},{"photo_id":"1332417519","filename":"file4"},{"photo_id":"1332417469","filename":"file1"},{"photo_id":"1332417449","filename":"file0"},{"photo_id":"1332417494","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332417469":["hashtag1","hashtag2"]},{"1332417525":["hashtag1","hashtag2"]},{"1332417519":["hashtag1","hashtag2"]},{"1332417494":["hashtag1","hashtag2"]},{"1332417488":["hashtag1","hashtag2"]},{"1332417449":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332417469, 1332417525, 1332417519, 1332417494, 1332417488, 1332417449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.97122311592102 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:41:32.356940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/44/image_28012025_15_44_16_9403.jpg', '/home/pi/Desktop/images/28012025/15/44/image_28012025_15_44_27_10351.jpg', '/home/pi/Desktop/images/28012025/15/44/image_28012025_15_44_37_10428.jpg', '/home/pi/Desktop/images/28012025/15/44/image_28012025_15_44_46_9460.jpg', '/home/pi/Desktop/images/28012025/15/44/image_28012025_15_44_57_10343.jpg', '/home/pi/Desktop/images/28012025/15/45/image_28012025_15_45_07_10200.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/44/image_28012025_15_44_16_9403.jpg
/home/pi/Desktop/images/28012025/15/44/image_28012025_15_44_27_10351.jpg
/home/pi/Desktop/images/28012025/15/44/image_28012025_15_44_37_10428.jpg
/home/pi/Desktop/images/28012025/15/44/image_28012025_15_44_46_9460.jpg
/home/pi/Desktop/images/28012025/15/44/image_28012025_15_44_57_10343.jpg
/home/pi/Desktop/images/28012025/15/45/image_28012025_15_45_07_10200.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332417751","1332417832","1332417826","1332417802","1332417896","1332417893"],"photo_ids_order":["1332417751","1332417802","1332417826","1332417832","1332417893","1332417896"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2d2a8979356ab638c6b88077f6728429.jpg","text":"TemporaryFile(/tmp/multipartBody131991924690870994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096953311,"filename":"image_28012025_15_44_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/1/28/a7c6143b61e4578b33ea072609416aaa.jpg","text":"TemporaryFile(/tmp/multipartBody2518055164018014115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096953311,"filename":"image_28012025_15_44_46_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e0bfacbf8e43b0a4018100e5d195d0ee.jpg","text":"TemporaryFile(/tmp/multipartBody7668195606699589270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096953311,"filename":"image_28012025_15_44_37_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2ae0e02a29998a2ba11a483bd561bbc1.jpg","text":"TemporaryFile(/tmp/multipartBody6314052094319589930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096953311,"filename":"image_28012025_15_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/1/28/4f12a8dde2261a6543dc1e33c704b17c.jpg","text":"TemporaryFile(/tmp/multipartBody374410772568397019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096953311,"filename":"image_28012025_15_45_07_10200.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c23e2cd3d2a7a6860c3c6942a06df20d.jpg","text":"TemporaryFile(/tmp/multipartBody4381817576858318869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738096953311,"filename":"image_28012025_15_44_57_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332417826","file1":"1332417802","file0":"1332417751","file4":"1332417893","file5":"1332417896","file3":"1332417832"},"map_files_photo_id_array":[{"photo_id":"1332417896","filename":"file5"},{"photo_id":"1332417826","filename":"file2"},{"photo_id":"1332417893","filename":"file4"},{"photo_id":"1332417802","filename":"file1"},{"photo_id":"1332417751","filename":"file0"},{"photo_id":"1332417832","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332417751":["hashtag1","hashtag2"]},{"1332417832":["hashtag1","hashtag2"]},{"1332417826":["hashtag1","hashtag2"]},{"1332417802":["hashtag1","hashtag2"]},{"1332417896":["hashtag1","hashtag2"]},{"1332417893":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332417751, 1332417832, 1332417826, 1332417802, 1332417896, 1332417893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5533185005188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:42:32.521011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/45/image_28012025_15_45_16_9456.jpg', '/home/pi/Desktop/images/28012025/15/45/image_28012025_15_45_27_10341.jpg', '/home/pi/Desktop/images/28012025/15/45/image_28012025_15_45_37_10333.jpg', '/home/pi/Desktop/images/28012025/15/45/image_28012025_15_45_46_9378.jpg', '/home/pi/Desktop/images/28012025/15/45/image_28012025_15_45_57_10347.jpg', '/home/pi/Desktop/images/28012025/15/46/image_28012025_15_46_07_10202.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/45/image_28012025_15_45_16_9456.jpg
/home/pi/Desktop/images/28012025/15/45/image_28012025_15_45_27_10341.jpg
/home/pi/Desktop/images/28012025/15/45/image_28012025_15_45_37_10333.jpg
/home/pi/Desktop/images/28012025/15/45/image_28012025_15_45_46_9378.jpg
/home/pi/Desktop/images/28012025/15/45/image_28012025_15_45_57_10347.jpg
/home/pi/Desktop/images/28012025/15/46/image_28012025_15_46_07_10202.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332418000","1332418003","1332417993","1332417996","1332418008","1332418013"],"photo_ids_order":["1332417993","1332417996","1332418000","1332418003","1332418008","1332418013"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/760327268e61750139963b51f6ea09f7.jpg","text":"TemporaryFile(/tmp/multipartBody4296603899803238076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097013473,"filename":"image_28012025_15_45_37_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/64ffbce1598f8b8ba8a5a39c207c32cf.jpg","text":"TemporaryFile(/tmp/multipartBody5120877610072699583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097013473,"filename":"image_28012025_15_45_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/1/28/f09361ee01cfe8e93bf99cf79e1136ff.jpg","text":"TemporaryFile(/tmp/multipartBody7154204597995045577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097013473,"filename":"image_28012025_15_45_16_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1b2d82ee10b8c3e097f662d5bb6e3dcb.jpg","text":"TemporaryFile(/tmp/multipartBody2381125559317113596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097013473,"filename":"image_28012025_15_45_27_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/834b6afae57d90d44be94da9597bc922.jpg","text":"TemporaryFile(/tmp/multipartBody3455508764069002153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097013473,"filename":"image_28012025_15_45_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/1/28/4324c8960c2bfe9c7bcd9c3c44ce6008.jpg","text":"TemporaryFile(/tmp/multipartBody2682216555962772881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097013473,"filename":"image_28012025_15_46_07_10202.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332418000","file1":"1332417996","file0":"1332417993","file4":"1332418008","file5":"1332418013","file3":"1332418003"},"map_files_photo_id_array":[{"photo_id":"1332418013","filename":"file5"},{"photo_id":"1332418000","filename":"file2"},{"photo_id":"1332418008","filename":"file4"},{"photo_id":"1332417996","filename":"file1"},{"photo_id":"1332417993","filename":"file0"},{"photo_id":"1332418003","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332418000":["hashtag1","hashtag2"]},{"1332418003":["hashtag1","hashtag2"]},{"1332417993":["hashtag1","hashtag2"]},{"1332417996":["hashtag1","hashtag2"]},{"1332418008":["hashtag1","hashtag2"]},{"1332418013":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332418000, 1332418003, 1332417993, 1332417996, 1332418008, 1332418013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.287644386291504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:43:32.799674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/46/image_28012025_15_46_16_9410.jpg', '/home/pi/Desktop/images/28012025/15/46/image_28012025_15_46_27_10334.jpg', '/home/pi/Desktop/images/28012025/15/46/image_28012025_15_46_37_10327.jpg', '/home/pi/Desktop/images/28012025/15/46/image_28012025_15_46_47_9553.jpg', '/home/pi/Desktop/images/28012025/15/46/image_28012025_15_46_57_10343.jpg', '/home/pi/Desktop/images/28012025/15/46/image_28012025_15_47_06_9415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/46/image_28012025_15_46_16_9410.jpg
/home/pi/Desktop/images/28012025/15/46/image_28012025_15_46_27_10334.jpg
/home/pi/Desktop/images/28012025/15/46/image_28012025_15_46_37_10327.jpg
/home/pi/Desktop/images/28012025/15/46/image_28012025_15_46_47_9553.jpg
/home/pi/Desktop/images/28012025/15/46/image_28012025_15_46_57_10343.jpg
/home/pi/Desktop/images/28012025/15/46/image_28012025_15_47_06_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":["1332418065","1332418047","1332418052","1332418037","1332418069","1332418042"],"photo_ids_order":["1332418037","1332418042","1332418047","1332418052","1332418065","1332418069"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/438de57661cc514bed7edd1b6428133b.jpg","text":"TemporaryFile(/tmp/multipartBody3183823898889521132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097073757,"filename":"image_28012025_15_46_57_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8b78d4eb1347fbdfb5f7ebed7e9d8842.jpg","text":"TemporaryFile(/tmp/multipartBody6684078383693226353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097073757,"filename":"image_28012025_15_46_37_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/914e4e5b79321bc5c2efe8ecfbf28dd5.jpg","text":"TemporaryFile(/tmp/multipartBody3773970701872468621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097073757,"filename":"image_28012025_15_46_47_9553.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/126f1d5da7f76f7a09361991f2503733.jpg","text":"TemporaryFile(/tmp/multipartBody1741647666736994508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097073757,"filename":"image_28012025_15_46_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/1/28/654647d6de9089828f76a603f99cab28.jpg","text":"TemporaryFile(/tmp/multipartBody2041558695623991529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097073757,"filename":"image_28012025_15_47_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/1/28/788cbb8a108e4790b7cc30c754b19761.jpg","text":"TemporaryFile(/tmp/multipartBody9203403337522996178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097073757,"filename":"image_28012025_15_46_27_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332418047","file1":"1332418042","file0":"1332418037","file4":"1332418065","file5":"1332418069","file3":"1332418052"},"map_files_photo_id_array":[{"photo_id":"1332418069","filename":"file5"},{"photo_id":"1332418047","filename":"file2"},{"photo_id":"1332418065","filename":"file4"},{"photo_id":"1332418042","filename":"file1"},{"photo_id":"1332418037","filename":"file0"},{"photo_id":"1332418052","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332418065":["hashtag1","hashtag2"]},{"1332418047":["hashtag1","hashtag2"]},{"1332418052":["hashtag1","hashtag2"]},{"1332418037":["hashtag1","hashtag2"]},{"1332418069":["hashtag1","hashtag2"]},{"1332418042":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332418065, 1332418047, 1332418052, 1332418037, 1332418069, 1332418042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55223345756531 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:44:33.012217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/47/image_28012025_15_47_17_10390.jpg', '/home/pi/Desktop/images/28012025/15/47/image_28012025_15_47_27_10136.jpg', '/home/pi/Desktop/images/28012025/15/47/image_28012025_15_47_36_9394.jpg', '/home/pi/Desktop/images/28012025/15/47/image_28012025_15_47_47_10345.jpg', '/home/pi/Desktop/images/28012025/15/47/image_28012025_15_48_06_9372.jpg', '/home/pi/Desktop/images/28012025/15/48/image_28012025_15_48_17_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/47/image_28012025_15_47_17_10390.jpg
/home/pi/Desktop/images/28012025/15/47/image_28012025_15_47_27_10136.jpg
/home/pi/Desktop/images/28012025/15/47/image_28012025_15_47_36_9394.jpg
/home/pi/Desktop/images/28012025/15/47/image_28012025_15_47_47_10345.jpg
/home/pi/Desktop/images/28012025/15/47/image_28012025_15_48_06_9372.jpg
/home/pi/Desktop/images/28012025/15/48/image_28012025_15_48_17_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332418132","1332418126","1332418129","1332418121","1332418115","1332418123"],"photo_ids_order":["1332418115","1332418121","1332418123","1332418126","1332418129","1332418132"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/149ba9007f0275039028547d84990205.jpg","text":"TemporaryFile(/tmp/multipartBody4626991698575633978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097134005,"filename":"image_28012025_15_48_17_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/54a514c5f6934c5ce05b054bffe53202.jpg","text":"TemporaryFile(/tmp/multipartBody2088038432470984388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097134005,"filename":"image_28012025_15_47_47_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ee35b3b9ead9bb19a6153ebd7bd9d9e1.jpg","text":"TemporaryFile(/tmp/multipartBody7100303430545145710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097134005,"filename":"image_28012025_15_48_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/1/28/59b6aa57fb1ac8773e44ad791d9102ca.jpg","text":"TemporaryFile(/tmp/multipartBody5472989691386047522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097134005,"filename":"image_28012025_15_47_27_10136.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7b05af65025b80df3cffd9d75836337c.jpg","text":"TemporaryFile(/tmp/multipartBody614898629148991890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097134005,"filename":"image_28012025_15_47_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/1/28/145de16d68b62ba35dedc37e9767954d.jpg","text":"TemporaryFile(/tmp/multipartBody5584331825427878398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097134005,"filename":"image_28012025_15_47_36_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332418123","file1":"1332418121","file0":"1332418115","file4":"1332418129","file5":"1332418132","file3":"1332418126"},"map_files_photo_id_array":[{"photo_id":"1332418132","filename":"file5"},{"photo_id":"1332418123","filename":"file2"},{"photo_id":"1332418129","filename":"file4"},{"photo_id":"1332418121","filename":"file1"},{"photo_id":"1332418115","filename":"file0"},{"photo_id":"1332418126","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332418132":["hashtag1","hashtag2"]},{"1332418126":["hashtag1","hashtag2"]},{"1332418129":["hashtag1","hashtag2"]},{"1332418121":["hashtag1","hashtag2"]},{"1332418115":["hashtag1","hashtag2"]},{"1332418123":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332418132, 1332418126, 1332418129, 1332418121, 1332418115, 1332418123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.67152190208435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:45:32.251051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/48/image_28012025_15_48_27_10349.jpg', '/home/pi/Desktop/images/28012025/15/48/image_28012025_15_48_36_9382.jpg', '/home/pi/Desktop/images/28012025/15/48/image_28012025_15_48_47_10364.jpg', '/home/pi/Desktop/images/28012025/15/48/image_28012025_15_48_56_9384.jpg', '/home/pi/Desktop/images/28012025/15/48/image_28012025_15_49_07_10352.jpg', '/home/pi/Desktop/images/28012025/15/49/image_28012025_15_49_17_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/48/image_28012025_15_48_27_10349.jpg
/home/pi/Desktop/images/28012025/15/48/image_28012025_15_48_36_9382.jpg
/home/pi/Desktop/images/28012025/15/48/image_28012025_15_48_47_10364.jpg
/home/pi/Desktop/images/28012025/15/48/image_28012025_15_48_56_9384.jpg
/home/pi/Desktop/images/28012025/15/48/image_28012025_15_49_07_10352.jpg
/home/pi/Desktop/images/28012025/15/49/image_28012025_15_49_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":["1332418182","1332418179","1332418175","1332418169","1332418166","1332418162"],"photo_ids_order":["1332418162","1332418166","1332418169","1332418175","1332418179","1332418182"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/edf34ad4775dcbe8805907fd8cd3d1e0.jpg","text":"TemporaryFile(/tmp/multipartBody1341151834927752920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097193196,"filename":"image_28012025_15_49_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/1/28/a951467c3b8f49d6e74ed2203a51c4b6.jpg","text":"TemporaryFile(/tmp/multipartBody7691371766929064328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097193196,"filename":"image_28012025_15_49_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/1/28/557e6aa1260f4bc26b85fb4740bf1bc8.jpg","text":"TemporaryFile(/tmp/multipartBody7484666818342259869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097193196,"filename":"image_28012025_15_48_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/1/28/40ac8011f6b0f069eb2af56ebfa0b2eb.jpg","text":"TemporaryFile(/tmp/multipartBody6196058505838121619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097193196,"filename":"image_28012025_15_48_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/1/28/dbfeea448318ab2f120f1d8109eaf4b5.jpg","text":"TemporaryFile(/tmp/multipartBody679186397693913826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097193196,"filename":"image_28012025_15_48_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/1/28/7f16af80bf4c8f3f8e4c526e258d46c0.jpg","text":"TemporaryFile(/tmp/multipartBody2913734923410416494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097193196,"filename":"image_28012025_15_48_27_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332418169","file1":"1332418166","file0":"1332418162","file4":"1332418179","file5":"1332418182","file3":"1332418175"},"map_files_photo_id_array":[{"photo_id":"1332418182","filename":"file5"},{"photo_id":"1332418169","filename":"file2"},{"photo_id":"1332418179","filename":"file4"},{"photo_id":"1332418166","filename":"file1"},{"photo_id":"1332418162","filename":"file0"},{"photo_id":"1332418175","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332418182":["hashtag1","hashtag2"]},{"1332418179":["hashtag1","hashtag2"]},{"1332418175":["hashtag1","hashtag2"]},{"1332418169":["hashtag1","hashtag2"]},{"1332418166":["hashtag1","hashtag2"]},{"1332418162":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332418182, 1332418179, 1332418175, 1332418169, 1332418166, 1332418162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.319618940353394 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:46:32.539231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/49/image_28012025_15_49_26_9361.jpg', '/home/pi/Desktop/images/28012025/15/49/image_28012025_15_49_37_10349.jpg', '/home/pi/Desktop/images/28012025/15/49/image_28012025_15_49_47_10392.jpg', '/home/pi/Desktop/images/28012025/15/49/image_28012025_15_49_56_9407.jpg', '/home/pi/Desktop/images/28012025/15/49/image_28012025_15_50_07_10379.jpg', '/home/pi/Desktop/images/28012025/15/50/image_28012025_15_50_16_9437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/49/image_28012025_15_49_26_9361.jpg
/home/pi/Desktop/images/28012025/15/49/image_28012025_15_49_37_10349.jpg
/home/pi/Desktop/images/28012025/15/49/image_28012025_15_49_47_10392.jpg
/home/pi/Desktop/images/28012025/15/49/image_28012025_15_49_56_9407.jpg
/home/pi/Desktop/images/28012025/15/49/image_28012025_15_50_07_10379.jpg
/home/pi/Desktop/images/28012025/15/50/image_28012025_15_50_16_9437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332418501","1332418504","1332418290","1332418563","1332418499","1332418409"],"photo_ids_order":["1332418290","1332418409","1332418499","1332418501","1332418504","1332418563"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/127f99d6dd0988f61acde20e855951ba.jpg","text":"TemporaryFile(/tmp/multipartBody7798449193689827086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097253494,"filename":"image_28012025_15_49_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/1/28/b021bfc2e79636aaae646030b14bc853.jpg","text":"TemporaryFile(/tmp/multipartBody6643952885111719850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097253494,"filename":"image_28012025_15_50_07_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4d0d21451e3342e5d348fdcfa37f64b6.jpg","text":"TemporaryFile(/tmp/multipartBody6370530593752480722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097253494,"filename":"image_28012025_15_49_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/1/28/71214233c3910e6c319d4246cc56ee53.jpg","text":"TemporaryFile(/tmp/multipartBody1790815999518641238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097253494,"filename":"image_28012025_15_50_16_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/218279507806c632f4567c13aba399bf.jpg","text":"TemporaryFile(/tmp/multipartBody4314354508887365893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097253494,"filename":"image_28012025_15_49_47_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/712d819dd536261e8926af8c398ef0c9.jpg","text":"TemporaryFile(/tmp/multipartBody7571723718650954323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097253494,"filename":"image_28012025_15_49_37_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332418499","file1":"1332418409","file0":"1332418290","file4":"1332418504","file5":"1332418563","file3":"1332418501"},"map_files_photo_id_array":[{"photo_id":"1332418563","filename":"file5"},{"photo_id":"1332418499","filename":"file2"},{"photo_id":"1332418504","filename":"file4"},{"photo_id":"1332418409","filename":"file1"},{"photo_id":"1332418290","filename":"file0"},{"photo_id":"1332418501","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332418501":["hashtag1","hashtag2"]},{"1332418504":["hashtag1","hashtag2"]},{"1332418290":["hashtag1","hashtag2"]},{"1332418563":["hashtag1","hashtag2"]},{"1332418499":["hashtag1","hashtag2"]},{"1332418409":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332418501, 1332418504, 1332418290, 1332418563, 1332418499, 1332418409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.8036413192749 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:47:32.850167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/50/image_28012025_15_50_27_10330.jpg', '/home/pi/Desktop/images/28012025/15/50/image_28012025_15_50_37_10351.jpg', '/home/pi/Desktop/images/28012025/15/50/image_28012025_15_50_46_9414.jpg', '/home/pi/Desktop/images/28012025/15/50/image_28012025_15_50_57_10346.jpg', '/home/pi/Desktop/images/28012025/15/51/image_28012025_15_51_27_10355.jpg', '/home/pi/Desktop/images/28012025/15/51/image_28012025_15_51_36_9409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/50/image_28012025_15_50_27_10330.jpg
/home/pi/Desktop/images/28012025/15/50/image_28012025_15_50_37_10351.jpg
/home/pi/Desktop/images/28012025/15/50/image_28012025_15_50_46_9414.jpg
/home/pi/Desktop/images/28012025/15/50/image_28012025_15_50_57_10346.jpg
/home/pi/Desktop/images/28012025/15/51/image_28012025_15_51_27_10355.jpg
/home/pi/Desktop/images/28012025/15/51/image_28012025_15_51_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":["1332418815","1332418809","1332418812","1332418829","1332418693","1332418768"],"photo_ids_order":["1332418693","1332418768","1332418809","1332418812","1332418815","1332418829"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/528039580504c8e88b517e6e33c6cfbf.jpg","text":"TemporaryFile(/tmp/multipartBody222993699998347823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097313823,"filename":"image_28012025_15_51_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/1/28/19d6174db13c1a7dd810cfa2a2fc96b3.jpg","text":"TemporaryFile(/tmp/multipartBody8806368281968823379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097313823,"filename":"image_28012025_15_50_46_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/521545d58c3851d4da4ff716c38f14ef.jpg","text":"TemporaryFile(/tmp/multipartBody1482456179067927680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097313823,"filename":"image_28012025_15_50_57_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e72e954d08c1ddfd648b0a7b65d00d11.jpg","text":"TemporaryFile(/tmp/multipartBody2389073581859754757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097313823,"filename":"image_28012025_15_51_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/1/28/0dadabca2338deb1128c3ebaa15d354d.jpg","text":"TemporaryFile(/tmp/multipartBody5614633589599324566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097313823,"filename":"image_28012025_15_50_27_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fcf6daf96246e599e64dfc55993f3d08.jpg","text":"TemporaryFile(/tmp/multipartBody3754838656021604929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097313823,"filename":"image_28012025_15_50_37_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332418809","file1":"1332418768","file0":"1332418693","file4":"1332418815","file5":"1332418829","file3":"1332418812"},"map_files_photo_id_array":[{"photo_id":"1332418829","filename":"file5"},{"photo_id":"1332418809","filename":"file2"},{"photo_id":"1332418815","filename":"file4"},{"photo_id":"1332418768","filename":"file1"},{"photo_id":"1332418693","filename":"file0"},{"photo_id":"1332418812","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332418815":["hashtag1","hashtag2"]},{"1332418809":["hashtag1","hashtag2"]},{"1332418812":["hashtag1","hashtag2"]},{"1332418829":["hashtag1","hashtag2"]},{"1332418693":["hashtag1","hashtag2"]},{"1332418768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332418815, 1332418809, 1332418812, 1332418829, 1332418693, 1332418768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.77849459648132 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:48:33.032962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/51/image_28012025_15_51_47_10356.jpg', '/home/pi/Desktop/images/28012025/15/51/image_28012025_15_52_06_9401.jpg', '/home/pi/Desktop/images/28012025/15/52/image_28012025_15_52_17_10356.jpg', '/home/pi/Desktop/images/28012025/15/52/image_28012025_15_52_36_9373.jpg', '/home/pi/Desktop/images/28012025/15/52/image_28012025_15_52_47_10344.jpg', '/home/pi/Desktop/images/28012025/15/52/image_28012025_15_52_57_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/51/image_28012025_15_51_47_10356.jpg
/home/pi/Desktop/images/28012025/15/51/image_28012025_15_52_06_9401.jpg
/home/pi/Desktop/images/28012025/15/52/image_28012025_15_52_17_10356.jpg
/home/pi/Desktop/images/28012025/15/52/image_28012025_15_52_36_9373.jpg
/home/pi/Desktop/images/28012025/15/52/image_28012025_15_52_47_10344.jpg
/home/pi/Desktop/images/28012025/15/52/image_28012025_15_52_57_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":["1332418854","1332418856","1332418850","1332418847","1332418861","1332418858"],"photo_ids_order":["1332418847","1332418850","1332418854","1332418856","1332418858","1332418861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a8f900d18b90c290b6d8b5a4d2e26a7c.jpg","text":"TemporaryFile(/tmp/multipartBody4648036031107550893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097373997,"filename":"image_28012025_15_52_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/1/28/bd7a9b12f7808ed45b8a78420215d55c.jpg","text":"TemporaryFile(/tmp/multipartBody5677549268531766585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097373997,"filename":"image_28012025_15_52_36_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/852515ea16fc02d8a97fe0d0699f8905.jpg","text":"TemporaryFile(/tmp/multipartBody8058695308272446020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097373997,"filename":"image_28012025_15_52_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/1/28/9cac96bf80aab5aee0525f06cf7f42ae.jpg","text":"TemporaryFile(/tmp/multipartBody676179338697359451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097373997,"filename":"image_28012025_15_51_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/1/28/60ebf58269c442774b5e7699c7a994cf.jpg","text":"TemporaryFile(/tmp/multipartBody7703641975092293441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097373997,"filename":"image_28012025_15_52_57_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/65923c2543b3b30cfc4ce79957986bcb.jpg","text":"TemporaryFile(/tmp/multipartBody4691276128299615479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097373997,"filename":"image_28012025_15_52_47_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332418854","file1":"1332418850","file0":"1332418847","file4":"1332418858","file5":"1332418861","file3":"1332418856"},"map_files_photo_id_array":[{"photo_id":"1332418861","filename":"file5"},{"photo_id":"1332418854","filename":"file2"},{"photo_id":"1332418858","filename":"file4"},{"photo_id":"1332418850","filename":"file1"},{"photo_id":"1332418847","filename":"file0"},{"photo_id":"1332418856","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332418854":["hashtag1","hashtag2"]},{"1332418856":["hashtag1","hashtag2"]},{"1332418850":["hashtag1","hashtag2"]},{"1332418847":["hashtag1","hashtag2"]},{"1332418861":["hashtag1","hashtag2"]},{"1332418858":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332418854, 1332418856, 1332418850, 1332418847, 1332418861, 1332418858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.61978721618652 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:49:32.267300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/52/image_28012025_15_53_06_9386.jpg', '/home/pi/Desktop/images/28012025/15/53/image_28012025_15_53_17_10342.jpg', '/home/pi/Desktop/images/28012025/15/53/image_28012025_15_53_26_9470.jpg', '/home/pi/Desktop/images/28012025/15/53/image_28012025_15_53_37_10348.jpg', '/home/pi/Desktop/images/28012025/15/53/image_28012025_15_53_47_10341.jpg', '/home/pi/Desktop/images/28012025/15/53/image_28012025_15_53_56_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/52/image_28012025_15_53_06_9386.jpg
/home/pi/Desktop/images/28012025/15/53/image_28012025_15_53_17_10342.jpg
/home/pi/Desktop/images/28012025/15/53/image_28012025_15_53_26_9470.jpg
/home/pi/Desktop/images/28012025/15/53/image_28012025_15_53_37_10348.jpg
/home/pi/Desktop/images/28012025/15/53/image_28012025_15_53_47_10341.jpg
/home/pi/Desktop/images/28012025/15/53/image_28012025_15_53_56_9328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332418890","1332419027","1332419182","1332418888","1332419394","1332419268"],"photo_ids_order":["1332418888","1332418890","1332419027","1332419182","1332419268","1332419394"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cf6488ad882af7fb10a2a2e9398a9242.jpg","text":"TemporaryFile(/tmp/multipartBody7817424844908997655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097433226,"filename":"image_28012025_15_53_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/1/28/03754b1391834c1bdae0ebc6f7c516d1.jpg","text":"TemporaryFile(/tmp/multipartBody5541704424504761881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097433226,"filename":"image_28012025_15_53_26_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9a4dab6b86eca45e869414ddc744f557.jpg","text":"TemporaryFile(/tmp/multipartBody8569015007955604476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097433226,"filename":"image_28012025_15_53_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/1/28/b190e6a6ca97a914cec9f8d53bb67c7e.jpg","text":"TemporaryFile(/tmp/multipartBody542777136829595933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097433226,"filename":"image_28012025_15_53_06_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/70d0b60ff5e4e28d51c1b313d1796645.jpg","text":"TemporaryFile(/tmp/multipartBody8537429909859338729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097433226,"filename":"image_28012025_15_53_56_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8ebf9f9590553d9a5a26b7d9ac5b2aef.jpg","text":"TemporaryFile(/tmp/multipartBody6821292895417827601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097433226,"filename":"image_28012025_15_53_47_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332419027","file1":"1332418890","file0":"1332418888","file4":"1332419268","file5":"1332419394","file3":"1332419182"},"map_files_photo_id_array":[{"photo_id":"1332419394","filename":"file5"},{"photo_id":"1332419027","filename":"file2"},{"photo_id":"1332419268","filename":"file4"},{"photo_id":"1332418890","filename":"file1"},{"photo_id":"1332418888","filename":"file0"},{"photo_id":"1332419182","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332418890":["hashtag1","hashtag2"]},{"1332419027":["hashtag1","hashtag2"]},{"1332419182":["hashtag1","hashtag2"]},{"1332418888":["hashtag1","hashtag2"]},{"1332419394":["hashtag1","hashtag2"]},{"1332419268":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332418890, 1332419027, 1332419182, 1332418888, 1332419394, 1332419268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.19997572898865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:50:32.579577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/53/image_28012025_15_54_07_10333.jpg', '/home/pi/Desktop/images/28012025/15/54/image_28012025_15_54_17_10338.jpg', '/home/pi/Desktop/images/28012025/15/54/image_28012025_15_54_26_9338.jpg', '/home/pi/Desktop/images/28012025/15/54/image_28012025_15_54_37_10328.jpg', '/home/pi/Desktop/images/28012025/15/54/image_28012025_15_54_47_10439.jpg', '/home/pi/Desktop/images/28012025/15/54/image_28012025_15_54_56_9409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/53/image_28012025_15_54_07_10333.jpg
/home/pi/Desktop/images/28012025/15/54/image_28012025_15_54_17_10338.jpg
/home/pi/Desktop/images/28012025/15/54/image_28012025_15_54_26_9338.jpg
/home/pi/Desktop/images/28012025/15/54/image_28012025_15_54_37_10328.jpg
/home/pi/Desktop/images/28012025/15/54/image_28012025_15_54_47_10439.jpg
/home/pi/Desktop/images/28012025/15/54/image_28012025_15_54_56_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":["1332419588","1332419837","1332419723","1332419627","1332419869","1332419592"],"photo_ids_order":["1332419588","1332419592","1332419627","1332419723","1332419837","1332419869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/282a06517f25bcbca8592cd8bdb3335a.jpg","text":"TemporaryFile(/tmp/multipartBody5515321574991193415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097493542,"filename":"image_28012025_15_54_07_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/28ec45753fc0bb2a50540c11b9318f0b.jpg","text":"TemporaryFile(/tmp/multipartBody2202495669791764671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097493542,"filename":"image_28012025_15_54_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/1/28/bc841d31d5a8c9994baa6d65e8dc7c1c.jpg","text":"TemporaryFile(/tmp/multipartBody2332351969653088113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097493542,"filename":"image_28012025_15_54_37_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fdbf78767dee5d08bd8a321ddf01a8dc.jpg","text":"TemporaryFile(/tmp/multipartBody5220530084126293078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097493542,"filename":"image_28012025_15_54_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/1/28/1989031ada066977fe84981eee3416a2.jpg","text":"TemporaryFile(/tmp/multipartBody31366552206741992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097493542,"filename":"image_28012025_15_54_56_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d35f9db028101fc43dfdf5798a3ff142.jpg","text":"TemporaryFile(/tmp/multipartBody7357091285803174727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097493542,"filename":"image_28012025_15_54_17_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332419627","file1":"1332419592","file0":"1332419588","file4":"1332419837","file5":"1332419869","file3":"1332419723"},"map_files_photo_id_array":[{"photo_id":"1332419869","filename":"file5"},{"photo_id":"1332419627","filename":"file2"},{"photo_id":"1332419837","filename":"file4"},{"photo_id":"1332419592","filename":"file1"},{"photo_id":"1332419588","filename":"file0"},{"photo_id":"1332419723","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332419588":["hashtag1","hashtag2"]},{"1332419837":["hashtag1","hashtag2"]},{"1332419723":["hashtag1","hashtag2"]},{"1332419627":["hashtag1","hashtag2"]},{"1332419869":["hashtag1","hashtag2"]},{"1332419592":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332419588, 1332419837, 1332419723, 1332419627, 1332419869, 1332419592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.334463357925415 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:51:32.777981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/54/image_28012025_15_55_07_10334.jpg', '/home/pi/Desktop/images/28012025/15/55/image_28012025_15_55_16_9371.jpg', '/home/pi/Desktop/images/28012025/15/55/image_28012025_15_55_27_10352.jpg', '/home/pi/Desktop/images/28012025/15/55/image_28012025_15_55_37_10368.jpg', '/home/pi/Desktop/images/28012025/15/55/image_28012025_15_55_46_9369.jpg', '/home/pi/Desktop/images/28012025/15/55/image_28012025_15_55_57_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/54/image_28012025_15_55_07_10334.jpg
/home/pi/Desktop/images/28012025/15/55/image_28012025_15_55_16_9371.jpg
/home/pi/Desktop/images/28012025/15/55/image_28012025_15_55_27_10352.jpg
/home/pi/Desktop/images/28012025/15/55/image_28012025_15_55_37_10368.jpg
/home/pi/Desktop/images/28012025/15/55/image_28012025_15_55_46_9369.jpg
/home/pi/Desktop/images/28012025/15/55/image_28012025_15_55_57_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":["1332419964","1332419996","1332419971","1332419965","1332419968","1332419961"],"photo_ids_order":["1332419961","1332419964","1332419965","1332419968","1332419971","1332419996"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/19a05c98df23f330164184b4bedaabfe.jpg","text":"TemporaryFile(/tmp/multipartBody2059693932770172517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097553740,"filename":"image_28012025_15_55_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/1/28/42555ddf7664ce2a9bfd29cb160d7e0c.jpg","text":"TemporaryFile(/tmp/multipartBody2457635310787827390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097553740,"filename":"image_28012025_15_55_57_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/79ca5c846e490cab53d5f71f22bffc45.jpg","text":"TemporaryFile(/tmp/multipartBody6849795570578650172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097553740,"filename":"image_28012025_15_55_46_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5c47a8697f365419f32f0ff99e06dba0.jpg","text":"TemporaryFile(/tmp/multipartBody8187078409348820586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097553740,"filename":"image_28012025_15_55_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/1/28/677dddfa64a59816e89d9a7d15d3a1dc.jpg","text":"TemporaryFile(/tmp/multipartBody6122820090996757979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097553740,"filename":"image_28012025_15_55_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/1/28/5baaa9553d265758c036b8270e18806e.jpg","text":"TemporaryFile(/tmp/multipartBody5949328049392181509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097553740,"filename":"image_28012025_15_55_07_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332419965","file1":"1332419964","file0":"1332419961","file4":"1332419971","file5":"1332419996","file3":"1332419968"},"map_files_photo_id_array":[{"photo_id":"1332419996","filename":"file5"},{"photo_id":"1332419965","filename":"file2"},{"photo_id":"1332419971","filename":"file4"},{"photo_id":"1332419964","filename":"file1"},{"photo_id":"1332419961","filename":"file0"},{"photo_id":"1332419968","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332419964":["hashtag1","hashtag2"]},{"1332419996":["hashtag1","hashtag2"]},{"1332419971":["hashtag1","hashtag2"]},{"1332419965":["hashtag1","hashtag2"]},{"1332419968":["hashtag1","hashtag2"]},{"1332419961":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332419964, 1332419996, 1332419971, 1332419965, 1332419968, 1332419961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.67050313949585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:52:33.174595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/55/image_28012025_15_56_07_10334.jpg', '/home/pi/Desktop/images/28012025/15/56/image_28012025_15_56_16_9396.jpg', '/home/pi/Desktop/images/28012025/15/56/image_28012025_15_56_27_10351.jpg', '/home/pi/Desktop/images/28012025/15/56/image_28012025_15_56_37_10343.jpg', '/home/pi/Desktop/images/28012025/15/56/image_28012025_15_56_46_9402.jpg', '/home/pi/Desktop/images/28012025/15/56/image_28012025_15_56_57_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/55/image_28012025_15_56_07_10334.jpg
/home/pi/Desktop/images/28012025/15/56/image_28012025_15_56_16_9396.jpg
/home/pi/Desktop/images/28012025/15/56/image_28012025_15_56_27_10351.jpg
/home/pi/Desktop/images/28012025/15/56/image_28012025_15_56_37_10343.jpg
/home/pi/Desktop/images/28012025/15/56/image_28012025_15_56_46_9402.jpg
/home/pi/Desktop/images/28012025/15/56/image_28012025_15_56_57_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":["1332420252","1332420264","1332420258","1332420268","1332420265","1332420244"],"photo_ids_order":["1332420244","1332420252","1332420258","1332420264","1332420265","1332420268"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f798294bbc18bbdbb60ea710e38109f3.jpg","text":"TemporaryFile(/tmp/multipartBody7852875338725017206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097614126,"filename":"image_28012025_15_56_16_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a287da789d8ff1ad01be090aa267bb35.jpg","text":"TemporaryFile(/tmp/multipartBody5976806825956005085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097614126,"filename":"image_28012025_15_56_37_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a7ffe8dc69701769ed34eb40185a7434.jpg","text":"TemporaryFile(/tmp/multipartBody883904660047279013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097614126,"filename":"image_28012025_15_56_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/1/28/3a6e2d5f16f87cfb5e2b7eb739496bab.jpg","text":"TemporaryFile(/tmp/multipartBody2234031652514228549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097614126,"filename":"image_28012025_15_56_57_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5be84b620730abcb2aed4c555a076c4b.jpg","text":"TemporaryFile(/tmp/multipartBody4063851080474616760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097614126,"filename":"image_28012025_15_56_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/1/28/58b1c42c05baf1d2c28305d67e00c2ac.jpg","text":"TemporaryFile(/tmp/multipartBody2753768859151755055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097614126,"filename":"image_28012025_15_56_07_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332420258","file1":"1332420252","file0":"1332420244","file4":"1332420265","file5":"1332420268","file3":"1332420264"},"map_files_photo_id_array":[{"photo_id":"1332420268","filename":"file5"},{"photo_id":"1332420258","filename":"file2"},{"photo_id":"1332420265","filename":"file4"},{"photo_id":"1332420252","filename":"file1"},{"photo_id":"1332420244","filename":"file0"},{"photo_id":"1332420264","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332420252":["hashtag1","hashtag2"]},{"1332420264":["hashtag1","hashtag2"]},{"1332420258":["hashtag1","hashtag2"]},{"1332420268":["hashtag1","hashtag2"]},{"1332420265":["hashtag1","hashtag2"]},{"1332420244":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332420252, 1332420264, 1332420258, 1332420268, 1332420265, 1332420244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.240180015563965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:53:32.409100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/56/image_28012025_15_57_06_9432.jpg', '/home/pi/Desktop/images/28012025/15/57/image_28012025_15_57_27_10353.jpg', '/home/pi/Desktop/images/28012025/15/57/image_28012025_15_57_36_9318.jpg', '/home/pi/Desktop/images/28012025/15/57/image_28012025_15_57_47_10349.jpg', '/home/pi/Desktop/images/28012025/15/57/image_28012025_15_57_57_10337.jpg', '/home/pi/Desktop/images/28012025/15/57/image_28012025_15_58_06_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/56/image_28012025_15_57_06_9432.jpg
/home/pi/Desktop/images/28012025/15/57/image_28012025_15_57_27_10353.jpg
/home/pi/Desktop/images/28012025/15/57/image_28012025_15_57_36_9318.jpg
/home/pi/Desktop/images/28012025/15/57/image_28012025_15_57_47_10349.jpg
/home/pi/Desktop/images/28012025/15/57/image_28012025_15_57_57_10337.jpg
/home/pi/Desktop/images/28012025/15/57/image_28012025_15_58_06_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":["1332420301","1332420304","1332420488","1332420385","1332420481","1332420430"],"photo_ids_order":["1332420301","1332420304","1332420385","1332420430","1332420481","1332420488"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4767c616c1961d69410abfbc8e536968.jpg","text":"TemporaryFile(/tmp/multipartBody6545232920557213171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097673365,"filename":"image_28012025_15_57_06_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/100205f8149c23249cdc4a7ac79b85ba.jpg","text":"TemporaryFile(/tmp/multipartBody5637796989784479274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097673365,"filename":"image_28012025_15_57_27_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/be909a94ec77774e10fc63d64b212556.jpg","text":"TemporaryFile(/tmp/multipartBody104610024517091034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097673365,"filename":"image_28012025_15_58_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/1/28/196d0ca8e559eba0daed83ad6f49499e.jpg","text":"TemporaryFile(/tmp/multipartBody8238465920197360850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097673365,"filename":"image_28012025_15_57_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/1/28/761b912632711f4d8d35fe434d4b34a3.jpg","text":"TemporaryFile(/tmp/multipartBody2495411772337623945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097673365,"filename":"image_28012025_15_57_57_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9c2034fac34f5faa9fedd6afe8689fcb.jpg","text":"TemporaryFile(/tmp/multipartBody65446064465287169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097673365,"filename":"image_28012025_15_57_47_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332420385","file1":"1332420304","file0":"1332420301","file4":"1332420481","file5":"1332420488","file3":"1332420430"},"map_files_photo_id_array":[{"photo_id":"1332420488","filename":"file5"},{"photo_id":"1332420385","filename":"file2"},{"photo_id":"1332420481","filename":"file4"},{"photo_id":"1332420304","filename":"file1"},{"photo_id":"1332420301","filename":"file0"},{"photo_id":"1332420430","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332420301":["hashtag1","hashtag2"]},{"1332420304":["hashtag1","hashtag2"]},{"1332420488":["hashtag1","hashtag2"]},{"1332420385":["hashtag1","hashtag2"]},{"1332420481":["hashtag1","hashtag2"]},{"1332420430":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332420301, 1332420304, 1332420488, 1332420385, 1332420481, 1332420430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.38274025917053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:54:32.644618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/58/image_28012025_15_58_27_10355.jpg', '/home/pi/Desktop/images/28012025/15/58/image_28012025_15_58_36_9350.jpg', '/home/pi/Desktop/images/28012025/15/58/image_28012025_15_58_47_10350.jpg', '/home/pi/Desktop/images/28012025/15/58/image_28012025_15_58_57_10361.jpg', '/home/pi/Desktop/images/28012025/15/58/image_28012025_15_59_06_9326.jpg', '/home/pi/Desktop/images/28012025/15/59/image_28012025_15_59_17_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/58/image_28012025_15_58_27_10355.jpg
/home/pi/Desktop/images/28012025/15/58/image_28012025_15_58_36_9350.jpg
/home/pi/Desktop/images/28012025/15/58/image_28012025_15_58_47_10350.jpg
/home/pi/Desktop/images/28012025/15/58/image_28012025_15_58_57_10361.jpg
/home/pi/Desktop/images/28012025/15/58/image_28012025_15_59_06_9326.jpg
/home/pi/Desktop/images/28012025/15/59/image_28012025_15_59_17_10374.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5550374984741211 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 21:54:42.625196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/58/image_28012025_15_58_27_10355.jpg', '/home/pi/Desktop/images/28012025/15/58/image_28012025_15_58_36_9350.jpg', '/home/pi/Desktop/images/28012025/15/58/image_28012025_15_58_47_10350.jpg', '/home/pi/Desktop/images/28012025/15/58/image_28012025_15_58_57_10361.jpg', '/home/pi/Desktop/images/28012025/15/58/image_28012025_15_59_06_9326.jpg', '/home/pi/Desktop/images/28012025/15/59/image_28012025_15_59_17_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/58/image_28012025_15_58_27_10355.jpg
/home/pi/Desktop/images/28012025/15/58/image_28012025_15_58_36_9350.jpg
/home/pi/Desktop/images/28012025/15/58/image_28012025_15_58_47_10350.jpg
/home/pi/Desktop/images/28012025/15/58/image_28012025_15_58_57_10361.jpg
/home/pi/Desktop/images/28012025/15/58/image_28012025_15_59_06_9326.jpg
/home/pi/Desktop/images/28012025/15/59/image_28012025_15_59_17_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332420532","1332420534","1332420513","1332420518","1332420527","1332420523"],"photo_ids_order":["1332420513","1332420518","1332420523","1332420527","1332420532","1332420534"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cc34b326e3dbd730e2739bd3cbd21252.jpg","text":"TemporaryFile(/tmp/multipartBody3931216011312116854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097743536,"filename":"image_28012025_15_59_06_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a6beb05713812f557ad2a0a4ba1586ed.jpg","text":"TemporaryFile(/tmp/multipartBody8417603549263194160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097743536,"filename":"image_28012025_15_59_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/1/28/2717c641b6176308bad3d9747dac1472.jpg","text":"TemporaryFile(/tmp/multipartBody201914833373469859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097743536,"filename":"image_28012025_15_58_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/1/28/08cceaf3768456e5280ec91026ce3608.jpg","text":"TemporaryFile(/tmp/multipartBody7487035744270654278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097743536,"filename":"image_28012025_15_58_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/1/28/6c9ffb34f7aa2e2e8fd937f8df6a9514.jpg","text":"TemporaryFile(/tmp/multipartBody6583973692701956846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097743536,"filename":"image_28012025_15_58_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/1/28/81ee61c410a3bdfb4606fa9ce97f62fa.jpg","text":"TemporaryFile(/tmp/multipartBody5741671697061893678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097743536,"filename":"image_28012025_15_58_47_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332420523","file1":"1332420518","file0":"1332420513","file4":"1332420532","file5":"1332420534","file3":"1332420527"},"map_files_photo_id_array":[{"photo_id":"1332420534","filename":"file5"},{"photo_id":"1332420523","filename":"file2"},{"photo_id":"1332420532","filename":"file4"},{"photo_id":"1332420518","filename":"file1"},{"photo_id":"1332420513","filename":"file0"},{"photo_id":"1332420527","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332420532":["hashtag1","hashtag2"]},{"1332420534":["hashtag1","hashtag2"]},{"1332420513":["hashtag1","hashtag2"]},{"1332420518":["hashtag1","hashtag2"]},{"1332420527":["hashtag1","hashtag2"]},{"1332420523":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332420532, 1332420534, 1332420513, 1332420518, 1332420527, 1332420523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.151673793792725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:55:32.906354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/15/59/image_28012025_15_59_26_9493.jpg', '/home/pi/Desktop/images/28012025/15/59/image_28012025_15_59_37_10352.jpg', '/home/pi/Desktop/images/28012025/15/59/image_28012025_15_59_47_10352.jpg', '/home/pi/Desktop/images/28012025/15/59/image_28012025_15_59_56_9358.jpg', '/home/pi/Desktop/images/28012025/16/00/image_28012025_16_00_16_10079.jpg', '/home/pi/Desktop/images/28012025/16/00/image_28012025_16_00_26_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/15/59/image_28012025_15_59_26_9493.jpg
/home/pi/Desktop/images/28012025/15/59/image_28012025_15_59_37_10352.jpg
/home/pi/Desktop/images/28012025/15/59/image_28012025_15_59_47_10352.jpg
/home/pi/Desktop/images/28012025/15/59/image_28012025_15_59_56_9358.jpg
/home/pi/Desktop/images/28012025/16/00/image_28012025_16_00_16_10079.jpg
/home/pi/Desktop/images/28012025/16/00/image_28012025_16_00_26_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":["1332420555","1332420578","1332420557","1332420566","1332420568","1332420559"],"photo_ids_order":["1332420555","1332420557","1332420559","1332420566","1332420568","1332420578"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9b901cbce9b26670b9c3e51e5117995b.jpg","text":"TemporaryFile(/tmp/multipartBody6030866957774428792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097793861,"filename":"image_28012025_15_59_26_9493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/11461277864f78d94549e1ebfa58ac67.jpg","text":"TemporaryFile(/tmp/multipartBody8719383707084272801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097793861,"filename":"image_28012025_16_00_26_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3df82307d9b9b7bf0433fa9b7a79c4f2.jpg","text":"TemporaryFile(/tmp/multipartBody4957349814050873676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097793861,"filename":"image_28012025_15_59_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/1/28/99c11d8f5767994b5e19be88e130ebf2.jpg","text":"TemporaryFile(/tmp/multipartBody8563911457239236599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097793861,"filename":"image_28012025_15_59_56_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b6b56961d2b7ef9cbd0d92e02ce26ae7.jpg","text":"TemporaryFile(/tmp/multipartBody8919574344893004805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097793861,"filename":"image_28012025_16_00_16_10079.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/55c519de92f7697cd73bb1d48d4dcdce.jpg","text":"TemporaryFile(/tmp/multipartBody1040754830226060900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097793861,"filename":"image_28012025_15_59_47_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332420559","file1":"1332420557","file0":"1332420555","file4":"1332420568","file5":"1332420578","file3":"1332420566"},"map_files_photo_id_array":[{"photo_id":"1332420578","filename":"file5"},{"photo_id":"1332420559","filename":"file2"},{"photo_id":"1332420568","filename":"file4"},{"photo_id":"1332420557","filename":"file1"},{"photo_id":"1332420555","filename":"file0"},{"photo_id":"1332420566","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332420555":["hashtag1","hashtag2"]},{"1332420578":["hashtag1","hashtag2"]},{"1332420557":["hashtag1","hashtag2"]},{"1332420566":["hashtag1","hashtag2"]},{"1332420568":["hashtag1","hashtag2"]},{"1332420559":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332420555, 1332420578, 1332420557, 1332420566, 1332420568, 1332420559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.55819582939148 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:56:32.261687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/00/image_28012025_16_00_37_10421.jpg', '/home/pi/Desktop/images/28012025/16/00/image_28012025_16_00_46_9346.jpg', '/home/pi/Desktop/images/28012025/16/00/image_28012025_16_00_56_10452.jpg', '/home/pi/Desktop/images/28012025/16/00/image_28012025_16_01_07_10341.jpg', '/home/pi/Desktop/images/28012025/16/01/image_28012025_16_01_16_9422.jpg', '/home/pi/Desktop/images/28012025/16/01/image_28012025_16_01_26_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/00/image_28012025_16_00_37_10421.jpg
/home/pi/Desktop/images/28012025/16/00/image_28012025_16_00_46_9346.jpg
/home/pi/Desktop/images/28012025/16/00/image_28012025_16_00_56_10452.jpg
/home/pi/Desktop/images/28012025/16/00/image_28012025_16_01_07_10341.jpg
/home/pi/Desktop/images/28012025/16/01/image_28012025_16_01_16_9422.jpg
/home/pi/Desktop/images/28012025/16/01/image_28012025_16_01_26_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":["1332420619","1332420657","1332420600","1332420624","1332420665","1332420632"],"photo_ids_order":["1332420600","1332420619","1332420624","1332420632","1332420657","1332420665"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ff5fe9739b0c9f0cbe4fd334cffd14de.jpg","text":"TemporaryFile(/tmp/multipartBody1336632573823397822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097853210,"filename":"image_28012025_16_00_46_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fac992d1d4e651650e1de2caff1833a9.jpg","text":"TemporaryFile(/tmp/multipartBody2213119805852777897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097853210,"filename":"image_28012025_16_01_16_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cdc5c72ae8008559f0a0ddfc64a517b2.jpg","text":"TemporaryFile(/tmp/multipartBody517931917667635072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097853210,"filename":"image_28012025_16_00_37_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c2f9857f61376272f1a540cbfbfabc9b.jpg","text":"TemporaryFile(/tmp/multipartBody7616879655177907157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097853210,"filename":"image_28012025_16_00_56_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6a54840309763f56df63159480d56833.jpg","text":"TemporaryFile(/tmp/multipartBody8534334963307403950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097853210,"filename":"image_28012025_16_01_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/1/28/9948f9cb45106e5cd6df899321a3713c.jpg","text":"TemporaryFile(/tmp/multipartBody8121916102160221614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738097853210,"filename":"image_28012025_16_01_07_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332420624","file1":"1332420619","file0":"1332420600","file4":"1332420657","file5":"1332420665","file3":"1332420632"},"map_files_photo_id_array":[{"photo_id":"1332420665","filename":"file5"},{"photo_id":"1332420624","filename":"file2"},{"photo_id":"1332420657","filename":"file4"},{"photo_id":"1332420619","filename":"file1"},{"photo_id":"1332420600","filename":"file0"},{"photo_id":"1332420632","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332420619":["hashtag1","hashtag2"]},{"1332420657":["hashtag1","hashtag2"]},{"1332420600":["hashtag1","hashtag2"]},{"1332420624":["hashtag1","hashtag2"]},{"1332420665":["hashtag1","hashtag2"]},{"1332420632":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332420619, 1332420657, 1332420600, 1332420624, 1332420665, 1332420632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9837212562561 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 21:57:32.360304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/01/image_28012025_16_01_36_9344.jpg', '/home/pi/Desktop/images/28012025/16/01/image_28012025_16_01_46_10337.jpg', '/home/pi/Desktop/images/28012025/16/01/image_28012025_16_01_56_10355.jpg', '/home/pi/Desktop/images/28012025/16/01/image_28012025_16_02_06_9413.jpg', '/home/pi/Desktop/images/28012025/16/02/image_28012025_16_02_16_10389.jpg', '/home/pi/Desktop/images/28012025/16/02/image_28012025_16_02_26_9429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/01/image_28012025_16_01_36_9344.jpg
/home/pi/Desktop/images/28012025/16/01/image_28012025_16_01_46_10337.jpg
/home/pi/Desktop/images/28012025/16/01/image_28012025_16_01_56_10355.jpg
/home/pi/Desktop/images/28012025/16/01/image_28012025_16_02_06_9413.jpg
/home/pi/Desktop/images/28012025/16/02/image_28012025_16_02_16_10389.jpg
/home/pi/Desktop/images/28012025/16/02/image_28012025_16_02_26_9429.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 www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 21:59:04.215404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/01/image_28012025_16_01_36_9344.jpg', '/home/pi/Desktop/images/28012025/16/01/image_28012025_16_01_46_10337.jpg', '/home/pi/Desktop/images/28012025/16/01/image_28012025_16_01_56_10355.jpg', '/home/pi/Desktop/images/28012025/16/01/image_28012025_16_02_06_9413.jpg', '/home/pi/Desktop/images/28012025/16/02/image_28012025_16_02_16_10389.jpg', '/home/pi/Desktop/images/28012025/16/02/image_28012025_16_02_26_9429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/01/image_28012025_16_01_36_9344.jpg
/home/pi/Desktop/images/28012025/16/01/image_28012025_16_01_46_10337.jpg
/home/pi/Desktop/images/28012025/16/01/image_28012025_16_01_56_10355.jpg
/home/pi/Desktop/images/28012025/16/01/image_28012025_16_02_06_9413.jpg
/home/pi/Desktop/images/28012025/16/02/image_28012025_16_02_16_10389.jpg
/home/pi/Desktop/images/28012025/16/02/image_28012025_16_02_26_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":["1332420922","1332420916","1332420939","1332420933","1332420953","1332420958"],"photo_ids_order":["1332420916","1332420922","1332420933","1332420939","1332420953","1332420958"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a24b05124056a1c72a64aa3856352e5e.jpg","text":"TemporaryFile(/tmp/multipartBody8557457013966970192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098005155,"filename":"image_28012025_16_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/1/28/55973d143ecb6b6b8e7bfe15c5033cad.jpg","text":"TemporaryFile(/tmp/multipartBody3644804331678809672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098005155,"filename":"image_28012025_16_01_36_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8dcfbe1aad303dd157cfbb79392ee20b.jpg","text":"TemporaryFile(/tmp/multipartBody8988944013784228565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098005155,"filename":"image_28012025_16_02_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/1/28/50c4b8872067e0ee9577631276f00660.jpg","text":"TemporaryFile(/tmp/multipartBody5219308768851140939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098005155,"filename":"image_28012025_16_01_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/1/28/b0c65545493f3f3a0d68d1b2104653ef.jpg","text":"TemporaryFile(/tmp/multipartBody6172466018502441743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098005155,"filename":"image_28012025_16_02_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/1/28/806dabe800d77b8c356f7d7cfeed599e.jpg","text":"TemporaryFile(/tmp/multipartBody9218340460120117213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098005155,"filename":"image_28012025_16_02_26_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332420933","file1":"1332420922","file0":"1332420916","file4":"1332420953","file5":"1332420958","file3":"1332420939"},"map_files_photo_id_array":[{"photo_id":"1332420958","filename":"file5"},{"photo_id":"1332420933","filename":"file2"},{"photo_id":"1332420953","filename":"file4"},{"photo_id":"1332420922","filename":"file1"},{"photo_id":"1332420916","filename":"file0"},{"photo_id":"1332420939","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332420922":["hashtag1","hashtag2"]},{"1332420916":["hashtag1","hashtag2"]},{"1332420939":["hashtag1","hashtag2"]},{"1332420933":["hashtag1","hashtag2"]},{"1332420953":["hashtag1","hashtag2"]},{"1332420958":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332420922, 1332420916, 1332420939, 1332420933, 1332420953, 1332420958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.90087294578552 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 21:59:53.075769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/26/image_23012025_23_26_56_10355.jpg', '/home/pi/Desktop/images/23012025/23/26/image_23012025_23_27_07_10326.jpg', '/home/pi/Desktop/images/23012025/23/27/image_23012025_23_27_16_9352.jpg', '/home/pi/Desktop/images/23012025/23/27/image_23012025_23_27_26_10374.jpg', '/home/pi/Desktop/images/23012025/23/27/image_23012025_23_27_36_9381.jpg', '/home/pi/Desktop/images/23012025/23/27/image_23012025_23_27_46_10457.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/26/image_23012025_23_26_56_10355.jpg
/home/pi/Desktop/images/23012025/23/26/image_23012025_23_27_07_10326.jpg
/home/pi/Desktop/images/23012025/23/27/image_23012025_23_27_16_9352.jpg
/home/pi/Desktop/images/23012025/23/27/image_23012025_23_27_26_10374.jpg
/home/pi/Desktop/images/23012025/23/27/image_23012025_23_27_36_9381.jpg
/home/pi/Desktop/images/23012025/23/27/image_23012025_23_27_46_10457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332421023","1332421032","1332420980","1332421007","1332421027","1332421003"],"photo_ids_order":["1332420980","1332421003","1332421007","1332421023","1332421027","1332421032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/212fcb2e7aaacbb3ee85643eb7fd5744.jpg","text":"TemporaryFile(/tmp/multipartBody6510022892812030757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098055177,"filename":"image_23012025_23_27_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/1/28/2114f5e4d2b4a7ae63c9164fccfd26c5.jpg","text":"TemporaryFile(/tmp/multipartBody7494260420320066054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098055177,"filename":"image_23012025_23_27_46_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/92cef857393b5faae58a5b7faa6c83ba.jpg","text":"TemporaryFile(/tmp/multipartBody6814787129346395867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098055177,"filename":"image_23012025_23_26_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/1/28/e25d76ee7f2e8edd6b2f9244f08dc806.jpg","text":"TemporaryFile(/tmp/multipartBody2889918444765111287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098055177,"filename":"image_23012025_23_27_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/1/28/ae80f4280dd830f8c18f1db9690f9e9c.jpg","text":"TemporaryFile(/tmp/multipartBody1449147440681831158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098055177,"filename":"image_23012025_23_27_36_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2b668839e167ce28b8f825affb9a213d.jpg","text":"TemporaryFile(/tmp/multipartBody5433155424663521630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098055177,"filename":"image_23012025_23_27_07_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332421007","file1":"1332421003","file0":"1332420980","file4":"1332421027","file5":"1332421032","file3":"1332421023"},"map_files_photo_id_array":[{"photo_id":"1332421032","filename":"file5"},{"photo_id":"1332421007","filename":"file2"},{"photo_id":"1332421027","filename":"file4"},{"photo_id":"1332421003","filename":"file1"},{"photo_id":"1332420980","filename":"file0"},{"photo_id":"1332421023","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332421023":["hashtag1","hashtag2"]},{"1332421032":["hashtag1","hashtag2"]},{"1332420980":["hashtag1","hashtag2"]},{"1332421007":["hashtag1","hashtag2"]},{"1332421027":["hashtag1","hashtag2"]},{"1332421003":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332421023, 1332421032, 1332420980, 1332421007, 1332421027, 1332421003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.093801498413086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 22:00:42.322336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/02/image_28012025_16_02_36_10322.jpg', '/home/pi/Desktop/images/28012025/16/02/image_28012025_16_02_46_10409.jpg', '/home/pi/Desktop/images/28012025/16/02/image_28012025_16_02_56_9403.jpg', '/home/pi/Desktop/images/28012025/16/02/image_28012025_16_03_06_10445.jpg', '/home/pi/Desktop/images/28012025/16/03/image_28012025_16_03_17_10345.jpg', '/home/pi/Desktop/images/28012025/16/03/image_28012025_16_03_26_9359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/02/image_28012025_16_02_36_10322.jpg
/home/pi/Desktop/images/28012025/16/02/image_28012025_16_02_46_10409.jpg
/home/pi/Desktop/images/28012025/16/02/image_28012025_16_02_56_9403.jpg
/home/pi/Desktop/images/28012025/16/02/image_28012025_16_03_06_10445.jpg
/home/pi/Desktop/images/28012025/16/03/image_28012025_16_03_17_10345.jpg
/home/pi/Desktop/images/28012025/16/03/image_28012025_16_03_26_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332421815","1332421368","1332421574","1332421640","1332421730","1332421495"],"photo_ids_order":["1332421368","1332421495","1332421574","1332421640","1332421730","1332421815"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/060c1f17f49b9227d0198230cbdab63f.jpg","text":"TemporaryFile(/tmp/multipartBody8809536501300541541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098103267,"filename":"image_28012025_16_03_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/1/28/0b291ce3db27f6418c39a1b21a7dc59a.jpg","text":"TemporaryFile(/tmp/multipartBody293487896977132229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098103267,"filename":"image_28012025_16_02_36_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/56bcfec1ab65e425cfbaa97da8d453fa.jpg","text":"TemporaryFile(/tmp/multipartBody5520894470398388829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098103267,"filename":"image_28012025_16_02_56_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/55ef5f3aa78b1b882ce98445efc034cf.jpg","text":"TemporaryFile(/tmp/multipartBody5853926569129153744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098103267,"filename":"image_28012025_16_03_06_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/58ba75e9eed08ff49a6081b67995cfc1.jpg","text":"TemporaryFile(/tmp/multipartBody4659492098084373444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098103267,"filename":"image_28012025_16_03_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/1/28/074f99c5441f8e18e49845b5e3efdd27.jpg","text":"TemporaryFile(/tmp/multipartBody8782161985117351755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098103267,"filename":"image_28012025_16_02_46_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332421574","file1":"1332421495","file0":"1332421368","file4":"1332421730","file5":"1332421815","file3":"1332421640"},"map_files_photo_id_array":[{"photo_id":"1332421815","filename":"file5"},{"photo_id":"1332421574","filename":"file2"},{"photo_id":"1332421730","filename":"file4"},{"photo_id":"1332421495","filename":"file1"},{"photo_id":"1332421368","filename":"file0"},{"photo_id":"1332421640","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332421815":["hashtag1","hashtag2"]},{"1332421368":["hashtag1","hashtag2"]},{"1332421574":["hashtag1","hashtag2"]},{"1332421640":["hashtag1","hashtag2"]},{"1332421730":["hashtag1","hashtag2"]},{"1332421495":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332421815, 1332421368, 1332421574, 1332421640, 1332421730, 1332421495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.758020639419556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:01:32.512515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/03/image_28012025_16_03_36_10341.jpg', '/home/pi/Desktop/images/28012025/16/03/image_28012025_16_03_46_9371.jpg', '/home/pi/Desktop/images/28012025/16/03/image_28012025_16_03_56_10421.jpg', '/home/pi/Desktop/images/28012025/16/03/image_28012025_16_04_06_10323.jpg', '/home/pi/Desktop/images/28012025/16/04/image_28012025_16_04_16_9374.jpg', '/home/pi/Desktop/images/28012025/16/04/image_28012025_16_04_26_10517.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/03/image_28012025_16_03_36_10341.jpg
/home/pi/Desktop/images/28012025/16/03/image_28012025_16_03_46_9371.jpg
/home/pi/Desktop/images/28012025/16/03/image_28012025_16_03_56_10421.jpg
/home/pi/Desktop/images/28012025/16/03/image_28012025_16_04_06_10323.jpg
/home/pi/Desktop/images/28012025/16/04/image_28012025_16_04_16_9374.jpg
/home/pi/Desktop/images/28012025/16/04/image_28012025_16_04_26_10517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332422180","1332422174","1332422178","1332422163","1332422151","1332422154"],"photo_ids_order":["1332422151","1332422154","1332422163","1332422174","1332422178","1332422180"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/00e7f3514eea871f201becf50891ad81.jpg","text":"TemporaryFile(/tmp/multipartBody7545675238505386393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098153461,"filename":"image_28012025_16_04_26_10517.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/35a9cd1535fc30fd1d407a0fe1a571b2.jpg","text":"TemporaryFile(/tmp/multipartBody6975742448944240265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098153461,"filename":"image_28012025_16_04_06_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/eccede483e5a6a559073d2f8ed346545.jpg","text":"TemporaryFile(/tmp/multipartBody7835682906385348731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098153461,"filename":"image_28012025_16_04_16_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a16ecba02adf85408967be564a3b18d4.jpg","text":"TemporaryFile(/tmp/multipartBody6304820762460237622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098153461,"filename":"image_28012025_16_03_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/1/28/205ee65e0ac97ef52e8209226e008502.jpg","text":"TemporaryFile(/tmp/multipartBody4770891050572247225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098153461,"filename":"image_28012025_16_03_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/1/28/e60ac0d911c277d10bf65e2211c381a2.jpg","text":"TemporaryFile(/tmp/multipartBody3227927156707533462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098153461,"filename":"image_28012025_16_03_46_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332422163","file1":"1332422154","file0":"1332422151","file4":"1332422178","file5":"1332422180","file3":"1332422174"},"map_files_photo_id_array":[{"photo_id":"1332422180","filename":"file5"},{"photo_id":"1332422163","filename":"file2"},{"photo_id":"1332422178","filename":"file4"},{"photo_id":"1332422154","filename":"file1"},{"photo_id":"1332422151","filename":"file0"},{"photo_id":"1332422174","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332422180":["hashtag1","hashtag2"]},{"1332422174":["hashtag1","hashtag2"]},{"1332422178":["hashtag1","hashtag2"]},{"1332422163":["hashtag1","hashtag2"]},{"1332422151":["hashtag1","hashtag2"]},{"1332422154":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332422180, 1332422174, 1332422178, 1332422163, 1332422151, 1332422154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.162757396698 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:02:32.816613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/04/image_28012025_16_04_36_9343.jpg', '/home/pi/Desktop/images/28012025/16/04/image_28012025_16_04_46_10422.jpg', '/home/pi/Desktop/images/28012025/16/04/image_28012025_16_04_56_10341.jpg', '/home/pi/Desktop/images/28012025/16/04/image_28012025_16_05_06_9325.jpg', '/home/pi/Desktop/images/28012025/16/05/image_28012025_16_05_16_10328.jpg', '/home/pi/Desktop/images/28012025/16/05/image_28012025_16_05_26_10326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/04/image_28012025_16_04_36_9343.jpg
/home/pi/Desktop/images/28012025/16/04/image_28012025_16_04_46_10422.jpg
/home/pi/Desktop/images/28012025/16/04/image_28012025_16_04_56_10341.jpg
/home/pi/Desktop/images/28012025/16/04/image_28012025_16_05_06_9325.jpg
/home/pi/Desktop/images/28012025/16/05/image_28012025_16_05_16_10328.jpg
/home/pi/Desktop/images/28012025/16/05/image_28012025_16_05_26_10326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332422483","1332422474","1332422456","1332422446","1332422448","1332422451"],"photo_ids_order":["1332422446","1332422448","1332422451","1332422456","1332422474","1332422483"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/12dc01273c23d18940ce5f8cea0c37ac.jpg","text":"TemporaryFile(/tmp/multipartBody6876781206279420155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098213778,"filename":"image_28012025_16_05_26_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3c45bbc440fcedfffe32a0831a9b2a2d.jpg","text":"TemporaryFile(/tmp/multipartBody8166099074799551625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098213778,"filename":"image_28012025_16_05_16_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6ef3c32264858fff8993b74810786569.jpg","text":"TemporaryFile(/tmp/multipartBody8192096844639119723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098213778,"filename":"image_28012025_16_05_06_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6cab05f1e23f084b4e93706999494c71.jpg","text":"TemporaryFile(/tmp/multipartBody4916095579105044119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098213778,"filename":"image_28012025_16_04_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/1/28/490ff38ef26a6bb05c7c195925ce24e5.jpg","text":"TemporaryFile(/tmp/multipartBody7420792006484285264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098213778,"filename":"image_28012025_16_04_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/1/28/58acc3124739a49e5a4af85b67d690a8.jpg","text":"TemporaryFile(/tmp/multipartBody698127046073902695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098213778,"filename":"image_28012025_16_04_56_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332422451","file1":"1332422448","file0":"1332422446","file4":"1332422474","file5":"1332422483","file3":"1332422456"},"map_files_photo_id_array":[{"photo_id":"1332422483","filename":"file5"},{"photo_id":"1332422451","filename":"file2"},{"photo_id":"1332422474","filename":"file4"},{"photo_id":"1332422448","filename":"file1"},{"photo_id":"1332422446","filename":"file0"},{"photo_id":"1332422456","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332422483":["hashtag1","hashtag2"]},{"1332422474":["hashtag1","hashtag2"]},{"1332422456":["hashtag1","hashtag2"]},{"1332422446":["hashtag1","hashtag2"]},{"1332422448":["hashtag1","hashtag2"]},{"1332422451":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332422483, 1332422474, 1332422456, 1332422446, 1332422448, 1332422451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71003246307373 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:03:32.998437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/05/image_28012025_16_05_36_9436.jpg', '/home/pi/Desktop/images/28012025/16/05/image_28012025_16_05_46_10543.jpg', '/home/pi/Desktop/images/28012025/16/05/image_28012025_16_05_56_9373.jpg', '/home/pi/Desktop/images/28012025/16/05/image_28012025_16_06_06_10444.jpg', '/home/pi/Desktop/images/28012025/16/06/image_28012025_16_06_17_10399.jpg', '/home/pi/Desktop/images/28012025/16/06/image_28012025_16_06_26_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/05/image_28012025_16_05_36_9436.jpg
/home/pi/Desktop/images/28012025/16/05/image_28012025_16_05_46_10543.jpg
/home/pi/Desktop/images/28012025/16/05/image_28012025_16_05_56_9373.jpg
/home/pi/Desktop/images/28012025/16/05/image_28012025_16_06_06_10444.jpg
/home/pi/Desktop/images/28012025/16/06/image_28012025_16_06_17_10399.jpg
/home/pi/Desktop/images/28012025/16/06/image_28012025_16_06_26_9328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332423734","1332423737","1332423725","1332423739","1332423729","1332423698"],"photo_ids_order":["1332423698","1332423725","1332423729","1332423734","1332423737","1332423739"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0699ae139ebf21997939fb24c3babdbf.jpg","text":"TemporaryFile(/tmp/multipartBody7126963033861022265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098273962,"filename":"image_28012025_16_06_06_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fe4b2ae9d7cba57b659df03aeb6b69a8.jpg","text":"TemporaryFile(/tmp/multipartBody1794064046705128795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098273962,"filename":"image_28012025_16_06_17_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5bbd06b3638b1931dacae6f26b669af0.jpg","text":"TemporaryFile(/tmp/multipartBody7115049407115732143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098273962,"filename":"image_28012025_16_05_46_10543.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d5fbb6b5ba3939178bf233b6b154b7c2.jpg","text":"TemporaryFile(/tmp/multipartBody7182715353797906486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098273962,"filename":"image_28012025_16_06_26_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ba5090e4c2044975af0ca5d72d95a845.jpg","text":"TemporaryFile(/tmp/multipartBody8693588830457510718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098273962,"filename":"image_28012025_16_05_56_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/01c085431b011d4cd5a3367ea8ccfad0.jpg","text":"TemporaryFile(/tmp/multipartBody2268785791195791094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098273962,"filename":"image_28012025_16_05_36_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332423729","file1":"1332423725","file0":"1332423698","file4":"1332423737","file5":"1332423739","file3":"1332423734"},"map_files_photo_id_array":[{"photo_id":"1332423739","filename":"file5"},{"photo_id":"1332423729","filename":"file2"},{"photo_id":"1332423737","filename":"file4"},{"photo_id":"1332423725","filename":"file1"},{"photo_id":"1332423698","filename":"file0"},{"photo_id":"1332423734","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332423734":["hashtag1","hashtag2"]},{"1332423737":["hashtag1","hashtag2"]},{"1332423725":["hashtag1","hashtag2"]},{"1332423739":["hashtag1","hashtag2"]},{"1332423729":["hashtag1","hashtag2"]},{"1332423698":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332423734, 1332423737, 1332423725, 1332423739, 1332423729, 1332423698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.16231441497803 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:04:32.370711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/06/image_28012025_16_06_36_10344.jpg', '/home/pi/Desktop/images/28012025/16/06/image_28012025_16_06_47_10254.jpg', '/home/pi/Desktop/images/28012025/16/06/image_28012025_16_06_56_9400.jpg', '/home/pi/Desktop/images/28012025/16/06/image_28012025_16_07_06_10391.jpg', '/home/pi/Desktop/images/28012025/16/07/image_28012025_16_07_26_10342.jpg', '/home/pi/Desktop/images/28012025/16/07/image_28012025_16_07_36_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/06/image_28012025_16_06_36_10344.jpg
/home/pi/Desktop/images/28012025/16/06/image_28012025_16_06_47_10254.jpg
/home/pi/Desktop/images/28012025/16/06/image_28012025_16_06_56_9400.jpg
/home/pi/Desktop/images/28012025/16/06/image_28012025_16_07_06_10391.jpg
/home/pi/Desktop/images/28012025/16/07/image_28012025_16_07_26_10342.jpg
/home/pi/Desktop/images/28012025/16/07/image_28012025_16_07_36_10348.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5809123516082764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 22:04:42.241699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/06/image_28012025_16_06_36_10344.jpg', '/home/pi/Desktop/images/28012025/16/06/image_28012025_16_06_47_10254.jpg', '/home/pi/Desktop/images/28012025/16/06/image_28012025_16_06_56_9400.jpg', '/home/pi/Desktop/images/28012025/16/06/image_28012025_16_07_06_10391.jpg', '/home/pi/Desktop/images/28012025/16/07/image_28012025_16_07_26_10342.jpg', '/home/pi/Desktop/images/28012025/16/07/image_28012025_16_07_36_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/06/image_28012025_16_06_36_10344.jpg
/home/pi/Desktop/images/28012025/16/06/image_28012025_16_06_47_10254.jpg
/home/pi/Desktop/images/28012025/16/06/image_28012025_16_06_56_9400.jpg
/home/pi/Desktop/images/28012025/16/06/image_28012025_16_07_06_10391.jpg
/home/pi/Desktop/images/28012025/16/07/image_28012025_16_07_26_10342.jpg
/home/pi/Desktop/images/28012025/16/07/image_28012025_16_07_36_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332423979","1332424411","1332424803","1332424187","1332424064","1332424637"],"photo_ids_order":["1332423979","1332424064","1332424187","1332424411","1332424637","1332424803"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/388ed1da86a1550b276311eb09abe70f.jpg","text":"TemporaryFile(/tmp/multipartBody8559550551603834715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098343139,"filename":"image_28012025_16_06_36_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/394a80275a50397d1084c0880a188584.jpg","text":"TemporaryFile(/tmp/multipartBody5403541586698309916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098343139,"filename":"image_28012025_16_07_06_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/71ec64a08c25c6337846daa4af75f754.jpg","text":"TemporaryFile(/tmp/multipartBody4782630806862469225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098343139,"filename":"image_28012025_16_07_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/1/28/ec0addb84101aecf119b0dc33c556d58.jpg","text":"TemporaryFile(/tmp/multipartBody1812943688768791556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098343139,"filename":"image_28012025_16_06_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/1/28/b8d92e76a1d3fca9ab0bd2a90c73f343.jpg","text":"TemporaryFile(/tmp/multipartBody8797756941439357954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098343139,"filename":"image_28012025_16_06_47_10254.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/099b19e5bdd86575247483fe75310bc5.jpg","text":"TemporaryFile(/tmp/multipartBody3520379581972158232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098343139,"filename":"image_28012025_16_07_26_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332424187","file1":"1332424064","file0":"1332423979","file4":"1332424637","file5":"1332424803","file3":"1332424411"},"map_files_photo_id_array":[{"photo_id":"1332424803","filename":"file5"},{"photo_id":"1332424187","filename":"file2"},{"photo_id":"1332424637","filename":"file4"},{"photo_id":"1332424064","filename":"file1"},{"photo_id":"1332423979","filename":"file0"},{"photo_id":"1332424411","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332423979":["hashtag1","hashtag2"]},{"1332424411":["hashtag1","hashtag2"]},{"1332424803":["hashtag1","hashtag2"]},{"1332424187":["hashtag1","hashtag2"]},{"1332424064":["hashtag1","hashtag2"]},{"1332424637":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332423979, 1332424411, 1332424803, 1332424187, 1332424064, 1332424637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.18331289291382 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:05:32.695459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/07/image_28012025_16_07_46_9340.jpg', '/home/pi/Desktop/images/28012025/16/07/image_28012025_16_07_56_10440.jpg', '/home/pi/Desktop/images/28012025/16/07/image_28012025_16_08_07_10319.jpg', '/home/pi/Desktop/images/28012025/16/08/image_28012025_16_08_16_9323.jpg', '/home/pi/Desktop/images/28012025/16/08/image_28012025_16_08_26_10439.jpg', '/home/pi/Desktop/images/28012025/16/08/image_28012025_16_08_37_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/07/image_28012025_16_07_46_9340.jpg
/home/pi/Desktop/images/28012025/16/07/image_28012025_16_07_56_10440.jpg
/home/pi/Desktop/images/28012025/16/07/image_28012025_16_08_07_10319.jpg
/home/pi/Desktop/images/28012025/16/08/image_28012025_16_08_16_9323.jpg
/home/pi/Desktop/images/28012025/16/08/image_28012025_16_08_26_10439.jpg
/home/pi/Desktop/images/28012025/16/08/image_28012025_16_08_37_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":["1332425578","1332425509","1332425316","1332425109","1332425582","1332425621"],"photo_ids_order":["1332425109","1332425316","1332425509","1332425578","1332425582","1332425621"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a559da5c66b9e58122bb3737d48acf29.jpg","text":"TemporaryFile(/tmp/multipartBody1962743907207898036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098393655,"filename":"image_28012025_16_08_16_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fdf0049de3f57c1a10bfcfe65d5eeb0e.jpg","text":"TemporaryFile(/tmp/multipartBody3093635142368110354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098393655,"filename":"image_28012025_16_08_07_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1c69336647b58ae4a12000d8c27fd7d4.jpg","text":"TemporaryFile(/tmp/multipartBody2905638672315571135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098393655,"filename":"image_28012025_16_07_56_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e75d8bebc31700805b652f04e65a9eed.jpg","text":"TemporaryFile(/tmp/multipartBody4292140693669129592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098393655,"filename":"image_28012025_16_07_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/1/28/e2b65e9e8bf6bc5f7557cf7932a12d51.jpg","text":"TemporaryFile(/tmp/multipartBody785377600559658705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098393655,"filename":"image_28012025_16_08_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/1/28/9c4580922caa13bc9f6fd46aeeabff77.jpg","text":"TemporaryFile(/tmp/multipartBody1566233675675077458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098393655,"filename":"image_28012025_16_08_37_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332425509","file1":"1332425316","file0":"1332425109","file4":"1332425582","file5":"1332425621","file3":"1332425578"},"map_files_photo_id_array":[{"photo_id":"1332425621","filename":"file5"},{"photo_id":"1332425509","filename":"file2"},{"photo_id":"1332425582","filename":"file4"},{"photo_id":"1332425316","filename":"file1"},{"photo_id":"1332425109","filename":"file0"},{"photo_id":"1332425578","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332425578":["hashtag1","hashtag2"]},{"1332425509":["hashtag1","hashtag2"]},{"1332425316":["hashtag1","hashtag2"]},{"1332425109":["hashtag1","hashtag2"]},{"1332425582":["hashtag1","hashtag2"]},{"1332425621":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332425578, 1332425509, 1332425316, 1332425109, 1332425582, 1332425621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.25737905502319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:06:33.011331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/08/image_28012025_16_08_46_9355.jpg', '/home/pi/Desktop/images/28012025/16/08/image_28012025_16_08_56_10380.jpg', '/home/pi/Desktop/images/28012025/16/08/image_28012025_16_09_06_9328.jpg', '/home/pi/Desktop/images/28012025/16/09/image_28012025_16_09_16_10328.jpg', '/home/pi/Desktop/images/28012025/16/09/image_28012025_16_09_26_10423.jpg', '/home/pi/Desktop/images/28012025/16/09/image_28012025_16_09_36_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/08/image_28012025_16_08_46_9355.jpg
/home/pi/Desktop/images/28012025/16/08/image_28012025_16_08_56_10380.jpg
/home/pi/Desktop/images/28012025/16/08/image_28012025_16_09_06_9328.jpg
/home/pi/Desktop/images/28012025/16/09/image_28012025_16_09_16_10328.jpg
/home/pi/Desktop/images/28012025/16/09/image_28012025_16_09_26_10423.jpg
/home/pi/Desktop/images/28012025/16/09/image_28012025_16_09_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":["1332426099","1332426090","1332426083","1332426086","1332426080","1332426094"],"photo_ids_order":["1332426080","1332426083","1332426086","1332426090","1332426094","1332426099"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dde62f5e2f2f3c149f9709244c005926.jpg","text":"TemporaryFile(/tmp/multipartBody9002544001175425025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098453977,"filename":"image_28012025_16_09_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/1/28/198993094aaa54308f1771960fa6875c.jpg","text":"TemporaryFile(/tmp/multipartBody4478769059769607939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098453977,"filename":"image_28012025_16_09_16_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d7ec0bde61541a25eb4e3399e2baa235.jpg","text":"TemporaryFile(/tmp/multipartBody6744038443561474979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098453977,"filename":"image_28012025_16_08_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/1/28/193bfb212865d005f83649bf1e7f3eba.jpg","text":"TemporaryFile(/tmp/multipartBody8302398264727041509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098453977,"filename":"image_28012025_16_09_06_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/38218270698eb7484e41f540f6d390df.jpg","text":"TemporaryFile(/tmp/multipartBody183850745284845426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098453977,"filename":"image_28012025_16_08_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/1/28/ae135bd41d78dda462a95cbace2374c7.jpg","text":"TemporaryFile(/tmp/multipartBody7991056793072682938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098453977,"filename":"image_28012025_16_09_26_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332426086","file1":"1332426083","file0":"1332426080","file4":"1332426094","file5":"1332426099","file3":"1332426090"},"map_files_photo_id_array":[{"photo_id":"1332426099","filename":"file5"},{"photo_id":"1332426086","filename":"file2"},{"photo_id":"1332426094","filename":"file4"},{"photo_id":"1332426083","filename":"file1"},{"photo_id":"1332426080","filename":"file0"},{"photo_id":"1332426090","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332426099":["hashtag1","hashtag2"]},{"1332426090":["hashtag1","hashtag2"]},{"1332426083":["hashtag1","hashtag2"]},{"1332426086":["hashtag1","hashtag2"]},{"1332426080":["hashtag1","hashtag2"]},{"1332426094":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332426099, 1332426090, 1332426083, 1332426086, 1332426080, 1332426094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78471112251282 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:07:32.285649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/09/image_28012025_16_09_46_10427.jpg', '/home/pi/Desktop/images/28012025/16/09/image_28012025_16_09_57_10413.jpg', '/home/pi/Desktop/images/28012025/16/09/image_28012025_16_10_06_9334.jpg', '/home/pi/Desktop/images/28012025/16/10/image_28012025_16_10_16_10330.jpg', '/home/pi/Desktop/images/28012025/16/10/image_28012025_16_10_27_10347.jpg', '/home/pi/Desktop/images/28012025/16/10/image_28012025_16_10_36_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/09/image_28012025_16_09_46_10427.jpg
/home/pi/Desktop/images/28012025/16/09/image_28012025_16_09_57_10413.jpg
/home/pi/Desktop/images/28012025/16/09/image_28012025_16_10_06_9334.jpg
/home/pi/Desktop/images/28012025/16/10/image_28012025_16_10_16_10330.jpg
/home/pi/Desktop/images/28012025/16/10/image_28012025_16_10_27_10347.jpg
/home/pi/Desktop/images/28012025/16/10/image_28012025_16_10_36_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332426285","1332426279","1332426273","1332426263","1332426268","1332426283"],"photo_ids_order":["1332426263","1332426268","1332426273","1332426279","1332426283","1332426285"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/87d1689d9aa27ba2f3a82238ef21f82d.jpg","text":"TemporaryFile(/tmp/multipartBody2196775120114819329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098513243,"filename":"image_28012025_16_10_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/1/28/d71646d7ef09af49bee70033745d5162.jpg","text":"TemporaryFile(/tmp/multipartBody7630862252182720076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098513243,"filename":"image_28012025_16_10_16_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/24c2ca8f522999274e78996023b11ce8.jpg","text":"TemporaryFile(/tmp/multipartBody4093264027911028194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098513243,"filename":"image_28012025_16_10_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/1/28/fdb5e53a468097d4c33aa2a7085dee97.jpg","text":"TemporaryFile(/tmp/multipartBody2555988700319230809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098513243,"filename":"image_28012025_16_09_46_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6366fc2cd2baac3f9b30b3b446d35f29.jpg","text":"TemporaryFile(/tmp/multipartBody2307714646856356316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098513243,"filename":"image_28012025_16_09_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/1/28/41d0b88b500ef6a9683e2c8592e459ad.jpg","text":"TemporaryFile(/tmp/multipartBody4472189593444547007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098513243,"filename":"image_28012025_16_10_27_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332426273","file1":"1332426268","file0":"1332426263","file4":"1332426283","file5":"1332426285","file3":"1332426279"},"map_files_photo_id_array":[{"photo_id":"1332426285","filename":"file5"},{"photo_id":"1332426273","filename":"file2"},{"photo_id":"1332426283","filename":"file4"},{"photo_id":"1332426268","filename":"file1"},{"photo_id":"1332426263","filename":"file0"},{"photo_id":"1332426279","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332426285":["hashtag1","hashtag2"]},{"1332426279":["hashtag1","hashtag2"]},{"1332426273":["hashtag1","hashtag2"]},{"1332426263":["hashtag1","hashtag2"]},{"1332426268":["hashtag1","hashtag2"]},{"1332426283":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332426285, 1332426279, 1332426273, 1332426263, 1332426268, 1332426283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.971280097961426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:08:32.605391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/10/image_28012025_16_10_46_10395.jpg', '/home/pi/Desktop/images/28012025/16/10/image_28012025_16_10_56_9394.jpg', '/home/pi/Desktop/images/28012025/16/10/image_28012025_16_11_06_10395.jpg', '/home/pi/Desktop/images/28012025/16/11/image_28012025_16_11_17_10391.jpg', '/home/pi/Desktop/images/28012025/16/11/image_28012025_16_11_26_9397.jpg', '/home/pi/Desktop/images/28012025/16/11/image_28012025_16_11_56_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/10/image_28012025_16_10_46_10395.jpg
/home/pi/Desktop/images/28012025/16/10/image_28012025_16_10_56_9394.jpg
/home/pi/Desktop/images/28012025/16/10/image_28012025_16_11_06_10395.jpg
/home/pi/Desktop/images/28012025/16/11/image_28012025_16_11_17_10391.jpg
/home/pi/Desktop/images/28012025/16/11/image_28012025_16_11_26_9397.jpg
/home/pi/Desktop/images/28012025/16/11/image_28012025_16_11_56_10347.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.575157642364502 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 22:08:42.547086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/10/image_28012025_16_10_46_10395.jpg', '/home/pi/Desktop/images/28012025/16/10/image_28012025_16_10_56_9394.jpg', '/home/pi/Desktop/images/28012025/16/10/image_28012025_16_11_06_10395.jpg', '/home/pi/Desktop/images/28012025/16/11/image_28012025_16_11_17_10391.jpg', '/home/pi/Desktop/images/28012025/16/11/image_28012025_16_11_26_9397.jpg', '/home/pi/Desktop/images/28012025/16/11/image_28012025_16_11_56_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/10/image_28012025_16_10_46_10395.jpg
/home/pi/Desktop/images/28012025/16/10/image_28012025_16_10_56_9394.jpg
/home/pi/Desktop/images/28012025/16/10/image_28012025_16_11_06_10395.jpg
/home/pi/Desktop/images/28012025/16/11/image_28012025_16_11_17_10391.jpg
/home/pi/Desktop/images/28012025/16/11/image_28012025_16_11_26_9397.jpg
/home/pi/Desktop/images/28012025/16/11/image_28012025_16_11_56_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":["1332426328","1332426312","1332426323","1332426317","1332426331","1332426310"],"photo_ids_order":["1332426310","1332426312","1332426317","1332426323","1332426328","1332426331"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e4d024675d043fc9353d4505e39b01da.jpg","text":"TemporaryFile(/tmp/multipartBody2442312058150778965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098583450,"filename":"image_28012025_16_11_26_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/667bdabd3cd4b149af77cf105b44415f.jpg","text":"TemporaryFile(/tmp/multipartBody3887897804971237460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098583450,"filename":"image_28012025_16_10_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/1/28/044594b938bb49a8483f6273fd387a11.jpg","text":"TemporaryFile(/tmp/multipartBody3551520555175435268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098583450,"filename":"image_28012025_16_11_17_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c2598d2c6e3fff372b3f0a3e0d492802.jpg","text":"TemporaryFile(/tmp/multipartBody7930971676054832203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098583450,"filename":"image_28012025_16_11_06_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cf93a2dcc1cf98349ebcdcd1f516e9d6.jpg","text":"TemporaryFile(/tmp/multipartBody1499105394507470314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098583450,"filename":"image_28012025_16_11_56_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7745d1d15a645ba2a8183c12255c9648.jpg","text":"TemporaryFile(/tmp/multipartBody8423982263357744337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098583450,"filename":"image_28012025_16_10_46_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332426317","file1":"1332426312","file0":"1332426310","file4":"1332426328","file5":"1332426331","file3":"1332426323"},"map_files_photo_id_array":[{"photo_id":"1332426331","filename":"file5"},{"photo_id":"1332426317","filename":"file2"},{"photo_id":"1332426328","filename":"file4"},{"photo_id":"1332426312","filename":"file1"},{"photo_id":"1332426310","filename":"file0"},{"photo_id":"1332426323","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332426328":["hashtag1","hashtag2"]},{"1332426312":["hashtag1","hashtag2"]},{"1332426323":["hashtag1","hashtag2"]},{"1332426317":["hashtag1","hashtag2"]},{"1332426331":["hashtag1","hashtag2"]},{"1332426310":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332426328, 1332426312, 1332426323, 1332426317, 1332426331, 1332426310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.56178641319275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:09:32.762334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/11/image_28012025_16_12_07_10426.jpg', '/home/pi/Desktop/images/28012025/16/12/image_28012025_16_12_16_9318.jpg', '/home/pi/Desktop/images/28012025/16/12/image_28012025_16_12_26_10431.jpg', '/home/pi/Desktop/images/28012025/16/12/image_28012025_16_12_36_9407.jpg', '/home/pi/Desktop/images/28012025/16/12/image_28012025_16_12_46_10356.jpg', '/home/pi/Desktop/images/28012025/16/12/image_28012025_16_12_56_10329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/11/image_28012025_16_12_07_10426.jpg
/home/pi/Desktop/images/28012025/16/12/image_28012025_16_12_16_9318.jpg
/home/pi/Desktop/images/28012025/16/12/image_28012025_16_12_26_10431.jpg
/home/pi/Desktop/images/28012025/16/12/image_28012025_16_12_36_9407.jpg
/home/pi/Desktop/images/28012025/16/12/image_28012025_16_12_46_10356.jpg
/home/pi/Desktop/images/28012025/16/12/image_28012025_16_12_56_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332426392","1332426389","1332426344","1332426367","1332426361","1332426355"],"photo_ids_order":["1332426344","1332426355","1332426361","1332426367","1332426389","1332426392"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c98b3edeea32303d12bd938f3ed90e1f.jpg","text":"TemporaryFile(/tmp/multipartBody1020860179791556809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098633720,"filename":"image_28012025_16_12_56_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/79bb22b75a743d1e8a0bfc0432d27136.jpg","text":"TemporaryFile(/tmp/multipartBody1974165281428192350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098633720,"filename":"image_28012025_16_12_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/1/28/33074460ddfec76c7d845d587713b30c.jpg","text":"TemporaryFile(/tmp/multipartBody8914381448139011575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098633720,"filename":"image_28012025_16_12_07_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/995697d53f936c0860a260475ab065e4.jpg","text":"TemporaryFile(/tmp/multipartBody1105469517778949582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098633720,"filename":"image_28012025_16_12_36_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/de6fa746c7f8ffc68df8a76876dc72df.jpg","text":"TemporaryFile(/tmp/multipartBody9038756169547176366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098633720,"filename":"image_28012025_16_12_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/1/28/d319dd549c1ec0c27c3d08ffefcd0b27.jpg","text":"TemporaryFile(/tmp/multipartBody5585565610861193398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098633720,"filename":"image_28012025_16_12_16_9318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332426361","file1":"1332426355","file0":"1332426344","file4":"1332426389","file5":"1332426392","file3":"1332426367"},"map_files_photo_id_array":[{"photo_id":"1332426392","filename":"file5"},{"photo_id":"1332426361","filename":"file2"},{"photo_id":"1332426389","filename":"file4"},{"photo_id":"1332426355","filename":"file1"},{"photo_id":"1332426344","filename":"file0"},{"photo_id":"1332426367","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332426392":["hashtag1","hashtag2"]},{"1332426389":["hashtag1","hashtag2"]},{"1332426344":["hashtag1","hashtag2"]},{"1332426367":["hashtag1","hashtag2"]},{"1332426361":["hashtag1","hashtag2"]},{"1332426355":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332426392, 1332426389, 1332426344, 1332426367, 1332426361, 1332426355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.15623497962952 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:10:33.170061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/12/image_28012025_16_13_06_9406.jpg', '/home/pi/Desktop/images/28012025/16/13/image_28012025_16_13_16_10418.jpg', '/home/pi/Desktop/images/28012025/16/13/image_28012025_16_13_27_10424.jpg', '/home/pi/Desktop/images/28012025/16/13/image_28012025_16_13_36_9349.jpg', '/home/pi/Desktop/images/28012025/16/13/image_28012025_16_13_46_10345.jpg', '/home/pi/Desktop/images/28012025/16/13/image_28012025_16_13_57_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/12/image_28012025_16_13_06_9406.jpg
/home/pi/Desktop/images/28012025/16/13/image_28012025_16_13_16_10418.jpg
/home/pi/Desktop/images/28012025/16/13/image_28012025_16_13_27_10424.jpg
/home/pi/Desktop/images/28012025/16/13/image_28012025_16_13_36_9349.jpg
/home/pi/Desktop/images/28012025/16/13/image_28012025_16_13_46_10345.jpg
/home/pi/Desktop/images/28012025/16/13/image_28012025_16_13_57_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":["1332426456","1332426450","1332426429","1332426464","1332426460","1332426445"],"photo_ids_order":["1332426429","1332426445","1332426450","1332426456","1332426460","1332426464"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8e2378d0ceab79577131dba8bba63947.jpg","text":"TemporaryFile(/tmp/multipartBody2569040788886305123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098694126,"filename":"image_28012025_16_13_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/1/28/75b66cff673e90b8255a8fb748542eef.jpg","text":"TemporaryFile(/tmp/multipartBody7605470291204610759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098694126,"filename":"image_28012025_16_13_27_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/66c6e71ce52b71b37af6af3ada57b40e.jpg","text":"TemporaryFile(/tmp/multipartBody5236462841707222259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098694126,"filename":"image_28012025_16_13_06_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8cf0bbff0830fff150ff82ffbad0db22.jpg","text":"TemporaryFile(/tmp/multipartBody8750253260585992808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098694126,"filename":"image_28012025_16_13_57_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ece40bc1932c518d8f33d7eeb8e04867.jpg","text":"TemporaryFile(/tmp/multipartBody412835536817595803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098694126,"filename":"image_28012025_16_13_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/1/28/fdfcbbef92204a446a8cd031ae9cff61.jpg","text":"TemporaryFile(/tmp/multipartBody4107040760074867087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098694126,"filename":"image_28012025_16_13_16_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332426450","file1":"1332426445","file0":"1332426429","file4":"1332426460","file5":"1332426464","file3":"1332426456"},"map_files_photo_id_array":[{"photo_id":"1332426464","filename":"file5"},{"photo_id":"1332426450","filename":"file2"},{"photo_id":"1332426460","filename":"file4"},{"photo_id":"1332426445","filename":"file1"},{"photo_id":"1332426429","filename":"file0"},{"photo_id":"1332426456","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332426456":["hashtag1","hashtag2"]},{"1332426450":["hashtag1","hashtag2"]},{"1332426429":["hashtag1","hashtag2"]},{"1332426464":["hashtag1","hashtag2"]},{"1332426460":["hashtag1","hashtag2"]},{"1332426445":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332426456, 1332426450, 1332426429, 1332426464, 1332426460, 1332426445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7053496837616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:11:32.350037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/13/image_28012025_16_14_06_9341.jpg', '/home/pi/Desktop/images/28012025/16/14/image_28012025_16_14_16_10335.jpg', '/home/pi/Desktop/images/28012025/16/14/image_28012025_16_14_46_10437.jpg', '/home/pi/Desktop/images/28012025/16/14/image_28012025_16_14_56_9328.jpg', '/home/pi/Desktop/images/28012025/16/14/image_28012025_16_15_06_10391.jpg', '/home/pi/Desktop/images/28012025/16/15/image_28012025_16_15_17_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/13/image_28012025_16_14_06_9341.jpg
/home/pi/Desktop/images/28012025/16/14/image_28012025_16_14_16_10335.jpg
/home/pi/Desktop/images/28012025/16/14/image_28012025_16_14_46_10437.jpg
/home/pi/Desktop/images/28012025/16/14/image_28012025_16_14_56_9328.jpg
/home/pi/Desktop/images/28012025/16/14/image_28012025_16_15_06_10391.jpg
/home/pi/Desktop/images/28012025/16/15/image_28012025_16_15_17_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332426516","1332426542","1332426539","1332426533","1332426527","1332426520"],"photo_ids_order":["1332426516","1332426520","1332426527","1332426533","1332426539","1332426542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0177c7285af57044762b3a61ac723488.jpg","text":"TemporaryFile(/tmp/multipartBody950321911234038393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098753319,"filename":"image_28012025_16_14_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/1/28/2ae36b40867db85c315b4e1bdc7daa93.jpg","text":"TemporaryFile(/tmp/multipartBody2053644926019243812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098753319,"filename":"image_28012025_16_15_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/1/28/948ca2c3d72faea16d0548a6921a6747.jpg","text":"TemporaryFile(/tmp/multipartBody5258890280229908501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098753319,"filename":"image_28012025_16_15_06_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/81c77259f723f3cfb29ef06c53c46d2e.jpg","text":"TemporaryFile(/tmp/multipartBody1916581411716256916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098753319,"filename":"image_28012025_16_14_56_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/170b847d5628f49f3c3edb6e5b45c079.jpg","text":"TemporaryFile(/tmp/multipartBody3727574471039281304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098753319,"filename":"image_28012025_16_14_46_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d77d535f9b8eb35f529793a8126542a6.jpg","text":"TemporaryFile(/tmp/multipartBody3426377917417447601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098753319,"filename":"image_28012025_16_14_16_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332426527","file1":"1332426520","file0":"1332426516","file4":"1332426539","file5":"1332426542","file3":"1332426533"},"map_files_photo_id_array":[{"photo_id":"1332426542","filename":"file5"},{"photo_id":"1332426527","filename":"file2"},{"photo_id":"1332426539","filename":"file4"},{"photo_id":"1332426520","filename":"file1"},{"photo_id":"1332426516","filename":"file0"},{"photo_id":"1332426533","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332426516":["hashtag1","hashtag2"]},{"1332426542":["hashtag1","hashtag2"]},{"1332426539":["hashtag1","hashtag2"]},{"1332426533":["hashtag1","hashtag2"]},{"1332426527":["hashtag1","hashtag2"]},{"1332426520":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332426516, 1332426542, 1332426539, 1332426533, 1332426527, 1332426520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62613606452942 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:12:32.566850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/15/image_28012025_16_15_26_9344.jpg', '/home/pi/Desktop/images/28012025/16/15/image_28012025_16_15_36_10383.jpg', '/home/pi/Desktop/images/28012025/16/15/image_28012025_16_15_47_10346.jpg', '/home/pi/Desktop/images/28012025/16/16/image_28012025_16_16_46_9412.jpg', '/home/pi/Desktop/images/28012025/16/16/image_28012025_16_16_56_10342.jpg', '/home/pi/Desktop/images/28012025/16/16/image_28012025_16_17_06_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/15/image_28012025_16_15_26_9344.jpg
/home/pi/Desktop/images/28012025/16/15/image_28012025_16_15_36_10383.jpg
/home/pi/Desktop/images/28012025/16/15/image_28012025_16_15_47_10346.jpg
/home/pi/Desktop/images/28012025/16/16/image_28012025_16_16_46_9412.jpg
/home/pi/Desktop/images/28012025/16/16/image_28012025_16_16_56_10342.jpg
/home/pi/Desktop/images/28012025/16/16/image_28012025_16_17_06_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":["1332426615","1332426575","1332426620","1332426578","1332426571","1332426625"],"photo_ids_order":["1332426571","1332426575","1332426578","1332426615","1332426620","1332426625"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/51e3a82d3cc501f5fb453bffca018aeb.jpg","text":"TemporaryFile(/tmp/multipartBody3316012328386824956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098813534,"filename":"image_28012025_16_16_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/1/28/7d705c7f2a7a4c81f230427ac8a8dd24.jpg","text":"TemporaryFile(/tmp/multipartBody1287924238471048433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098813534,"filename":"image_28012025_16_15_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/1/28/12f78d9866339331719803889e4086d0.jpg","text":"TemporaryFile(/tmp/multipartBody5827816495335292867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098813534,"filename":"image_28012025_16_16_56_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a2873863de32cab9e73dd65d52b60eef.jpg","text":"TemporaryFile(/tmp/multipartBody2318193603584857682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098813534,"filename":"image_28012025_16_15_47_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/705e3c6355c1fa25f4fa9b1e09dd7760.jpg","text":"TemporaryFile(/tmp/multipartBody5785025520739719890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098813534,"filename":"image_28012025_16_15_26_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/83745af70667e34c8d53266c6d19c296.jpg","text":"TemporaryFile(/tmp/multipartBody8677814931547380550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098813534,"filename":"image_28012025_16_17_06_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332426578","file1":"1332426575","file0":"1332426571","file4":"1332426620","file5":"1332426625","file3":"1332426615"},"map_files_photo_id_array":[{"photo_id":"1332426625","filename":"file5"},{"photo_id":"1332426578","filename":"file2"},{"photo_id":"1332426620","filename":"file4"},{"photo_id":"1332426575","filename":"file1"},{"photo_id":"1332426571","filename":"file0"},{"photo_id":"1332426615","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332426615":["hashtag1","hashtag2"]},{"1332426575":["hashtag1","hashtag2"]},{"1332426620":["hashtag1","hashtag2"]},{"1332426578":["hashtag1","hashtag2"]},{"1332426571":["hashtag1","hashtag2"]},{"1332426625":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332426615, 1332426575, 1332426620, 1332426578, 1332426571, 1332426625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.102582931518555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:13:32.782036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/17/image_28012025_16_17_16_10375.jpg', '/home/pi/Desktop/images/28012025/16/17/image_28012025_16_17_26_10342.jpg', '/home/pi/Desktop/images/28012025/16/17/image_28012025_16_17_36_9412.jpg', '/home/pi/Desktop/images/28012025/16/17/image_28012025_16_17_46_10466.jpg', '/home/pi/Desktop/images/28012025/16/17/image_28012025_16_17_57_10338.jpg', '/home/pi/Desktop/images/28012025/16/17/image_28012025_16_18_06_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/17/image_28012025_16_17_16_10375.jpg
/home/pi/Desktop/images/28012025/16/17/image_28012025_16_17_26_10342.jpg
/home/pi/Desktop/images/28012025/16/17/image_28012025_16_17_36_9412.jpg
/home/pi/Desktop/images/28012025/16/17/image_28012025_16_17_46_10466.jpg
/home/pi/Desktop/images/28012025/16/17/image_28012025_16_17_57_10338.jpg
/home/pi/Desktop/images/28012025/16/17/image_28012025_16_18_06_9333.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5570821762084961 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 22:13:42.803806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/17/image_28012025_16_17_16_10375.jpg', '/home/pi/Desktop/images/28012025/16/17/image_28012025_16_17_26_10342.jpg', '/home/pi/Desktop/images/28012025/16/17/image_28012025_16_17_36_9412.jpg', '/home/pi/Desktop/images/28012025/16/17/image_28012025_16_17_46_10466.jpg', '/home/pi/Desktop/images/28012025/16/17/image_28012025_16_17_57_10338.jpg', '/home/pi/Desktop/images/28012025/16/17/image_28012025_16_18_06_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/17/image_28012025_16_17_16_10375.jpg
/home/pi/Desktop/images/28012025/16/17/image_28012025_16_17_26_10342.jpg
/home/pi/Desktop/images/28012025/16/17/image_28012025_16_17_36_9412.jpg
/home/pi/Desktop/images/28012025/16/17/image_28012025_16_17_46_10466.jpg
/home/pi/Desktop/images/28012025/16/17/image_28012025_16_17_57_10338.jpg
/home/pi/Desktop/images/28012025/16/17/image_28012025_16_18_06_9333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332426681","1332426675","1332426669","1332426660","1332426678","1332426653"],"photo_ids_order":["1332426653","1332426660","1332426669","1332426675","1332426678","1332426681"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/01f35a62db51548f43fde7ab74affcbf.jpg","text":"TemporaryFile(/tmp/multipartBody2942328263396543740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098883699,"filename":"image_28012025_16_18_06_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ab5e6a078124bf16b45716eb505b6633.jpg","text":"TemporaryFile(/tmp/multipartBody5913508318649345553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098883699,"filename":"image_28012025_16_17_46_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/462d59d0b2676940d7b7eb256124ebf1.jpg","text":"TemporaryFile(/tmp/multipartBody9156382458643175456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098883699,"filename":"image_28012025_16_17_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/1/28/58706f6a5cc2a5fa883520e60115ac60.jpg","text":"TemporaryFile(/tmp/multipartBody2988492915206529371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098883699,"filename":"image_28012025_16_17_26_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/903df7ffc8df99decfc350cab78fff97.jpg","text":"TemporaryFile(/tmp/multipartBody4981285784474742656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098883699,"filename":"image_28012025_16_17_57_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9ec7a75cb9881dd9cbcf703a80b4a77d.jpg","text":"TemporaryFile(/tmp/multipartBody8555071968250411574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098883699,"filename":"image_28012025_16_17_16_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332426669","file1":"1332426660","file0":"1332426653","file4":"1332426678","file5":"1332426681","file3":"1332426675"},"map_files_photo_id_array":[{"photo_id":"1332426681","filename":"file5"},{"photo_id":"1332426669","filename":"file2"},{"photo_id":"1332426678","filename":"file4"},{"photo_id":"1332426660","filename":"file1"},{"photo_id":"1332426653","filename":"file0"},{"photo_id":"1332426675","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332426681":["hashtag1","hashtag2"]},{"1332426675":["hashtag1","hashtag2"]},{"1332426669":["hashtag1","hashtag2"]},{"1332426660":["hashtag1","hashtag2"]},{"1332426678":["hashtag1","hashtag2"]},{"1332426653":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332426681, 1332426675, 1332426669, 1332426660, 1332426678, 1332426653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.40341544151306 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:14:33.037366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/18/image_28012025_16_18_16_10402.jpg', '/home/pi/Desktop/images/28012025/16/18/image_28012025_16_18_26_9384.jpg', '/home/pi/Desktop/images/28012025/16/18/image_28012025_16_18_36_10375.jpg', '/home/pi/Desktop/images/28012025/16/18/image_28012025_16_18_47_10427.jpg', '/home/pi/Desktop/images/28012025/16/18/image_28012025_16_18_56_9328.jpg', '/home/pi/Desktop/images/28012025/16/18/image_28012025_16_19_06_10467.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/18/image_28012025_16_18_16_10402.jpg
/home/pi/Desktop/images/28012025/16/18/image_28012025_16_18_26_9384.jpg
/home/pi/Desktop/images/28012025/16/18/image_28012025_16_18_36_10375.jpg
/home/pi/Desktop/images/28012025/16/18/image_28012025_16_18_47_10427.jpg
/home/pi/Desktop/images/28012025/16/18/image_28012025_16_18_56_9328.jpg
/home/pi/Desktop/images/28012025/16/18/image_28012025_16_19_06_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":["1332426703","1332426693","1332426696","1332426710","1332426706","1332426699"],"photo_ids_order":["1332426693","1332426696","1332426699","1332426703","1332426706","1332426710"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7bf33fb2b63965cecf36a7413b7fff57.jpg","text":"TemporaryFile(/tmp/multipartBody3906558663395153888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098933993,"filename":"image_28012025_16_18_47_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b8db80bceb9623a9282fa4f223bc45b4.jpg","text":"TemporaryFile(/tmp/multipartBody7408004281735400614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098933993,"filename":"image_28012025_16_18_16_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/59ee75caa0920358dff75e996705e0f9.jpg","text":"TemporaryFile(/tmp/multipartBody7406886571633746982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098933993,"filename":"image_28012025_16_18_26_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/634ed71758126acf8f8da274d88141fd.jpg","text":"TemporaryFile(/tmp/multipartBody1410143492845345220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098933993,"filename":"image_28012025_16_19_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/1/28/225a839d3de46bbdbfe65b794abcd28c.jpg","text":"TemporaryFile(/tmp/multipartBody4896277660648457139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098933993,"filename":"image_28012025_16_18_56_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9c517141426467c7635dfa86526dd6ac.jpg","text":"TemporaryFile(/tmp/multipartBody5009616324188508166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098933993,"filename":"image_28012025_16_18_36_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332426699","file1":"1332426696","file0":"1332426693","file4":"1332426706","file5":"1332426710","file3":"1332426703"},"map_files_photo_id_array":[{"photo_id":"1332426710","filename":"file5"},{"photo_id":"1332426699","filename":"file2"},{"photo_id":"1332426706","filename":"file4"},{"photo_id":"1332426696","filename":"file1"},{"photo_id":"1332426693","filename":"file0"},{"photo_id":"1332426703","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332426703":["hashtag1","hashtag2"]},{"1332426693":["hashtag1","hashtag2"]},{"1332426696":["hashtag1","hashtag2"]},{"1332426710":["hashtag1","hashtag2"]},{"1332426706":["hashtag1","hashtag2"]},{"1332426699":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332426703, 1332426693, 1332426696, 1332426710, 1332426706, 1332426699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.10677456855774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:15:32.251031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/19/image_28012025_16_19_16_9349.jpg', '/home/pi/Desktop/images/28012025/16/19/image_28012025_16_19_26_10373.jpg', '/home/pi/Desktop/images/28012025/16/19/image_28012025_16_19_46_9335.jpg', '/home/pi/Desktop/images/28012025/16/19/image_28012025_16_19_56_10452.jpg', '/home/pi/Desktop/images/28012025/16/19/image_28012025_16_20_07_10343.jpg', '/home/pi/Desktop/images/28012025/16/20/image_28012025_16_20_16_9620.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/19/image_28012025_16_19_16_9349.jpg
/home/pi/Desktop/images/28012025/16/19/image_28012025_16_19_26_10373.jpg
/home/pi/Desktop/images/28012025/16/19/image_28012025_16_19_46_9335.jpg
/home/pi/Desktop/images/28012025/16/19/image_28012025_16_19_56_10452.jpg
/home/pi/Desktop/images/28012025/16/19/image_28012025_16_20_07_10343.jpg
/home/pi/Desktop/images/28012025/16/20/image_28012025_16_20_16_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332426753","1332426756","1332426731","1332426760","1332426742","1332426748"],"photo_ids_order":["1332426731","1332426742","1332426748","1332426753","1332426756","1332426760"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e626e721fd9dda6ea7472de9be43676a.jpg","text":"TemporaryFile(/tmp/multipartBody7603278586582210709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098993226,"filename":"image_28012025_16_19_56_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a8a9924c290c4d8785812b3357c9edb6.jpg","text":"TemporaryFile(/tmp/multipartBody7255470774272978609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098993226,"filename":"image_28012025_16_20_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/1/28/2bac62a5d3a63efd08c43cc612e02a24.jpg","text":"TemporaryFile(/tmp/multipartBody1854168354359464589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098993226,"filename":"image_28012025_16_19_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/1/28/c740b57141a9898ccb56681dcee21d58.jpg","text":"TemporaryFile(/tmp/multipartBody102743790356703617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098993226,"filename":"image_28012025_16_20_16_9620.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7c58bbe080f647dfadfec71dd6eb2bec.jpg","text":"TemporaryFile(/tmp/multipartBody7128005001505693069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098993226,"filename":"image_28012025_16_19_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/1/28/a6d3b72a5b0df989f92e72b8a025b7db.jpg","text":"TemporaryFile(/tmp/multipartBody5090663576082765984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738098993226,"filename":"image_28012025_16_19_46_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332426748","file1":"1332426742","file0":"1332426731","file4":"1332426756","file5":"1332426760","file3":"1332426753"},"map_files_photo_id_array":[{"photo_id":"1332426760","filename":"file5"},{"photo_id":"1332426748","filename":"file2"},{"photo_id":"1332426756","filename":"file4"},{"photo_id":"1332426742","filename":"file1"},{"photo_id":"1332426731","filename":"file0"},{"photo_id":"1332426753","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332426753":["hashtag1","hashtag2"]},{"1332426756":["hashtag1","hashtag2"]},{"1332426731":["hashtag1","hashtag2"]},{"1332426760":["hashtag1","hashtag2"]},{"1332426742":["hashtag1","hashtag2"]},{"1332426748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332426753, 1332426756, 1332426731, 1332426760, 1332426742, 1332426748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.190128326416016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:16:32.557108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/20/image_28012025_16_20_26_10329.jpg', '/home/pi/Desktop/images/28012025/16/20/image_28012025_16_20_36_9346.jpg', '/home/pi/Desktop/images/28012025/16/20/image_28012025_16_20_46_10450.jpg', '/home/pi/Desktop/images/28012025/16/20/image_28012025_16_20_57_10342.jpg', '/home/pi/Desktop/images/28012025/16/20/image_28012025_16_21_06_9321.jpg', '/home/pi/Desktop/images/28012025/16/21/image_28012025_16_21_16_10376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/20/image_28012025_16_20_26_10329.jpg
/home/pi/Desktop/images/28012025/16/20/image_28012025_16_20_36_9346.jpg
/home/pi/Desktop/images/28012025/16/20/image_28012025_16_20_46_10450.jpg
/home/pi/Desktop/images/28012025/16/20/image_28012025_16_20_57_10342.jpg
/home/pi/Desktop/images/28012025/16/20/image_28012025_16_21_06_9321.jpg
/home/pi/Desktop/images/28012025/16/21/image_28012025_16_21_16_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332426978","1332427335","1332427091","1332427564","1332427450","1332427207"],"photo_ids_order":["1332426978","1332427091","1332427207","1332427335","1332427450","1332427564"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d118471fe03f32bf3b822ec94ac124b3.jpg","text":"TemporaryFile(/tmp/multipartBody6588098899817731835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099053546,"filename":"image_28012025_16_20_26_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/585095b5bd7d0df1cff83cf4b69db671.jpg","text":"TemporaryFile(/tmp/multipartBody7820525400909582398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099053546,"filename":"image_28012025_16_20_57_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4c07d8b9d5168ea7db80acd34b30dd6d.jpg","text":"TemporaryFile(/tmp/multipartBody8620428991142936697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099053546,"filename":"image_28012025_16_20_36_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dbbe16f50b52221c06c78a5e3311ae23.jpg","text":"TemporaryFile(/tmp/multipartBody6310208090867870667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099053546,"filename":"image_28012025_16_21_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/1/28/4d4ed4abc07683a4163ee7bdfd0cd583.jpg","text":"TemporaryFile(/tmp/multipartBody5566350392570859295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099053546,"filename":"image_28012025_16_21_06_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/71e2ebde6bfbbda893fac4ec89f5d93d.jpg","text":"TemporaryFile(/tmp/multipartBody2545854665132216003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099053546,"filename":"image_28012025_16_20_46_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332427207","file1":"1332427091","file0":"1332426978","file4":"1332427450","file5":"1332427564","file3":"1332427335"},"map_files_photo_id_array":[{"photo_id":"1332427564","filename":"file5"},{"photo_id":"1332427207","filename":"file2"},{"photo_id":"1332427450","filename":"file4"},{"photo_id":"1332427091","filename":"file1"},{"photo_id":"1332426978","filename":"file0"},{"photo_id":"1332427335","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332426978":["hashtag1","hashtag2"]},{"1332427335":["hashtag1","hashtag2"]},{"1332427091":["hashtag1","hashtag2"]},{"1332427564":["hashtag1","hashtag2"]},{"1332427450":["hashtag1","hashtag2"]},{"1332427207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332426978, 1332427335, 1332427091, 1332427564, 1332427450, 1332427207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.24905872344971 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:17:32.622499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/21/image_28012025_16_21_26_9342.jpg', '/home/pi/Desktop/images/28012025/16/21/image_28012025_16_21_36_10340.jpg', '/home/pi/Desktop/images/28012025/16/21/image_28012025_16_21_46_10439.jpg', '/home/pi/Desktop/images/28012025/16/21/image_28012025_16_22_06_10429.jpg', '/home/pi/Desktop/images/28012025/16/22/image_28012025_16_22_17_10329.jpg', '/home/pi/Desktop/images/28012025/16/22/image_28012025_16_22_26_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/21/image_28012025_16_21_26_9342.jpg
/home/pi/Desktop/images/28012025/16/21/image_28012025_16_21_36_10340.jpg
/home/pi/Desktop/images/28012025/16/21/image_28012025_16_21_46_10439.jpg
/home/pi/Desktop/images/28012025/16/21/image_28012025_16_22_06_10429.jpg
/home/pi/Desktop/images/28012025/16/22/image_28012025_16_22_17_10329.jpg
/home/pi/Desktop/images/28012025/16/22/image_28012025_16_22_26_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":["1332428558","1332428398","1332428496","1332428407","1332428517","1332428393"],"photo_ids_order":["1332428393","1332428398","1332428407","1332428496","1332428517","1332428558"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/988b14f77f0e715e0580610e83217b75.jpg","text":"TemporaryFile(/tmp/multipartBody8122095686405186841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099113587,"filename":"image_28012025_16_22_26_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/47f3af118f28a3b3815f2f3e56a29e3a.jpg","text":"TemporaryFile(/tmp/multipartBody559019698367563906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099113587,"filename":"image_28012025_16_21_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/1/28/ab35788963949bb400569fabb2538bf4.jpg","text":"TemporaryFile(/tmp/multipartBody2052136047003901387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099113587,"filename":"image_28012025_16_22_06_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/29e2c1cee33c452b2b7d2b1f7dfaeb5a.jpg","text":"TemporaryFile(/tmp/multipartBody4484470207326888182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099113587,"filename":"image_28012025_16_21_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/1/28/76d47a3038444f10c6bab8e65bc5ce15.jpg","text":"TemporaryFile(/tmp/multipartBody5539587999011095665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099113587,"filename":"image_28012025_16_22_17_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f05289e3bff10c5ccd7107c1cee27344.jpg","text":"TemporaryFile(/tmp/multipartBody2289935988315704373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099113587,"filename":"image_28012025_16_21_26_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332428407","file1":"1332428398","file0":"1332428393","file4":"1332428517","file5":"1332428558","file3":"1332428496"},"map_files_photo_id_array":[{"photo_id":"1332428558","filename":"file5"},{"photo_id":"1332428407","filename":"file2"},{"photo_id":"1332428517","filename":"file4"},{"photo_id":"1332428398","filename":"file1"},{"photo_id":"1332428393","filename":"file0"},{"photo_id":"1332428496","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332428558":["hashtag1","hashtag2"]},{"1332428398":["hashtag1","hashtag2"]},{"1332428496":["hashtag1","hashtag2"]},{"1332428407":["hashtag1","hashtag2"]},{"1332428517":["hashtag1","hashtag2"]},{"1332428393":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332428558, 1332428398, 1332428496, 1332428407, 1332428517, 1332428393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5554313659668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:18:33.036318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/22/image_28012025_16_22_36_10459.jpg', '/home/pi/Desktop/images/28012025/16/22/image_28012025_16_22_46_9371.jpg', '/home/pi/Desktop/images/28012025/16/22/image_28012025_16_22_56_10462.jpg', '/home/pi/Desktop/images/28012025/16/22/image_28012025_16_23_07_10391.jpg', '/home/pi/Desktop/images/28012025/16/23/image_28012025_16_23_16_9411.jpg', '/home/pi/Desktop/images/28012025/16/23/image_28012025_16_23_26_10403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/22/image_28012025_16_22_36_10459.jpg
/home/pi/Desktop/images/28012025/16/22/image_28012025_16_22_46_9371.jpg
/home/pi/Desktop/images/28012025/16/22/image_28012025_16_22_56_10462.jpg
/home/pi/Desktop/images/28012025/16/22/image_28012025_16_23_07_10391.jpg
/home/pi/Desktop/images/28012025/16/23/image_28012025_16_23_16_9411.jpg
/home/pi/Desktop/images/28012025/16/23/image_28012025_16_23_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":["1332429074","1332428858","1332429103","1332429093","1332429138","1332428976"],"photo_ids_order":["1332428858","1332428976","1332429074","1332429093","1332429103","1332429138"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1ce0e2a33fd0261a483bf64cb1675231.jpg","text":"TemporaryFile(/tmp/multipartBody2547504903860906736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099174138,"filename":"image_28012025_16_22_56_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/db53b457ecc22bc3d9ed0b089ae9bf8d.jpg","text":"TemporaryFile(/tmp/multipartBody7069664206915769737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099174138,"filename":"image_28012025_16_22_36_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/735b8887bdd36c74bf3f0ac988f12cca.jpg","text":"TemporaryFile(/tmp/multipartBody5285154914471733648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099174138,"filename":"image_28012025_16_23_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/1/28/c06beed85f1ea0df79d695a97118731b.jpg","text":"TemporaryFile(/tmp/multipartBody3465893123747932550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099174138,"filename":"image_28012025_16_23_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/1/28/22c1015e9ed884ed2bfc94563073c50f.jpg","text":"TemporaryFile(/tmp/multipartBody5085295008062588994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099174138,"filename":"image_28012025_16_23_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/1/28/0d8794e83a48b7d96f545a32bd29f42f.jpg","text":"TemporaryFile(/tmp/multipartBody9102403003069982409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099174138,"filename":"image_28012025_16_22_46_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332429074","file1":"1332428976","file0":"1332428858","file4":"1332429103","file5":"1332429138","file3":"1332429093"},"map_files_photo_id_array":[{"photo_id":"1332429138","filename":"file5"},{"photo_id":"1332429074","filename":"file2"},{"photo_id":"1332429103","filename":"file4"},{"photo_id":"1332428976","filename":"file1"},{"photo_id":"1332428858","filename":"file0"},{"photo_id":"1332429093","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332429074":["hashtag1","hashtag2"]},{"1332428858":["hashtag1","hashtag2"]},{"1332429103":["hashtag1","hashtag2"]},{"1332429093":["hashtag1","hashtag2"]},{"1332429138":["hashtag1","hashtag2"]},{"1332428976":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332429074, 1332428858, 1332429103, 1332429093, 1332429138, 1332428976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.88061285018921 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:19:32.315745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/23/image_28012025_16_23_36_9324.jpg', '/home/pi/Desktop/images/28012025/16/23/image_28012025_16_23_46_10350.jpg', '/home/pi/Desktop/images/28012025/16/23/image_28012025_16_23_56_10415.jpg', '/home/pi/Desktop/images/28012025/16/23/image_28012025_16_24_06_9332.jpg', '/home/pi/Desktop/images/28012025/16/24/image_28012025_16_24_16_10465.jpg', '/home/pi/Desktop/images/28012025/16/24/image_28012025_16_24_27_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/23/image_28012025_16_23_36_9324.jpg
/home/pi/Desktop/images/28012025/16/23/image_28012025_16_23_46_10350.jpg
/home/pi/Desktop/images/28012025/16/23/image_28012025_16_23_56_10415.jpg
/home/pi/Desktop/images/28012025/16/23/image_28012025_16_24_06_9332.jpg
/home/pi/Desktop/images/28012025/16/24/image_28012025_16_24_16_10465.jpg
/home/pi/Desktop/images/28012025/16/24/image_28012025_16_24_27_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332429365","1332429425","1332429407","1332429421","1332429412","1332429417"],"photo_ids_order":["1332429365","1332429407","1332429412","1332429417","1332429421","1332429425"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5602c2609a108815a03ba51ff998dc60.jpg","text":"TemporaryFile(/tmp/multipartBody252336409557580292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099233293,"filename":"image_28012025_16_23_36_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5f739ef02fe034e6245c66ecdf330c8c.jpg","text":"TemporaryFile(/tmp/multipartBody5855004752544470784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099233293,"filename":"image_28012025_16_24_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/1/28/ec34e2a16de1f4deca718c954655644c.jpg","text":"TemporaryFile(/tmp/multipartBody6012141338359504309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099233293,"filename":"image_28012025_16_23_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/1/28/9a73087804c33b5f4628938753861204.jpg","text":"TemporaryFile(/tmp/multipartBody356087838663011364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099233293,"filename":"image_28012025_16_24_16_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2e4edf16d24e1aba262f10ad37d06036.jpg","text":"TemporaryFile(/tmp/multipartBody4829350362134014050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099233293,"filename":"image_28012025_16_23_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/1/28/30ae345abc45f50e8bf834bb3ff7d79b.jpg","text":"TemporaryFile(/tmp/multipartBody1285140908907003340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099233293,"filename":"image_28012025_16_24_06_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332429412","file1":"1332429407","file0":"1332429365","file4":"1332429421","file5":"1332429425","file3":"1332429417"},"map_files_photo_id_array":[{"photo_id":"1332429425","filename":"file5"},{"photo_id":"1332429412","filename":"file2"},{"photo_id":"1332429421","filename":"file4"},{"photo_id":"1332429407","filename":"file1"},{"photo_id":"1332429365","filename":"file0"},{"photo_id":"1332429417","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332429365":["hashtag1","hashtag2"]},{"1332429425":["hashtag1","hashtag2"]},{"1332429407":["hashtag1","hashtag2"]},{"1332429421":["hashtag1","hashtag2"]},{"1332429412":["hashtag1","hashtag2"]},{"1332429417":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332429365, 1332429425, 1332429407, 1332429421, 1332429412, 1332429417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.55654835700989 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:20:32.380685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/24/image_28012025_16_24_36_9362.jpg', '/home/pi/Desktop/images/28012025/16/24/image_28012025_16_24_46_10001.jpg', '/home/pi/Desktop/images/28012025/16/24/image_28012025_16_24_56_10429.jpg', '/home/pi/Desktop/images/28012025/16/24/image_28012025_16_25_06_9444.jpg', '/home/pi/Desktop/images/28012025/16/25/image_28012025_16_25_16_10374.jpg', '/home/pi/Desktop/images/28012025/16/25/image_28012025_16_25_27_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/24/image_28012025_16_24_36_9362.jpg
/home/pi/Desktop/images/28012025/16/24/image_28012025_16_24_46_10001.jpg
/home/pi/Desktop/images/28012025/16/24/image_28012025_16_24_56_10429.jpg
/home/pi/Desktop/images/28012025/16/24/image_28012025_16_25_06_9444.jpg
/home/pi/Desktop/images/28012025/16/25/image_28012025_16_25_16_10374.jpg
/home/pi/Desktop/images/28012025/16/25/image_28012025_16_25_27_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":["1332429509","1332429865","1332429631","1332429748","1332429802","1332429831"],"photo_ids_order":["1332429509","1332429631","1332429748","1332429802","1332429831","1332429865"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3977008c39fbf0564c2c6eabce205693.jpg","text":"TemporaryFile(/tmp/multipartBody8198514829587967181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099293353,"filename":"image_28012025_16_24_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/1/28/fdf60ec545d40aebcf790e6c52114b24.jpg","text":"TemporaryFile(/tmp/multipartBody7643496330459959001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099293353,"filename":"image_28012025_16_25_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/1/28/38683e95cf63397b33b3e8a2c3d851ab.jpg","text":"TemporaryFile(/tmp/multipartBody3170174206823430774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099293353,"filename":"image_28012025_16_24_46_10001.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f727797824ae571b37ba05f0e78b2c26.jpg","text":"TemporaryFile(/tmp/multipartBody300471503792705696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099293353,"filename":"image_28012025_16_24_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/1/28/0e1ec42c4982ad00b27447b8dc22099a.jpg","text":"TemporaryFile(/tmp/multipartBody8846578430763946961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099293353,"filename":"image_28012025_16_25_06_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ffb7787d76d9080d29ffe8ab6d3d771f.jpg","text":"TemporaryFile(/tmp/multipartBody1106481344204208584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099293353,"filename":"image_28012025_16_25_16_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332429748","file1":"1332429631","file0":"1332429509","file4":"1332429831","file5":"1332429865","file3":"1332429802"},"map_files_photo_id_array":[{"photo_id":"1332429865","filename":"file5"},{"photo_id":"1332429748","filename":"file2"},{"photo_id":"1332429831","filename":"file4"},{"photo_id":"1332429631","filename":"file1"},{"photo_id":"1332429509","filename":"file0"},{"photo_id":"1332429802","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332429509":["hashtag1","hashtag2"]},{"1332429865":["hashtag1","hashtag2"]},{"1332429631":["hashtag1","hashtag2"]},{"1332429748":["hashtag1","hashtag2"]},{"1332429802":["hashtag1","hashtag2"]},{"1332429831":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332429509, 1332429865, 1332429631, 1332429748, 1332429802, 1332429831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96871089935303 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:21:32.767845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/25/image_28012025_16_25_36_9388.jpg', '/home/pi/Desktop/images/28012025/16/25/image_28012025_16_25_46_10365.jpg', '/home/pi/Desktop/images/28012025/16/25/image_28012025_16_25_56_9346.jpg', '/home/pi/Desktop/images/28012025/16/25/image_28012025_16_26_06_10321.jpg', '/home/pi/Desktop/images/28012025/16/26/image_28012025_16_26_16_10333.jpg', '/home/pi/Desktop/images/28012025/16/26/image_28012025_16_26_26_9397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/25/image_28012025_16_25_36_9388.jpg
/home/pi/Desktop/images/28012025/16/25/image_28012025_16_25_46_10365.jpg
/home/pi/Desktop/images/28012025/16/25/image_28012025_16_25_56_9346.jpg
/home/pi/Desktop/images/28012025/16/25/image_28012025_16_26_06_10321.jpg
/home/pi/Desktop/images/28012025/16/26/image_28012025_16_26_16_10333.jpg
/home/pi/Desktop/images/28012025/16/26/image_28012025_16_26_26_9397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332429886","1332429883","1332429891","1332429885","1332429888","1332429887"],"photo_ids_order":["1332429883","1332429885","1332429886","1332429887","1332429888","1332429891"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/58953b163020f68e80a619178b539528.jpg","text":"TemporaryFile(/tmp/multipartBody8825446694260524784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099353749,"filename":"image_28012025_16_25_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/1/28/d9b8b9ff3c6930394207bb8075a3d757.jpg","text":"TemporaryFile(/tmp/multipartBody8760183090426448845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099353749,"filename":"image_28012025_16_25_36_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bda7f6cebcf7ac0e7ea0547d1cbece3e.jpg","text":"TemporaryFile(/tmp/multipartBody5874840094101263369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099353749,"filename":"image_28012025_16_26_26_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/da32a356695ca00e7d891739d13c925c.jpg","text":"TemporaryFile(/tmp/multipartBody5439852536029463063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099353749,"filename":"image_28012025_16_25_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/1/28/593ba60706d314344b5b605a5d251d90.jpg","text":"TemporaryFile(/tmp/multipartBody6017890755635688043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099353749,"filename":"image_28012025_16_26_16_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bc1f82503e8f787daeb44c2011037529.jpg","text":"TemporaryFile(/tmp/multipartBody7842769247096023260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099353749,"filename":"image_28012025_16_26_06_10321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332429886","file1":"1332429885","file0":"1332429883","file4":"1332429888","file5":"1332429891","file3":"1332429887"},"map_files_photo_id_array":[{"photo_id":"1332429891","filename":"file5"},{"photo_id":"1332429886","filename":"file2"},{"photo_id":"1332429888","filename":"file4"},{"photo_id":"1332429885","filename":"file1"},{"photo_id":"1332429883","filename":"file0"},{"photo_id":"1332429887","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332429886":["hashtag1","hashtag2"]},{"1332429883":["hashtag1","hashtag2"]},{"1332429891":["hashtag1","hashtag2"]},{"1332429885":["hashtag1","hashtag2"]},{"1332429888":["hashtag1","hashtag2"]},{"1332429887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332429886, 1332429883, 1332429891, 1332429885, 1332429888, 1332429887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.75222969055176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:22:32.938770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/26/image_28012025_16_26_36_10474.jpg', '/home/pi/Desktop/images/28012025/16/26/image_28012025_16_26_47_10410.jpg', '/home/pi/Desktop/images/28012025/16/26/image_28012025_16_26_56_9323.jpg', '/home/pi/Desktop/images/28012025/16/26/image_28012025_16_27_06_10403.jpg', '/home/pi/Desktop/images/28012025/16/27/image_28012025_16_27_16_9325.jpg', '/home/pi/Desktop/images/28012025/16/27/image_28012025_16_27_26_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/26/image_28012025_16_26_36_10474.jpg
/home/pi/Desktop/images/28012025/16/26/image_28012025_16_26_47_10410.jpg
/home/pi/Desktop/images/28012025/16/26/image_28012025_16_26_56_9323.jpg
/home/pi/Desktop/images/28012025/16/26/image_28012025_16_27_06_10403.jpg
/home/pi/Desktop/images/28012025/16/27/image_28012025_16_27_16_9325.jpg
/home/pi/Desktop/images/28012025/16/27/image_28012025_16_27_26_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":["1332430046","1332430100","1332430063","1332430057","1332430068","1332430020"],"photo_ids_order":["1332430020","1332430046","1332430057","1332430063","1332430068","1332430100"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/73dacc080b4e1a83a374d8f1ccdcee2a.jpg","text":"TemporaryFile(/tmp/multipartBody8501362928529519450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099413893,"filename":"image_28012025_16_26_47_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fe5b26333fca874c13df7beb20e2272a.jpg","text":"TemporaryFile(/tmp/multipartBody4582693769471517136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099413893,"filename":"image_28012025_16_27_26_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b19595b825cf62e621846e10d6f834ce.jpg","text":"TemporaryFile(/tmp/multipartBody5242133212246212999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099413893,"filename":"image_28012025_16_27_06_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7a18aeded32fd40c8a428203f825d09e.jpg","text":"TemporaryFile(/tmp/multipartBody8566274686643219534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099413893,"filename":"image_28012025_16_26_56_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/741650236154ef26701904c7d68415a6.jpg","text":"TemporaryFile(/tmp/multipartBody8133854483501240840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099413893,"filename":"image_28012025_16_27_16_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/03135f3ffccaa88153d17e035244bd45.jpg","text":"TemporaryFile(/tmp/multipartBody1203928505535380097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099413893,"filename":"image_28012025_16_26_36_10474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332430057","file1":"1332430046","file0":"1332430020","file4":"1332430068","file5":"1332430100","file3":"1332430063"},"map_files_photo_id_array":[{"photo_id":"1332430100","filename":"file5"},{"photo_id":"1332430057","filename":"file2"},{"photo_id":"1332430068","filename":"file4"},{"photo_id":"1332430046","filename":"file1"},{"photo_id":"1332430020","filename":"file0"},{"photo_id":"1332430063","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332430046":["hashtag1","hashtag2"]},{"1332430100":["hashtag1","hashtag2"]},{"1332430063":["hashtag1","hashtag2"]},{"1332430057":["hashtag1","hashtag2"]},{"1332430068":["hashtag1","hashtag2"]},{"1332430020":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332430046, 1332430100, 1332430063, 1332430057, 1332430068, 1332430020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23945093154907 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:23:32.145202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/27/image_28012025_16_27_36_10341.jpg', '/home/pi/Desktop/images/28012025/16/27/image_28012025_16_27_46_9409.jpg', '/home/pi/Desktop/images/28012025/16/27/image_28012025_16_27_56_10393.jpg', '/home/pi/Desktop/images/28012025/16/27/image_28012025_16_28_07_10362.jpg', '/home/pi/Desktop/images/28012025/16/28/image_28012025_16_28_16_9333.jpg', '/home/pi/Desktop/images/28012025/16/28/image_28012025_16_28_26_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/27/image_28012025_16_27_36_10341.jpg
/home/pi/Desktop/images/28012025/16/27/image_28012025_16_27_46_9409.jpg
/home/pi/Desktop/images/28012025/16/27/image_28012025_16_27_56_10393.jpg
/home/pi/Desktop/images/28012025/16/27/image_28012025_16_28_07_10362.jpg
/home/pi/Desktop/images/28012025/16/28/image_28012025_16_28_16_9333.jpg
/home/pi/Desktop/images/28012025/16/28/image_28012025_16_28_26_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":["1332430177","1332430188","1332430182","1332430185","1332430179","1332430173"],"photo_ids_order":["1332430173","1332430177","1332430179","1332430182","1332430185","1332430188"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/235a4a259e7545053d487905b3d2de68.jpg","text":"TemporaryFile(/tmp/multipartBody2380405516096588246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099473105,"filename":"image_28012025_16_27_46_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2a4d65925e2a94997fb69c74e9c69d6c.jpg","text":"TemporaryFile(/tmp/multipartBody8844760263449800520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099473105,"filename":"image_28012025_16_28_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/1/28/10abb7c8ad9e428f30ae0e4bfe76d0cb.jpg","text":"TemporaryFile(/tmp/multipartBody6401323126251983452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099473105,"filename":"image_28012025_16_28_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/1/28/3580c209329b5bf3a0b6d585f55a43d6.jpg","text":"TemporaryFile(/tmp/multipartBody4610691758266563818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099473105,"filename":"image_28012025_16_28_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/1/28/37cae38baa5bfa57051e0efd4d62fd41.jpg","text":"TemporaryFile(/tmp/multipartBody5981848601493377866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099473105,"filename":"image_28012025_16_27_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/1/28/7dd8e0be817ba3924175361cee34308e.jpg","text":"TemporaryFile(/tmp/multipartBody5093499955541697232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099473105,"filename":"image_28012025_16_27_36_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332430179","file1":"1332430177","file0":"1332430173","file4":"1332430185","file5":"1332430188","file3":"1332430182"},"map_files_photo_id_array":[{"photo_id":"1332430188","filename":"file5"},{"photo_id":"1332430179","filename":"file2"},{"photo_id":"1332430185","filename":"file4"},{"photo_id":"1332430177","filename":"file1"},{"photo_id":"1332430173","filename":"file0"},{"photo_id":"1332430182","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332430177":["hashtag1","hashtag2"]},{"1332430188":["hashtag1","hashtag2"]},{"1332430182":["hashtag1","hashtag2"]},{"1332430185":["hashtag1","hashtag2"]},{"1332430179":["hashtag1","hashtag2"]},{"1332430173":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332430177, 1332430188, 1332430182, 1332430185, 1332430179, 1332430173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.15024733543396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:24:32.437274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/28/image_28012025_16_28_46_10376.jpg', '/home/pi/Desktop/images/28012025/16/28/image_28012025_16_28_56_10415.jpg', '/home/pi/Desktop/images/28012025/16/28/image_28012025_16_29_06_9340.jpg', '/home/pi/Desktop/images/28012025/16/29/image_28012025_16_29_16_10441.jpg', '/home/pi/Desktop/images/28012025/16/29/image_28012025_16_29_27_10343.jpg', '/home/pi/Desktop/images/28012025/16/29/image_28012025_16_29_36_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/28/image_28012025_16_28_46_10376.jpg
/home/pi/Desktop/images/28012025/16/28/image_28012025_16_28_56_10415.jpg
/home/pi/Desktop/images/28012025/16/28/image_28012025_16_29_06_9340.jpg
/home/pi/Desktop/images/28012025/16/29/image_28012025_16_29_16_10441.jpg
/home/pi/Desktop/images/28012025/16/29/image_28012025_16_29_27_10343.jpg
/home/pi/Desktop/images/28012025/16/29/image_28012025_16_29_36_9339.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5656421184539795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 22:24:42.469399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/28/image_28012025_16_28_46_10376.jpg', '/home/pi/Desktop/images/28012025/16/28/image_28012025_16_28_56_10415.jpg', '/home/pi/Desktop/images/28012025/16/28/image_28012025_16_29_06_9340.jpg', '/home/pi/Desktop/images/28012025/16/29/image_28012025_16_29_16_10441.jpg', '/home/pi/Desktop/images/28012025/16/29/image_28012025_16_29_27_10343.jpg', '/home/pi/Desktop/images/28012025/16/29/image_28012025_16_29_36_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/28/image_28012025_16_28_46_10376.jpg
/home/pi/Desktop/images/28012025/16/28/image_28012025_16_28_56_10415.jpg
/home/pi/Desktop/images/28012025/16/28/image_28012025_16_29_06_9340.jpg
/home/pi/Desktop/images/28012025/16/29/image_28012025_16_29_16_10441.jpg
/home/pi/Desktop/images/28012025/16/29/image_28012025_16_29_27_10343.jpg
/home/pi/Desktop/images/28012025/16/29/image_28012025_16_29_36_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332430357","1332430354","1332430348","1332430362","1332430359","1332430344"],"photo_ids_order":["1332430344","1332430348","1332430354","1332430357","1332430359","1332430362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4f4b1c270ee6a167ad968c9b2d73fb35.jpg","text":"TemporaryFile(/tmp/multipartBody5072661402837453485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099543403,"filename":"image_28012025_16_29_16_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/810b9ed8618133674f5904868c8e24dd.jpg","text":"TemporaryFile(/tmp/multipartBody7485170814353715003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099543403,"filename":"image_28012025_16_29_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/1/28/503ad2deaa8f7499f7a987449440e61a.jpg","text":"TemporaryFile(/tmp/multipartBody8228506897361111150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099543403,"filename":"image_28012025_16_28_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/1/28/83e9fd9cff03c3dbeeacc059c93d1bc8.jpg","text":"TemporaryFile(/tmp/multipartBody6015498141115490298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099543403,"filename":"image_28012025_16_29_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/1/28/e9dd4d58916b4cba20716223701ac3b5.jpg","text":"TemporaryFile(/tmp/multipartBody2118395323152451885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099543403,"filename":"image_28012025_16_29_27_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/aa1401c3382b008fffed2c84c7291f0e.jpg","text":"TemporaryFile(/tmp/multipartBody2548309208505063089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099543403,"filename":"image_28012025_16_28_46_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332430354","file1":"1332430348","file0":"1332430344","file4":"1332430359","file5":"1332430362","file3":"1332430357"},"map_files_photo_id_array":[{"photo_id":"1332430362","filename":"file5"},{"photo_id":"1332430354","filename":"file2"},{"photo_id":"1332430359","filename":"file4"},{"photo_id":"1332430348","filename":"file1"},{"photo_id":"1332430344","filename":"file0"},{"photo_id":"1332430357","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332430357":["hashtag1","hashtag2"]},{"1332430354":["hashtag1","hashtag2"]},{"1332430348":["hashtag1","hashtag2"]},{"1332430362":["hashtag1","hashtag2"]},{"1332430359":["hashtag1","hashtag2"]},{"1332430344":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332430357, 1332430354, 1332430348, 1332430362, 1332430359, 1332430344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73415780067444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:25:32.855447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/29/image_28012025_16_29_46_10490.jpg', '/home/pi/Desktop/images/28012025/16/29/image_28012025_16_29_56_9356.jpg', '/home/pi/Desktop/images/28012025/16/29/image_28012025_16_30_06_10330.jpg', '/home/pi/Desktop/images/28012025/16/30/image_28012025_16_30_16_10333.jpg', '/home/pi/Desktop/images/28012025/16/30/image_28012025_16_30_26_9369.jpg', '/home/pi/Desktop/images/28012025/16/30/image_28012025_16_30_36_10486.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/29/image_28012025_16_29_46_10490.jpg
/home/pi/Desktop/images/28012025/16/29/image_28012025_16_29_56_9356.jpg
/home/pi/Desktop/images/28012025/16/29/image_28012025_16_30_06_10330.jpg
/home/pi/Desktop/images/28012025/16/30/image_28012025_16_30_16_10333.jpg
/home/pi/Desktop/images/28012025/16/30/image_28012025_16_30_26_9369.jpg
/home/pi/Desktop/images/28012025/16/30/image_28012025_16_30_36_10486.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332430391","1332430385","1332430388","1332430393","1332430380","1332430383"],"photo_ids_order":["1332430380","1332430383","1332430385","1332430388","1332430391","1332430393"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f7bd3b9a0b38f0fca170b4ab319eded1.jpg","text":"TemporaryFile(/tmp/multipartBody5963204096189293052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099593838,"filename":"image_28012025_16_30_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/1/28/f812fd9f38daf2b226f70c92b0b8a91c.jpg","text":"TemporaryFile(/tmp/multipartBody705972301119859751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099593838,"filename":"image_28012025_16_30_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/1/28/5b8e8765122bfc73fdfa8d84f5ddcef7.jpg","text":"TemporaryFile(/tmp/multipartBody3870701172873009712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099593838,"filename":"image_28012025_16_30_16_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7db8544dbdef378fbc82272324925922.jpg","text":"TemporaryFile(/tmp/multipartBody6229527650213423472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099593838,"filename":"image_28012025_16_30_36_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4e04450bfae30a2d70e9c770335b6989.jpg","text":"TemporaryFile(/tmp/multipartBody4840823166939138227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099593838,"filename":"image_28012025_16_29_46_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cbfdf43c4107d35f9e2f606f827dae64.jpg","text":"TemporaryFile(/tmp/multipartBody886633671551158810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099593838,"filename":"image_28012025_16_29_56_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332430385","file1":"1332430383","file0":"1332430380","file4":"1332430391","file5":"1332430393","file3":"1332430388"},"map_files_photo_id_array":[{"photo_id":"1332430393","filename":"file5"},{"photo_id":"1332430385","filename":"file2"},{"photo_id":"1332430391","filename":"file4"},{"photo_id":"1332430383","filename":"file1"},{"photo_id":"1332430380","filename":"file0"},{"photo_id":"1332430388","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332430391":["hashtag1","hashtag2"]},{"1332430385":["hashtag1","hashtag2"]},{"1332430388":["hashtag1","hashtag2"]},{"1332430393":["hashtag1","hashtag2"]},{"1332430380":["hashtag1","hashtag2"]},{"1332430383":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332430391, 1332430385, 1332430388, 1332430393, 1332430380, 1332430383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.78308892250061 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:26:33.028701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/30/image_28012025_16_30_46_9369.jpg', '/home/pi/Desktop/images/28012025/16/30/image_28012025_16_30_56_10346.jpg', '/home/pi/Desktop/images/28012025/16/30/image_28012025_16_31_06_10326.jpg', '/home/pi/Desktop/images/28012025/16/31/image_28012025_16_31_16_9335.jpg', '/home/pi/Desktop/images/28012025/16/31/image_28012025_16_31_26_10401.jpg', '/home/pi/Desktop/images/28012025/16/31/image_28012025_16_31_36_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/30/image_28012025_16_30_46_9369.jpg
/home/pi/Desktop/images/28012025/16/30/image_28012025_16_30_56_10346.jpg
/home/pi/Desktop/images/28012025/16/30/image_28012025_16_31_06_10326.jpg
/home/pi/Desktop/images/28012025/16/31/image_28012025_16_31_16_9335.jpg
/home/pi/Desktop/images/28012025/16/31/image_28012025_16_31_26_10401.jpg
/home/pi/Desktop/images/28012025/16/31/image_28012025_16_31_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":["1332430429","1332430423","1332430417","1332430443","1332430437","1332430446"],"photo_ids_order":["1332430417","1332430423","1332430429","1332430437","1332430443","1332430446"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cd55767e53ae1994700e3c9acca0fd16.jpg","text":"TemporaryFile(/tmp/multipartBody4731624839884061373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099653994,"filename":"image_28012025_16_31_06_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/70fa01f6a6c4f800fe862a610d6c856c.jpg","text":"TemporaryFile(/tmp/multipartBody3561034594245240287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099653994,"filename":"image_28012025_16_30_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/1/28/ad8005c838b836c5db6cb6b6320bc60a.jpg","text":"TemporaryFile(/tmp/multipartBody8303703060611588104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099653994,"filename":"image_28012025_16_30_46_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ffd467de1830b3ebea71504ab4e859d3.jpg","text":"TemporaryFile(/tmp/multipartBody7787496630722825785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099653994,"filename":"image_28012025_16_31_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/1/28/9660f012f5733349735c7e2966e55dad.jpg","text":"TemporaryFile(/tmp/multipartBody9153353838554175909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099653994,"filename":"image_28012025_16_31_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/1/28/f1a752ea0bee67851f6f1bb93a1d79d6.jpg","text":"TemporaryFile(/tmp/multipartBody2364150992281709225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099653994,"filename":"image_28012025_16_31_36_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332430429","file1":"1332430423","file0":"1332430417","file4":"1332430443","file5":"1332430446","file3":"1332430437"},"map_files_photo_id_array":[{"photo_id":"1332430446","filename":"file5"},{"photo_id":"1332430429","filename":"file2"},{"photo_id":"1332430443","filename":"file4"},{"photo_id":"1332430423","filename":"file1"},{"photo_id":"1332430417","filename":"file0"},{"photo_id":"1332430437","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332430429":["hashtag1","hashtag2"]},{"1332430423":["hashtag1","hashtag2"]},{"1332430417":["hashtag1","hashtag2"]},{"1332430443":["hashtag1","hashtag2"]},{"1332430437":["hashtag1","hashtag2"]},{"1332430446":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332430429, 1332430423, 1332430417, 1332430443, 1332430437, 1332430446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.70482349395752 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:27:32.190966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/31/image_28012025_16_31_46_9357.jpg', '/home/pi/Desktop/images/28012025/16/32/image_28012025_16_32_16_9344.jpg', '/home/pi/Desktop/images/28012025/16/32/image_28012025_16_32_36_9426.jpg', '/home/pi/Desktop/images/28012025/16/33/image_28012025_16_33_46_10454.jpg', '/home/pi/Desktop/images/28012025/16/33/image_28012025_16_33_56_9350.jpg', '/home/pi/Desktop/images/28012025/16/34/image_28012025_16_34_47_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/31/image_28012025_16_31_46_9357.jpg
/home/pi/Desktop/images/28012025/16/32/image_28012025_16_32_16_9344.jpg
/home/pi/Desktop/images/28012025/16/32/image_28012025_16_32_36_9426.jpg
/home/pi/Desktop/images/28012025/16/33/image_28012025_16_33_46_10454.jpg
/home/pi/Desktop/images/28012025/16/33/image_28012025_16_33_56_9350.jpg
/home/pi/Desktop/images/28012025/16/34/image_28012025_16_34_47_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":["1332430478","1332430483","1332430525","1332430473","1332430467","1332430530"],"photo_ids_order":["1332430467","1332430473","1332430478","1332430483","1332430525","1332430530"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/24808cda339d2ed639d5afd591199f69.jpg","text":"TemporaryFile(/tmp/multipartBody2924406532006715984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099713154,"filename":"image_28012025_16_32_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/1/28/f2d9de81cb8a2640de7931438d978ab5.jpg","text":"TemporaryFile(/tmp/multipartBody8120123719671955544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099713154,"filename":"image_28012025_16_33_46_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/afb9e6c536f4cc0d1449abea2186e39b.jpg","text":"TemporaryFile(/tmp/multipartBody2553268787058122595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099713154,"filename":"image_28012025_16_33_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/1/28/aea5bf46869f7e7005d3aff3a8931acd.jpg","text":"TemporaryFile(/tmp/multipartBody7438183726782430975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099713154,"filename":"image_28012025_16_32_16_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6c2f4aee01c87cea6fc745a2c9976a23.jpg","text":"TemporaryFile(/tmp/multipartBody4853749345777601304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099713154,"filename":"image_28012025_16_31_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/1/28/20b9a5431a4eb391e661ff231d980f3f.jpg","text":"TemporaryFile(/tmp/multipartBody3301804389312427350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099713154,"filename":"image_28012025_16_34_47_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332430478","file1":"1332430473","file0":"1332430467","file4":"1332430525","file5":"1332430530","file3":"1332430483"},"map_files_photo_id_array":[{"photo_id":"1332430530","filename":"file5"},{"photo_id":"1332430478","filename":"file2"},{"photo_id":"1332430525","filename":"file4"},{"photo_id":"1332430473","filename":"file1"},{"photo_id":"1332430467","filename":"file0"},{"photo_id":"1332430483","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332430478":["hashtag1","hashtag2"]},{"1332430483":["hashtag1","hashtag2"]},{"1332430525":["hashtag1","hashtag2"]},{"1332430473":["hashtag1","hashtag2"]},{"1332430467":["hashtag1","hashtag2"]},{"1332430530":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332430478, 1332430483, 1332430525, 1332430473, 1332430467, 1332430530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.94096112251282 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:28:32.378372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/34/image_28012025_16_34_56_9361.jpg', '/home/pi/Desktop/images/28012025/16/34/image_28012025_16_35_06_10325.jpg', '/home/pi/Desktop/images/28012025/16/35/image_28012025_16_35_17_10327.jpg', '/home/pi/Desktop/images/28012025/16/35/image_28012025_16_35_26_9438.jpg', '/home/pi/Desktop/images/28012025/16/35/image_28012025_16_35_36_10347.jpg', '/home/pi/Desktop/images/28012025/16/35/image_28012025_16_35_46_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/34/image_28012025_16_34_56_9361.jpg
/home/pi/Desktop/images/28012025/16/34/image_28012025_16_35_06_10325.jpg
/home/pi/Desktop/images/28012025/16/35/image_28012025_16_35_17_10327.jpg
/home/pi/Desktop/images/28012025/16/35/image_28012025_16_35_26_9438.jpg
/home/pi/Desktop/images/28012025/16/35/image_28012025_16_35_36_10347.jpg
/home/pi/Desktop/images/28012025/16/35/image_28012025_16_35_46_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332430550","1332430544","1332430555","1332430564","1332430569","1332430539"],"photo_ids_order":["1332430539","1332430544","1332430550","1332430555","1332430564","1332430569"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/713a2da6f80d1eabb42ca0b1da613a61.jpg","text":"TemporaryFile(/tmp/multipartBody9176393053652272091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099773353,"filename":"image_28012025_16_35_17_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0c77170cfd25ebef2736d18c749c8a4c.jpg","text":"TemporaryFile(/tmp/multipartBody4137488995717806227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099773353,"filename":"image_28012025_16_35_06_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/99c9767bbf0ddb0b22445bef859cdece.jpg","text":"TemporaryFile(/tmp/multipartBody2874059519808257038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099773353,"filename":"image_28012025_16_35_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/1/28/9d2dcb80f735abf1d4c9e893ac92e7c0.jpg","text":"TemporaryFile(/tmp/multipartBody6130860073051215076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099773353,"filename":"image_28012025_16_35_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/1/28/ac15f240e7b5cb88399bece717312e35.jpg","text":"TemporaryFile(/tmp/multipartBody4186102828478791764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099773353,"filename":"image_28012025_16_35_46_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c33bb73ce4af7876733456dcd42577fc.jpg","text":"TemporaryFile(/tmp/multipartBody1658493911927919009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099773353,"filename":"image_28012025_16_34_56_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332430550","file1":"1332430544","file0":"1332430539","file4":"1332430564","file5":"1332430569","file3":"1332430555"},"map_files_photo_id_array":[{"photo_id":"1332430569","filename":"file5"},{"photo_id":"1332430550","filename":"file2"},{"photo_id":"1332430564","filename":"file4"},{"photo_id":"1332430544","filename":"file1"},{"photo_id":"1332430539","filename":"file0"},{"photo_id":"1332430555","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332430550":["hashtag1","hashtag2"]},{"1332430544":["hashtag1","hashtag2"]},{"1332430555":["hashtag1","hashtag2"]},{"1332430564":["hashtag1","hashtag2"]},{"1332430569":["hashtag1","hashtag2"]},{"1332430539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332430550, 1332430544, 1332430555, 1332430564, 1332430569, 1332430539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.7970986366272 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:29:32.708832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/36/image_28012025_16_36_16_9328.jpg', '/home/pi/Desktop/images/28012025/16/36/image_28012025_16_36_26_10501.jpg', '/home/pi/Desktop/images/28012025/16/36/image_28012025_16_36_36_9406.jpg', '/home/pi/Desktop/images/28012025/16/36/image_28012025_16_36_46_10352.jpg', '/home/pi/Desktop/images/28012025/16/36/image_28012025_16_36_56_10340.jpg', '/home/pi/Desktop/images/28012025/16/36/image_28012025_16_37_06_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/36/image_28012025_16_36_16_9328.jpg
/home/pi/Desktop/images/28012025/16/36/image_28012025_16_36_26_10501.jpg
/home/pi/Desktop/images/28012025/16/36/image_28012025_16_36_36_9406.jpg
/home/pi/Desktop/images/28012025/16/36/image_28012025_16_36_46_10352.jpg
/home/pi/Desktop/images/28012025/16/36/image_28012025_16_36_56_10340.jpg
/home/pi/Desktop/images/28012025/16/36/image_28012025_16_37_06_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332430871","1332431104","1332430989","1332430752","1332431264","1332430632"],"photo_ids_order":["1332430632","1332430752","1332430871","1332430989","1332431104","1332431264"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/35709b48bf6001e403675cbea18d58ca.jpg","text":"TemporaryFile(/tmp/multipartBody5760512420601798251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099833667,"filename":"image_28012025_16_36_36_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2bcd6bcfac53fc2e13de2df5ab07f1aa.jpg","text":"TemporaryFile(/tmp/multipartBody2430013346139797494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099833667,"filename":"image_28012025_16_36_56_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/59bf51892f232b6318b85921edf40f02.jpg","text":"TemporaryFile(/tmp/multipartBody5171527986381887507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099833667,"filename":"image_28012025_16_36_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/1/28/2616418b382775e8194c9658b52a16d7.jpg","text":"TemporaryFile(/tmp/multipartBody7917503938163826024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099833667,"filename":"image_28012025_16_36_26_10501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c27ece159d24ccab3b5e81db02cb8048.jpg","text":"TemporaryFile(/tmp/multipartBody6521339440907759887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099833667,"filename":"image_28012025_16_37_06_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6819e49e1f0df992227761130e36430e.jpg","text":"TemporaryFile(/tmp/multipartBody4814442872991812962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099833667,"filename":"image_28012025_16_36_16_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332430871","file1":"1332430752","file0":"1332430632","file4":"1332431104","file5":"1332431264","file3":"1332430989"},"map_files_photo_id_array":[{"photo_id":"1332431264","filename":"file5"},{"photo_id":"1332430871","filename":"file2"},{"photo_id":"1332431104","filename":"file4"},{"photo_id":"1332430752","filename":"file1"},{"photo_id":"1332430632","filename":"file0"},{"photo_id":"1332430989","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332430871":["hashtag1","hashtag2"]},{"1332431104":["hashtag1","hashtag2"]},{"1332430989":["hashtag1","hashtag2"]},{"1332430752":["hashtag1","hashtag2"]},{"1332431264":["hashtag1","hashtag2"]},{"1332430632":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332430871, 1332431104, 1332430989, 1332430752, 1332431264, 1332430632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.73063564300537 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:30:32.836228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/37/image_28012025_16_37_16_10318.jpg', '/home/pi/Desktop/images/28012025/16/37/image_28012025_16_37_36_9348.jpg', '/home/pi/Desktop/images/28012025/16/37/image_28012025_16_37_46_10423.jpg', '/home/pi/Desktop/images/28012025/16/37/image_28012025_16_37_57_10331.jpg', '/home/pi/Desktop/images/28012025/16/37/image_28012025_16_38_06_9405.jpg', '/home/pi/Desktop/images/28012025/16/38/image_28012025_16_38_16_10392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/37/image_28012025_16_37_16_10318.jpg
/home/pi/Desktop/images/28012025/16/37/image_28012025_16_37_36_9348.jpg
/home/pi/Desktop/images/28012025/16/37/image_28012025_16_37_46_10423.jpg
/home/pi/Desktop/images/28012025/16/37/image_28012025_16_37_57_10331.jpg
/home/pi/Desktop/images/28012025/16/37/image_28012025_16_38_06_9405.jpg
/home/pi/Desktop/images/28012025/16/38/image_28012025_16_38_16_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":["1332431970","1332431739","1332431700","1332431696","1332431960","1332431840"],"photo_ids_order":["1332431696","1332431700","1332431739","1332431840","1332431960","1332431970"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1daf42e7f45557e46e2e6cb23a402b9a.jpg","text":"TemporaryFile(/tmp/multipartBody6756440872964636818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099893791,"filename":"image_28012025_16_38_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/1/28/9acb87a08f1da724dbaa0b98019f53cc.jpg","text":"TemporaryFile(/tmp/multipartBody7108690945300117122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099893791,"filename":"image_28012025_16_37_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/1/28/a694e88fee14928a95dbf0534defc20d.jpg","text":"TemporaryFile(/tmp/multipartBody6068221365121294067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099893791,"filename":"image_28012025_16_37_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/1/28/39f940cd12545076136a84250a5459ba.jpg","text":"TemporaryFile(/tmp/multipartBody8005967759972144402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099893791,"filename":"image_28012025_16_37_16_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0a6a02a3d93bfd27da4b113fbe140eb1.jpg","text":"TemporaryFile(/tmp/multipartBody5013104895231128857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099893791,"filename":"image_28012025_16_38_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/1/28/41ed53f80c1a58ebaa42c4154cebd7c6.jpg","text":"TemporaryFile(/tmp/multipartBody7405390183470622178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099893791,"filename":"image_28012025_16_37_57_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332431739","file1":"1332431700","file0":"1332431696","file4":"1332431960","file5":"1332431970","file3":"1332431840"},"map_files_photo_id_array":[{"photo_id":"1332431970","filename":"file5"},{"photo_id":"1332431739","filename":"file2"},{"photo_id":"1332431960","filename":"file4"},{"photo_id":"1332431700","filename":"file1"},{"photo_id":"1332431696","filename":"file0"},{"photo_id":"1332431840","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332431970":["hashtag1","hashtag2"]},{"1332431739":["hashtag1","hashtag2"]},{"1332431700":["hashtag1","hashtag2"]},{"1332431696":["hashtag1","hashtag2"]},{"1332431960":["hashtag1","hashtag2"]},{"1332431840":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332431970, 1332431739, 1332431700, 1332431696, 1332431960, 1332431840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.66623568534851 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:31:33.023736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/38/image_28012025_16_38_26_9345.jpg', '/home/pi/Desktop/images/28012025/16/38/image_28012025_16_38_36_10469.jpg', '/home/pi/Desktop/images/28012025/16/38/image_28012025_16_38_47_10334.jpg', '/home/pi/Desktop/images/28012025/16/38/image_28012025_16_38_56_9335.jpg', '/home/pi/Desktop/images/28012025/16/38/image_28012025_16_39_06_10367.jpg', '/home/pi/Desktop/images/28012025/16/39/image_28012025_16_39_17_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/38/image_28012025_16_38_26_9345.jpg
/home/pi/Desktop/images/28012025/16/38/image_28012025_16_38_36_10469.jpg
/home/pi/Desktop/images/28012025/16/38/image_28012025_16_38_47_10334.jpg
/home/pi/Desktop/images/28012025/16/38/image_28012025_16_38_56_9335.jpg
/home/pi/Desktop/images/28012025/16/38/image_28012025_16_39_06_10367.jpg
/home/pi/Desktop/images/28012025/16/39/image_28012025_16_39_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":["1332432253","1332432145","1332432214","1332432159","1332432155","1332432149"],"photo_ids_order":["1332432145","1332432149","1332432155","1332432159","1332432214","1332432253"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/589e5ed3045644e62a260b94bdd471ad.jpg","text":"TemporaryFile(/tmp/multipartBody4702217185064397390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099953979,"filename":"image_28012025_16_39_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/1/28/3f1f60498059a0d163953eef44f9c9fb.jpg","text":"TemporaryFile(/tmp/multipartBody6937172808043173698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099953979,"filename":"image_28012025_16_38_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/1/28/40c98ab35bb5f5efd43f385a10baa145.jpg","text":"TemporaryFile(/tmp/multipartBody8305658317382204219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099953979,"filename":"image_28012025_16_39_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/1/28/855243189935109bed2219b4f0cd10db.jpg","text":"TemporaryFile(/tmp/multipartBody3892436629433973097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099953979,"filename":"image_28012025_16_38_56_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8b95f309e1bd0c47b1d0840691d58442.jpg","text":"TemporaryFile(/tmp/multipartBody6814778930531098344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099953979,"filename":"image_28012025_16_38_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/1/28/2d097828122a0032823a344d8d8fbd77.jpg","text":"TemporaryFile(/tmp/multipartBody7165922863302544454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738099953979,"filename":"image_28012025_16_38_36_10469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332432155","file1":"1332432149","file0":"1332432145","file4":"1332432214","file5":"1332432253","file3":"1332432159"},"map_files_photo_id_array":[{"photo_id":"1332432253","filename":"file5"},{"photo_id":"1332432155","filename":"file2"},{"photo_id":"1332432214","filename":"file4"},{"photo_id":"1332432149","filename":"file1"},{"photo_id":"1332432145","filename":"file0"},{"photo_id":"1332432159","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332432253":["hashtag1","hashtag2"]},{"1332432145":["hashtag1","hashtag2"]},{"1332432214":["hashtag1","hashtag2"]},{"1332432159":["hashtag1","hashtag2"]},{"1332432155":["hashtag1","hashtag2"]},{"1332432149":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332432253, 1332432145, 1332432214, 1332432159, 1332432155, 1332432149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.6484317779541 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:32:32.251813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/39/image_28012025_16_39_26_9333.jpg', '/home/pi/Desktop/images/28012025/16/39/image_28012025_16_39_36_10453.jpg', '/home/pi/Desktop/images/28012025/16/39/image_28012025_16_39_46_9426.jpg', '/home/pi/Desktop/images/28012025/16/39/image_28012025_16_39_56_10500.jpg', '/home/pi/Desktop/images/28012025/16/39/image_28012025_16_40_07_10344.jpg', '/home/pi/Desktop/images/28012025/16/40/image_28012025_16_40_16_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/39/image_28012025_16_39_26_9333.jpg
/home/pi/Desktop/images/28012025/16/39/image_28012025_16_39_36_10453.jpg
/home/pi/Desktop/images/28012025/16/39/image_28012025_16_39_46_9426.jpg
/home/pi/Desktop/images/28012025/16/39/image_28012025_16_39_56_10500.jpg
/home/pi/Desktop/images/28012025/16/39/image_28012025_16_40_07_10344.jpg
/home/pi/Desktop/images/28012025/16/40/image_28012025_16_40_16_9332.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5583927631378174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 22:32:42.193307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/39/image_28012025_16_39_26_9333.jpg', '/home/pi/Desktop/images/28012025/16/39/image_28012025_16_39_36_10453.jpg', '/home/pi/Desktop/images/28012025/16/39/image_28012025_16_39_46_9426.jpg', '/home/pi/Desktop/images/28012025/16/39/image_28012025_16_39_56_10500.jpg', '/home/pi/Desktop/images/28012025/16/39/image_28012025_16_40_07_10344.jpg', '/home/pi/Desktop/images/28012025/16/40/image_28012025_16_40_16_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/39/image_28012025_16_39_26_9333.jpg
/home/pi/Desktop/images/28012025/16/39/image_28012025_16_39_36_10453.jpg
/home/pi/Desktop/images/28012025/16/39/image_28012025_16_39_46_9426.jpg
/home/pi/Desktop/images/28012025/16/39/image_28012025_16_39_56_10500.jpg
/home/pi/Desktop/images/28012025/16/39/image_28012025_16_40_07_10344.jpg
/home/pi/Desktop/images/28012025/16/40/image_28012025_16_40_16_9332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332432412","1332432513","1332432392","1332432557","1332432397","1332432382"],"photo_ids_order":["1332432382","1332432392","1332432397","1332432412","1332432513","1332432557"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a5866b647b833fb117155d36af425f64.jpg","text":"TemporaryFile(/tmp/multipartBody1215329865358247421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100023075,"filename":"image_28012025_16_39_56_10500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1290e018f768fb612cb1e630d4919f2e.jpg","text":"TemporaryFile(/tmp/multipartBody8827549767731662567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100023075,"filename":"image_28012025_16_40_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/1/28/858035109f6722b9673dcfeeccafade9.jpg","text":"TemporaryFile(/tmp/multipartBody2505188724865841238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100023075,"filename":"image_28012025_16_39_36_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1ce0a7b63a907bf9253c408cc3c3062a.jpg","text":"TemporaryFile(/tmp/multipartBody7560483768752689398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100023075,"filename":"image_28012025_16_40_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/1/28/4e1022c40f4cc2c8f14fc2b52a65ba19.jpg","text":"TemporaryFile(/tmp/multipartBody8706337595651539065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100023075,"filename":"image_28012025_16_39_46_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f4bbb37dc7583948c374ccf38bd82034.jpg","text":"TemporaryFile(/tmp/multipartBody1166049002721737514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100023075,"filename":"image_28012025_16_39_26_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332432397","file1":"1332432392","file0":"1332432382","file4":"1332432513","file5":"1332432557","file3":"1332432412"},"map_files_photo_id_array":[{"photo_id":"1332432557","filename":"file5"},{"photo_id":"1332432397","filename":"file2"},{"photo_id":"1332432513","filename":"file4"},{"photo_id":"1332432392","filename":"file1"},{"photo_id":"1332432382","filename":"file0"},{"photo_id":"1332432412","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332432412":["hashtag1","hashtag2"]},{"1332432513":["hashtag1","hashtag2"]},{"1332432392":["hashtag1","hashtag2"]},{"1332432557":["hashtag1","hashtag2"]},{"1332432397":["hashtag1","hashtag2"]},{"1332432382":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332432412, 1332432513, 1332432392, 1332432557, 1332432397, 1332432382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17781138420105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:33:32.547539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/40/image_28012025_16_40_46_10337.jpg', '/home/pi/Desktop/images/28012025/16/40/image_28012025_16_40_56_10372.jpg', '/home/pi/Desktop/images/28012025/16/40/image_28012025_16_41_06_9359.jpg', '/home/pi/Desktop/images/28012025/16/41/image_28012025_16_41_16_10409.jpg', '/home/pi/Desktop/images/28012025/16/41/image_28012025_16_41_27_10332.jpg', '/home/pi/Desktop/images/28012025/16/41/image_28012025_16_41_46_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/40/image_28012025_16_40_46_10337.jpg
/home/pi/Desktop/images/28012025/16/40/image_28012025_16_40_56_10372.jpg
/home/pi/Desktop/images/28012025/16/40/image_28012025_16_41_06_9359.jpg
/home/pi/Desktop/images/28012025/16/41/image_28012025_16_41_16_10409.jpg
/home/pi/Desktop/images/28012025/16/41/image_28012025_16_41_27_10332.jpg
/home/pi/Desktop/images/28012025/16/41/image_28012025_16_41_46_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5655877590179443 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 22:33:42.547857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/40/image_28012025_16_40_46_10337.jpg', '/home/pi/Desktop/images/28012025/16/40/image_28012025_16_40_56_10372.jpg', '/home/pi/Desktop/images/28012025/16/40/image_28012025_16_41_06_9359.jpg', '/home/pi/Desktop/images/28012025/16/41/image_28012025_16_41_16_10409.jpg', '/home/pi/Desktop/images/28012025/16/41/image_28012025_16_41_27_10332.jpg', '/home/pi/Desktop/images/28012025/16/41/image_28012025_16_41_46_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/40/image_28012025_16_40_46_10337.jpg
/home/pi/Desktop/images/28012025/16/40/image_28012025_16_40_56_10372.jpg
/home/pi/Desktop/images/28012025/16/40/image_28012025_16_41_06_9359.jpg
/home/pi/Desktop/images/28012025/16/41/image_28012025_16_41_16_10409.jpg
/home/pi/Desktop/images/28012025/16/41/image_28012025_16_41_27_10332.jpg
/home/pi/Desktop/images/28012025/16/41/image_28012025_16_41_46_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":["1332432707","1332432699","1332432735","1332432695","1332432713","1332432719"],"photo_ids_order":["1332432695","1332432699","1332432707","1332432713","1332432719","1332432735"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2c40bace014e2ddfc79712f498b23763.jpg","text":"TemporaryFile(/tmp/multipartBody9139625121645192347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100083446,"filename":"image_28012025_16_41_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/1/28/b955aac0f770bd32d68d2b3d8b0cff4c.jpg","text":"TemporaryFile(/tmp/multipartBody7563563944713612496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100083446,"filename":"image_28012025_16_40_56_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/04c2b276731428be86e52f9e86435a7d.jpg","text":"TemporaryFile(/tmp/multipartBody91607162966466179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100083446,"filename":"image_28012025_16_41_46_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4c41e12236f6974996f289275ef81488.jpg","text":"TemporaryFile(/tmp/multipartBody662167602528488132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100083446,"filename":"image_28012025_16_40_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/1/28/2411b99b78e58984f48ee477c9943225.jpg","text":"TemporaryFile(/tmp/multipartBody6640689240119874290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100083446,"filename":"image_28012025_16_41_16_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/99751652abdc62b17a10084ea98ed7bb.jpg","text":"TemporaryFile(/tmp/multipartBody110931741357849781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100083446,"filename":"image_28012025_16_41_27_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332432707","file1":"1332432699","file0":"1332432695","file4":"1332432719","file5":"1332432735","file3":"1332432713"},"map_files_photo_id_array":[{"photo_id":"1332432735","filename":"file5"},{"photo_id":"1332432707","filename":"file2"},{"photo_id":"1332432719","filename":"file4"},{"photo_id":"1332432699","filename":"file1"},{"photo_id":"1332432695","filename":"file0"},{"photo_id":"1332432713","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332432707":["hashtag1","hashtag2"]},{"1332432699":["hashtag1","hashtag2"]},{"1332432735":["hashtag1","hashtag2"]},{"1332432695":["hashtag1","hashtag2"]},{"1332432713":["hashtag1","hashtag2"]},{"1332432719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332432707, 1332432699, 1332432735, 1332432695, 1332432713, 1332432719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.299354791641235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:34:32.666052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/41/image_28012025_16_41_56_9341.jpg', '/home/pi/Desktop/images/28012025/16/41/image_28012025_16_42_06_10330.jpg', '/home/pi/Desktop/images/28012025/16/42/image_28012025_16_42_16_10408.jpg', '/home/pi/Desktop/images/28012025/16/42/image_28012025_16_42_26_9329.jpg', '/home/pi/Desktop/images/28012025/16/42/image_28012025_16_42_36_10354.jpg', '/home/pi/Desktop/images/28012025/16/42/image_28012025_16_42_46_10408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/41/image_28012025_16_41_56_9341.jpg
/home/pi/Desktop/images/28012025/16/41/image_28012025_16_42_06_10330.jpg
/home/pi/Desktop/images/28012025/16/42/image_28012025_16_42_16_10408.jpg
/home/pi/Desktop/images/28012025/16/42/image_28012025_16_42_26_9329.jpg
/home/pi/Desktop/images/28012025/16/42/image_28012025_16_42_36_10354.jpg
/home/pi/Desktop/images/28012025/16/42/image_28012025_16_42_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":["1332432988","1332432973","1332433144","1332433018","1332433105","1332433100"],"photo_ids_order":["1332432973","1332432988","1332433018","1332433100","1332433105","1332433144"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d2b5f61b89885cc9543565baaf16ab78.jpg","text":"TemporaryFile(/tmp/multipartBody1965042990307634010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100133628,"filename":"image_28012025_16_42_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/1/28/c52ec3b3eada895c7276aae1945b89aa.jpg","text":"TemporaryFile(/tmp/multipartBody5417035804820321379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100133628,"filename":"image_28012025_16_41_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/1/28/1ca5ff2b12e00ee6ce1a545c50f379c3.jpg","text":"TemporaryFile(/tmp/multipartBody6135063491980089029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100133628,"filename":"image_28012025_16_42_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/1/28/78da967a74bbc93e642fd3bff6510977.jpg","text":"TemporaryFile(/tmp/multipartBody2902968469936108793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100133628,"filename":"image_28012025_16_42_16_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f489b520348712d59ed26aa492c53dc9.jpg","text":"TemporaryFile(/tmp/multipartBody2457462159910378983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100133628,"filename":"image_28012025_16_42_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/1/28/0dcb53e38a1140330f03966ac395b870.jpg","text":"TemporaryFile(/tmp/multipartBody1657263909894008271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100133628,"filename":"image_28012025_16_42_26_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332433018","file1":"1332432988","file0":"1332432973","file4":"1332433105","file5":"1332433144","file3":"1332433100"},"map_files_photo_id_array":[{"photo_id":"1332433144","filename":"file5"},{"photo_id":"1332433018","filename":"file2"},{"photo_id":"1332433105","filename":"file4"},{"photo_id":"1332432988","filename":"file1"},{"photo_id":"1332432973","filename":"file0"},{"photo_id":"1332433100","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332432988":["hashtag1","hashtag2"]},{"1332432973":["hashtag1","hashtag2"]},{"1332433144":["hashtag1","hashtag2"]},{"1332433018":["hashtag1","hashtag2"]},{"1332433105":["hashtag1","hashtag2"]},{"1332433100":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332432988, 1332432973, 1332433144, 1332433018, 1332433105, 1332433100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.52827525138855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:35:33.043358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/42/image_28012025_16_42_56_9342.jpg', '/home/pi/Desktop/images/28012025/16/42/image_28012025_16_43_06_10428.jpg', '/home/pi/Desktop/images/28012025/16/43/image_28012025_16_43_26_9331.jpg', '/home/pi/Desktop/images/28012025/16/43/image_28012025_16_43_36_10336.jpg', '/home/pi/Desktop/images/28012025/16/43/image_28012025_16_43_47_10350.jpg', '/home/pi/Desktop/images/28012025/16/43/image_28012025_16_43_56_9322.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/42/image_28012025_16_42_56_9342.jpg
/home/pi/Desktop/images/28012025/16/42/image_28012025_16_43_06_10428.jpg
/home/pi/Desktop/images/28012025/16/43/image_28012025_16_43_26_9331.jpg
/home/pi/Desktop/images/28012025/16/43/image_28012025_16_43_36_10336.jpg
/home/pi/Desktop/images/28012025/16/43/image_28012025_16_43_47_10350.jpg
/home/pi/Desktop/images/28012025/16/43/image_28012025_16_43_56_9322.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332433287","1332433290","1332433443","1332433295","1332433343","1332433297"],"photo_ids_order":["1332433287","1332433290","1332433295","1332433297","1332433343","1332433443"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f34e72f4eca909d820543316147f29e5.jpg","text":"TemporaryFile(/tmp/multipartBody4806531005628005147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100194014,"filename":"image_28012025_16_42_56_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0071ae5b22e80f9637c3930209f0adad.jpg","text":"TemporaryFile(/tmp/multipartBody4376596073046288646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100194014,"filename":"image_28012025_16_43_06_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e6ac4c0006764b588798f7c8814ba290.jpg","text":"TemporaryFile(/tmp/multipartBody2035553853457537757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100194014,"filename":"image_28012025_16_43_56_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dbdad340bd14e151f8e7494a8329af28.jpg","text":"TemporaryFile(/tmp/multipartBody3915805228821784941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100194014,"filename":"image_28012025_16_43_26_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ade18aaa917b1a607e2861c14f527565.jpg","text":"TemporaryFile(/tmp/multipartBody9017482652038705048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100194014,"filename":"image_28012025_16_43_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/1/28/8c34d42c2b78e3a9756be9d964ad0698.jpg","text":"TemporaryFile(/tmp/multipartBody4927165098715697716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100194014,"filename":"image_28012025_16_43_36_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332433295","file1":"1332433290","file0":"1332433287","file4":"1332433343","file5":"1332433443","file3":"1332433297"},"map_files_photo_id_array":[{"photo_id":"1332433443","filename":"file5"},{"photo_id":"1332433295","filename":"file2"},{"photo_id":"1332433343","filename":"file4"},{"photo_id":"1332433290","filename":"file1"},{"photo_id":"1332433287","filename":"file0"},{"photo_id":"1332433297","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332433287":["hashtag1","hashtag2"]},{"1332433290":["hashtag1","hashtag2"]},{"1332433443":["hashtag1","hashtag2"]},{"1332433295":["hashtag1","hashtag2"]},{"1332433343":["hashtag1","hashtag2"]},{"1332433297":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332433287, 1332433290, 1332433443, 1332433295, 1332433343, 1332433297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95602798461914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:36:32.359143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/43/image_28012025_16_44_06_10328.jpg', '/home/pi/Desktop/images/28012025/16/44/image_28012025_16_44_17_10322.jpg', '/home/pi/Desktop/images/28012025/16/44/image_28012025_16_44_26_9341.jpg', '/home/pi/Desktop/images/28012025/16/44/image_28012025_16_44_36_10344.jpg', '/home/pi/Desktop/images/28012025/16/44/image_28012025_16_44_47_10347.jpg', '/home/pi/Desktop/images/28012025/16/44/image_28012025_16_44_56_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/43/image_28012025_16_44_06_10328.jpg
/home/pi/Desktop/images/28012025/16/44/image_28012025_16_44_17_10322.jpg
/home/pi/Desktop/images/28012025/16/44/image_28012025_16_44_26_9341.jpg
/home/pi/Desktop/images/28012025/16/44/image_28012025_16_44_36_10344.jpg
/home/pi/Desktop/images/28012025/16/44/image_28012025_16_44_47_10347.jpg
/home/pi/Desktop/images/28012025/16/44/image_28012025_16_44_56_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332433633","1332433629","1332433638","1332433617","1332433642","1332433564"],"photo_ids_order":["1332433564","1332433617","1332433629","1332433633","1332433638","1332433642"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a467c74ea245c78b8b17cbec6bd41227.jpg","text":"TemporaryFile(/tmp/multipartBody7461657687403885788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100253323,"filename":"image_28012025_16_44_36_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9b00e135db42260e4755f19585406b37.jpg","text":"TemporaryFile(/tmp/multipartBody7144056324195984625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100253323,"filename":"image_28012025_16_44_26_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9380c65821bd2ae62b3a072ba05f2d69.jpg","text":"TemporaryFile(/tmp/multipartBody993372976912159705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100253323,"filename":"image_28012025_16_44_47_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/657c2d3755396845e6c3616bac633551.jpg","text":"TemporaryFile(/tmp/multipartBody9055071666240085436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100253323,"filename":"image_28012025_16_44_17_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/49b9aaf8c606efbbd82366e118dd18b7.jpg","text":"TemporaryFile(/tmp/multipartBody8837842710347284709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100253323,"filename":"image_28012025_16_44_56_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/685285aba0c2890725b5ffef7956cb21.jpg","text":"TemporaryFile(/tmp/multipartBody1267260369311344788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100253323,"filename":"image_28012025_16_44_06_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332433629","file1":"1332433617","file0":"1332433564","file4":"1332433638","file5":"1332433642","file3":"1332433633"},"map_files_photo_id_array":[{"photo_id":"1332433642","filename":"file5"},{"photo_id":"1332433629","filename":"file2"},{"photo_id":"1332433638","filename":"file4"},{"photo_id":"1332433617","filename":"file1"},{"photo_id":"1332433564","filename":"file0"},{"photo_id":"1332433633","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332433633":["hashtag1","hashtag2"]},{"1332433629":["hashtag1","hashtag2"]},{"1332433638":["hashtag1","hashtag2"]},{"1332433617":["hashtag1","hashtag2"]},{"1332433642":["hashtag1","hashtag2"]},{"1332433564":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332433633, 1332433629, 1332433638, 1332433617, 1332433642, 1332433564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.924041986465454 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:37:32.495856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/44/image_28012025_16_45_06_10406.jpg', '/home/pi/Desktop/images/28012025/16/45/image_28012025_16_45_16_9352.jpg', '/home/pi/Desktop/images/28012025/16/45/image_28012025_16_45_26_10327.jpg', '/home/pi/Desktop/images/28012025/16/45/image_28012025_16_45_36_10363.jpg', '/home/pi/Desktop/images/28012025/16/45/image_28012025_16_45_46_9336.jpg', '/home/pi/Desktop/images/28012025/16/45/image_28012025_16_45_56_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/44/image_28012025_16_45_06_10406.jpg
/home/pi/Desktop/images/28012025/16/45/image_28012025_16_45_16_9352.jpg
/home/pi/Desktop/images/28012025/16/45/image_28012025_16_45_26_10327.jpg
/home/pi/Desktop/images/28012025/16/45/image_28012025_16_45_36_10363.jpg
/home/pi/Desktop/images/28012025/16/45/image_28012025_16_45_46_9336.jpg
/home/pi/Desktop/images/28012025/16/45/image_28012025_16_45_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":["1332433923","1332433917","1332433922","1332433913","1332433894","1332433888"],"photo_ids_order":["1332433888","1332433894","1332433913","1332433917","1332433922","1332433923"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2500ad47f27b9d3d12afd62d4dff373a.jpg","text":"TemporaryFile(/tmp/multipartBody1981401538847196658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100313455,"filename":"image_28012025_16_45_56_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/76341b0f92a96b44cffcd71f5f655c36.jpg","text":"TemporaryFile(/tmp/multipartBody8284278918486056297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100313455,"filename":"image_28012025_16_45_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/1/28/46e7d9bd45ee3301502c097106f320d1.jpg","text":"TemporaryFile(/tmp/multipartBody7710590510288086576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100313455,"filename":"image_28012025_16_45_46_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/328f334e03e5fa6ed03c9b1618a4e10b.jpg","text":"TemporaryFile(/tmp/multipartBody1898398670468088596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100313455,"filename":"image_28012025_16_45_26_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9d76a97256c3b915b93351e76060a7cb.jpg","text":"TemporaryFile(/tmp/multipartBody5590975416663984887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100313455,"filename":"image_28012025_16_45_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/1/28/ce064769195cacd91d6dbb12ec809202.jpg","text":"TemporaryFile(/tmp/multipartBody7071206801007683480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100313455,"filename":"image_28012025_16_45_06_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332433913","file1":"1332433894","file0":"1332433888","file4":"1332433922","file5":"1332433923","file3":"1332433917"},"map_files_photo_id_array":[{"photo_id":"1332433923","filename":"file5"},{"photo_id":"1332433913","filename":"file2"},{"photo_id":"1332433922","filename":"file4"},{"photo_id":"1332433894","filename":"file1"},{"photo_id":"1332433888","filename":"file0"},{"photo_id":"1332433917","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332433923":["hashtag1","hashtag2"]},{"1332433917":["hashtag1","hashtag2"]},{"1332433922":["hashtag1","hashtag2"]},{"1332433913":["hashtag1","hashtag2"]},{"1332433894":["hashtag1","hashtag2"]},{"1332433888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332433923, 1332433917, 1332433922, 1332433913, 1332433894, 1332433888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56751203536987 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:38:32.742152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/45/image_28012025_16_46_06_10381.jpg', '/home/pi/Desktop/images/28012025/16/46/image_28012025_16_46_16_9359.jpg', '/home/pi/Desktop/images/28012025/16/46/image_28012025_16_46_26_10460.jpg', '/home/pi/Desktop/images/28012025/16/46/image_28012025_16_46_37_10343.jpg', '/home/pi/Desktop/images/28012025/16/46/image_28012025_16_46_46_9393.jpg', '/home/pi/Desktop/images/28012025/16/46/image_28012025_16_46_56_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/45/image_28012025_16_46_06_10381.jpg
/home/pi/Desktop/images/28012025/16/46/image_28012025_16_46_16_9359.jpg
/home/pi/Desktop/images/28012025/16/46/image_28012025_16_46_26_10460.jpg
/home/pi/Desktop/images/28012025/16/46/image_28012025_16_46_37_10343.jpg
/home/pi/Desktop/images/28012025/16/46/image_28012025_16_46_46_9393.jpg
/home/pi/Desktop/images/28012025/16/46/image_28012025_16_46_56_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":["1332434005","1332433992","1332434010","1332434044","1332434047","1332434014"],"photo_ids_order":["1332433992","1332434005","1332434010","1332434014","1332434044","1332434047"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d476574715b49809af52df7612bcafa6.jpg","text":"TemporaryFile(/tmp/multipartBody8778858648483752589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100373695,"filename":"image_28012025_16_46_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/1/28/ba13daad607a7f102290bd882d6bd1b3.jpg","text":"TemporaryFile(/tmp/multipartBody6962731375177185578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100373695,"filename":"image_28012025_16_46_06_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/942d31c93ce5b58c0c99e78b9d0ce5e5.jpg","text":"TemporaryFile(/tmp/multipartBody4606579489618786549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100373695,"filename":"image_28012025_16_46_26_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d6df847a2a28c1a4925ad05b9a1bccbc.jpg","text":"TemporaryFile(/tmp/multipartBody8338144426702360210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100373695,"filename":"image_28012025_16_46_46_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7b2b60cea8158fcc4c850962c74c0f72.jpg","text":"TemporaryFile(/tmp/multipartBody6994507358355011376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100373695,"filename":"image_28012025_16_46_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/1/28/e3cefbb636a41e4aeebdf7df1216e8f0.jpg","text":"TemporaryFile(/tmp/multipartBody7010941691809804873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100373695,"filename":"image_28012025_16_46_37_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332434010","file1":"1332434005","file0":"1332433992","file4":"1332434044","file5":"1332434047","file3":"1332434014"},"map_files_photo_id_array":[{"photo_id":"1332434047","filename":"file5"},{"photo_id":"1332434010","filename":"file2"},{"photo_id":"1332434044","filename":"file4"},{"photo_id":"1332434005","filename":"file1"},{"photo_id":"1332433992","filename":"file0"},{"photo_id":"1332434014","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332434005":["hashtag1","hashtag2"]},{"1332433992":["hashtag1","hashtag2"]},{"1332434010":["hashtag1","hashtag2"]},{"1332434044":["hashtag1","hashtag2"]},{"1332434047":["hashtag1","hashtag2"]},{"1332434014":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332434005, 1332433992, 1332434010, 1332434044, 1332434047, 1332434014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.77751278877258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:39:33.011376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/46/image_28012025_16_47_06_9340.jpg', '/home/pi/Desktop/images/28012025/16/47/image_28012025_16_47_16_10345.jpg', '/home/pi/Desktop/images/28012025/16/47/image_28012025_16_47_26_10348.jpg', '/home/pi/Desktop/images/28012025/16/47/image_28012025_16_47_36_9347.jpg', '/home/pi/Desktop/images/28012025/16/47/image_28012025_16_47_46_10338.jpg', '/home/pi/Desktop/images/28012025/16/47/image_28012025_16_47_56_10321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/46/image_28012025_16_47_06_9340.jpg
/home/pi/Desktop/images/28012025/16/47/image_28012025_16_47_16_10345.jpg
/home/pi/Desktop/images/28012025/16/47/image_28012025_16_47_26_10348.jpg
/home/pi/Desktop/images/28012025/16/47/image_28012025_16_47_36_9347.jpg
/home/pi/Desktop/images/28012025/16/47/image_28012025_16_47_46_10338.jpg
/home/pi/Desktop/images/28012025/16/47/image_28012025_16_47_56_10321.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332434094","1332434115","1332434123","1332434098","1332434086","1332434113"],"photo_ids_order":["1332434086","1332434094","1332434098","1332434113","1332434115","1332434123"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d319dc675fb403f79ebcb6f84e8d734c.jpg","text":"TemporaryFile(/tmp/multipartBody7484850729579288228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100433980,"filename":"image_28012025_16_47_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/1/28/3e80d385aed48d6c8c048319eb925494.jpg","text":"TemporaryFile(/tmp/multipartBody2434146708991023273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100433980,"filename":"image_28012025_16_47_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/1/28/01f459d215ad8add76e986f6faa8cccb.jpg","text":"TemporaryFile(/tmp/multipartBody7059685530473796295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100433980,"filename":"image_28012025_16_47_56_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f018694173ea61d9a3ab53676206769d.jpg","text":"TemporaryFile(/tmp/multipartBody3979336836676690508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100433980,"filename":"image_28012025_16_47_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/1/28/0a998c7cb77d5507aeab0a4902714b35.jpg","text":"TemporaryFile(/tmp/multipartBody2918863353523729397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100433980,"filename":"image_28012025_16_47_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/1/28/902bae5f3c7cda41f4469904e356f129.jpg","text":"TemporaryFile(/tmp/multipartBody6081091783765792412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100433980,"filename":"image_28012025_16_47_36_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332434098","file1":"1332434094","file0":"1332434086","file4":"1332434115","file5":"1332434123","file3":"1332434113"},"map_files_photo_id_array":[{"photo_id":"1332434123","filename":"file5"},{"photo_id":"1332434098","filename":"file2"},{"photo_id":"1332434115","filename":"file4"},{"photo_id":"1332434094","filename":"file1"},{"photo_id":"1332434086","filename":"file0"},{"photo_id":"1332434113","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332434094":["hashtag1","hashtag2"]},{"1332434115":["hashtag1","hashtag2"]},{"1332434123":["hashtag1","hashtag2"]},{"1332434098":["hashtag1","hashtag2"]},{"1332434086":["hashtag1","hashtag2"]},{"1332434113":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332434094, 1332434115, 1332434123, 1332434098, 1332434086, 1332434113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.0607054233551 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:40:32.280805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/47/image_28012025_16_48_06_9324.jpg', '/home/pi/Desktop/images/28012025/16/48/image_28012025_16_48_16_10335.jpg', '/home/pi/Desktop/images/28012025/16/48/image_28012025_16_48_26_10383.jpg', '/home/pi/Desktop/images/28012025/16/48/image_28012025_16_48_36_9341.jpg', '/home/pi/Desktop/images/28012025/16/48/image_28012025_16_48_46_10444.jpg', '/home/pi/Desktop/images/28012025/16/48/image_28012025_16_48_57_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/47/image_28012025_16_48_06_9324.jpg
/home/pi/Desktop/images/28012025/16/48/image_28012025_16_48_16_10335.jpg
/home/pi/Desktop/images/28012025/16/48/image_28012025_16_48_26_10383.jpg
/home/pi/Desktop/images/28012025/16/48/image_28012025_16_48_36_9341.jpg
/home/pi/Desktop/images/28012025/16/48/image_28012025_16_48_46_10444.jpg
/home/pi/Desktop/images/28012025/16/48/image_28012025_16_48_57_10348.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5623931884765625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 22:40:42.179067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/47/image_28012025_16_48_06_9324.jpg', '/home/pi/Desktop/images/28012025/16/48/image_28012025_16_48_16_10335.jpg', '/home/pi/Desktop/images/28012025/16/48/image_28012025_16_48_26_10383.jpg', '/home/pi/Desktop/images/28012025/16/48/image_28012025_16_48_36_9341.jpg', '/home/pi/Desktop/images/28012025/16/48/image_28012025_16_48_46_10444.jpg', '/home/pi/Desktop/images/28012025/16/48/image_28012025_16_48_57_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/47/image_28012025_16_48_06_9324.jpg
/home/pi/Desktop/images/28012025/16/48/image_28012025_16_48_16_10335.jpg
/home/pi/Desktop/images/28012025/16/48/image_28012025_16_48_26_10383.jpg
/home/pi/Desktop/images/28012025/16/48/image_28012025_16_48_36_9341.jpg
/home/pi/Desktop/images/28012025/16/48/image_28012025_16_48_46_10444.jpg
/home/pi/Desktop/images/28012025/16/48/image_28012025_16_48_57_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332434148","1332434177","1332434168","1332434194","1332434188","1332434190"],"photo_ids_order":["1332434148","1332434168","1332434177","1332434188","1332434190","1332434194"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/df290d5d886f622ce1b7eef6bc15e9a8.jpg","text":"TemporaryFile(/tmp/multipartBody7145364675954274804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100503068,"filename":"image_28012025_16_48_06_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ba8516c66b27ee07537024f80e27f8e8.jpg","text":"TemporaryFile(/tmp/multipartBody8705348109419816677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100503068,"filename":"image_28012025_16_48_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/1/28/951666145a3f10fb7fa12d88fdde029d.jpg","text":"TemporaryFile(/tmp/multipartBody6833462466926688259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100503068,"filename":"image_28012025_16_48_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/1/28/d8a113f27331f0aca7f70f964af64313.jpg","text":"TemporaryFile(/tmp/multipartBody1327768073067635034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100503068,"filename":"image_28012025_16_48_57_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1349e53e44d645298d569e015f204185.jpg","text":"TemporaryFile(/tmp/multipartBody854657326134433544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100503068,"filename":"image_28012025_16_48_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/1/28/8bf56451e95badc83d0625045f41bd21.jpg","text":"TemporaryFile(/tmp/multipartBody3618621177492291188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100503068,"filename":"image_28012025_16_48_46_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332434177","file1":"1332434168","file0":"1332434148","file4":"1332434190","file5":"1332434194","file3":"1332434188"},"map_files_photo_id_array":[{"photo_id":"1332434194","filename":"file5"},{"photo_id":"1332434177","filename":"file2"},{"photo_id":"1332434190","filename":"file4"},{"photo_id":"1332434168","filename":"file1"},{"photo_id":"1332434148","filename":"file0"},{"photo_id":"1332434188","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332434148":["hashtag1","hashtag2"]},{"1332434177":["hashtag1","hashtag2"]},{"1332434168":["hashtag1","hashtag2"]},{"1332434194":["hashtag1","hashtag2"]},{"1332434188":["hashtag1","hashtag2"]},{"1332434190":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332434148, 1332434177, 1332434168, 1332434194, 1332434188, 1332434190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.526233196258545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:41:32.432620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/48/image_28012025_16_49_06_9326.jpg', '/home/pi/Desktop/images/28012025/16/49/image_28012025_16_49_16_10428.jpg', '/home/pi/Desktop/images/28012025/16/49/image_28012025_16_49_26_9714.jpg', '/home/pi/Desktop/images/28012025/16/49/image_28012025_16_49_37_10427.jpg', '/home/pi/Desktop/images/28012025/16/49/image_28012025_16_49_46_9332.jpg', '/home/pi/Desktop/images/28012025/16/49/image_28012025_16_49_56_10444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/48/image_28012025_16_49_06_9326.jpg
/home/pi/Desktop/images/28012025/16/49/image_28012025_16_49_16_10428.jpg
/home/pi/Desktop/images/28012025/16/49/image_28012025_16_49_26_9714.jpg
/home/pi/Desktop/images/28012025/16/49/image_28012025_16_49_37_10427.jpg
/home/pi/Desktop/images/28012025/16/49/image_28012025_16_49_46_9332.jpg
/home/pi/Desktop/images/28012025/16/49/image_28012025_16_49_56_10444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332434235","1332434231","1332434234","1332434228","1332434239","1332434233"],"photo_ids_order":["1332434228","1332434231","1332434233","1332434234","1332434235","1332434239"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1662431cd5b05c5733857ee0416a059d.jpg","text":"TemporaryFile(/tmp/multipartBody5492338516344064670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100553399,"filename":"image_28012025_16_49_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/1/28/5b2b801650d65cf55f1aa3147aa7189c.jpg","text":"TemporaryFile(/tmp/multipartBody908980022782733677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100553399,"filename":"image_28012025_16_49_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/1/28/83588a64acafe1ad032806d30184a61f.jpg","text":"TemporaryFile(/tmp/multipartBody718544283614765453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100553399,"filename":"image_28012025_16_49_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/1/28/e6c7d63f9ec49fcda1d40335f9e6e77c.jpg","text":"TemporaryFile(/tmp/multipartBody592224046100356724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100553399,"filename":"image_28012025_16_49_06_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cbf5930328a2dfdbadad72442b2e19fd.jpg","text":"TemporaryFile(/tmp/multipartBody2631267117061006493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100553399,"filename":"image_28012025_16_49_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/1/28/32c2f4ebaada7d34ee04884dc1e957ca.jpg","text":"TemporaryFile(/tmp/multipartBody983876411608732540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100553399,"filename":"image_28012025_16_49_26_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332434233","file1":"1332434231","file0":"1332434228","file4":"1332434235","file5":"1332434239","file3":"1332434234"},"map_files_photo_id_array":[{"photo_id":"1332434239","filename":"file5"},{"photo_id":"1332434233","filename":"file2"},{"photo_id":"1332434235","filename":"file4"},{"photo_id":"1332434231","filename":"file1"},{"photo_id":"1332434228","filename":"file0"},{"photo_id":"1332434234","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332434235":["hashtag1","hashtag2"]},{"1332434231":["hashtag1","hashtag2"]},{"1332434234":["hashtag1","hashtag2"]},{"1332434228":["hashtag1","hashtag2"]},{"1332434239":["hashtag1","hashtag2"]},{"1332434233":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332434235, 1332434231, 1332434234, 1332434228, 1332434239, 1332434233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.69937062263489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:42:32.744506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/49/image_28012025_16_50_06_9369.jpg', '/home/pi/Desktop/images/28012025/16/50/image_28012025_16_50_16_10316.jpg', '/home/pi/Desktop/images/28012025/16/50/image_28012025_16_50_26_10335.jpg', '/home/pi/Desktop/images/28012025/16/50/image_28012025_16_50_37_10354.jpg', '/home/pi/Desktop/images/28012025/16/50/image_28012025_16_50_46_9338.jpg', '/home/pi/Desktop/images/28012025/16/50/image_28012025_16_50_56_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/49/image_28012025_16_50_06_9369.jpg
/home/pi/Desktop/images/28012025/16/50/image_28012025_16_50_16_10316.jpg
/home/pi/Desktop/images/28012025/16/50/image_28012025_16_50_26_10335.jpg
/home/pi/Desktop/images/28012025/16/50/image_28012025_16_50_37_10354.jpg
/home/pi/Desktop/images/28012025/16/50/image_28012025_16_50_46_9338.jpg
/home/pi/Desktop/images/28012025/16/50/image_28012025_16_50_56_10413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332434643","1332434631","1332434555","1332434627","1332434635","1332434691"],"photo_ids_order":["1332434555","1332434627","1332434631","1332434635","1332434643","1332434691"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ab46f5e8cf5c7ff6a056bb5f307ab38d.jpg","text":"TemporaryFile(/tmp/multipartBody4826611453395627381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100613706,"filename":"image_28012025_16_50_46_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d046a1d67c0da2bb5ffac1773f494598.jpg","text":"TemporaryFile(/tmp/multipartBody465989261468892762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100613706,"filename":"image_28012025_16_50_26_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/10894bf7325aa41bd0ca8d552c8a3a51.jpg","text":"TemporaryFile(/tmp/multipartBody5730604568789173008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100613706,"filename":"image_28012025_16_50_06_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d96288e30f6221ffe36f66e6d0fdcf48.jpg","text":"TemporaryFile(/tmp/multipartBody2831554728358202133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100613706,"filename":"image_28012025_16_50_16_10316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5c6b79adb64adebe691fc0c2bc6474c1.jpg","text":"TemporaryFile(/tmp/multipartBody477461003766411631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100613706,"filename":"image_28012025_16_50_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/1/28/fcd09bafd48bc292a6ef97218692a904.jpg","text":"TemporaryFile(/tmp/multipartBody9039207161365956453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100613706,"filename":"image_28012025_16_50_56_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332434631","file1":"1332434627","file0":"1332434555","file4":"1332434643","file5":"1332434691","file3":"1332434635"},"map_files_photo_id_array":[{"photo_id":"1332434691","filename":"file5"},{"photo_id":"1332434631","filename":"file2"},{"photo_id":"1332434643","filename":"file4"},{"photo_id":"1332434627","filename":"file1"},{"photo_id":"1332434555","filename":"file0"},{"photo_id":"1332434635","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332434643":["hashtag1","hashtag2"]},{"1332434631":["hashtag1","hashtag2"]},{"1332434555":["hashtag1","hashtag2"]},{"1332434627":["hashtag1","hashtag2"]},{"1332434635":["hashtag1","hashtag2"]},{"1332434691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332434643, 1332434631, 1332434555, 1332434627, 1332434635, 1332434691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.70884656906128 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:43:32.914452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/50/image_28012025_16_51_06_9397.jpg', '/home/pi/Desktop/images/28012025/16/51/image_28012025_16_51_16_10448.jpg', '/home/pi/Desktop/images/28012025/16/51/image_28012025_16_51_26_9430.jpg', '/home/pi/Desktop/images/28012025/16/51/image_28012025_16_51_36_10342.jpg', '/home/pi/Desktop/images/28012025/16/51/image_28012025_16_51_46_10351.jpg', '/home/pi/Desktop/images/28012025/16/51/image_28012025_16_51_56_9388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/50/image_28012025_16_51_06_9397.jpg
/home/pi/Desktop/images/28012025/16/51/image_28012025_16_51_16_10448.jpg
/home/pi/Desktop/images/28012025/16/51/image_28012025_16_51_26_9430.jpg
/home/pi/Desktop/images/28012025/16/51/image_28012025_16_51_36_10342.jpg
/home/pi/Desktop/images/28012025/16/51/image_28012025_16_51_46_10351.jpg
/home/pi/Desktop/images/28012025/16/51/image_28012025_16_51_56_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":["1332434949","1332434843","1332434893","1332434980","1332434848","1332434970"],"photo_ids_order":["1332434843","1332434848","1332434893","1332434949","1332434970","1332434980"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d348f1621f03906eb3f8bfbdff0a0a74.jpg","text":"TemporaryFile(/tmp/multipartBody7387537799303263194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100673879,"filename":"image_28012025_16_51_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/1/28/a9513b81dd691fdf880126b86e3da198.jpg","text":"TemporaryFile(/tmp/multipartBody4039900678128826462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100673879,"filename":"image_28012025_16_51_06_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a40dc2237378150b09931c1c9b904a08.jpg","text":"TemporaryFile(/tmp/multipartBody2861695504406264785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100673879,"filename":"image_28012025_16_51_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/1/28/1751653358bf3a578f86f8e932a0619e.jpg","text":"TemporaryFile(/tmp/multipartBody8326009868279582950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100673879,"filename":"image_28012025_16_51_56_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6bfc7e21db32c013ce4f82131a66e3e8.jpg","text":"TemporaryFile(/tmp/multipartBody1663030949762044918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100673879,"filename":"image_28012025_16_51_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/1/28/668ea305e9b727b0af76be25e9463f10.jpg","text":"TemporaryFile(/tmp/multipartBody1643811768606970051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100673879,"filename":"image_28012025_16_51_46_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332434893","file1":"1332434848","file0":"1332434843","file4":"1332434970","file5":"1332434980","file3":"1332434949"},"map_files_photo_id_array":[{"photo_id":"1332434980","filename":"file5"},{"photo_id":"1332434893","filename":"file2"},{"photo_id":"1332434970","filename":"file4"},{"photo_id":"1332434848","filename":"file1"},{"photo_id":"1332434843","filename":"file0"},{"photo_id":"1332434949","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332434949":["hashtag1","hashtag2"]},{"1332434843":["hashtag1","hashtag2"]},{"1332434893":["hashtag1","hashtag2"]},{"1332434980":["hashtag1","hashtag2"]},{"1332434848":["hashtag1","hashtag2"]},{"1332434970":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332434949, 1332434843, 1332434893, 1332434980, 1332434848, 1332434970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.43998336791992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:44:32.251510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/51/image_28012025_16_52_06_10487.jpg', '/home/pi/Desktop/images/28012025/16/52/image_28012025_16_52_16_9410.jpg', '/home/pi/Desktop/images/28012025/16/52/image_28012025_16_52_26_10344.jpg', '/home/pi/Desktop/images/28012025/16/52/image_28012025_16_52_36_10333.jpg', '/home/pi/Desktop/images/28012025/16/52/image_28012025_16_52_46_9423.jpg', '/home/pi/Desktop/images/28012025/16/52/image_28012025_16_52_56_10430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/51/image_28012025_16_52_06_10487.jpg
/home/pi/Desktop/images/28012025/16/52/image_28012025_16_52_16_9410.jpg
/home/pi/Desktop/images/28012025/16/52/image_28012025_16_52_26_10344.jpg
/home/pi/Desktop/images/28012025/16/52/image_28012025_16_52_36_10333.jpg
/home/pi/Desktop/images/28012025/16/52/image_28012025_16_52_46_9423.jpg
/home/pi/Desktop/images/28012025/16/52/image_28012025_16_52_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":["1332435036","1332435032","1332435041","1332435029","1332435049","1332435046"],"photo_ids_order":["1332435029","1332435032","1332435036","1332435041","1332435046","1332435049"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d3880ef2ed2918ae0058172a91d1c25e.jpg","text":"TemporaryFile(/tmp/multipartBody4922359041771677138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100733201,"filename":"image_28012025_16_52_26_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8929f6675d97532704f272d2a3e40277.jpg","text":"TemporaryFile(/tmp/multipartBody3406825981486294063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100733201,"filename":"image_28012025_16_52_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/1/28/5079b5069939c01d871cf186bda89b41.jpg","text":"TemporaryFile(/tmp/multipartBody3276201673329585371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100733201,"filename":"image_28012025_16_52_36_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bf50f4d919ec7e3ebf7e9398164b661c.jpg","text":"TemporaryFile(/tmp/multipartBody6016868884117960005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100733201,"filename":"image_28012025_16_52_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/1/28/e38b75e283c131044e109adff470b591.jpg","text":"TemporaryFile(/tmp/multipartBody7414320636500234962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100733201,"filename":"image_28012025_16_52_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/1/28/71e55daa7bc6e7ec30af263b32b1964c.jpg","text":"TemporaryFile(/tmp/multipartBody8943157478279182226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100733201,"filename":"image_28012025_16_52_46_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332435036","file1":"1332435032","file0":"1332435029","file4":"1332435046","file5":"1332435049","file3":"1332435041"},"map_files_photo_id_array":[{"photo_id":"1332435049","filename":"file5"},{"photo_id":"1332435036","filename":"file2"},{"photo_id":"1332435046","filename":"file4"},{"photo_id":"1332435032","filename":"file1"},{"photo_id":"1332435029","filename":"file0"},{"photo_id":"1332435041","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332435036":["hashtag1","hashtag2"]},{"1332435032":["hashtag1","hashtag2"]},{"1332435041":["hashtag1","hashtag2"]},{"1332435029":["hashtag1","hashtag2"]},{"1332435049":["hashtag1","hashtag2"]},{"1332435046":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332435036, 1332435032, 1332435041, 1332435029, 1332435049, 1332435046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.821550369262695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:45:32.369949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/52/image_28012025_16_53_07_10353.jpg', '/home/pi/Desktop/images/28012025/16/53/image_28012025_16_53_16_9337.jpg', '/home/pi/Desktop/images/28012025/16/53/image_28012025_16_53_26_10367.jpg', '/home/pi/Desktop/images/28012025/16/53/image_28012025_16_53_37_10350.jpg', '/home/pi/Desktop/images/28012025/16/53/image_28012025_16_53_46_9425.jpg', '/home/pi/Desktop/images/28012025/16/53/image_28012025_16_53_56_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/52/image_28012025_16_53_07_10353.jpg
/home/pi/Desktop/images/28012025/16/53/image_28012025_16_53_16_9337.jpg
/home/pi/Desktop/images/28012025/16/53/image_28012025_16_53_26_10367.jpg
/home/pi/Desktop/images/28012025/16/53/image_28012025_16_53_37_10350.jpg
/home/pi/Desktop/images/28012025/16/53/image_28012025_16_53_46_9425.jpg
/home/pi/Desktop/images/28012025/16/53/image_28012025_16_53_56_10344.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5624339580535889 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 22:45:42.330150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/52/image_28012025_16_53_07_10353.jpg', '/home/pi/Desktop/images/28012025/16/53/image_28012025_16_53_16_9337.jpg', '/home/pi/Desktop/images/28012025/16/53/image_28012025_16_53_26_10367.jpg', '/home/pi/Desktop/images/28012025/16/53/image_28012025_16_53_37_10350.jpg', '/home/pi/Desktop/images/28012025/16/53/image_28012025_16_53_46_9425.jpg', '/home/pi/Desktop/images/28012025/16/53/image_28012025_16_53_56_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/52/image_28012025_16_53_07_10353.jpg
/home/pi/Desktop/images/28012025/16/53/image_28012025_16_53_16_9337.jpg
/home/pi/Desktop/images/28012025/16/53/image_28012025_16_53_26_10367.jpg
/home/pi/Desktop/images/28012025/16/53/image_28012025_16_53_37_10350.jpg
/home/pi/Desktop/images/28012025/16/53/image_28012025_16_53_46_9425.jpg
/home/pi/Desktop/images/28012025/16/53/image_28012025_16_53_56_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332435216","1332435224","1332435206","1332435229","1332435220","1332435211"],"photo_ids_order":["1332435206","1332435211","1332435216","1332435220","1332435224","1332435229"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/91580e0701dfe152efbd72a7d73847e2.jpg","text":"TemporaryFile(/tmp/multipartBody8020304279822919590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100803240,"filename":"image_28012025_16_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/1/28/54cd62332023279240d2d4e31b0fb96b.jpg","text":"TemporaryFile(/tmp/multipartBody1641403555928153619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100803240,"filename":"image_28012025_16_53_46_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e305d387b7c59b238853ac757e922ff4.jpg","text":"TemporaryFile(/tmp/multipartBody1821044379312397535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100803240,"filename":"image_28012025_16_53_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/1/28/5473404122f8c21e9b3059eaa3f7a045.jpg","text":"TemporaryFile(/tmp/multipartBody2172076133286360372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100803240,"filename":"image_28012025_16_53_56_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c3fbcdf9fe04e28727ebfd17b1f30120.jpg","text":"TemporaryFile(/tmp/multipartBody4135244314826571359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100803240,"filename":"image_28012025_16_53_37_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5fad3184c23503da18961fb5cebfc4b5.jpg","text":"TemporaryFile(/tmp/multipartBody10433482443606707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100803240,"filename":"image_28012025_16_53_16_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332435216","file1":"1332435211","file0":"1332435206","file4":"1332435224","file5":"1332435229","file3":"1332435220"},"map_files_photo_id_array":[{"photo_id":"1332435229","filename":"file5"},{"photo_id":"1332435216","filename":"file2"},{"photo_id":"1332435224","filename":"file4"},{"photo_id":"1332435211","filename":"file1"},{"photo_id":"1332435206","filename":"file0"},{"photo_id":"1332435220","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332435216":["hashtag1","hashtag2"]},{"1332435224":["hashtag1","hashtag2"]},{"1332435206":["hashtag1","hashtag2"]},{"1332435229":["hashtag1","hashtag2"]},{"1332435220":["hashtag1","hashtag2"]},{"1332435211":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332435216, 1332435224, 1332435206, 1332435229, 1332435220, 1332435211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43924164772034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:46:32.730988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/53/image_28012025_16_54_06_9337.jpg', '/home/pi/Desktop/images/28012025/16/54/image_28012025_16_54_16_10322.jpg', '/home/pi/Desktop/images/28012025/16/54/image_28012025_16_54_26_10444.jpg', '/home/pi/Desktop/images/28012025/16/54/image_28012025_16_54_36_9327.jpg', '/home/pi/Desktop/images/28012025/16/54/image_28012025_16_54_46_10424.jpg', '/home/pi/Desktop/images/28012025/16/54/image_28012025_16_54_57_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/53/image_28012025_16_54_06_9337.jpg
/home/pi/Desktop/images/28012025/16/54/image_28012025_16_54_16_10322.jpg
/home/pi/Desktop/images/28012025/16/54/image_28012025_16_54_26_10444.jpg
/home/pi/Desktop/images/28012025/16/54/image_28012025_16_54_36_9327.jpg
/home/pi/Desktop/images/28012025/16/54/image_28012025_16_54_46_10424.jpg
/home/pi/Desktop/images/28012025/16/54/image_28012025_16_54_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":["1332435287","1332435254","1332435263","1332435250","1332435310","1332435282"],"photo_ids_order":["1332435250","1332435254","1332435263","1332435282","1332435287","1332435310"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7faf8dfc1d9a86d6edc4a97604908165.jpg","text":"TemporaryFile(/tmp/multipartBody935255118283723589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100853708,"filename":"image_28012025_16_54_46_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/94c351c11c9c70dd2b8c27c2ecad915d.jpg","text":"TemporaryFile(/tmp/multipartBody1167527170824011902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100853708,"filename":"image_28012025_16_54_16_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a2b7fa579c454f1cb4dcedb74bf94bdc.jpg","text":"TemporaryFile(/tmp/multipartBody2904040820505352667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100853708,"filename":"image_28012025_16_54_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/1/28/69a479c4a97cce3eabaa352a737e920c.jpg","text":"TemporaryFile(/tmp/multipartBody8629563096648599840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100853708,"filename":"image_28012025_16_54_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/1/28/215eb652e26eb63a73ded16c02a112dd.jpg","text":"TemporaryFile(/tmp/multipartBody4267920680997529321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100853708,"filename":"image_28012025_16_54_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/1/28/d54107ceb85cb38c8268fbec04aa508a.jpg","text":"TemporaryFile(/tmp/multipartBody7758583846385799223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100853708,"filename":"image_28012025_16_54_36_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332435263","file1":"1332435254","file0":"1332435250","file4":"1332435287","file5":"1332435310","file3":"1332435282"},"map_files_photo_id_array":[{"photo_id":"1332435310","filename":"file5"},{"photo_id":"1332435263","filename":"file2"},{"photo_id":"1332435287","filename":"file4"},{"photo_id":"1332435254","filename":"file1"},{"photo_id":"1332435250","filename":"file0"},{"photo_id":"1332435282","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332435287":["hashtag1","hashtag2"]},{"1332435254":["hashtag1","hashtag2"]},{"1332435263":["hashtag1","hashtag2"]},{"1332435250":["hashtag1","hashtag2"]},{"1332435310":["hashtag1","hashtag2"]},{"1332435282":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332435287, 1332435254, 1332435263, 1332435250, 1332435310, 1332435282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.360909938812256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:47:32.902839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/54/image_28012025_16_55_06_9370.jpg', '/home/pi/Desktop/images/28012025/16/55/image_28012025_16_55_16_10399.jpg', '/home/pi/Desktop/images/28012025/16/55/image_28012025_16_55_26_9377.jpg', '/home/pi/Desktop/images/28012025/16/55/image_28012025_16_55_36_10341.jpg', '/home/pi/Desktop/images/28012025/16/55/image_28012025_16_55_46_10348.jpg', '/home/pi/Desktop/images/28012025/16/55/image_28012025_16_55_56_9448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/54/image_28012025_16_55_06_9370.jpg
/home/pi/Desktop/images/28012025/16/55/image_28012025_16_55_16_10399.jpg
/home/pi/Desktop/images/28012025/16/55/image_28012025_16_55_26_9377.jpg
/home/pi/Desktop/images/28012025/16/55/image_28012025_16_55_36_10341.jpg
/home/pi/Desktop/images/28012025/16/55/image_28012025_16_55_46_10348.jpg
/home/pi/Desktop/images/28012025/16/55/image_28012025_16_55_56_9448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332435327","1332435335","1332435346","1332435343","1332435322","1332435339"],"photo_ids_order":["1332435322","1332435327","1332435335","1332435339","1332435343","1332435346"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c024c4e4603a85f66de80fcd9e4bf2eb.jpg","text":"TemporaryFile(/tmp/multipartBody6992164739919665156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100913861,"filename":"image_28012025_16_55_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/1/28/af72f555846a85ca8e2099bf760b5609.jpg","text":"TemporaryFile(/tmp/multipartBody1476085926261013888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100913861,"filename":"image_28012025_16_55_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/1/28/216fe8940e25b0325837dcb5d3d3d6c1.jpg","text":"TemporaryFile(/tmp/multipartBody8162388417875199983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100913861,"filename":"image_28012025_16_55_56_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/08e4fe8cbc224a2e8835e97e0f2fa1b1.jpg","text":"TemporaryFile(/tmp/multipartBody8110547512176213307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100913861,"filename":"image_28012025_16_55_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/1/28/bec79966682401a87a0507032fe0b261.jpg","text":"TemporaryFile(/tmp/multipartBody2825099242407584555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100913861,"filename":"image_28012025_16_55_06_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d2ccd6b902c55db10c88e8663b0c8223.jpg","text":"TemporaryFile(/tmp/multipartBody3589719778156996579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100913861,"filename":"image_28012025_16_55_36_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332435335","file1":"1332435327","file0":"1332435322","file4":"1332435343","file5":"1332435346","file3":"1332435339"},"map_files_photo_id_array":[{"photo_id":"1332435346","filename":"file5"},{"photo_id":"1332435335","filename":"file2"},{"photo_id":"1332435343","filename":"file4"},{"photo_id":"1332435327","filename":"file1"},{"photo_id":"1332435322","filename":"file0"},{"photo_id":"1332435339","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332435327":["hashtag1","hashtag2"]},{"1332435335":["hashtag1","hashtag2"]},{"1332435346":["hashtag1","hashtag2"]},{"1332435343":["hashtag1","hashtag2"]},{"1332435322":["hashtag1","hashtag2"]},{"1332435339":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332435327, 1332435335, 1332435346, 1332435343, 1332435322, 1332435339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.2651252746582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:48:33.140373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/55/image_28012025_16_56_06_10447.jpg', '/home/pi/Desktop/images/28012025/16/56/image_28012025_16_56_16_9327.jpg', '/home/pi/Desktop/images/28012025/16/56/image_28012025_16_56_26_10347.jpg', '/home/pi/Desktop/images/28012025/16/56/image_28012025_16_56_36_10358.jpg', '/home/pi/Desktop/images/28012025/16/56/image_28012025_16_56_46_9347.jpg', '/home/pi/Desktop/images/28012025/16/56/image_28012025_16_56_56_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/55/image_28012025_16_56_06_10447.jpg
/home/pi/Desktop/images/28012025/16/56/image_28012025_16_56_16_9327.jpg
/home/pi/Desktop/images/28012025/16/56/image_28012025_16_56_26_10347.jpg
/home/pi/Desktop/images/28012025/16/56/image_28012025_16_56_36_10358.jpg
/home/pi/Desktop/images/28012025/16/56/image_28012025_16_56_46_9347.jpg
/home/pi/Desktop/images/28012025/16/56/image_28012025_16_56_56_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":["1332435374","1332435368","1332435383","1332435364","1332435361","1332435378"],"photo_ids_order":["1332435361","1332435364","1332435368","1332435374","1332435378","1332435383"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6014d6aba35c4bd886e7130de4718f2d.jpg","text":"TemporaryFile(/tmp/multipartBody4211446247609807617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100977697,"filename":"image_28012025_16_56_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/1/28/23cc9db399f7897d9b320f9d245166c8.jpg","text":"TemporaryFile(/tmp/multipartBody1266695042377984687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100977697,"filename":"image_28012025_16_56_26_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/912227b1817d642b65a91cae58c1801d.jpg","text":"TemporaryFile(/tmp/multipartBody2106390247064022223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100977697,"filename":"image_28012025_16_56_56_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e5965fc67d1c34303323715a8ba06e5b.jpg","text":"TemporaryFile(/tmp/multipartBody6919325532944012079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100977697,"filename":"image_28012025_16_56_16_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fd2f8bb9f1054724026321bc103e1427.jpg","text":"TemporaryFile(/tmp/multipartBody1418142654902761838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100977697,"filename":"image_28012025_16_56_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/1/28/1c31fc7d9efbe006b108612f6414220b.jpg","text":"TemporaryFile(/tmp/multipartBody4224473765139622119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738100977697,"filename":"image_28012025_16_56_46_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332435368","file1":"1332435364","file0":"1332435361","file4":"1332435378","file5":"1332435383","file3":"1332435374"},"map_files_photo_id_array":[{"photo_id":"1332435383","filename":"file5"},{"photo_id":"1332435368","filename":"file2"},{"photo_id":"1332435378","filename":"file4"},{"photo_id":"1332435364","filename":"file1"},{"photo_id":"1332435361","filename":"file0"},{"photo_id":"1332435374","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332435374":["hashtag1","hashtag2"]},{"1332435368":["hashtag1","hashtag2"]},{"1332435383":["hashtag1","hashtag2"]},{"1332435364":["hashtag1","hashtag2"]},{"1332435361":["hashtag1","hashtag2"]},{"1332435378":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332435374, 1332435368, 1332435383, 1332435364, 1332435361, 1332435378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.15759015083313 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:49:32.375469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/56/image_28012025_16_57_06_10353.jpg', '/home/pi/Desktop/images/28012025/16/57/image_28012025_16_57_16_9321.jpg', '/home/pi/Desktop/images/28012025/16/57/image_28012025_16_57_26_10342.jpg', '/home/pi/Desktop/images/28012025/16/57/image_28012025_16_57_37_10425.jpg', '/home/pi/Desktop/images/28012025/16/57/image_28012025_16_57_46_9364.jpg', '/home/pi/Desktop/images/28012025/16/57/image_28012025_16_58_06_9388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/56/image_28012025_16_57_06_10353.jpg
/home/pi/Desktop/images/28012025/16/57/image_28012025_16_57_16_9321.jpg
/home/pi/Desktop/images/28012025/16/57/image_28012025_16_57_26_10342.jpg
/home/pi/Desktop/images/28012025/16/57/image_28012025_16_57_37_10425.jpg
/home/pi/Desktop/images/28012025/16/57/image_28012025_16_57_46_9364.jpg
/home/pi/Desktop/images/28012025/16/57/image_28012025_16_58_06_9388.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5634007453918457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 22:49:42.388212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/56/image_28012025_16_57_06_10353.jpg', '/home/pi/Desktop/images/28012025/16/57/image_28012025_16_57_16_9321.jpg', '/home/pi/Desktop/images/28012025/16/57/image_28012025_16_57_26_10342.jpg', '/home/pi/Desktop/images/28012025/16/57/image_28012025_16_57_37_10425.jpg', '/home/pi/Desktop/images/28012025/16/57/image_28012025_16_57_46_9364.jpg', '/home/pi/Desktop/images/28012025/16/57/image_28012025_16_58_06_9388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/56/image_28012025_16_57_06_10353.jpg
/home/pi/Desktop/images/28012025/16/57/image_28012025_16_57_16_9321.jpg
/home/pi/Desktop/images/28012025/16/57/image_28012025_16_57_26_10342.jpg
/home/pi/Desktop/images/28012025/16/57/image_28012025_16_57_37_10425.jpg
/home/pi/Desktop/images/28012025/16/57/image_28012025_16_57_46_9364.jpg
/home/pi/Desktop/images/28012025/16/57/image_28012025_16_58_06_9388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332435422","1332435425","1332435413","1332435397","1332435418","1332435406"],"photo_ids_order":["1332435397","1332435406","1332435413","1332435418","1332435422","1332435425"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/aa24b022c9d7f325a47f36f6b1f467ef.jpg","text":"TemporaryFile(/tmp/multipartBody337867027173820237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101043272,"filename":"image_28012025_16_57_46_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/89cd324057554704d16d34d8ca0c77ad.jpg","text":"TemporaryFile(/tmp/multipartBody1450218240908454763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101043272,"filename":"image_28012025_16_58_06_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/05abf40700663186f2d15b9c331f24c7.jpg","text":"TemporaryFile(/tmp/multipartBody5512182487518682669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101043272,"filename":"image_28012025_16_57_26_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b898b186a269ef331244b09424fc75a9.jpg","text":"TemporaryFile(/tmp/multipartBody3086227764363849994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101043272,"filename":"image_28012025_16_57_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/1/28/6de3b8ad7e799f954201bfd9333e894e.jpg","text":"TemporaryFile(/tmp/multipartBody4619842647342048557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101043272,"filename":"image_28012025_16_57_37_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/06e5359eb3be1d43a71bc34fd32c94d8.jpg","text":"TemporaryFile(/tmp/multipartBody3022283739080824954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101043272,"filename":"image_28012025_16_57_16_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332435413","file1":"1332435406","file0":"1332435397","file4":"1332435422","file5":"1332435425","file3":"1332435418"},"map_files_photo_id_array":[{"photo_id":"1332435425","filename":"file5"},{"photo_id":"1332435413","filename":"file2"},{"photo_id":"1332435422","filename":"file4"},{"photo_id":"1332435406","filename":"file1"},{"photo_id":"1332435397","filename":"file0"},{"photo_id":"1332435418","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332435422":["hashtag1","hashtag2"]},{"1332435425":["hashtag1","hashtag2"]},{"1332435413":["hashtag1","hashtag2"]},{"1332435397":["hashtag1","hashtag2"]},{"1332435418":["hashtag1","hashtag2"]},{"1332435406":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332435422, 1332435425, 1332435413, 1332435397, 1332435418, 1332435406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.56074094772339 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:50:32.545320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/58/image_28012025_16_58_16_10379.jpg', '/home/pi/Desktop/images/28012025/16/58/image_28012025_16_58_26_10350.jpg', '/home/pi/Desktop/images/28012025/16/58/image_28012025_16_58_36_9430.jpg', '/home/pi/Desktop/images/28012025/16/58/image_28012025_16_58_46_10492.jpg', '/home/pi/Desktop/images/28012025/16/58/image_28012025_16_58_56_9347.jpg', '/home/pi/Desktop/images/28012025/16/58/image_28012025_16_59_06_10321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/58/image_28012025_16_58_16_10379.jpg
/home/pi/Desktop/images/28012025/16/58/image_28012025_16_58_26_10350.jpg
/home/pi/Desktop/images/28012025/16/58/image_28012025_16_58_36_9430.jpg
/home/pi/Desktop/images/28012025/16/58/image_28012025_16_58_46_10492.jpg
/home/pi/Desktop/images/28012025/16/58/image_28012025_16_58_56_9347.jpg
/home/pi/Desktop/images/28012025/16/58/image_28012025_16_59_06_10321.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332435566","1332435569","1332435563","1332435604","1332435573","1332435549"],"photo_ids_order":["1332435549","1332435563","1332435566","1332435569","1332435573","1332435604"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/db6f3dc196341e70f37b8a1257a5962e.jpg","text":"TemporaryFile(/tmp/multipartBody8161285613478567282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101093507,"filename":"image_28012025_16_58_36_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2404988540aeaf0a1ad84075c53c0783.jpg","text":"TemporaryFile(/tmp/multipartBody3476457908290476606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101093507,"filename":"image_28012025_16_58_46_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/84766d2782ab0aae744c05412a62c97c.jpg","text":"TemporaryFile(/tmp/multipartBody4747179691771371721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101093507,"filename":"image_28012025_16_58_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/1/28/1187931c75ff4d714a584956c18a9b8d.jpg","text":"TemporaryFile(/tmp/multipartBody4930097980023103552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101093507,"filename":"image_28012025_16_59_06_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3c530509bbee37db43232b808355da53.jpg","text":"TemporaryFile(/tmp/multipartBody959984992886675230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101093507,"filename":"image_28012025_16_58_56_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f6bb18b9f9207213730a1b14edfa0224.jpg","text":"TemporaryFile(/tmp/multipartBody5030911184281774710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101093507,"filename":"image_28012025_16_58_16_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332435566","file1":"1332435563","file0":"1332435549","file4":"1332435573","file5":"1332435604","file3":"1332435569"},"map_files_photo_id_array":[{"photo_id":"1332435604","filename":"file5"},{"photo_id":"1332435566","filename":"file2"},{"photo_id":"1332435573","filename":"file4"},{"photo_id":"1332435563","filename":"file1"},{"photo_id":"1332435549","filename":"file0"},{"photo_id":"1332435569","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332435566":["hashtag1","hashtag2"]},{"1332435569":["hashtag1","hashtag2"]},{"1332435563":["hashtag1","hashtag2"]},{"1332435604":["hashtag1","hashtag2"]},{"1332435573":["hashtag1","hashtag2"]},{"1332435549":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332435566, 1332435569, 1332435563, 1332435604, 1332435573, 1332435549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02850818634033 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:51:32.752420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/16/59/image_28012025_16_59_16_10333.jpg', '/home/pi/Desktop/images/28012025/16/59/image_28012025_16_59_26_9407.jpg', '/home/pi/Desktop/images/28012025/16/59/image_28012025_16_59_36_10354.jpg', '/home/pi/Desktop/images/28012025/16/59/image_28012025_16_59_46_10337.jpg', '/home/pi/Desktop/images/28012025/16/59/image_28012025_16_59_56_9342.jpg', '/home/pi/Desktop/images/28012025/17/01/image_28012025_17_01_14_10077.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/16/59/image_28012025_16_59_16_10333.jpg
/home/pi/Desktop/images/28012025/16/59/image_28012025_16_59_26_9407.jpg
/home/pi/Desktop/images/28012025/16/59/image_28012025_16_59_36_10354.jpg
/home/pi/Desktop/images/28012025/16/59/image_28012025_16_59_46_10337.jpg
/home/pi/Desktop/images/28012025/16/59/image_28012025_16_59_56_9342.jpg
/home/pi/Desktop/images/28012025/17/01/image_28012025_17_01_14_10077.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332435639","1332435671","1332435650","1332435664","1332435625","1332435619"],"photo_ids_order":["1332435619","1332435625","1332435639","1332435650","1332435664","1332435671"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d55031c6690973ff9d1b2ea64158209a.jpg","text":"TemporaryFile(/tmp/multipartBody6122044748765562305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101153736,"filename":"image_28012025_16_59_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/1/28/0caac99c7a03c3c88d8cd2a1bd8550b4.jpg","text":"TemporaryFile(/tmp/multipartBody2713924470950198373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101153736,"filename":"image_28012025_17_01_14_10077.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/de9b2a39f0af2fbcdbe33c67fa934bea.jpg","text":"TemporaryFile(/tmp/multipartBody6323210370737982547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101153736,"filename":"image_28012025_16_59_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/1/28/a145868d6e0b8c62f2232cd2108799f6.jpg","text":"TemporaryFile(/tmp/multipartBody6043651545355636392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101153736,"filename":"image_28012025_16_59_56_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d8d92c56b8d8f8613532743836c1754b.jpg","text":"TemporaryFile(/tmp/multipartBody2135802063879263980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101153736,"filename":"image_28012025_16_59_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/1/28/4bf48d47d25f41d9414d4d595e5b478b.jpg","text":"TemporaryFile(/tmp/multipartBody8888530186216787620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101153736,"filename":"image_28012025_16_59_16_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332435639","file1":"1332435625","file0":"1332435619","file4":"1332435664","file5":"1332435671","file3":"1332435650"},"map_files_photo_id_array":[{"photo_id":"1332435671","filename":"file5"},{"photo_id":"1332435639","filename":"file2"},{"photo_id":"1332435664","filename":"file4"},{"photo_id":"1332435625","filename":"file1"},{"photo_id":"1332435619","filename":"file0"},{"photo_id":"1332435650","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332435639":["hashtag1","hashtag2"]},{"1332435671":["hashtag1","hashtag2"]},{"1332435650":["hashtag1","hashtag2"]},{"1332435664":["hashtag1","hashtag2"]},{"1332435625":["hashtag1","hashtag2"]},{"1332435619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332435639, 1332435671, 1332435650, 1332435664, 1332435625, 1332435619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.34353494644165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:52:32.934846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/01/image_28012025_17_01_25_10356.jpg', '/home/pi/Desktop/images/28012025/17/01/image_28012025_17_01_35_10352.jpg', '/home/pi/Desktop/images/28012025/17/01/image_28012025_17_01_44_9338.jpg', '/home/pi/Desktop/images/28012025/17/01/image_28012025_17_01_55_10373.jpg', '/home/pi/Desktop/images/28012025/17/01/image_28012025_17_02_05_10351.jpg', '/home/pi/Desktop/images/28012025/17/02/image_28012025_17_02_14_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/01/image_28012025_17_01_25_10356.jpg
/home/pi/Desktop/images/28012025/17/01/image_28012025_17_01_35_10352.jpg
/home/pi/Desktop/images/28012025/17/01/image_28012025_17_01_44_9338.jpg
/home/pi/Desktop/images/28012025/17/01/image_28012025_17_01_55_10373.jpg
/home/pi/Desktop/images/28012025/17/01/image_28012025_17_02_05_10351.jpg
/home/pi/Desktop/images/28012025/17/02/image_28012025_17_02_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":["1332435711","1332435690","1332435684","1332435693","1332435687","1332435729"],"photo_ids_order":["1332435684","1332435687","1332435690","1332435693","1332435711","1332435729"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/35d3c2da0fe432a2e77bc9300d92d6b1.jpg","text":"TemporaryFile(/tmp/multipartBody5382609089404106533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101213902,"filename":"image_28012025_17_02_05_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a9dded5058808cbd8801112d4e6743fc.jpg","text":"TemporaryFile(/tmp/multipartBody5523857217812719754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101213902,"filename":"image_28012025_17_01_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/1/28/684780122d0ca4161e6aae7a81b4e5e3.jpg","text":"TemporaryFile(/tmp/multipartBody2696759230892514602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101213902,"filename":"image_28012025_17_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/1/28/e00fd857119fa1e8d443dbbd0f8a1c17.jpg","text":"TemporaryFile(/tmp/multipartBody5977185694997827440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101213902,"filename":"image_28012025_17_01_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/1/28/8204f06b589b0bc4fb2bc524c597cbe3.jpg","text":"TemporaryFile(/tmp/multipartBody3715641377217020006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101213902,"filename":"image_28012025_17_01_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/1/28/775115c25613b3d5e3c72d7faf3c68c9.jpg","text":"TemporaryFile(/tmp/multipartBody6229489023053463353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101213902,"filename":"image_28012025_17_02_14_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332435690","file1":"1332435687","file0":"1332435684","file4":"1332435711","file5":"1332435729","file3":"1332435693"},"map_files_photo_id_array":[{"photo_id":"1332435729","filename":"file5"},{"photo_id":"1332435690","filename":"file2"},{"photo_id":"1332435711","filename":"file4"},{"photo_id":"1332435687","filename":"file1"},{"photo_id":"1332435684","filename":"file0"},{"photo_id":"1332435693","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332435711":["hashtag1","hashtag2"]},{"1332435690":["hashtag1","hashtag2"]},{"1332435684":["hashtag1","hashtag2"]},{"1332435693":["hashtag1","hashtag2"]},{"1332435687":["hashtag1","hashtag2"]},{"1332435729":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332435711, 1332435690, 1332435684, 1332435693, 1332435687, 1332435729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.41441822052002 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:53:32.268073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/02/image_28012025_17_02_25_10331.jpg', '/home/pi/Desktop/images/28012025/17/02/image_28012025_17_02_35_10405.jpg', '/home/pi/Desktop/images/28012025/17/02/image_28012025_17_02_44_9345.jpg', '/home/pi/Desktop/images/28012025/17/02/image_28012025_17_02_55_10339.jpg', '/home/pi/Desktop/images/28012025/17/02/image_28012025_17_03_05_10341.jpg', '/home/pi/Desktop/images/28012025/17/03/image_28012025_17_03_14_9398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/02/image_28012025_17_02_25_10331.jpg
/home/pi/Desktop/images/28012025/17/02/image_28012025_17_02_35_10405.jpg
/home/pi/Desktop/images/28012025/17/02/image_28012025_17_02_44_9345.jpg
/home/pi/Desktop/images/28012025/17/02/image_28012025_17_02_55_10339.jpg
/home/pi/Desktop/images/28012025/17/02/image_28012025_17_03_05_10341.jpg
/home/pi/Desktop/images/28012025/17/03/image_28012025_17_03_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":["1332435794","1332435770","1332435757","1332435808","1332435783","1332435768"],"photo_ids_order":["1332435757","1332435768","1332435770","1332435783","1332435794","1332435808"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4d4461023aa401e066b275a59958988b.jpg","text":"TemporaryFile(/tmp/multipartBody4910043403882864678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101273231,"filename":"image_28012025_17_03_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/1/28/653e321eaa709769c000b52638f83f62.jpg","text":"TemporaryFile(/tmp/multipartBody1601633024994007956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101273231,"filename":"image_28012025_17_02_44_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8451a445ed903e74d92ffb96cf259e5e.jpg","text":"TemporaryFile(/tmp/multipartBody3951947564171021299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101273231,"filename":"image_28012025_17_02_25_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/62955f66cb6c9018e770ddc04f8b10ed.jpg","text":"TemporaryFile(/tmp/multipartBody1471985342678855514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101273231,"filename":"image_28012025_17_03_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/1/28/c91b9eb7bf4cae0ad1995992882289b2.jpg","text":"TemporaryFile(/tmp/multipartBody9009462626364153243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101273231,"filename":"image_28012025_17_02_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/1/28/45568a8ea7217577886063f0039b18bd.jpg","text":"TemporaryFile(/tmp/multipartBody1808334574948444114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101273231,"filename":"image_28012025_17_02_35_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332435770","file1":"1332435768","file0":"1332435757","file4":"1332435794","file5":"1332435808","file3":"1332435783"},"map_files_photo_id_array":[{"photo_id":"1332435808","filename":"file5"},{"photo_id":"1332435770","filename":"file2"},{"photo_id":"1332435794","filename":"file4"},{"photo_id":"1332435768","filename":"file1"},{"photo_id":"1332435757","filename":"file0"},{"photo_id":"1332435783","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332435794":["hashtag1","hashtag2"]},{"1332435770":["hashtag1","hashtag2"]},{"1332435757":["hashtag1","hashtag2"]},{"1332435808":["hashtag1","hashtag2"]},{"1332435783":["hashtag1","hashtag2"]},{"1332435768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332435794, 1332435770, 1332435757, 1332435808, 1332435783, 1332435768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.748019218444824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:54:32.570728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/03/image_28012025_17_03_25_10394.jpg', '/home/pi/Desktop/images/28012025/17/03/image_28012025_17_03_34_9388.jpg', '/home/pi/Desktop/images/28012025/17/03/image_28012025_17_03_45_10361.jpg', '/home/pi/Desktop/images/28012025/17/03/image_28012025_17_03_55_10371.jpg', '/home/pi/Desktop/images/28012025/17/03/image_28012025_17_04_04_9438.jpg', '/home/pi/Desktop/images/28012025/17/04/image_28012025_17_04_15_10323.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/03/image_28012025_17_03_25_10394.jpg
/home/pi/Desktop/images/28012025/17/03/image_28012025_17_03_34_9388.jpg
/home/pi/Desktop/images/28012025/17/03/image_28012025_17_03_45_10361.jpg
/home/pi/Desktop/images/28012025/17/03/image_28012025_17_03_55_10371.jpg
/home/pi/Desktop/images/28012025/17/03/image_28012025_17_04_04_9438.jpg
/home/pi/Desktop/images/28012025/17/04/image_28012025_17_04_15_10323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332435851","1332435865","1332435847","1332435867","1332435861","1332435855"],"photo_ids_order":["1332435847","1332435851","1332435855","1332435861","1332435865","1332435867"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/332a02cb4f3510d31ef638b5de83b21e.jpg","text":"TemporaryFile(/tmp/multipartBody4386976415979201323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101333551,"filename":"image_28012025_17_03_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/1/28/fe4dac81f6c38b3bf4bb369bf3915ef5.jpg","text":"TemporaryFile(/tmp/multipartBody8291356558718602566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101333551,"filename":"image_28012025_17_04_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/1/28/4af6ac592315ae8f838677756efb821b.jpg","text":"TemporaryFile(/tmp/multipartBody6656796224804823362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101333551,"filename":"image_28012025_17_03_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/1/28/6ed1d3350c9960ddc2b42ec9d7215520.jpg","text":"TemporaryFile(/tmp/multipartBody7813903468279432973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101333551,"filename":"image_28012025_17_04_15_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d953423f966c1e51dd1f7be260435843.jpg","text":"TemporaryFile(/tmp/multipartBody2505887508493620060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101333551,"filename":"image_28012025_17_03_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/1/28/db2e8b8dae23c650dc89696c5a16b458.jpg","text":"TemporaryFile(/tmp/multipartBody959714398220753365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101333551,"filename":"image_28012025_17_03_45_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332435855","file1":"1332435851","file0":"1332435847","file4":"1332435865","file5":"1332435867","file3":"1332435861"},"map_files_photo_id_array":[{"photo_id":"1332435867","filename":"file5"},{"photo_id":"1332435855","filename":"file2"},{"photo_id":"1332435865","filename":"file4"},{"photo_id":"1332435851","filename":"file1"},{"photo_id":"1332435847","filename":"file0"},{"photo_id":"1332435861","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332435851":["hashtag1","hashtag2"]},{"1332435865":["hashtag1","hashtag2"]},{"1332435847":["hashtag1","hashtag2"]},{"1332435867":["hashtag1","hashtag2"]},{"1332435861":["hashtag1","hashtag2"]},{"1332435855":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332435851, 1332435865, 1332435847, 1332435867, 1332435861, 1332435855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.10703492164612 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:55:32.795639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/04/image_28012025_17_04_24_9399.jpg', '/home/pi/Desktop/images/28012025/17/04/image_28012025_17_04_34_10243.jpg', '/home/pi/Desktop/images/28012025/17/04/image_28012025_17_04_45_10333.jpg', '/home/pi/Desktop/images/28012025/17/04/image_28012025_17_04_55_10350.jpg', '/home/pi/Desktop/images/28012025/17/04/image_28012025_17_05_05_9409.jpg', '/home/pi/Desktop/images/28012025/17/05/image_28012025_17_05_15_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/04/image_28012025_17_04_24_9399.jpg
/home/pi/Desktop/images/28012025/17/04/image_28012025_17_04_34_10243.jpg
/home/pi/Desktop/images/28012025/17/04/image_28012025_17_04_45_10333.jpg
/home/pi/Desktop/images/28012025/17/04/image_28012025_17_04_55_10350.jpg
/home/pi/Desktop/images/28012025/17/04/image_28012025_17_05_05_9409.jpg
/home/pi/Desktop/images/28012025/17/05/image_28012025_17_05_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":["1332435893","1332435881","1332435890","1332435897","1332435901","1332435885"],"photo_ids_order":["1332435881","1332435885","1332435890","1332435893","1332435897","1332435901"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9aa6ffccdc82c668b90b1f786ac7f85f.jpg","text":"TemporaryFile(/tmp/multipartBody290463012670563889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101393756,"filename":"image_28012025_17_04_55_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ecd0daf7bde2bc913939d0bfae24ed9e.jpg","text":"TemporaryFile(/tmp/multipartBody451538425814601549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101393756,"filename":"image_28012025_17_04_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/1/28/45f4ed61f875c498238d289fd66bdd52.jpg","text":"TemporaryFile(/tmp/multipartBody1794387401331006197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101393756,"filename":"image_28012025_17_04_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/1/28/8811529d477835a34387c4926dda2215.jpg","text":"TemporaryFile(/tmp/multipartBody4924351321664845931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101393756,"filename":"image_28012025_17_05_05_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/6fed26b56f10c2d1ec3c2cfa97fa4050.jpg","text":"TemporaryFile(/tmp/multipartBody7420325942196165862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101393756,"filename":"image_28012025_17_05_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1231a8ffabf074fe229e3831af2c734c.jpg","text":"TemporaryFile(/tmp/multipartBody1159014155736504528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101393756,"filename":"image_28012025_17_04_34_10243.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332435890","file1":"1332435885","file0":"1332435881","file4":"1332435897","file5":"1332435901","file3":"1332435893"},"map_files_photo_id_array":[{"photo_id":"1332435901","filename":"file5"},{"photo_id":"1332435890","filename":"file2"},{"photo_id":"1332435897","filename":"file4"},{"photo_id":"1332435885","filename":"file1"},{"photo_id":"1332435881","filename":"file0"},{"photo_id":"1332435893","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332435893":["hashtag1","hashtag2"]},{"1332435881":["hashtag1","hashtag2"]},{"1332435890":["hashtag1","hashtag2"]},{"1332435897":["hashtag1","hashtag2"]},{"1332435901":["hashtag1","hashtag2"]},{"1332435885":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332435893, 1332435881, 1332435890, 1332435897, 1332435901, 1332435885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.51062202453613 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:56:32.991707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/05/image_28012025_17_05_24_9490.jpg', '/home/pi/Desktop/images/28012025/17/05/image_28012025_17_05_35_10375.jpg', '/home/pi/Desktop/images/28012025/17/05/image_28012025_17_05_45_10346.jpg', '/home/pi/Desktop/images/28012025/17/05/image_28012025_17_06_05_10336.jpg', '/home/pi/Desktop/images/28012025/17/06/image_28012025_17_06_14_9404.jpg', '/home/pi/Desktop/images/28012025/17/06/image_28012025_17_06_25_10416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/05/image_28012025_17_05_24_9490.jpg
/home/pi/Desktop/images/28012025/17/05/image_28012025_17_05_35_10375.jpg
/home/pi/Desktop/images/28012025/17/05/image_28012025_17_05_45_10346.jpg
/home/pi/Desktop/images/28012025/17/05/image_28012025_17_06_05_10336.jpg
/home/pi/Desktop/images/28012025/17/06/image_28012025_17_06_14_9404.jpg
/home/pi/Desktop/images/28012025/17/06/image_28012025_17_06_25_10416.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5708258152008057 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 22:56:43.059766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/05/image_28012025_17_05_24_9490.jpg', '/home/pi/Desktop/images/28012025/17/05/image_28012025_17_05_35_10375.jpg', '/home/pi/Desktop/images/28012025/17/05/image_28012025_17_05_45_10346.jpg', '/home/pi/Desktop/images/28012025/17/05/image_28012025_17_06_05_10336.jpg', '/home/pi/Desktop/images/28012025/17/06/image_28012025_17_06_14_9404.jpg', '/home/pi/Desktop/images/28012025/17/06/image_28012025_17_06_25_10416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/05/image_28012025_17_05_24_9490.jpg
/home/pi/Desktop/images/28012025/17/05/image_28012025_17_05_35_10375.jpg
/home/pi/Desktop/images/28012025/17/05/image_28012025_17_05_45_10346.jpg
/home/pi/Desktop/images/28012025/17/05/image_28012025_17_06_05_10336.jpg
/home/pi/Desktop/images/28012025/17/06/image_28012025_17_06_14_9404.jpg
/home/pi/Desktop/images/28012025/17/06/image_28012025_17_06_25_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332435942","1332435971","1332435926","1332435920","1332435939","1332435933"],"photo_ids_order":["1332435920","1332435926","1332435933","1332435939","1332435942","1332435971"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/529596bad9caba2857213e274f9c7b09.jpg","text":"TemporaryFile(/tmp/multipartBody7774717835868353243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101463947,"filename":"image_28012025_17_06_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/1/28/16f0a6be9512036820c333f8f130c8c4.jpg","text":"TemporaryFile(/tmp/multipartBody6407843702583654083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101463947,"filename":"image_28012025_17_06_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/1/28/dedf2e00cb84a201af249aee50ec58ab.jpg","text":"TemporaryFile(/tmp/multipartBody6652372915222804624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101463947,"filename":"image_28012025_17_05_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/1/28/975c66b4f6b6dc43ba7901c19beea277.jpg","text":"TemporaryFile(/tmp/multipartBody8027922736119313617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101463947,"filename":"image_28012025_17_05_24_9490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/07426f0b6b6e8e3fc824579f11a7db22.jpg","text":"TemporaryFile(/tmp/multipartBody8696515559349765915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101463947,"filename":"image_28012025_17_06_05_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7c94c95ff81deaab7d70b9993e3e5947.jpg","text":"TemporaryFile(/tmp/multipartBody4756658702337091936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101463947,"filename":"image_28012025_17_05_45_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332435933","file1":"1332435926","file0":"1332435920","file4":"1332435942","file5":"1332435971","file3":"1332435939"},"map_files_photo_id_array":[{"photo_id":"1332435971","filename":"file5"},{"photo_id":"1332435933","filename":"file2"},{"photo_id":"1332435942","filename":"file4"},{"photo_id":"1332435926","filename":"file1"},{"photo_id":"1332435920","filename":"file0"},{"photo_id":"1332435939","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332435942":["hashtag1","hashtag2"]},{"1332435971":["hashtag1","hashtag2"]},{"1332435926":["hashtag1","hashtag2"]},{"1332435920":["hashtag1","hashtag2"]},{"1332435939":["hashtag1","hashtag2"]},{"1332435933":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332435942, 1332435971, 1332435926, 1332435920, 1332435939, 1332435933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.498032569885254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 22:57:32.332201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/06/image_28012025_17_06_35_10333.jpg', '/home/pi/Desktop/images/28012025/17/06/image_28012025_17_06_44_9339.jpg', '/home/pi/Desktop/images/28012025/17/06/image_28012025_17_06_55_10353.jpg', '/home/pi/Desktop/images/28012025/17/06/image_28012025_17_07_05_10354.jpg', '/home/pi/Desktop/images/28012025/17/07/image_28012025_17_07_14_9418.jpg', '/home/pi/Desktop/images/28012025/17/07/image_28012025_17_07_25_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/06/image_28012025_17_06_35_10333.jpg
/home/pi/Desktop/images/28012025/17/06/image_28012025_17_06_44_9339.jpg
/home/pi/Desktop/images/28012025/17/06/image_28012025_17_06_55_10353.jpg
/home/pi/Desktop/images/28012025/17/06/image_28012025_17_07_05_10354.jpg
/home/pi/Desktop/images/28012025/17/07/image_28012025_17_07_14_9418.jpg
/home/pi/Desktop/images/28012025/17/07/image_28012025_17_07_25_10347.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 www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 22:59:04.688464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/06/image_28012025_17_06_35_10333.jpg', '/home/pi/Desktop/images/28012025/17/06/image_28012025_17_06_44_9339.jpg', '/home/pi/Desktop/images/28012025/17/06/image_28012025_17_06_55_10353.jpg', '/home/pi/Desktop/images/28012025/17/06/image_28012025_17_07_05_10354.jpg', '/home/pi/Desktop/images/28012025/17/07/image_28012025_17_07_14_9418.jpg', '/home/pi/Desktop/images/28012025/17/07/image_28012025_17_07_25_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/06/image_28012025_17_06_35_10333.jpg
/home/pi/Desktop/images/28012025/17/06/image_28012025_17_06_44_9339.jpg
/home/pi/Desktop/images/28012025/17/06/image_28012025_17_06_55_10353.jpg
/home/pi/Desktop/images/28012025/17/06/image_28012025_17_07_05_10354.jpg
/home/pi/Desktop/images/28012025/17/07/image_28012025_17_07_14_9418.jpg
/home/pi/Desktop/images/28012025/17/07/image_28012025_17_07_25_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":["1332436136","1332436115","1332436132","1332436126","1332436120","1332436123"],"photo_ids_order":["1332436115","1332436120","1332436123","1332436126","1332436132","1332436136"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1158180e40ab2b53ef8d1b25a3cc7096.jpg","text":"TemporaryFile(/tmp/multipartBody5278108344725191371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101605710,"filename":"image_28012025_17_07_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/1/28/308b88de264fc60009273a7e903c117d.jpg","text":"TemporaryFile(/tmp/multipartBody6300344990615786429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101605710,"filename":"image_28012025_17_06_35_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9d9d1741415607365aab6c27d4d5f16b.jpg","text":"TemporaryFile(/tmp/multipartBody5963983530074249228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101605710,"filename":"image_28012025_17_07_14_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b8d5bba7a481b48dac73ccb5c8de78c2.jpg","text":"TemporaryFile(/tmp/multipartBody9046627550179740196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101605710,"filename":"image_28012025_17_07_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/1/28/ebaafbe4fb930c8f25c7fe5d1f4ff8d5.jpg","text":"TemporaryFile(/tmp/multipartBody2832970092329325416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101605710,"filename":"image_28012025_17_06_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/1/28/2ec3560fcc54b6561048dc5e13d2df84.jpg","text":"TemporaryFile(/tmp/multipartBody4095794272451343738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101605710,"filename":"image_28012025_17_06_55_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332436123","file1":"1332436120","file0":"1332436115","file4":"1332436132","file5":"1332436136","file3":"1332436126"},"map_files_photo_id_array":[{"photo_id":"1332436136","filename":"file5"},{"photo_id":"1332436123","filename":"file2"},{"photo_id":"1332436132","filename":"file4"},{"photo_id":"1332436120","filename":"file1"},{"photo_id":"1332436115","filename":"file0"},{"photo_id":"1332436126","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332436136":["hashtag1","hashtag2"]},{"1332436115":["hashtag1","hashtag2"]},{"1332436132":["hashtag1","hashtag2"]},{"1332436126":["hashtag1","hashtag2"]},{"1332436120":["hashtag1","hashtag2"]},{"1332436123":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332436136, 1332436115, 1332436132, 1332436126, 1332436120, 1332436123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20197796821594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-28 22:59:52.984019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/27/image_23012025_23_27_57_10365.jpg', '/home/pi/Desktop/images/23012025/23/28/image_23012025_23_28_16_10392.jpg', '/home/pi/Desktop/images/23012025/23/28/image_23012025_23_28_26_9341.jpg', '/home/pi/Desktop/images/23012025/23/28/image_23012025_23_28_36_10419.jpg', '/home/pi/Desktop/images/23012025/23/28/image_23012025_23_28_47_10408.jpg', '/home/pi/Desktop/images/23012025/23/28/image_23012025_23_28_56_9399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/27/image_23012025_23_27_57_10365.jpg
/home/pi/Desktop/images/23012025/23/28/image_23012025_23_28_16_10392.jpg
/home/pi/Desktop/images/23012025/23/28/image_23012025_23_28_26_9341.jpg
/home/pi/Desktop/images/23012025/23/28/image_23012025_23_28_36_10419.jpg
/home/pi/Desktop/images/23012025/23/28/image_23012025_23_28_47_10408.jpg
/home/pi/Desktop/images/23012025/23/28/image_23012025_23_28_56_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":["1332436189","1332436180","1332436159","1332436168","1332436156","1332436185"],"photo_ids_order":["1332436156","1332436159","1332436168","1332436180","1332436185","1332436189"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8a8a4f3319106ab36144122a7679d130.jpg","text":"TemporaryFile(/tmp/multipartBody3586298097771075654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101655097,"filename":"image_23012025_23_28_56_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1c44b00f3ec7a8efa385985e48f3b35c.jpg","text":"TemporaryFile(/tmp/multipartBody2669538048944017901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101655097,"filename":"image_23012025_23_28_36_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/13f10e2ee2e6210ea1f09a0f8a6884f4.jpg","text":"TemporaryFile(/tmp/multipartBody1267819369728689790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101655097,"filename":"image_23012025_23_28_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/1/28/15de0db33be532e54249e23e71ebfe1c.jpg","text":"TemporaryFile(/tmp/multipartBody1932095481285062504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101655097,"filename":"image_23012025_23_28_26_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b104abae91f544443e73e04f9fb071ea.jpg","text":"TemporaryFile(/tmp/multipartBody5233492374799724701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101655097,"filename":"image_23012025_23_27_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/1/28/dd81d50b141fcaf73d77d03d2d3c45dd.jpg","text":"TemporaryFile(/tmp/multipartBody3046772949469742969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101655097,"filename":"image_23012025_23_28_47_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332436168","file1":"1332436159","file0":"1332436156","file4":"1332436185","file5":"1332436189","file3":"1332436180"},"map_files_photo_id_array":[{"photo_id":"1332436189","filename":"file5"},{"photo_id":"1332436168","filename":"file2"},{"photo_id":"1332436185","filename":"file4"},{"photo_id":"1332436159","filename":"file1"},{"photo_id":"1332436156","filename":"file0"},{"photo_id":"1332436180","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332436189":["hashtag1","hashtag2"]},{"1332436180":["hashtag1","hashtag2"]},{"1332436159":["hashtag1","hashtag2"]},{"1332436168":["hashtag1","hashtag2"]},{"1332436156":["hashtag1","hashtag2"]},{"1332436185":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332436189, 1332436180, 1332436159, 1332436168, 1332436156, 1332436185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.25158667564392 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 23:00:42.072173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/07/image_28012025_17_07_34_9447.jpg', '/home/pi/Desktop/images/28012025/17/07/image_28012025_17_07_45_10347.jpg', '/home/pi/Desktop/images/28012025/17/07/image_28012025_17_07_55_10360.jpg', '/home/pi/Desktop/images/28012025/17/07/image_28012025_17_08_04_9341.jpg', '/home/pi/Desktop/images/28012025/17/08/image_28012025_17_08_15_10371.jpg', '/home/pi/Desktop/images/28012025/17/08/image_28012025_17_08_25_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/07/image_28012025_17_07_34_9447.jpg
/home/pi/Desktop/images/28012025/17/07/image_28012025_17_07_45_10347.jpg
/home/pi/Desktop/images/28012025/17/07/image_28012025_17_07_55_10360.jpg
/home/pi/Desktop/images/28012025/17/07/image_28012025_17_08_04_9341.jpg
/home/pi/Desktop/images/28012025/17/08/image_28012025_17_08_15_10371.jpg
/home/pi/Desktop/images/28012025/17/08/image_28012025_17_08_25_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332436286","1332436271","1332436262","1332436232","1332436228","1332436269"],"photo_ids_order":["1332436228","1332436232","1332436262","1332436269","1332436271","1332436286"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8e57b17a65e99503a44b17b0834cc25e.jpg","text":"TemporaryFile(/tmp/multipartBody4693156171523510486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101703040,"filename":"image_28012025_17_08_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/1/28/0008cd52d62653b82cd4ff5b2716b040.jpg","text":"TemporaryFile(/tmp/multipartBody607734470046906997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101703040,"filename":"image_28012025_17_08_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/1/28/d4066ae13be8c23ac5b4e0060babc7e0.jpg","text":"TemporaryFile(/tmp/multipartBody6793647729828696141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101703040,"filename":"image_28012025_17_07_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/1/28/74e794a73f939fbe628d815713897608.jpg","text":"TemporaryFile(/tmp/multipartBody770338048469765739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101703040,"filename":"image_28012025_17_07_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/1/28/02f38e19edd9512fb9c8f2cf5692be14.jpg","text":"TemporaryFile(/tmp/multipartBody1369944189480056448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101703040,"filename":"image_28012025_17_07_34_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9c30102a451bd399c98cbf1378348e44.jpg","text":"TemporaryFile(/tmp/multipartBody8972008931565098534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101703040,"filename":"image_28012025_17_08_04_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332436262","file1":"1332436232","file0":"1332436228","file4":"1332436271","file5":"1332436286","file3":"1332436269"},"map_files_photo_id_array":[{"photo_id":"1332436286","filename":"file5"},{"photo_id":"1332436262","filename":"file2"},{"photo_id":"1332436271","filename":"file4"},{"photo_id":"1332436232","filename":"file1"},{"photo_id":"1332436228","filename":"file0"},{"photo_id":"1332436269","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332436286":["hashtag1","hashtag2"]},{"1332436271":["hashtag1","hashtag2"]},{"1332436262":["hashtag1","hashtag2"]},{"1332436232":["hashtag1","hashtag2"]},{"1332436228":["hashtag1","hashtag2"]},{"1332436269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332436286, 1332436271, 1332436262, 1332436232, 1332436228, 1332436269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.336281299591064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:01:32.448608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/08/image_28012025_17_08_34_9431.jpg', '/home/pi/Desktop/images/28012025/17/08/image_28012025_17_08_45_10345.jpg', '/home/pi/Desktop/images/28012025/17/08/image_28012025_17_08_54_9378.jpg', '/home/pi/Desktop/images/28012025/17/08/image_28012025_17_09_05_10343.jpg', '/home/pi/Desktop/images/28012025/17/09/image_28012025_17_09_15_10345.jpg', '/home/pi/Desktop/images/28012025/17/09/image_28012025_17_09_24_9380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/08/image_28012025_17_08_34_9431.jpg
/home/pi/Desktop/images/28012025/17/08/image_28012025_17_08_45_10345.jpg
/home/pi/Desktop/images/28012025/17/08/image_28012025_17_08_54_9378.jpg
/home/pi/Desktop/images/28012025/17/08/image_28012025_17_09_05_10343.jpg
/home/pi/Desktop/images/28012025/17/09/image_28012025_17_09_15_10345.jpg
/home/pi/Desktop/images/28012025/17/09/image_28012025_17_09_24_9380.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5751690864562988 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 23:01:42.299660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/08/image_28012025_17_08_34_9431.jpg', '/home/pi/Desktop/images/28012025/17/08/image_28012025_17_08_45_10345.jpg', '/home/pi/Desktop/images/28012025/17/08/image_28012025_17_08_54_9378.jpg', '/home/pi/Desktop/images/28012025/17/08/image_28012025_17_09_05_10343.jpg', '/home/pi/Desktop/images/28012025/17/09/image_28012025_17_09_15_10345.jpg', '/home/pi/Desktop/images/28012025/17/09/image_28012025_17_09_24_9380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/08/image_28012025_17_08_34_9431.jpg
/home/pi/Desktop/images/28012025/17/08/image_28012025_17_08_45_10345.jpg
/home/pi/Desktop/images/28012025/17/08/image_28012025_17_08_54_9378.jpg
/home/pi/Desktop/images/28012025/17/08/image_28012025_17_09_05_10343.jpg
/home/pi/Desktop/images/28012025/17/09/image_28012025_17_09_15_10345.jpg
/home/pi/Desktop/images/28012025/17/09/image_28012025_17_09_24_9380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332436745","1332436316","1332437199","1332437085","1332437202","1332436389"],"photo_ids_order":["1332436316","1332436389","1332436745","1332437085","1332437199","1332437202"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2504bf8859995e456180b996751952d8.jpg","text":"TemporaryFile(/tmp/multipartBody3784458109248318673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101763204,"filename":"image_28012025_17_08_54_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5a4ff788c4c40420ebbab5e2e4bcf906.jpg","text":"TemporaryFile(/tmp/multipartBody5052108825301135824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101763204,"filename":"image_28012025_17_08_34_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/785497997c0b6f194c4983a58e842f04.jpg","text":"TemporaryFile(/tmp/multipartBody6649257959320567186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101763204,"filename":"image_28012025_17_09_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/1/28/1319865dd939bbe4415f5da86e89c757.jpg","text":"TemporaryFile(/tmp/multipartBody8101988445226600026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101763204,"filename":"image_28012025_17_09_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/1/28/8d3e2f3f806cadf94adcf9640117bbd9.jpg","text":"TemporaryFile(/tmp/multipartBody6393772622660799345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101763204,"filename":"image_28012025_17_09_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/1/28/43c73a81cf231f1f39190212f9cae165.jpg","text":"TemporaryFile(/tmp/multipartBody6537513816474979872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101763204,"filename":"image_28012025_17_08_45_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332436745","file1":"1332436389","file0":"1332436316","file4":"1332437199","file5":"1332437202","file3":"1332437085"},"map_files_photo_id_array":[{"photo_id":"1332437202","filename":"file5"},{"photo_id":"1332436745","filename":"file2"},{"photo_id":"1332437199","filename":"file4"},{"photo_id":"1332436389","filename":"file1"},{"photo_id":"1332436316","filename":"file0"},{"photo_id":"1332437085","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332436745":["hashtag1","hashtag2"]},{"1332436316":["hashtag1","hashtag2"]},{"1332437199":["hashtag1","hashtag2"]},{"1332437085":["hashtag1","hashtag2"]},{"1332437202":["hashtag1","hashtag2"]},{"1332436389":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332436745, 1332436316, 1332437199, 1332437085, 1332437202, 1332436389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22516059875488 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:02:32.605211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/09/image_28012025_17_09_35_10340.jpg', '/home/pi/Desktop/images/28012025/17/09/image_28012025_17_09_45_10373.jpg', '/home/pi/Desktop/images/28012025/17/09/image_28012025_17_09_54_9343.jpg', '/home/pi/Desktop/images/28012025/17/09/image_28012025_17_10_05_10341.jpg', '/home/pi/Desktop/images/28012025/17/10/image_28012025_17_10_15_10424.jpg', '/home/pi/Desktop/images/28012025/17/10/image_28012025_17_10_35_10396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/09/image_28012025_17_09_35_10340.jpg
/home/pi/Desktop/images/28012025/17/09/image_28012025_17_09_45_10373.jpg
/home/pi/Desktop/images/28012025/17/09/image_28012025_17_09_54_9343.jpg
/home/pi/Desktop/images/28012025/17/09/image_28012025_17_10_05_10341.jpg
/home/pi/Desktop/images/28012025/17/10/image_28012025_17_10_15_10424.jpg
/home/pi/Desktop/images/28012025/17/10/image_28012025_17_10_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":["1332437240","1332437236","1332437245","1332437232","1332437223","1332437243"],"photo_ids_order":["1332437223","1332437232","1332437236","1332437240","1332437243","1332437245"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8d1c6767079d9fcee9e95b1aee41c898.jpg","text":"TemporaryFile(/tmp/multipartBody3693231402303525564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101813587,"filename":"image_28012025_17_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/1/28/1608ec38400680cfbe7d420112bb48e6.jpg","text":"TemporaryFile(/tmp/multipartBody8416636516411967468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101813587,"filename":"image_28012025_17_09_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/1/28/9c7ab4ae0b6d7de934ad1629e7340e09.jpg","text":"TemporaryFile(/tmp/multipartBody2484282904197053335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101813587,"filename":"image_28012025_17_10_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/1/28/17eb49dcd31abad87e1e5f38be2a56d7.jpg","text":"TemporaryFile(/tmp/multipartBody6390220801964058033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101813587,"filename":"image_28012025_17_09_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/1/28/c30aea0822527a934ea3445ff6ab5d73.jpg","text":"TemporaryFile(/tmp/multipartBody1619895685459901523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101813587,"filename":"image_28012025_17_09_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/1/28/b9a7e41074c395f0635218082bec47d5.jpg","text":"TemporaryFile(/tmp/multipartBody4806759639569518252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101813587,"filename":"image_28012025_17_10_15_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332437236","file1":"1332437232","file0":"1332437223","file4":"1332437243","file5":"1332437245","file3":"1332437240"},"map_files_photo_id_array":[{"photo_id":"1332437245","filename":"file5"},{"photo_id":"1332437236","filename":"file2"},{"photo_id":"1332437243","filename":"file4"},{"photo_id":"1332437232","filename":"file1"},{"photo_id":"1332437223","filename":"file0"},{"photo_id":"1332437240","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332437240":["hashtag1","hashtag2"]},{"1332437236":["hashtag1","hashtag2"]},{"1332437245":["hashtag1","hashtag2"]},{"1332437232":["hashtag1","hashtag2"]},{"1332437223":["hashtag1","hashtag2"]},{"1332437243":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332437240, 1332437236, 1332437245, 1332437232, 1332437223, 1332437243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.3973970413208 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:03:32.869351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/10/image_28012025_17_10_44_9443.jpg', '/home/pi/Desktop/images/28012025/17/10/image_28012025_17_10_55_10358.jpg', '/home/pi/Desktop/images/28012025/17/10/image_28012025_17_11_05_10327.jpg', '/home/pi/Desktop/images/28012025/17/11/image_28012025_17_11_14_9410.jpg', '/home/pi/Desktop/images/28012025/17/11/image_28012025_17_11_25_10361.jpg', '/home/pi/Desktop/images/28012025/17/11/image_28012025_17_11_35_9902.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/10/image_28012025_17_10_44_9443.jpg
/home/pi/Desktop/images/28012025/17/10/image_28012025_17_10_55_10358.jpg
/home/pi/Desktop/images/28012025/17/10/image_28012025_17_11_05_10327.jpg
/home/pi/Desktop/images/28012025/17/11/image_28012025_17_11_14_9410.jpg
/home/pi/Desktop/images/28012025/17/11/image_28012025_17_11_25_10361.jpg
/home/pi/Desktop/images/28012025/17/11/image_28012025_17_11_35_9902.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332437900","1332437825","1332437791","1332437832","1332437541","1332437753"],"photo_ids_order":["1332437541","1332437753","1332437791","1332437825","1332437832","1332437900"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d955e30ed222ea11f843c697ef892b82.jpg","text":"TemporaryFile(/tmp/multipartBody5781873949701628226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101873843,"filename":"image_28012025_17_11_35_9902.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8d7a7a619a021d14f533ec3593848b4f.jpg","text":"TemporaryFile(/tmp/multipartBody4462159408154686073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101873843,"filename":"image_28012025_17_11_14_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dda2c62f313162a6f90c2fef6606cf8a.jpg","text":"TemporaryFile(/tmp/multipartBody7276930546435316157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101873843,"filename":"image_28012025_17_11_05_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2ae98d8cc34d1b6d5448f83f93cc15fd.jpg","text":"TemporaryFile(/tmp/multipartBody4977581249815833027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101873843,"filename":"image_28012025_17_11_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/1/28/dd8c7ce1c4229cc33717062ec7d8f908.jpg","text":"TemporaryFile(/tmp/multipartBody8345009535702665421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101873843,"filename":"image_28012025_17_10_44_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/96b56ec5be259221c9ec01ec759b02b8.jpg","text":"TemporaryFile(/tmp/multipartBody8728385560965490583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101873843,"filename":"image_28012025_17_10_55_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332437791","file1":"1332437753","file0":"1332437541","file4":"1332437832","file5":"1332437900","file3":"1332437825"},"map_files_photo_id_array":[{"photo_id":"1332437900","filename":"file5"},{"photo_id":"1332437791","filename":"file2"},{"photo_id":"1332437832","filename":"file4"},{"photo_id":"1332437753","filename":"file1"},{"photo_id":"1332437541","filename":"file0"},{"photo_id":"1332437825","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332437900":["hashtag1","hashtag2"]},{"1332437825":["hashtag1","hashtag2"]},{"1332437791":["hashtag1","hashtag2"]},{"1332437832":["hashtag1","hashtag2"]},{"1332437541":["hashtag1","hashtag2"]},{"1332437753":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332437900, 1332437825, 1332437791, 1332437832, 1332437541, 1332437753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.61628985404968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:04:32.944461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/11/image_28012025_17_11_45_10366.jpg', '/home/pi/Desktop/images/28012025/17/11/image_28012025_17_11_55_9435.jpg', '/home/pi/Desktop/images/28012025/17/11/image_28012025_17_12_05_10332.jpg', '/home/pi/Desktop/images/28012025/17/12/image_28012025_17_12_14_9392.jpg', '/home/pi/Desktop/images/28012025/17/12/image_28012025_17_12_35_10429.jpg', '/home/pi/Desktop/images/28012025/17/13/image_28012025_17_13_45_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/11/image_28012025_17_11_45_10366.jpg
/home/pi/Desktop/images/28012025/17/11/image_28012025_17_11_55_9435.jpg
/home/pi/Desktop/images/28012025/17/11/image_28012025_17_12_05_10332.jpg
/home/pi/Desktop/images/28012025/17/12/image_28012025_17_12_14_9392.jpg
/home/pi/Desktop/images/28012025/17/12/image_28012025_17_12_35_10429.jpg
/home/pi/Desktop/images/28012025/17/13/image_28012025_17_13_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":["1332437942","1332437959","1332437932","1332437949","1332437937","1332437972"],"photo_ids_order":["1332437932","1332437937","1332437942","1332437949","1332437959","1332437972"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/34e77e134772eaed2b826cc2d0a9b171.jpg","text":"TemporaryFile(/tmp/multipartBody1297588352979402634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101933934,"filename":"image_28012025_17_12_05_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7f6db3c07b42cf58fc85734ccc99fcda.jpg","text":"TemporaryFile(/tmp/multipartBody422125441293373507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101933934,"filename":"image_28012025_17_12_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/1/28/fabce2818da6031c2bf021b73ba1f566.jpg","text":"TemporaryFile(/tmp/multipartBody7279569068390155231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101933934,"filename":"image_28012025_17_11_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0f8a51b08e032a150ceeccee28d8f11b.jpg","text":"TemporaryFile(/tmp/multipartBody5209955229560410332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101933934,"filename":"image_28012025_17_12_14_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d81f5359e7b9155aa4edc9ba61d9840a.jpg","text":"TemporaryFile(/tmp/multipartBody3044645789232496025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101933934,"filename":"image_28012025_17_11_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/1/28/25b98dc3635cec53240db669e48713dd.jpg","text":"TemporaryFile(/tmp/multipartBody5683409872060158971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738101933934,"filename":"image_28012025_17_13_45_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332437942","file1":"1332437937","file0":"1332437932","file4":"1332437959","file5":"1332437972","file3":"1332437949"},"map_files_photo_id_array":[{"photo_id":"1332437972","filename":"file5"},{"photo_id":"1332437942","filename":"file2"},{"photo_id":"1332437959","filename":"file4"},{"photo_id":"1332437937","filename":"file1"},{"photo_id":"1332437932","filename":"file0"},{"photo_id":"1332437949","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332437942":["hashtag1","hashtag2"]},{"1332437959":["hashtag1","hashtag2"]},{"1332437932":["hashtag1","hashtag2"]},{"1332437949":["hashtag1","hashtag2"]},{"1332437937":["hashtag1","hashtag2"]},{"1332437972":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332437942, 1332437959, 1332437932, 1332437949, 1332437937, 1332437972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.19682765007019 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:05:32.261142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/13/image_28012025_17_13_54_9433.jpg', '/home/pi/Desktop/images/28012025/17/13/image_28012025_17_14_05_10364.jpg', '/home/pi/Desktop/images/28012025/17/14/image_28012025_17_14_15_10328.jpg', '/home/pi/Desktop/images/28012025/17/14/image_28012025_17_14_24_9417.jpg', '/home/pi/Desktop/images/28012025/17/14/image_28012025_17_14_45_10354.jpg', '/home/pi/Desktop/images/28012025/17/14/image_28012025_17_14_54_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/13/image_28012025_17_13_54_9433.jpg
/home/pi/Desktop/images/28012025/17/13/image_28012025_17_14_05_10364.jpg
/home/pi/Desktop/images/28012025/17/14/image_28012025_17_14_15_10328.jpg
/home/pi/Desktop/images/28012025/17/14/image_28012025_17_14_24_9417.jpg
/home/pi/Desktop/images/28012025/17/14/image_28012025_17_14_45_10354.jpg
/home/pi/Desktop/images/28012025/17/14/image_28012025_17_14_54_9353.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5931386947631836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 23:05:42.292672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/13/image_28012025_17_13_54_9433.jpg', '/home/pi/Desktop/images/28012025/17/13/image_28012025_17_14_05_10364.jpg', '/home/pi/Desktop/images/28012025/17/14/image_28012025_17_14_15_10328.jpg', '/home/pi/Desktop/images/28012025/17/14/image_28012025_17_14_24_9417.jpg', '/home/pi/Desktop/images/28012025/17/14/image_28012025_17_14_45_10354.jpg', '/home/pi/Desktop/images/28012025/17/14/image_28012025_17_14_54_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/13/image_28012025_17_13_54_9433.jpg
/home/pi/Desktop/images/28012025/17/13/image_28012025_17_14_05_10364.jpg
/home/pi/Desktop/images/28012025/17/14/image_28012025_17_14_15_10328.jpg
/home/pi/Desktop/images/28012025/17/14/image_28012025_17_14_24_9417.jpg
/home/pi/Desktop/images/28012025/17/14/image_28012025_17_14_45_10354.jpg
/home/pi/Desktop/images/28012025/17/14/image_28012025_17_14_54_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332439785","1332439664","1332439346","1332439789","1332439019","1332439792"],"photo_ids_order":["1332439019","1332439346","1332439664","1332439785","1332439789","1332439792"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/64894fe9740f8f49bbe43e62e8d30432.jpg","text":"TemporaryFile(/tmp/multipartBody7552229953012303192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102003204,"filename":"image_28012025_17_14_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/1/28/96434fe3910244d5403210bc1f14b2da.jpg","text":"TemporaryFile(/tmp/multipartBody8805627899354969235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102003204,"filename":"image_28012025_17_14_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/1/28/98460ae88f9269b9ea69fc264a0a1873.jpg","text":"TemporaryFile(/tmp/multipartBody2845303171811191142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102003204,"filename":"image_28012025_17_14_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/1/28/dda8a79f9a422f87bb6e7b5f5abe523f.jpg","text":"TemporaryFile(/tmp/multipartBody4622025610553221619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102003204,"filename":"image_28012025_17_14_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/1/28/4ab69355b6f43260180bf93c63cd2aea.jpg","text":"TemporaryFile(/tmp/multipartBody2729517793852246131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102003204,"filename":"image_28012025_17_13_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/1/28/4ee40b1d6792fe3005fde6d7d75c1934.jpg","text":"TemporaryFile(/tmp/multipartBody521705788875730264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102003204,"filename":"image_28012025_17_14_54_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332439664","file1":"1332439346","file0":"1332439019","file4":"1332439789","file5":"1332439792","file3":"1332439785"},"map_files_photo_id_array":[{"photo_id":"1332439792","filename":"file5"},{"photo_id":"1332439664","filename":"file2"},{"photo_id":"1332439789","filename":"file4"},{"photo_id":"1332439346","filename":"file1"},{"photo_id":"1332439019","filename":"file0"},{"photo_id":"1332439785","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332439785":["hashtag1","hashtag2"]},{"1332439664":["hashtag1","hashtag2"]},{"1332439346":["hashtag1","hashtag2"]},{"1332439789":["hashtag1","hashtag2"]},{"1332439019":["hashtag1","hashtag2"]},{"1332439792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332439785, 1332439664, 1332439346, 1332439789, 1332439019, 1332439792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.804073095321655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:06:32.461698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/14/image_28012025_17_15_05_10350.jpg', '/home/pi/Desktop/images/28012025/17/15/image_28012025_17_15_15_10348.jpg', '/home/pi/Desktop/images/28012025/17/15/image_28012025_17_15_24_9356.jpg', '/home/pi/Desktop/images/28012025/17/15/image_28012025_17_15_35_10343.jpg', '/home/pi/Desktop/images/28012025/17/15/image_28012025_17_15_44_9495.jpg', '/home/pi/Desktop/images/28012025/17/15/image_28012025_17_15_55_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/14/image_28012025_17_15_05_10350.jpg
/home/pi/Desktop/images/28012025/17/15/image_28012025_17_15_15_10348.jpg
/home/pi/Desktop/images/28012025/17/15/image_28012025_17_15_24_9356.jpg
/home/pi/Desktop/images/28012025/17/15/image_28012025_17_15_35_10343.jpg
/home/pi/Desktop/images/28012025/17/15/image_28012025_17_15_44_9495.jpg
/home/pi/Desktop/images/28012025/17/15/image_28012025_17_15_55_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":["1332439989","1332440696","1332440517","1332440393","1332440099","1332440627"],"photo_ids_order":["1332439989","1332440099","1332440393","1332440517","1332440627","1332440696"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2dce20295a14620a1580b3e4ae0e6555.jpg","text":"TemporaryFile(/tmp/multipartBody6325462827856656338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102053438,"filename":"image_28012025_17_15_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/1/28/13b0194c19d3d61a9ed57348bf4e90cf.jpg","text":"TemporaryFile(/tmp/multipartBody2545130152214225146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102053438,"filename":"image_28012025_17_15_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/1/28/4de8f87294b9c2048dc87269036530f1.jpg","text":"TemporaryFile(/tmp/multipartBody338929042236410351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102053438,"filename":"image_28012025_17_15_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/1/28/aeba4037423518fece430bf69aa5462f.jpg","text":"TemporaryFile(/tmp/multipartBody8595759483222057516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102053438,"filename":"image_28012025_17_15_24_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fee7aa9c1156bb65efdf41501927d743.jpg","text":"TemporaryFile(/tmp/multipartBody9187371675204260893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102053438,"filename":"image_28012025_17_15_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/1/28/be130a21b6165f9d38347316043734d9.jpg","text":"TemporaryFile(/tmp/multipartBody4156296081290044406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102053438,"filename":"image_28012025_17_15_44_9495.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332440393","file1":"1332440099","file0":"1332439989","file4":"1332440627","file5":"1332440696","file3":"1332440517"},"map_files_photo_id_array":[{"photo_id":"1332440696","filename":"file5"},{"photo_id":"1332440393","filename":"file2"},{"photo_id":"1332440627","filename":"file4"},{"photo_id":"1332440099","filename":"file1"},{"photo_id":"1332439989","filename":"file0"},{"photo_id":"1332440517","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332439989":["hashtag1","hashtag2"]},{"1332440696":["hashtag1","hashtag2"]},{"1332440517":["hashtag1","hashtag2"]},{"1332440393":["hashtag1","hashtag2"]},{"1332440099":["hashtag1","hashtag2"]},{"1332440627":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332439989, 1332440696, 1332440517, 1332440393, 1332440099, 1332440627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.69273042678833 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:07:32.678519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/15/image_28012025_17_16_05_10351.jpg', '/home/pi/Desktop/images/28012025/17/16/image_28012025_17_16_14_9325.jpg', '/home/pi/Desktop/images/28012025/17/16/image_28012025_17_16_25_10353.jpg', '/home/pi/Desktop/images/28012025/17/16/image_28012025_17_16_35_10391.jpg', '/home/pi/Desktop/images/28012025/17/16/image_28012025_17_16_44_9460.jpg', '/home/pi/Desktop/images/28012025/17/16/image_28012025_17_16_55_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/15/image_28012025_17_16_05_10351.jpg
/home/pi/Desktop/images/28012025/17/16/image_28012025_17_16_14_9325.jpg
/home/pi/Desktop/images/28012025/17/16/image_28012025_17_16_25_10353.jpg
/home/pi/Desktop/images/28012025/17/16/image_28012025_17_16_35_10391.jpg
/home/pi/Desktop/images/28012025/17/16/image_28012025_17_16_44_9460.jpg
/home/pi/Desktop/images/28012025/17/16/image_28012025_17_16_55_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332441052","1332441045","1332441048","1332440910","1332441061","1332440924"],"photo_ids_order":["1332440910","1332440924","1332441045","1332441048","1332441052","1332441061"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e54a9f34102c1723e48915cb986a260d.jpg","text":"TemporaryFile(/tmp/multipartBody3908297517564260194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102113661,"filename":"image_28012025_17_16_44_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fb4e030316f4224ae3d668831b1ff2b1.jpg","text":"TemporaryFile(/tmp/multipartBody2962667321053058413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102113661,"filename":"image_28012025_17_16_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/1/28/7eb980fe4e84237dec0abc48dad475f1.jpg","text":"TemporaryFile(/tmp/multipartBody4341798207039451562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102113661,"filename":"image_28012025_17_16_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/1/28/0473ec463c7bfa573375b000b7f1da25.jpg","text":"TemporaryFile(/tmp/multipartBody5707625277339791473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102113661,"filename":"image_28012025_17_16_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/1/28/10649670f8c3c45b99b59e845a788250.jpg","text":"TemporaryFile(/tmp/multipartBody9086360800944445875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102113661,"filename":"image_28012025_17_16_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/1/28/37c9fb1159c08fb69795581641fe5d23.jpg","text":"TemporaryFile(/tmp/multipartBody4748237269691643031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102113661,"filename":"image_28012025_17_16_14_9325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332441045","file1":"1332440924","file0":"1332440910","file4":"1332441052","file5":"1332441061","file3":"1332441048"},"map_files_photo_id_array":[{"photo_id":"1332441061","filename":"file5"},{"photo_id":"1332441045","filename":"file2"},{"photo_id":"1332441052","filename":"file4"},{"photo_id":"1332440924","filename":"file1"},{"photo_id":"1332440910","filename":"file0"},{"photo_id":"1332441048","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332441052":["hashtag1","hashtag2"]},{"1332441045":["hashtag1","hashtag2"]},{"1332441048":["hashtag1","hashtag2"]},{"1332440910":["hashtag1","hashtag2"]},{"1332441061":["hashtag1","hashtag2"]},{"1332440924":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332441052, 1332441045, 1332441048, 1332440910, 1332441061, 1332440924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62668800354004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:08:33.038349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/16/image_28012025_17_17_04_9387.jpg', '/home/pi/Desktop/images/28012025/17/17/image_28012025_17_17_15_10371.jpg', '/home/pi/Desktop/images/28012025/17/17/image_28012025_17_17_34_9329.jpg', '/home/pi/Desktop/images/28012025/17/17/image_28012025_17_17_45_10410.jpg', '/home/pi/Desktop/images/28012025/17/17/image_28012025_17_17_54_9510.jpg', '/home/pi/Desktop/images/28012025/17/17/image_28012025_17_18_05_10327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/16/image_28012025_17_17_04_9387.jpg
/home/pi/Desktop/images/28012025/17/17/image_28012025_17_17_15_10371.jpg
/home/pi/Desktop/images/28012025/17/17/image_28012025_17_17_34_9329.jpg
/home/pi/Desktop/images/28012025/17/17/image_28012025_17_17_45_10410.jpg
/home/pi/Desktop/images/28012025/17/17/image_28012025_17_17_54_9510.jpg
/home/pi/Desktop/images/28012025/17/17/image_28012025_17_18_05_10327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332441304","1332441324","1332441300","1332441320","1332441314","1332441308"],"photo_ids_order":["1332441300","1332441304","1332441308","1332441314","1332441320","1332441324"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c150d9665fb397782429c538fe26b681.jpg","text":"TemporaryFile(/tmp/multipartBody1341740602656903992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102174057,"filename":"image_28012025_17_17_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/1/28/0b4d32aab02fbade859c200a939d5aea.jpg","text":"TemporaryFile(/tmp/multipartBody8282152858516939454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102174057,"filename":"image_28012025_17_18_05_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3df1d5db568303b601e41dee49ea976e.jpg","text":"TemporaryFile(/tmp/multipartBody2686057200247014345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102174057,"filename":"image_28012025_17_17_04_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c1b1ae301d0ad87d4f7dab8495c29439.jpg","text":"TemporaryFile(/tmp/multipartBody6751294891095399030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102174057,"filename":"image_28012025_17_17_54_9510.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c25050dfe1d9b34c59493d1a7458af3a.jpg","text":"TemporaryFile(/tmp/multipartBody7116633974192675148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102174057,"filename":"image_28012025_17_17_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/1/28/469215911e999bd2ac1aab555e08309a.jpg","text":"TemporaryFile(/tmp/multipartBody4606807793559935317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102174057,"filename":"image_28012025_17_17_34_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332441308","file1":"1332441304","file0":"1332441300","file4":"1332441320","file5":"1332441324","file3":"1332441314"},"map_files_photo_id_array":[{"photo_id":"1332441324","filename":"file5"},{"photo_id":"1332441308","filename":"file2"},{"photo_id":"1332441320","filename":"file4"},{"photo_id":"1332441304","filename":"file1"},{"photo_id":"1332441300","filename":"file0"},{"photo_id":"1332441314","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332441304":["hashtag1","hashtag2"]},{"1332441324":["hashtag1","hashtag2"]},{"1332441300":["hashtag1","hashtag2"]},{"1332441320":["hashtag1","hashtag2"]},{"1332441314":["hashtag1","hashtag2"]},{"1332441308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332441304, 1332441324, 1332441300, 1332441320, 1332441314, 1332441308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2333664894104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:09:33.226248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/18/image_28012025_17_18_15_10316.jpg', '/home/pi/Desktop/images/28012025/17/18/image_28012025_17_18_24_9351.jpg', '/home/pi/Desktop/images/28012025/17/18/image_28012025_17_18_35_10351.jpg', '/home/pi/Desktop/images/28012025/17/18/image_28012025_17_18_45_10410.jpg', '/home/pi/Desktop/images/28012025/17/18/image_28012025_17_18_54_9327.jpg', '/home/pi/Desktop/images/28012025/17/19/image_28012025_17_19_35_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/18/image_28012025_17_18_15_10316.jpg
/home/pi/Desktop/images/28012025/17/18/image_28012025_17_18_24_9351.jpg
/home/pi/Desktop/images/28012025/17/18/image_28012025_17_18_35_10351.jpg
/home/pi/Desktop/images/28012025/17/18/image_28012025_17_18_45_10410.jpg
/home/pi/Desktop/images/28012025/17/18/image_28012025_17_18_54_9327.jpg
/home/pi/Desktop/images/28012025/17/19/image_28012025_17_19_35_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332441712","1332441684","1332441705","1332441695","1332441662","1332441676"],"photo_ids_order":["1332441662","1332441676","1332441684","1332441695","1332441705","1332441712"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c930cf3df8b783f2fd53eaf669587584.jpg","text":"TemporaryFile(/tmp/multipartBody977019573624128550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102234286,"filename":"image_28012025_17_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/1/28/acda264086c984b8ceb407ab6721b4b7.jpg","text":"TemporaryFile(/tmp/multipartBody7129840728580643609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102234286,"filename":"image_28012025_17_18_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/1/28/b23154178424b8285168b7cf75b77828.jpg","text":"TemporaryFile(/tmp/multipartBody814609804977627350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102234286,"filename":"image_28012025_17_18_54_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/236ac29e160a86445b872fa790eeba20.jpg","text":"TemporaryFile(/tmp/multipartBody3153045352332262483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102234286,"filename":"image_28012025_17_18_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/1/28/596d932f5e32de0d5d0eb13e925dbe14.jpg","text":"TemporaryFile(/tmp/multipartBody2211405879036532725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102234286,"filename":"image_28012025_17_18_15_10316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/02b346d25a260e512d14c6c0ebe75946.jpg","text":"TemporaryFile(/tmp/multipartBody8774836972091344862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102234286,"filename":"image_28012025_17_18_24_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332441684","file1":"1332441676","file0":"1332441662","file4":"1332441705","file5":"1332441712","file3":"1332441695"},"map_files_photo_id_array":[{"photo_id":"1332441712","filename":"file5"},{"photo_id":"1332441684","filename":"file2"},{"photo_id":"1332441705","filename":"file4"},{"photo_id":"1332441676","filename":"file1"},{"photo_id":"1332441662","filename":"file0"},{"photo_id":"1332441695","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332441712":["hashtag1","hashtag2"]},{"1332441684":["hashtag1","hashtag2"]},{"1332441705":["hashtag1","hashtag2"]},{"1332441695":["hashtag1","hashtag2"]},{"1332441662":["hashtag1","hashtag2"]},{"1332441676":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332441712, 1332441684, 1332441705, 1332441695, 1332441662, 1332441676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82049107551575 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:10:32.378715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/19/image_28012025_17_19_44_9439.jpg', '/home/pi/Desktop/images/28012025/17/19/image_28012025_17_19_55_10367.jpg', '/home/pi/Desktop/images/28012025/17/20/image_28012025_17_20_14_9451.jpg', '/home/pi/Desktop/images/28012025/17/20/image_28012025_17_20_45_10354.jpg', '/home/pi/Desktop/images/28012025/17/20/image_28012025_17_21_04_9443.jpg', '/home/pi/Desktop/images/28012025/17/21/image_28012025_17_21_25_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/19/image_28012025_17_19_44_9439.jpg
/home/pi/Desktop/images/28012025/17/19/image_28012025_17_19_55_10367.jpg
/home/pi/Desktop/images/28012025/17/20/image_28012025_17_20_14_9451.jpg
/home/pi/Desktop/images/28012025/17/20/image_28012025_17_20_45_10354.jpg
/home/pi/Desktop/images/28012025/17/20/image_28012025_17_21_04_9443.jpg
/home/pi/Desktop/images/28012025/17/21/image_28012025_17_21_25_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":["1332441771","1332441846","1332441780","1332441849","1332441821","1332441802"],"photo_ids_order":["1332441771","1332441780","1332441802","1332441821","1332441846","1332441849"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/70356b2a9141be90940560f735b407f1.jpg","text":"TemporaryFile(/tmp/multipartBody7349052454357112081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102293357,"filename":"image_28012025_17_19_44_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/79586755223eec7c0447d5b3a66ae796.jpg","text":"TemporaryFile(/tmp/multipartBody3069519208000477068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102293357,"filename":"image_28012025_17_21_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/1/28/3b8d45209cc03eeb3412bef9c5adee3e.jpg","text":"TemporaryFile(/tmp/multipartBody5787351038301851752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102293357,"filename":"image_28012025_17_19_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/1/28/abba3f2aec8c2c77f41a9e3c4b739533.jpg","text":"TemporaryFile(/tmp/multipartBody5131038791380511761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102293357,"filename":"image_28012025_17_21_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/1/28/6bd2be4ab3ea00923f479061681f772b.jpg","text":"TemporaryFile(/tmp/multipartBody4882087696148521319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102293357,"filename":"image_28012025_17_20_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/1/28/4859386cf9ac870738ae78b84fd0024d.jpg","text":"TemporaryFile(/tmp/multipartBody2080421984562209521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102293357,"filename":"image_28012025_17_20_14_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332441802","file1":"1332441780","file0":"1332441771","file4":"1332441846","file5":"1332441849","file3":"1332441821"},"map_files_photo_id_array":[{"photo_id":"1332441849","filename":"file5"},{"photo_id":"1332441802","filename":"file2"},{"photo_id":"1332441846","filename":"file4"},{"photo_id":"1332441780","filename":"file1"},{"photo_id":"1332441771","filename":"file0"},{"photo_id":"1332441821","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332441771":["hashtag1","hashtag2"]},{"1332441846":["hashtag1","hashtag2"]},{"1332441780":["hashtag1","hashtag2"]},{"1332441849":["hashtag1","hashtag2"]},{"1332441821":["hashtag1","hashtag2"]},{"1332441802":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332441771, 1332441846, 1332441780, 1332441849, 1332441821, 1332441802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.472904443740845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:11:32.534998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/21/image_28012025_17_21_34_9338.jpg', '/home/pi/Desktop/images/28012025/17/21/image_28012025_17_21_45_10345.jpg', '/home/pi/Desktop/images/28012025/17/21/image_28012025_17_21_54_9443.jpg', '/home/pi/Desktop/images/28012025/17/21/image_28012025_17_22_05_10347.jpg', '/home/pi/Desktop/images/28012025/17/22/image_28012025_17_22_15_10381.jpg', '/home/pi/Desktop/images/28012025/17/22/image_28012025_17_22_24_9476.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/21/image_28012025_17_21_34_9338.jpg
/home/pi/Desktop/images/28012025/17/21/image_28012025_17_21_45_10345.jpg
/home/pi/Desktop/images/28012025/17/21/image_28012025_17_21_54_9443.jpg
/home/pi/Desktop/images/28012025/17/21/image_28012025_17_22_05_10347.jpg
/home/pi/Desktop/images/28012025/17/22/image_28012025_17_22_15_10381.jpg
/home/pi/Desktop/images/28012025/17/22/image_28012025_17_22_24_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":["1332442164","1332442086","1332442110","1332441973","1332442167","1332442105"],"photo_ids_order":["1332441973","1332442086","1332442105","1332442110","1332442164","1332442167"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f24a40b03f4c6125df356b2d8b9b9ef2.jpg","text":"TemporaryFile(/tmp/multipartBody468216725235429248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102353499,"filename":"image_28012025_17_22_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/1/28/5435b9d5eac79fd980779e6b285010d8.jpg","text":"TemporaryFile(/tmp/multipartBody1342400982022972773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102353499,"filename":"image_28012025_17_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/1/28/9deb26269f6524e7d4b44f4f94be86f5.jpg","text":"TemporaryFile(/tmp/multipartBody120751811873310117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102353499,"filename":"image_28012025_17_22_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/1/28/d099d83e1a3bad18ebd0accf05051daa.jpg","text":"TemporaryFile(/tmp/multipartBody2442828065630973761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102353499,"filename":"image_28012025_17_21_34_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/83f500500e04faf0ef31d56d6d0a5745.jpg","text":"TemporaryFile(/tmp/multipartBody3325001300418945948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102353499,"filename":"image_28012025_17_22_24_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4849b4d5aa5b5b9c930cdb8bbe7b3a5e.jpg","text":"TemporaryFile(/tmp/multipartBody4774257713797811967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102353499,"filename":"image_28012025_17_21_54_9443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332442105","file1":"1332442086","file0":"1332441973","file4":"1332442164","file5":"1332442167","file3":"1332442110"},"map_files_photo_id_array":[{"photo_id":"1332442167","filename":"file5"},{"photo_id":"1332442105","filename":"file2"},{"photo_id":"1332442164","filename":"file4"},{"photo_id":"1332442086","filename":"file1"},{"photo_id":"1332441973","filename":"file0"},{"photo_id":"1332442110","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332442164":["hashtag1","hashtag2"]},{"1332442086":["hashtag1","hashtag2"]},{"1332442110":["hashtag1","hashtag2"]},{"1332441973":["hashtag1","hashtag2"]},{"1332442167":["hashtag1","hashtag2"]},{"1332442105":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332442164, 1332442086, 1332442110, 1332441973, 1332442167, 1332442105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46840262413025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:12:32.673951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/22/image_28012025_17_22_35_10341.jpg', '/home/pi/Desktop/images/28012025/17/22/image_28012025_17_22_45_10340.jpg', '/home/pi/Desktop/images/28012025/17/22/image_28012025_17_22_55_9442.jpg', '/home/pi/Desktop/images/28012025/17/22/image_28012025_17_23_05_10381.jpg', '/home/pi/Desktop/images/28012025/17/23/image_28012025_17_23_14_9363.jpg', '/home/pi/Desktop/images/28012025/17/23/image_28012025_17_23_25_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/22/image_28012025_17_22_35_10341.jpg
/home/pi/Desktop/images/28012025/17/22/image_28012025_17_22_45_10340.jpg
/home/pi/Desktop/images/28012025/17/22/image_28012025_17_22_55_9442.jpg
/home/pi/Desktop/images/28012025/17/22/image_28012025_17_23_05_10381.jpg
/home/pi/Desktop/images/28012025/17/23/image_28012025_17_23_14_9363.jpg
/home/pi/Desktop/images/28012025/17/23/image_28012025_17_23_25_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":["1332442302","1332442305","1332442310","1332442315","1332442299","1332442318"],"photo_ids_order":["1332442299","1332442302","1332442305","1332442310","1332442315","1332442318"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0878d8ec6e9214409654d48660323fc9.jpg","text":"TemporaryFile(/tmp/multipartBody8785049404648180121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102413631,"filename":"image_28012025_17_22_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/1/28/eca002aa83e23b70afb9bfe4171d7f69.jpg","text":"TemporaryFile(/tmp/multipartBody2894566032001782096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102413631,"filename":"image_28012025_17_22_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/1/28/2c0d8cf4a90954ca21a184ae86634322.jpg","text":"TemporaryFile(/tmp/multipartBody8187654340647897773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102413631,"filename":"image_28012025_17_23_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/1/28/53c5679c7be1e11dc9625be9a59f5003.jpg","text":"TemporaryFile(/tmp/multipartBody8884210956237777476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102413631,"filename":"image_28012025_17_23_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/1/28/9aaee87d1ea5624a99d617922957ea0b.jpg","text":"TemporaryFile(/tmp/multipartBody4756821020123730014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102413631,"filename":"image_28012025_17_22_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/1/28/d5616ee58ad430126e91f18e3d611f54.jpg","text":"TemporaryFile(/tmp/multipartBody80177969410015285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102413631,"filename":"image_28012025_17_23_25_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332442305","file1":"1332442302","file0":"1332442299","file4":"1332442315","file5":"1332442318","file3":"1332442310"},"map_files_photo_id_array":[{"photo_id":"1332442318","filename":"file5"},{"photo_id":"1332442305","filename":"file2"},{"photo_id":"1332442315","filename":"file4"},{"photo_id":"1332442302","filename":"file1"},{"photo_id":"1332442299","filename":"file0"},{"photo_id":"1332442310","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332442302":["hashtag1","hashtag2"]},{"1332442305":["hashtag1","hashtag2"]},{"1332442310":["hashtag1","hashtag2"]},{"1332442315":["hashtag1","hashtag2"]},{"1332442299":["hashtag1","hashtag2"]},{"1332442318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332442302, 1332442305, 1332442310, 1332442315, 1332442299, 1332442318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.501543045043945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:13:32.994689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/23/image_28012025_17_23_35_10352.jpg', '/home/pi/Desktop/images/28012025/17/23/image_28012025_17_23_44_9450.jpg', '/home/pi/Desktop/images/28012025/17/23/image_28012025_17_23_55_10340.jpg', '/home/pi/Desktop/images/28012025/17/24/image_28012025_17_24_15_10331.jpg', '/home/pi/Desktop/images/28012025/17/24/image_28012025_17_24_25_10363.jpg', '/home/pi/Desktop/images/28012025/17/24/image_28012025_17_24_34_9441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/23/image_28012025_17_23_35_10352.jpg
/home/pi/Desktop/images/28012025/17/23/image_28012025_17_23_44_9450.jpg
/home/pi/Desktop/images/28012025/17/23/image_28012025_17_23_55_10340.jpg
/home/pi/Desktop/images/28012025/17/24/image_28012025_17_24_15_10331.jpg
/home/pi/Desktop/images/28012025/17/24/image_28012025_17_24_25_10363.jpg
/home/pi/Desktop/images/28012025/17/24/image_28012025_17_24_34_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":["1332442338","1332442332","1332442346","1332442349","1332442343","1332442351"],"photo_ids_order":["1332442332","1332442338","1332442343","1332442346","1332442349","1332442351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7fe8f20b2a4cdf888f32281f77c1285f.jpg","text":"TemporaryFile(/tmp/multipartBody5605911298066141875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102473950,"filename":"image_28012025_17_23_44_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/edd7fa09d5e3797198f882ff008cf829.jpg","text":"TemporaryFile(/tmp/multipartBody6562252977781958771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102473950,"filename":"image_28012025_17_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/1/28/a9a6ea750f4456aabe1bfcf7f2daa8ae.jpg","text":"TemporaryFile(/tmp/multipartBody181211635330621617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102473950,"filename":"image_28012025_17_24_15_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bd00add57137125a66ebfbaf77bd2d00.jpg","text":"TemporaryFile(/tmp/multipartBody2995860588688732276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102473950,"filename":"image_28012025_17_24_25_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2df916468c0a6a2c76a597ef0aff9e72.jpg","text":"TemporaryFile(/tmp/multipartBody8750963270675689458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102473950,"filename":"image_28012025_17_23_55_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bbc6c129316fe7714d39d975298b3319.jpg","text":"TemporaryFile(/tmp/multipartBody6061466436179533519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102473950,"filename":"image_28012025_17_24_34_9441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332442343","file1":"1332442338","file0":"1332442332","file4":"1332442349","file5":"1332442351","file3":"1332442346"},"map_files_photo_id_array":[{"photo_id":"1332442351","filename":"file5"},{"photo_id":"1332442343","filename":"file2"},{"photo_id":"1332442349","filename":"file4"},{"photo_id":"1332442338","filename":"file1"},{"photo_id":"1332442332","filename":"file0"},{"photo_id":"1332442346","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332442338":["hashtag1","hashtag2"]},{"1332442332":["hashtag1","hashtag2"]},{"1332442346":["hashtag1","hashtag2"]},{"1332442349":["hashtag1","hashtag2"]},{"1332442343":["hashtag1","hashtag2"]},{"1332442351":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332442338, 1332442332, 1332442346, 1332442349, 1332442343, 1332442351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.20823431015015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:14:33.130016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/24/image_28012025_17_24_45_10350.jpg', '/home/pi/Desktop/images/28012025/17/24/image_28012025_17_24_54_9430.jpg', '/home/pi/Desktop/images/28012025/17/24/image_28012025_17_25_05_10342.jpg', '/home/pi/Desktop/images/28012025/17/25/image_28012025_17_25_15_10338.jpg', '/home/pi/Desktop/images/28012025/17/25/image_28012025_17_25_24_9485.jpg', '/home/pi/Desktop/images/28012025/17/25/image_28012025_17_25_35_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/24/image_28012025_17_24_45_10350.jpg
/home/pi/Desktop/images/28012025/17/24/image_28012025_17_24_54_9430.jpg
/home/pi/Desktop/images/28012025/17/24/image_28012025_17_25_05_10342.jpg
/home/pi/Desktop/images/28012025/17/25/image_28012025_17_25_15_10338.jpg
/home/pi/Desktop/images/28012025/17/25/image_28012025_17_25_24_9485.jpg
/home/pi/Desktop/images/28012025/17/25/image_28012025_17_25_35_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":["1332442395","1332442425","1332442407","1332442400","1332442420","1332442414"],"photo_ids_order":["1332442395","1332442400","1332442407","1332442414","1332442420","1332442425"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ac94e9ec2148b5858f1a08c1876f1e09.jpg","text":"TemporaryFile(/tmp/multipartBody8810892201600020686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102534109,"filename":"image_28012025_17_24_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/1/28/60cd54f5add35b1d1901a4aa68dc549c.jpg","text":"TemporaryFile(/tmp/multipartBody1306126437611340387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102534109,"filename":"image_28012025_17_25_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/1/28/e15c6c065fbe1ec846521dabddce9fa3.jpg","text":"TemporaryFile(/tmp/multipartBody7929313433479987562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102534109,"filename":"image_28012025_17_25_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/1/28/407a693c7831a08e9dd91699638d7115.jpg","text":"TemporaryFile(/tmp/multipartBody4014865207791577222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102534109,"filename":"image_28012025_17_24_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/1/28/faba97aabfbaaa3471bd9177a27b1501.jpg","text":"TemporaryFile(/tmp/multipartBody352813920363241929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102534109,"filename":"image_28012025_17_25_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/1/28/c09a2b1950854d649de5269dc5407486.jpg","text":"TemporaryFile(/tmp/multipartBody1357835077007049211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102534109,"filename":"image_28012025_17_25_15_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332442407","file1":"1332442400","file0":"1332442395","file4":"1332442420","file5":"1332442425","file3":"1332442414"},"map_files_photo_id_array":[{"photo_id":"1332442425","filename":"file5"},{"photo_id":"1332442407","filename":"file2"},{"photo_id":"1332442420","filename":"file4"},{"photo_id":"1332442400","filename":"file1"},{"photo_id":"1332442395","filename":"file0"},{"photo_id":"1332442414","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332442395":["hashtag1","hashtag2"]},{"1332442425":["hashtag1","hashtag2"]},{"1332442407":["hashtag1","hashtag2"]},{"1332442400":["hashtag1","hashtag2"]},{"1332442420":["hashtag1","hashtag2"]},{"1332442414":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332442395, 1332442425, 1332442407, 1332442400, 1332442420, 1332442414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.38329195976257 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:15:32.273824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/25/image_28012025_17_25_45_10345.jpg', '/home/pi/Desktop/images/28012025/17/26/image_28012025_17_26_25_10388.jpg', '/home/pi/Desktop/images/28012025/17/26/image_28012025_17_26_35_10355.jpg', '/home/pi/Desktop/images/28012025/17/26/image_28012025_17_26_44_9356.jpg', '/home/pi/Desktop/images/28012025/17/26/image_28012025_17_26_55_10371.jpg', '/home/pi/Desktop/images/28012025/17/26/image_28012025_17_27_05_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/25/image_28012025_17_25_45_10345.jpg
/home/pi/Desktop/images/28012025/17/26/image_28012025_17_26_25_10388.jpg
/home/pi/Desktop/images/28012025/17/26/image_28012025_17_26_35_10355.jpg
/home/pi/Desktop/images/28012025/17/26/image_28012025_17_26_44_9356.jpg
/home/pi/Desktop/images/28012025/17/26/image_28012025_17_26_55_10371.jpg
/home/pi/Desktop/images/28012025/17/26/image_28012025_17_27_05_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":["1332442461","1332442458","1332442472","1332442444","1332442438","1332442432"],"photo_ids_order":["1332442432","1332442438","1332442444","1332442458","1332442461","1332442472"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ec89b86caffa9a9e369d4264af9a95c6.jpg","text":"TemporaryFile(/tmp/multipartBody6081725503242219651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102593259,"filename":"image_28012025_17_26_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/1/28/9021855caa25bf897b781e14e65c8f2a.jpg","text":"TemporaryFile(/tmp/multipartBody6347830070256091577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102593259,"filename":"image_28012025_17_26_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/1/28/0837d7cc9f59e3136a1de6002f8de1c0.jpg","text":"TemporaryFile(/tmp/multipartBody3928245900869250925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102593259,"filename":"image_28012025_17_27_05_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/da45b936f6bc7898df12683aae62a519.jpg","text":"TemporaryFile(/tmp/multipartBody8528644700279538467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102593259,"filename":"image_28012025_17_26_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/1/28/361c05c3bb5ead982a1fa90403caea5e.jpg","text":"TemporaryFile(/tmp/multipartBody3187012705368650980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102593259,"filename":"image_28012025_17_26_25_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9be598aafde4023febd218053f29c5b2.jpg","text":"TemporaryFile(/tmp/multipartBody6781735184774440195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102593259,"filename":"image_28012025_17_25_45_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332442444","file1":"1332442438","file0":"1332442432","file4":"1332442461","file5":"1332442472","file3":"1332442458"},"map_files_photo_id_array":[{"photo_id":"1332442472","filename":"file5"},{"photo_id":"1332442444","filename":"file2"},{"photo_id":"1332442461","filename":"file4"},{"photo_id":"1332442438","filename":"file1"},{"photo_id":"1332442432","filename":"file0"},{"photo_id":"1332442458","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332442461":["hashtag1","hashtag2"]},{"1332442458":["hashtag1","hashtag2"]},{"1332442472":["hashtag1","hashtag2"]},{"1332442444":["hashtag1","hashtag2"]},{"1332442438":["hashtag1","hashtag2"]},{"1332442432":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332442461, 1332442458, 1332442472, 1332442444, 1332442438, 1332442432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.053911209106445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:16:32.426411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/27/image_28012025_17_27_14_9422.jpg', '/home/pi/Desktop/images/28012025/17/27/image_28012025_17_27_25_10429.jpg', '/home/pi/Desktop/images/28012025/17/27/image_28012025_17_27_34_9363.jpg', '/home/pi/Desktop/images/28012025/17/27/image_28012025_17_27_45_10350.jpg', '/home/pi/Desktop/images/28012025/17/27/image_28012025_17_27_55_10345.jpg', '/home/pi/Desktop/images/28012025/17/27/image_28012025_17_28_05_10113.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/27/image_28012025_17_27_14_9422.jpg
/home/pi/Desktop/images/28012025/17/27/image_28012025_17_27_25_10429.jpg
/home/pi/Desktop/images/28012025/17/27/image_28012025_17_27_34_9363.jpg
/home/pi/Desktop/images/28012025/17/27/image_28012025_17_27_45_10350.jpg
/home/pi/Desktop/images/28012025/17/27/image_28012025_17_27_55_10345.jpg
/home/pi/Desktop/images/28012025/17/27/image_28012025_17_28_05_10113.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5741539001464844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 23:16:42.458556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/27/image_28012025_17_27_14_9422.jpg', '/home/pi/Desktop/images/28012025/17/27/image_28012025_17_27_25_10429.jpg', '/home/pi/Desktop/images/28012025/17/27/image_28012025_17_27_34_9363.jpg', '/home/pi/Desktop/images/28012025/17/27/image_28012025_17_27_45_10350.jpg', '/home/pi/Desktop/images/28012025/17/27/image_28012025_17_27_55_10345.jpg', '/home/pi/Desktop/images/28012025/17/27/image_28012025_17_28_05_10113.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/27/image_28012025_17_27_14_9422.jpg
/home/pi/Desktop/images/28012025/17/27/image_28012025_17_27_25_10429.jpg
/home/pi/Desktop/images/28012025/17/27/image_28012025_17_27_34_9363.jpg
/home/pi/Desktop/images/28012025/17/27/image_28012025_17_27_45_10350.jpg
/home/pi/Desktop/images/28012025/17/27/image_28012025_17_27_55_10345.jpg
/home/pi/Desktop/images/28012025/17/27/image_28012025_17_28_05_10113.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332442560","1332442554","1332442557","1332442549","1332442543","1332442537"],"photo_ids_order":["1332442537","1332442543","1332442549","1332442554","1332442557","1332442560"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/add43582482757ca8acae59eeef43c34.jpg","text":"TemporaryFile(/tmp/multipartBody2500566478920579431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102663356,"filename":"image_28012025_17_28_05_10113.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9dcf6dc946f2d426c5bda4489d04da85.jpg","text":"TemporaryFile(/tmp/multipartBody8384809317916889053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102663356,"filename":"image_28012025_17_27_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/1/28/c40c7d9751ac3a250c9cba813de3db02.jpg","text":"TemporaryFile(/tmp/multipartBody6814976466723847525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102663356,"filename":"image_28012025_17_27_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/1/28/100085ad81c2f9c0732b17d5baace739.jpg","text":"TemporaryFile(/tmp/multipartBody3149626711947883863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102663356,"filename":"image_28012025_17_27_34_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3997458a3c296f04ce24e252aae8be6f.jpg","text":"TemporaryFile(/tmp/multipartBody3528560964351253965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102663356,"filename":"image_28012025_17_27_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/1/28/8c385e0848c6b5eb00c1cd9d63e3981b.jpg","text":"TemporaryFile(/tmp/multipartBody5704739450740309683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102663356,"filename":"image_28012025_17_27_14_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332442549","file1":"1332442543","file0":"1332442537","file4":"1332442557","file5":"1332442560","file3":"1332442554"},"map_files_photo_id_array":[{"photo_id":"1332442560","filename":"file5"},{"photo_id":"1332442549","filename":"file2"},{"photo_id":"1332442557","filename":"file4"},{"photo_id":"1332442543","filename":"file1"},{"photo_id":"1332442537","filename":"file0"},{"photo_id":"1332442554","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332442560":["hashtag1","hashtag2"]},{"1332442554":["hashtag1","hashtag2"]},{"1332442557":["hashtag1","hashtag2"]},{"1332442549":["hashtag1","hashtag2"]},{"1332442543":["hashtag1","hashtag2"]},{"1332442537":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332442560, 1332442554, 1332442557, 1332442549, 1332442543, 1332442537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.643502950668335 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:17:32.687722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/28/image_28012025_17_28_15_9964.jpg', '/home/pi/Desktop/images/28012025/17/28/image_28012025_17_28_24_9338.jpg', '/home/pi/Desktop/images/28012025/17/28/image_28012025_17_28_35_10363.jpg', '/home/pi/Desktop/images/28012025/17/28/image_28012025_17_28_55_9437.jpg', '/home/pi/Desktop/images/28012025/17/29/image_28012025_17_29_14_9365.jpg', '/home/pi/Desktop/images/28012025/17/29/image_28012025_17_29_35_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/28/image_28012025_17_28_15_9964.jpg
/home/pi/Desktop/images/28012025/17/28/image_28012025_17_28_24_9338.jpg
/home/pi/Desktop/images/28012025/17/28/image_28012025_17_28_35_10363.jpg
/home/pi/Desktop/images/28012025/17/28/image_28012025_17_28_55_9437.jpg
/home/pi/Desktop/images/28012025/17/29/image_28012025_17_29_14_9365.jpg
/home/pi/Desktop/images/28012025/17/29/image_28012025_17_29_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":["1332442629","1332442620","1332442611","1332442631","1332442604","1332442624"],"photo_ids_order":["1332442604","1332442611","1332442620","1332442624","1332442629","1332442631"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9a58a7814ac7fda7858edd4f8db41ae3.jpg","text":"TemporaryFile(/tmp/multipartBody2557184285723082440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102713672,"filename":"image_28012025_17_29_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/1/28/8eaeb1249b15cada8b06f8acedca229e.jpg","text":"TemporaryFile(/tmp/multipartBody532502665739869332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102713672,"filename":"image_28012025_17_28_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/1/28/061453578091b6c306a2f380f414d1f7.jpg","text":"TemporaryFile(/tmp/multipartBody9182573914110770491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102713672,"filename":"image_28012025_17_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/1/28/01aaece2b403fabf4746e09cff9a27a3.jpg","text":"TemporaryFile(/tmp/multipartBody831591328211125000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102713672,"filename":"image_28012025_17_29_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/1/28/efb4852f0eeab4f799654e8b9da27a2d.jpg","text":"TemporaryFile(/tmp/multipartBody4898671934254398886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102713672,"filename":"image_28012025_17_28_15_9964.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/d34b22ab22b9fc04227816e56b7b0640.jpg","text":"TemporaryFile(/tmp/multipartBody5831285967044644683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102713672,"filename":"image_28012025_17_28_55_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332442620","file1":"1332442611","file0":"1332442604","file4":"1332442629","file5":"1332442631","file3":"1332442624"},"map_files_photo_id_array":[{"photo_id":"1332442631","filename":"file5"},{"photo_id":"1332442620","filename":"file2"},{"photo_id":"1332442629","filename":"file4"},{"photo_id":"1332442611","filename":"file1"},{"photo_id":"1332442604","filename":"file0"},{"photo_id":"1332442624","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332442629":["hashtag1","hashtag2"]},{"1332442620":["hashtag1","hashtag2"]},{"1332442611":["hashtag1","hashtag2"]},{"1332442631":["hashtag1","hashtag2"]},{"1332442604":["hashtag1","hashtag2"]},{"1332442624":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332442629, 1332442620, 1332442611, 1332442631, 1332442604, 1332442624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.65916967391968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:18:33.031895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/29/image_28012025_17_29_44_9402.jpg', '/home/pi/Desktop/images/28012025/17/29/image_28012025_17_29_55_10339.jpg', '/home/pi/Desktop/images/28012025/17/29/image_28012025_17_30_04_9475.jpg', '/home/pi/Desktop/images/28012025/17/30/image_28012025_17_30_15_10370.jpg', '/home/pi/Desktop/images/28012025/17/30/image_28012025_17_30_25_10453.jpg', '/home/pi/Desktop/images/28012025/17/30/image_28012025_17_30_34_9321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/29/image_28012025_17_29_44_9402.jpg
/home/pi/Desktop/images/28012025/17/29/image_28012025_17_29_55_10339.jpg
/home/pi/Desktop/images/28012025/17/29/image_28012025_17_30_04_9475.jpg
/home/pi/Desktop/images/28012025/17/30/image_28012025_17_30_15_10370.jpg
/home/pi/Desktop/images/28012025/17/30/image_28012025_17_30_25_10453.jpg
/home/pi/Desktop/images/28012025/17/30/image_28012025_17_30_34_9321.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332442674","1332442668","1332442651","1332442663","1332442657","1332442645"],"photo_ids_order":["1332442645","1332442651","1332442657","1332442663","1332442668","1332442674"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ac88010de04317cd43af81ffbbdf9da2.jpg","text":"TemporaryFile(/tmp/multipartBody927369292432104845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102774006,"filename":"image_28012025_17_30_34_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cf253332f599c82864801663e653de40.jpg","text":"TemporaryFile(/tmp/multipartBody6325154932155240112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102774006,"filename":"image_28012025_17_30_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/1/28/bbf2bcfbb54f8e488a486171af60a00d.jpg","text":"TemporaryFile(/tmp/multipartBody3579179318456720054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102774006,"filename":"image_28012025_17_29_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/1/28/a98a7ef2c5d8dd387fc880c073eede33.jpg","text":"TemporaryFile(/tmp/multipartBody2733561805719262602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102774006,"filename":"image_28012025_17_30_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/1/28/67d592919d2b5d174bb595cdebd42c9a.jpg","text":"TemporaryFile(/tmp/multipartBody316037478931925824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102774006,"filename":"image_28012025_17_30_04_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bd94153fca8663e1d1d3b3ea9ec95a2f.jpg","text":"TemporaryFile(/tmp/multipartBody3729917367971317207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102774006,"filename":"image_28012025_17_29_44_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332442657","file1":"1332442651","file0":"1332442645","file4":"1332442668","file5":"1332442674","file3":"1332442663"},"map_files_photo_id_array":[{"photo_id":"1332442674","filename":"file5"},{"photo_id":"1332442657","filename":"file2"},{"photo_id":"1332442668","filename":"file4"},{"photo_id":"1332442651","filename":"file1"},{"photo_id":"1332442645","filename":"file0"},{"photo_id":"1332442663","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332442674":["hashtag1","hashtag2"]},{"1332442668":["hashtag1","hashtag2"]},{"1332442651":["hashtag1","hashtag2"]},{"1332442663":["hashtag1","hashtag2"]},{"1332442657":["hashtag1","hashtag2"]},{"1332442645":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332442674, 1332442668, 1332442651, 1332442663, 1332442657, 1332442645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.858952045440674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:19:32.276168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/30/image_28012025_17_30_45_10352.jpg', '/home/pi/Desktop/images/28012025/17/30/image_28012025_17_30_55_10341.jpg', '/home/pi/Desktop/images/28012025/17/30/image_28012025_17_31_04_9437.jpg', '/home/pi/Desktop/images/28012025/17/31/image_28012025_17_31_15_10397.jpg', '/home/pi/Desktop/images/28012025/17/31/image_28012025_17_31_24_9493.jpg', '/home/pi/Desktop/images/28012025/17/31/image_28012025_17_31_35_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/30/image_28012025_17_30_45_10352.jpg
/home/pi/Desktop/images/28012025/17/30/image_28012025_17_30_55_10341.jpg
/home/pi/Desktop/images/28012025/17/30/image_28012025_17_31_04_9437.jpg
/home/pi/Desktop/images/28012025/17/31/image_28012025_17_31_15_10397.jpg
/home/pi/Desktop/images/28012025/17/31/image_28012025_17_31_24_9493.jpg
/home/pi/Desktop/images/28012025/17/31/image_28012025_17_31_35_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":["1332442712","1332442882","1332442693","1332443172","1332442717","1332442689"],"photo_ids_order":["1332442689","1332442693","1332442712","1332442717","1332442882","1332443172"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/62ca94259b9b693effbfc6901759b0d2.jpg","text":"TemporaryFile(/tmp/multipartBody7167775035390532857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102833262,"filename":"image_28012025_17_31_04_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e84f2fa1f95cb4838a4d722d04ed366d.jpg","text":"TemporaryFile(/tmp/multipartBody9012409113980934517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102833262,"filename":"image_28012025_17_31_24_9493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/576f984726561a3d445091974ffa17af.jpg","text":"TemporaryFile(/tmp/multipartBody2199834543473962219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102833262,"filename":"image_28012025_17_30_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/1/28/284dbda5dd18ebfd952b90345e866e6e.jpg","text":"TemporaryFile(/tmp/multipartBody2484149863110747234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102833262,"filename":"image_28012025_17_31_35_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7953bd3a601b5f836efb3145c4499546.jpg","text":"TemporaryFile(/tmp/multipartBody3861095926519496942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102833262,"filename":"image_28012025_17_31_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/1/28/0832dfc83f77470729daef1769eae6a2.jpg","text":"TemporaryFile(/tmp/multipartBody7495206181580688507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102833262,"filename":"image_28012025_17_30_45_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332442712","file1":"1332442693","file0":"1332442689","file4":"1332442882","file5":"1332443172","file3":"1332442717"},"map_files_photo_id_array":[{"photo_id":"1332443172","filename":"file5"},{"photo_id":"1332442712","filename":"file2"},{"photo_id":"1332442882","filename":"file4"},{"photo_id":"1332442693","filename":"file1"},{"photo_id":"1332442689","filename":"file0"},{"photo_id":"1332442717","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332442712":["hashtag1","hashtag2"]},{"1332442882":["hashtag1","hashtag2"]},{"1332442693":["hashtag1","hashtag2"]},{"1332443172":["hashtag1","hashtag2"]},{"1332442717":["hashtag1","hashtag2"]},{"1332442689":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332442712, 1332442882, 1332442693, 1332443172, 1332442717, 1332442689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.84750294685364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:20:32.511907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/31/image_28012025_17_31_45_10345.jpg', '/home/pi/Desktop/images/28012025/17/31/image_28012025_17_32_05_10365.jpg', '/home/pi/Desktop/images/28012025/17/32/image_28012025_17_32_14_9389.jpg', '/home/pi/Desktop/images/28012025/17/32/image_28012025_17_32_25_10447.jpg', '/home/pi/Desktop/images/28012025/17/32/image_28012025_17_32_35_10360.jpg', '/home/pi/Desktop/images/28012025/17/32/image_28012025_17_32_44_9404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/31/image_28012025_17_31_45_10345.jpg
/home/pi/Desktop/images/28012025/17/31/image_28012025_17_32_05_10365.jpg
/home/pi/Desktop/images/28012025/17/32/image_28012025_17_32_14_9389.jpg
/home/pi/Desktop/images/28012025/17/32/image_28012025_17_32_25_10447.jpg
/home/pi/Desktop/images/28012025/17/32/image_28012025_17_32_35_10360.jpg
/home/pi/Desktop/images/28012025/17/32/image_28012025_17_32_44_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":["1332443696","1332443690","1332443684","1332443701","1332443679","1332443703"],"photo_ids_order":["1332443679","1332443684","1332443690","1332443696","1332443701","1332443703"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/12a3ce1f1ff00568fce69a0999c3a64b.jpg","text":"TemporaryFile(/tmp/multipartBody2795784108764760677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102893480,"filename":"image_28012025_17_32_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/1/28/776e37e8c706fa321859a755562a33c0.jpg","text":"TemporaryFile(/tmp/multipartBody4422047759654404601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102893480,"filename":"image_28012025_17_32_14_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/acfc4d6267473546c52e82f81fc170ba.jpg","text":"TemporaryFile(/tmp/multipartBody2541572041860665452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102893480,"filename":"image_28012025_17_32_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/1/28/465ab95e2b54925531bd86e6614eb844.jpg","text":"TemporaryFile(/tmp/multipartBody5297953840457750825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102893480,"filename":"image_28012025_17_32_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/1/28/dd61cc11d074ba2ec32768517f359c8b.jpg","text":"TemporaryFile(/tmp/multipartBody8069770722726306627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102893480,"filename":"image_28012025_17_31_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/1/28/f90be6f320afdb512279c21dc0fa1d9a.jpg","text":"TemporaryFile(/tmp/multipartBody5364314810615759447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102893480,"filename":"image_28012025_17_32_44_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332443690","file1":"1332443684","file0":"1332443679","file4":"1332443701","file5":"1332443703","file3":"1332443696"},"map_files_photo_id_array":[{"photo_id":"1332443703","filename":"file5"},{"photo_id":"1332443690","filename":"file2"},{"photo_id":"1332443701","filename":"file4"},{"photo_id":"1332443684","filename":"file1"},{"photo_id":"1332443679","filename":"file0"},{"photo_id":"1332443696","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332443696":["hashtag1","hashtag2"]},{"1332443690":["hashtag1","hashtag2"]},{"1332443684":["hashtag1","hashtag2"]},{"1332443701":["hashtag1","hashtag2"]},{"1332443679":["hashtag1","hashtag2"]},{"1332443703":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332443696, 1332443690, 1332443684, 1332443701, 1332443679, 1332443703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.97524428367615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:21:32.877431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/32/image_28012025_17_32_55_10345.jpg', '/home/pi/Desktop/images/28012025/17/32/image_28012025_17_33_04_9386.jpg', '/home/pi/Desktop/images/28012025/17/33/image_28012025_17_33_15_10436.jpg', '/home/pi/Desktop/images/28012025/17/33/image_28012025_17_33_25_10446.jpg', '/home/pi/Desktop/images/28012025/17/33/image_28012025_17_33_34_9336.jpg', '/home/pi/Desktop/images/28012025/17/33/image_28012025_17_33_45_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/32/image_28012025_17_32_55_10345.jpg
/home/pi/Desktop/images/28012025/17/32/image_28012025_17_33_04_9386.jpg
/home/pi/Desktop/images/28012025/17/33/image_28012025_17_33_15_10436.jpg
/home/pi/Desktop/images/28012025/17/33/image_28012025_17_33_25_10446.jpg
/home/pi/Desktop/images/28012025/17/33/image_28012025_17_33_34_9336.jpg
/home/pi/Desktop/images/28012025/17/33/image_28012025_17_33_45_10339.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6186561584472656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 23:21:42.880883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/32/image_28012025_17_32_55_10345.jpg', '/home/pi/Desktop/images/28012025/17/32/image_28012025_17_33_04_9386.jpg', '/home/pi/Desktop/images/28012025/17/33/image_28012025_17_33_15_10436.jpg', '/home/pi/Desktop/images/28012025/17/33/image_28012025_17_33_25_10446.jpg', '/home/pi/Desktop/images/28012025/17/33/image_28012025_17_33_34_9336.jpg', '/home/pi/Desktop/images/28012025/17/33/image_28012025_17_33_45_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/32/image_28012025_17_32_55_10345.jpg
/home/pi/Desktop/images/28012025/17/32/image_28012025_17_33_04_9386.jpg
/home/pi/Desktop/images/28012025/17/33/image_28012025_17_33_15_10436.jpg
/home/pi/Desktop/images/28012025/17/33/image_28012025_17_33_25_10446.jpg
/home/pi/Desktop/images/28012025/17/33/image_28012025_17_33_34_9336.jpg
/home/pi/Desktop/images/28012025/17/33/image_28012025_17_33_45_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":["1332444083","1332444097","1332444079","1332444088","1332444093","1332444099"],"photo_ids_order":["1332444079","1332444083","1332444088","1332444093","1332444097","1332444099"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e0bbde19e5d7085357b0967a631f45f4.jpg","text":"TemporaryFile(/tmp/multipartBody2275153540050448493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102963770,"filename":"image_28012025_17_33_04_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a80437128ae7078e90dcc05ff0f39c54.jpg","text":"TemporaryFile(/tmp/multipartBody6739140942496573057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102963770,"filename":"image_28012025_17_33_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/1/28/792ab0377e9188c0cb4c9acbe922ca3a.jpg","text":"TemporaryFile(/tmp/multipartBody1629255704301495589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102963770,"filename":"image_28012025_17_32_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/1/28/d5a57b47a400ee1834ae32470fd4d012.jpg","text":"TemporaryFile(/tmp/multipartBody115975438821482050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102963770,"filename":"image_28012025_17_33_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/1/28/0ba91f6b2c35d7cbecda2936338746a5.jpg","text":"TemporaryFile(/tmp/multipartBody2059116447224382277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102963770,"filename":"image_28012025_17_33_25_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ba2dcac1fdc412854a32c735dae43d5d.jpg","text":"TemporaryFile(/tmp/multipartBody7896274593139908059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738102963770,"filename":"image_28012025_17_33_45_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332444088","file1":"1332444083","file0":"1332444079","file4":"1332444097","file5":"1332444099","file3":"1332444093"},"map_files_photo_id_array":[{"photo_id":"1332444099","filename":"file5"},{"photo_id":"1332444088","filename":"file2"},{"photo_id":"1332444097","filename":"file4"},{"photo_id":"1332444083","filename":"file1"},{"photo_id":"1332444079","filename":"file0"},{"photo_id":"1332444093","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332444083":["hashtag1","hashtag2"]},{"1332444097":["hashtag1","hashtag2"]},{"1332444079":["hashtag1","hashtag2"]},{"1332444088":["hashtag1","hashtag2"]},{"1332444093":["hashtag1","hashtag2"]},{"1332444099":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332444083, 1332444097, 1332444079, 1332444088, 1332444093, 1332444099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.10978960990906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:22:33.157726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/33/image_28012025_17_33_54_9593.jpg', '/home/pi/Desktop/images/28012025/17/33/image_28012025_17_34_05_10341.jpg', '/home/pi/Desktop/images/28012025/17/34/image_28012025_17_34_15_10433.jpg', '/home/pi/Desktop/images/28012025/17/34/image_28012025_17_34_24_9401.jpg', '/home/pi/Desktop/images/28012025/17/34/image_28012025_17_34_35_10327.jpg', '/home/pi/Desktop/images/28012025/17/34/image_28012025_17_34_44_9510.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/33/image_28012025_17_33_54_9593.jpg
/home/pi/Desktop/images/28012025/17/33/image_28012025_17_34_05_10341.jpg
/home/pi/Desktop/images/28012025/17/34/image_28012025_17_34_15_10433.jpg
/home/pi/Desktop/images/28012025/17/34/image_28012025_17_34_24_9401.jpg
/home/pi/Desktop/images/28012025/17/34/image_28012025_17_34_35_10327.jpg
/home/pi/Desktop/images/28012025/17/34/image_28012025_17_34_44_9510.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332444110","1332444133","1332444121","1332444139","1332444127","1332444106"],"photo_ids_order":["1332444106","1332444110","1332444121","1332444127","1332444133","1332444139"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5246fb12f5bdbca93bb26b1d7c5e0b61.jpg","text":"TemporaryFile(/tmp/multipartBody2451962116343815117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103014130,"filename":"image_28012025_17_34_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/1/28/975f111642c48829db3d510435999fce.jpg","text":"TemporaryFile(/tmp/multipartBody4930492098076561620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103014130,"filename":"image_28012025_17_34_35_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4b1c5d3acdff9dc09b3f574a79df7eb1.jpg","text":"TemporaryFile(/tmp/multipartBody4915289542732593160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103014130,"filename":"image_28012025_17_34_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/1/28/9fbf005e9c9ff3d3015fadce4930fd37.jpg","text":"TemporaryFile(/tmp/multipartBody809391256027898965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103014130,"filename":"image_28012025_17_34_44_9510.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0fc41dd3e353f9b181d54376693e8c6d.jpg","text":"TemporaryFile(/tmp/multipartBody4602578624279465126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103014130,"filename":"image_28012025_17_34_24_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/411e2d079747545c79b9c5ddba99b9ed.jpg","text":"TemporaryFile(/tmp/multipartBody3870137167678367801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103014130,"filename":"image_28012025_17_33_54_9593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332444121","file1":"1332444110","file0":"1332444106","file4":"1332444133","file5":"1332444139","file3":"1332444127"},"map_files_photo_id_array":[{"photo_id":"1332444139","filename":"file5"},{"photo_id":"1332444121","filename":"file2"},{"photo_id":"1332444133","filename":"file4"},{"photo_id":"1332444110","filename":"file1"},{"photo_id":"1332444106","filename":"file0"},{"photo_id":"1332444127","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332444110":["hashtag1","hashtag2"]},{"1332444133":["hashtag1","hashtag2"]},{"1332444121":["hashtag1","hashtag2"]},{"1332444139":["hashtag1","hashtag2"]},{"1332444127":["hashtag1","hashtag2"]},{"1332444106":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332444110, 1332444133, 1332444121, 1332444139, 1332444127, 1332444106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.23411273956299 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:23:32.210438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/34/image_28012025_17_34_55_10404.jpg', '/home/pi/Desktop/images/28012025/17/34/image_28012025_17_35_05_10341.jpg', '/home/pi/Desktop/images/28012025/17/35/image_28012025_17_35_14_9348.jpg', '/home/pi/Desktop/images/28012025/17/35/image_28012025_17_35_25_10358.jpg', '/home/pi/Desktop/images/28012025/17/35/image_28012025_17_35_34_9385.jpg', '/home/pi/Desktop/images/28012025/17/35/image_28012025_17_35_45_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/34/image_28012025_17_34_55_10404.jpg
/home/pi/Desktop/images/28012025/17/34/image_28012025_17_35_05_10341.jpg
/home/pi/Desktop/images/28012025/17/35/image_28012025_17_35_14_9348.jpg
/home/pi/Desktop/images/28012025/17/35/image_28012025_17_35_25_10358.jpg
/home/pi/Desktop/images/28012025/17/35/image_28012025_17_35_34_9385.jpg
/home/pi/Desktop/images/28012025/17/35/image_28012025_17_35_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":["1332444200","1332444190","1332444184","1332444187","1332444172","1332444163"],"photo_ids_order":["1332444163","1332444172","1332444184","1332444187","1332444190","1332444200"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/97a996dfa07d83f2a18c28c3a9572484.jpg","text":"TemporaryFile(/tmp/multipartBody1927401058785257174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103073182,"filename":"image_28012025_17_35_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/1/28/52288b0e9294908586416e099ba0bf99.jpg","text":"TemporaryFile(/tmp/multipartBody2206863798692817418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103073182,"filename":"image_28012025_17_35_34_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/454f387269c75c245c1ceb98d68e9e89.jpg","text":"TemporaryFile(/tmp/multipartBody8836380961843209544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103073182,"filename":"image_28012025_17_35_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/1/28/afa88c5eac1a3927eb83ef5ae4e62448.jpg","text":"TemporaryFile(/tmp/multipartBody665488640330072085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103073182,"filename":"image_28012025_17_35_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/1/28/658834906fc4aed724842712f4b511e1.jpg","text":"TemporaryFile(/tmp/multipartBody449787917173310056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103073182,"filename":"image_28012025_17_35_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/1/28/b8872a0b0427f9b2f762e17c33d8d3a8.jpg","text":"TemporaryFile(/tmp/multipartBody8742447066556225512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103073182,"filename":"image_28012025_17_34_55_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332444184","file1":"1332444172","file0":"1332444163","file4":"1332444190","file5":"1332444200","file3":"1332444187"},"map_files_photo_id_array":[{"photo_id":"1332444200","filename":"file5"},{"photo_id":"1332444184","filename":"file2"},{"photo_id":"1332444190","filename":"file4"},{"photo_id":"1332444172","filename":"file1"},{"photo_id":"1332444163","filename":"file0"},{"photo_id":"1332444187","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332444200":["hashtag1","hashtag2"]},{"1332444190":["hashtag1","hashtag2"]},{"1332444184":["hashtag1","hashtag2"]},{"1332444187":["hashtag1","hashtag2"]},{"1332444172":["hashtag1","hashtag2"]},{"1332444163":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332444200, 1332444190, 1332444184, 1332444187, 1332444172, 1332444163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.13309669494629 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:24:32.497040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/35/image_28012025_17_35_55_10471.jpg', '/home/pi/Desktop/images/28012025/17/35/image_28012025_17_36_04_9438.jpg', '/home/pi/Desktop/images/28012025/17/36/image_28012025_17_36_15_10353.jpg', '/home/pi/Desktop/images/28012025/17/36/image_28012025_17_36_24_9449.jpg', '/home/pi/Desktop/images/28012025/17/36/image_28012025_17_36_35_10357.jpg', '/home/pi/Desktop/images/28012025/17/36/image_28012025_17_36_45_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/35/image_28012025_17_35_55_10471.jpg
/home/pi/Desktop/images/28012025/17/35/image_28012025_17_36_04_9438.jpg
/home/pi/Desktop/images/28012025/17/36/image_28012025_17_36_15_10353.jpg
/home/pi/Desktop/images/28012025/17/36/image_28012025_17_36_24_9449.jpg
/home/pi/Desktop/images/28012025/17/36/image_28012025_17_36_35_10357.jpg
/home/pi/Desktop/images/28012025/17/36/image_28012025_17_36_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":["1332444376","1332444361","1332444367","1332444372","1332444273","1332444381"],"photo_ids_order":["1332444273","1332444361","1332444367","1332444372","1332444376","1332444381"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b53cc63cc4a38017627b63c3a9df8a6f.jpg","text":"TemporaryFile(/tmp/multipartBody7273956161370131336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103133482,"filename":"image_28012025_17_36_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/1/28/f0d761e2401c8aa8e4a6b46354d15d66.jpg","text":"TemporaryFile(/tmp/multipartBody8113525866222317057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103133482,"filename":"image_28012025_17_36_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/1/28/e5f7f23fa7616c734374d104773c625b.jpg","text":"TemporaryFile(/tmp/multipartBody9132187911907339344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103133482,"filename":"image_28012025_17_36_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/1/28/df9366da9d55e9f0542f4f59c24c81df.jpg","text":"TemporaryFile(/tmp/multipartBody8319938575932771372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103133482,"filename":"image_28012025_17_36_24_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a1aa1e16bc7e33c51e1ed7f9d2e77216.jpg","text":"TemporaryFile(/tmp/multipartBody6057461966043958422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103133482,"filename":"image_28012025_17_35_55_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/75498b1eca7fbca95e9b997797d9de2c.jpg","text":"TemporaryFile(/tmp/multipartBody7747228183467467244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103133482,"filename":"image_28012025_17_36_45_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332444367","file1":"1332444361","file0":"1332444273","file4":"1332444376","file5":"1332444381","file3":"1332444372"},"map_files_photo_id_array":[{"photo_id":"1332444381","filename":"file5"},{"photo_id":"1332444367","filename":"file2"},{"photo_id":"1332444376","filename":"file4"},{"photo_id":"1332444361","filename":"file1"},{"photo_id":"1332444273","filename":"file0"},{"photo_id":"1332444372","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332444376":["hashtag1","hashtag2"]},{"1332444361":["hashtag1","hashtag2"]},{"1332444367":["hashtag1","hashtag2"]},{"1332444372":["hashtag1","hashtag2"]},{"1332444273":["hashtag1","hashtag2"]},{"1332444381":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332444376, 1332444361, 1332444367, 1332444372, 1332444273, 1332444381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74792456626892 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:25:32.731495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/36/image_28012025_17_36_54_9404.jpg', '/home/pi/Desktop/images/28012025/17/36/image_28012025_17_37_05_10346.jpg', '/home/pi/Desktop/images/28012025/17/37/image_28012025_17_37_15_10456.jpg', '/home/pi/Desktop/images/28012025/17/37/image_28012025_17_37_25_9438.jpg', '/home/pi/Desktop/images/28012025/17/37/image_28012025_17_37_35_10402.jpg', '/home/pi/Desktop/images/28012025/17/37/image_28012025_17_37_44_9362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/36/image_28012025_17_36_54_9404.jpg
/home/pi/Desktop/images/28012025/17/36/image_28012025_17_37_05_10346.jpg
/home/pi/Desktop/images/28012025/17/37/image_28012025_17_37_15_10456.jpg
/home/pi/Desktop/images/28012025/17/37/image_28012025_17_37_25_9438.jpg
/home/pi/Desktop/images/28012025/17/37/image_28012025_17_37_35_10402.jpg
/home/pi/Desktop/images/28012025/17/37/image_28012025_17_37_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":["1332444569","1332444542","1332444503","1332444547","1332444498","1332444549"],"photo_ids_order":["1332444498","1332444503","1332444542","1332444547","1332444549","1332444569"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5ebfbd1f450e4ce99b3f173c19729804.jpg","text":"TemporaryFile(/tmp/multipartBody4178548258627308636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103193700,"filename":"image_28012025_17_37_44_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/709e10f449ba56d08b8825908f910315.jpg","text":"TemporaryFile(/tmp/multipartBody55472351074745875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103193700,"filename":"image_28012025_17_37_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/1/28/6c4534f1ab6972d8bbcd818ab7c5a1d2.jpg","text":"TemporaryFile(/tmp/multipartBody3900368103697611198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103193700,"filename":"image_28012025_17_37_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/1/28/edd851e023bd18d2d8d12c3d93502322.jpg","text":"TemporaryFile(/tmp/multipartBody8498153707544003965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103193700,"filename":"image_28012025_17_37_25_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5782e0ad06e7a08c9513293d94de4d3e.jpg","text":"TemporaryFile(/tmp/multipartBody620839386749771806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103193700,"filename":"image_28012025_17_36_54_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ff580bece95fe1c067f955028157e345.jpg","text":"TemporaryFile(/tmp/multipartBody7591759361241002281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103193700,"filename":"image_28012025_17_37_35_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332444542","file1":"1332444503","file0":"1332444498","file4":"1332444549","file5":"1332444569","file3":"1332444547"},"map_files_photo_id_array":[{"photo_id":"1332444569","filename":"file5"},{"photo_id":"1332444542","filename":"file2"},{"photo_id":"1332444549","filename":"file4"},{"photo_id":"1332444503","filename":"file1"},{"photo_id":"1332444498","filename":"file0"},{"photo_id":"1332444547","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332444569":["hashtag1","hashtag2"]},{"1332444542":["hashtag1","hashtag2"]},{"1332444503":["hashtag1","hashtag2"]},{"1332444547":["hashtag1","hashtag2"]},{"1332444498":["hashtag1","hashtag2"]},{"1332444549":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332444569, 1332444542, 1332444503, 1332444547, 1332444498, 1332444549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.30435514450073 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:26:32.956338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/37/image_28012025_17_37_55_10342.jpg', '/home/pi/Desktop/images/28012025/17/37/image_28012025_17_38_05_10394.jpg', '/home/pi/Desktop/images/28012025/17/38/image_28012025_17_38_14_9399.jpg', '/home/pi/Desktop/images/28012025/17/38/image_28012025_17_38_25_10345.jpg', '/home/pi/Desktop/images/28012025/17/38/image_28012025_17_38_34_9389.jpg', '/home/pi/Desktop/images/28012025/17/38/image_28012025_17_38_45_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/37/image_28012025_17_37_55_10342.jpg
/home/pi/Desktop/images/28012025/17/37/image_28012025_17_38_05_10394.jpg
/home/pi/Desktop/images/28012025/17/38/image_28012025_17_38_14_9399.jpg
/home/pi/Desktop/images/28012025/17/38/image_28012025_17_38_25_10345.jpg
/home/pi/Desktop/images/28012025/17/38/image_28012025_17_38_34_9389.jpg
/home/pi/Desktop/images/28012025/17/38/image_28012025_17_38_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":["1332444608","1332444602","1332444592","1332444605","1332444598","1332444588"],"photo_ids_order":["1332444588","1332444592","1332444598","1332444602","1332444605","1332444608"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f0c55f069e63184e65b1e7522931191b.jpg","text":"TemporaryFile(/tmp/multipartBody6583477167657845116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103253929,"filename":"image_28012025_17_38_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/1/28/659d22164d5c8eb787abfca660c8a63f.jpg","text":"TemporaryFile(/tmp/multipartBody7759327293459090510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103253929,"filename":"image_28012025_17_38_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/1/28/68643f9bc2d0e60fa2d8e66db3305a59.jpg","text":"TemporaryFile(/tmp/multipartBody6730431862567728608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103253929,"filename":"image_28012025_17_38_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/1/28/e074c2d080f95dcfe7683b145eb2f913.jpg","text":"TemporaryFile(/tmp/multipartBody8098170690924968563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103253929,"filename":"image_28012025_17_38_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/1/28/358cf614e6deabe8194e5bbe5584f01b.jpg","text":"TemporaryFile(/tmp/multipartBody3373405269597873830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103253929,"filename":"image_28012025_17_38_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/1/28/ca87185b20883f4c698bc0b50c752151.jpg","text":"TemporaryFile(/tmp/multipartBody8034608921664581446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103253929,"filename":"image_28012025_17_37_55_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332444598","file1":"1332444592","file0":"1332444588","file4":"1332444605","file5":"1332444608","file3":"1332444602"},"map_files_photo_id_array":[{"photo_id":"1332444608","filename":"file5"},{"photo_id":"1332444598","filename":"file2"},{"photo_id":"1332444605","filename":"file4"},{"photo_id":"1332444592","filename":"file1"},{"photo_id":"1332444588","filename":"file0"},{"photo_id":"1332444602","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332444608":["hashtag1","hashtag2"]},{"1332444602":["hashtag1","hashtag2"]},{"1332444592":["hashtag1","hashtag2"]},{"1332444605":["hashtag1","hashtag2"]},{"1332444598":["hashtag1","hashtag2"]},{"1332444588":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332444608, 1332444602, 1332444592, 1332444605, 1332444598, 1332444588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.526997566223145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:27:32.177969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/38/image_28012025_17_38_55_10407.jpg', '/home/pi/Desktop/images/28012025/17/38/image_28012025_17_39_04_9334.jpg', '/home/pi/Desktop/images/28012025/17/39/image_28012025_17_39_15_10320.jpg', '/home/pi/Desktop/images/28012025/17/39/image_28012025_17_39_25_10351.jpg', '/home/pi/Desktop/images/28012025/17/39/image_28012025_17_39_34_9333.jpg', '/home/pi/Desktop/images/28012025/17/39/image_28012025_17_39_45_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/38/image_28012025_17_38_55_10407.jpg
/home/pi/Desktop/images/28012025/17/38/image_28012025_17_39_04_9334.jpg
/home/pi/Desktop/images/28012025/17/39/image_28012025_17_39_15_10320.jpg
/home/pi/Desktop/images/28012025/17/39/image_28012025_17_39_25_10351.jpg
/home/pi/Desktop/images/28012025/17/39/image_28012025_17_39_34_9333.jpg
/home/pi/Desktop/images/28012025/17/39/image_28012025_17_39_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":["1332445684","1332445561","1332445324","1332445440","1332445809","1332445206"],"photo_ids_order":["1332445206","1332445324","1332445440","1332445561","1332445684","1332445809"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7b7db4775a402435eb31bd2720f48dc5.jpg","text":"TemporaryFile(/tmp/multipartBody6366524149591927187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103313226,"filename":"image_28012025_17_39_34_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ecc89f49250e6e5e32784cc5a6394c2f.jpg","text":"TemporaryFile(/tmp/multipartBody3516692581043998805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103313226,"filename":"image_28012025_17_39_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/1/28/9c074056fb3fec25b05a9357e3f6fb06.jpg","text":"TemporaryFile(/tmp/multipartBody7147465569547810706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103313226,"filename":"image_28012025_17_39_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/1/28/31f0cfc7ebfc04783b799c187adfbdfa.jpg","text":"TemporaryFile(/tmp/multipartBody6255174361354530390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103313226,"filename":"image_28012025_17_39_15_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/554dafc33b45100cbcbecdb6d3b4ff60.jpg","text":"TemporaryFile(/tmp/multipartBody17291387649971831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103313226,"filename":"image_28012025_17_39_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/1/28/90a4218b6eaba46acd8b0dd84f3765b6.jpg","text":"TemporaryFile(/tmp/multipartBody2795562879807226888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103313226,"filename":"image_28012025_17_38_55_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332445440","file1":"1332445324","file0":"1332445206","file4":"1332445684","file5":"1332445809","file3":"1332445561"},"map_files_photo_id_array":[{"photo_id":"1332445809","filename":"file5"},{"photo_id":"1332445440","filename":"file2"},{"photo_id":"1332445684","filename":"file4"},{"photo_id":"1332445324","filename":"file1"},{"photo_id":"1332445206","filename":"file0"},{"photo_id":"1332445561","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332445684":["hashtag1","hashtag2"]},{"1332445561":["hashtag1","hashtag2"]},{"1332445324":["hashtag1","hashtag2"]},{"1332445440":["hashtag1","hashtag2"]},{"1332445809":["hashtag1","hashtag2"]},{"1332445206":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332445684, 1332445561, 1332445324, 1332445440, 1332445809, 1332445206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.63624167442322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:28:32.798426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/39/image_28012025_17_39_55_10362.jpg', '/home/pi/Desktop/images/28012025/17/39/image_28012025_17_40_04_9419.jpg', '/home/pi/Desktop/images/28012025/17/40/image_28012025_17_40_15_10346.jpg', '/home/pi/Desktop/images/28012025/17/40/image_28012025_17_40_35_10395.jpg', '/home/pi/Desktop/images/28012025/17/40/image_28012025_17_40_45_10362.jpg', '/home/pi/Desktop/images/28012025/17/40/image_28012025_17_40_54_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/39/image_28012025_17_39_55_10362.jpg
/home/pi/Desktop/images/28012025/17/39/image_28012025_17_40_04_9419.jpg
/home/pi/Desktop/images/28012025/17/40/image_28012025_17_40_15_10346.jpg
/home/pi/Desktop/images/28012025/17/40/image_28012025_17_40_35_10395.jpg
/home/pi/Desktop/images/28012025/17/40/image_28012025_17_40_45_10362.jpg
/home/pi/Desktop/images/28012025/17/40/image_28012025_17_40_54_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":["1332445925","1332445907","1332445921","1332445893","1332445911","1332445928"],"photo_ids_order":["1332445893","1332445907","1332445911","1332445921","1332445925","1332445928"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8c484db839574e0c3e54eb9ee91dd40b.jpg","text":"TemporaryFile(/tmp/multipartBody7882482370532233307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103373775,"filename":"image_28012025_17_40_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/1/28/3d08e7979bb6126440ad3acb7b7f7a22.jpg","text":"TemporaryFile(/tmp/multipartBody42659145793060379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103373775,"filename":"image_28012025_17_40_04_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/16f0b24baa7ee7ed7d2435a29197f9a7.jpg","text":"TemporaryFile(/tmp/multipartBody6650107299099647543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103373775,"filename":"image_28012025_17_40_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/1/28/dfffcb2847cfa7159fabea1bc6c84314.jpg","text":"TemporaryFile(/tmp/multipartBody3980358652622083742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103373775,"filename":"image_28012025_17_39_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/1/28/35eca9e3b65d029da7c206a89b2fb1da.jpg","text":"TemporaryFile(/tmp/multipartBody5004786069639610932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103373775,"filename":"image_28012025_17_40_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/1/28/e8128924779c5a6a5c02ee49c2558a56.jpg","text":"TemporaryFile(/tmp/multipartBody6571369049523891288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103373775,"filename":"image_28012025_17_40_54_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332445911","file1":"1332445907","file0":"1332445893","file4":"1332445925","file5":"1332445928","file3":"1332445921"},"map_files_photo_id_array":[{"photo_id":"1332445928","filename":"file5"},{"photo_id":"1332445911","filename":"file2"},{"photo_id":"1332445925","filename":"file4"},{"photo_id":"1332445907","filename":"file1"},{"photo_id":"1332445893","filename":"file0"},{"photo_id":"1332445921","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332445925":["hashtag1","hashtag2"]},{"1332445907":["hashtag1","hashtag2"]},{"1332445921":["hashtag1","hashtag2"]},{"1332445893":["hashtag1","hashtag2"]},{"1332445911":["hashtag1","hashtag2"]},{"1332445928":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332445925, 1332445907, 1332445921, 1332445893, 1332445911, 1332445928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.746967792510986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:29:32.241863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/40/image_28012025_17_41_05_10402.jpg', '/home/pi/Desktop/images/28012025/17/41/image_28012025_17_41_15_10331.jpg', '/home/pi/Desktop/images/28012025/17/41/image_28012025_17_41_25_9445.jpg', '/home/pi/Desktop/images/28012025/17/41/image_28012025_17_41_35_10418.jpg', '/home/pi/Desktop/images/28012025/17/41/image_28012025_17_41_44_9442.jpg', '/home/pi/Desktop/images/28012025/17/41/image_28012025_17_41_55_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/40/image_28012025_17_41_05_10402.jpg
/home/pi/Desktop/images/28012025/17/41/image_28012025_17_41_15_10331.jpg
/home/pi/Desktop/images/28012025/17/41/image_28012025_17_41_25_9445.jpg
/home/pi/Desktop/images/28012025/17/41/image_28012025_17_41_35_10418.jpg
/home/pi/Desktop/images/28012025/17/41/image_28012025_17_41_44_9442.jpg
/home/pi/Desktop/images/28012025/17/41/image_28012025_17_41_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":["1332446341","1332446329","1332446401","1332446400","1332446396","1332446381"],"photo_ids_order":["1332446329","1332446341","1332446381","1332446396","1332446400","1332446401"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/96c31a36a01a14796a3f48a81d1429e0.jpg","text":"TemporaryFile(/tmp/multipartBody2967078459525108120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103433253,"filename":"image_28012025_17_41_15_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4118cef551d1b6908ffa0d3e6cc6d71d.jpg","text":"TemporaryFile(/tmp/multipartBody4730598242489305383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103433253,"filename":"image_28012025_17_41_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/1/28/28f3bd9aa306c34a4a8d773f09eb525e.jpg","text":"TemporaryFile(/tmp/multipartBody4774433086260081375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103433253,"filename":"image_28012025_17_41_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/1/28/8efa0d77a2e83d76cd97e2acfbb2ff1f.jpg","text":"TemporaryFile(/tmp/multipartBody9053677044932906604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103433253,"filename":"image_28012025_17_41_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/1/28/c0c3995100ab5ab24959dbd0fa57869b.jpg","text":"TemporaryFile(/tmp/multipartBody3710043743489993929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103433253,"filename":"image_28012025_17_41_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/1/28/d908d8d619da1fbf820e351f5f88cf7f.jpg","text":"TemporaryFile(/tmp/multipartBody4595478222163034493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103433253,"filename":"image_28012025_17_41_25_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332446381","file1":"1332446341","file0":"1332446329","file4":"1332446400","file5":"1332446401","file3":"1332446396"},"map_files_photo_id_array":[{"photo_id":"1332446401","filename":"file5"},{"photo_id":"1332446381","filename":"file2"},{"photo_id":"1332446400","filename":"file4"},{"photo_id":"1332446341","filename":"file1"},{"photo_id":"1332446329","filename":"file0"},{"photo_id":"1332446396","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332446341":["hashtag1","hashtag2"]},{"1332446329":["hashtag1","hashtag2"]},{"1332446401":["hashtag1","hashtag2"]},{"1332446400":["hashtag1","hashtag2"]},{"1332446396":["hashtag1","hashtag2"]},{"1332446381":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332446341, 1332446329, 1332446401, 1332446400, 1332446396, 1332446381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2966833114624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:30:32.512124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/41/image_28012025_17_42_04_9500.jpg', '/home/pi/Desktop/images/28012025/17/42/image_28012025_17_42_15_10347.jpg', '/home/pi/Desktop/images/28012025/17/42/image_28012025_17_42_25_10344.jpg', '/home/pi/Desktop/images/28012025/17/42/image_28012025_17_42_34_9326.jpg', '/home/pi/Desktop/images/28012025/17/42/image_28012025_17_42_45_10337.jpg', '/home/pi/Desktop/images/28012025/17/42/image_28012025_17_42_55_10386.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/41/image_28012025_17_42_04_9500.jpg
/home/pi/Desktop/images/28012025/17/42/image_28012025_17_42_15_10347.jpg
/home/pi/Desktop/images/28012025/17/42/image_28012025_17_42_25_10344.jpg
/home/pi/Desktop/images/28012025/17/42/image_28012025_17_42_34_9326.jpg
/home/pi/Desktop/images/28012025/17/42/image_28012025_17_42_45_10337.jpg
/home/pi/Desktop/images/28012025/17/42/image_28012025_17_42_55_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":["1332446650","1332446653","1332446602","1332446642","1332446606","1332446596"],"photo_ids_order":["1332446596","1332446602","1332446606","1332446642","1332446650","1332446653"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/22b4fa5b5f0ba6664e5ffce013262458.jpg","text":"TemporaryFile(/tmp/multipartBody5185527406354606227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103493491,"filename":"image_28012025_17_42_45_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fc039126a0fb674898bc81b7ca6e952a.jpg","text":"TemporaryFile(/tmp/multipartBody3562631062156536077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103493491,"filename":"image_28012025_17_42_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/1/28/544148341d0ddede32eab31a616d57ce.jpg","text":"TemporaryFile(/tmp/multipartBody4949308779495375902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103493491,"filename":"image_28012025_17_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/1/28/826537eadd49aa862312b93a68ae8178.jpg","text":"TemporaryFile(/tmp/multipartBody8216965734779650061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103493491,"filename":"image_28012025_17_42_34_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2be1e7577ab25019f1f598270b414ab8.jpg","text":"TemporaryFile(/tmp/multipartBody5696066596079795128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103493491,"filename":"image_28012025_17_42_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/1/28/07c95408d6477f75058cc5463e11a73a.jpg","text":"TemporaryFile(/tmp/multipartBody5841621567641244434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103493491,"filename":"image_28012025_17_42_04_9500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332446606","file1":"1332446602","file0":"1332446596","file4":"1332446650","file5":"1332446653","file3":"1332446642"},"map_files_photo_id_array":[{"photo_id":"1332446653","filename":"file5"},{"photo_id":"1332446606","filename":"file2"},{"photo_id":"1332446650","filename":"file4"},{"photo_id":"1332446602","filename":"file1"},{"photo_id":"1332446596","filename":"file0"},{"photo_id":"1332446642","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332446650":["hashtag1","hashtag2"]},{"1332446653":["hashtag1","hashtag2"]},{"1332446602":["hashtag1","hashtag2"]},{"1332446642":["hashtag1","hashtag2"]},{"1332446606":["hashtag1","hashtag2"]},{"1332446596":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332446650, 1332446653, 1332446602, 1332446642, 1332446606, 1332446596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.808510541915894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:31:32.776899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/42/image_28012025_17_43_04_9346.jpg', '/home/pi/Desktop/images/28012025/17/43/image_28012025_17_43_15_10343.jpg', '/home/pi/Desktop/images/28012025/17/43/image_28012025_17_43_25_10342.jpg', '/home/pi/Desktop/images/28012025/17/43/image_28012025_17_43_34_9425.jpg', '/home/pi/Desktop/images/28012025/17/43/image_28012025_17_43_45_10443.jpg', '/home/pi/Desktop/images/28012025/17/43/image_28012025_17_43_54_9520.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/42/image_28012025_17_43_04_9346.jpg
/home/pi/Desktop/images/28012025/17/43/image_28012025_17_43_15_10343.jpg
/home/pi/Desktop/images/28012025/17/43/image_28012025_17_43_25_10342.jpg
/home/pi/Desktop/images/28012025/17/43/image_28012025_17_43_34_9425.jpg
/home/pi/Desktop/images/28012025/17/43/image_28012025_17_43_45_10443.jpg
/home/pi/Desktop/images/28012025/17/43/image_28012025_17_43_54_9520.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332446956","1332446976","1332446981","1332446969","1332446984","1332446963"],"photo_ids_order":["1332446956","1332446963","1332446969","1332446976","1332446981","1332446984"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f32b409bf279c32b08d7a8f592a1e954.jpg","text":"TemporaryFile(/tmp/multipartBody4316567724011576909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103553741,"filename":"image_28012025_17_43_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/1/28/d3f4fcbb9bae42402cebf5f63ebb954e.jpg","text":"TemporaryFile(/tmp/multipartBody1272410360161959063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103553741,"filename":"image_28012025_17_43_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/1/28/3435d81d81a4fb96b738eb4eb46f3a89.jpg","text":"TemporaryFile(/tmp/multipartBody8867864337298280504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103553741,"filename":"image_28012025_17_43_45_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/eb61c2b34501b686d4463a0da072f609.jpg","text":"TemporaryFile(/tmp/multipartBody2619410228565172758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103553741,"filename":"image_28012025_17_43_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/1/28/4859df7ce3d7762189aa76df668a4684.jpg","text":"TemporaryFile(/tmp/multipartBody3117891879343299850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103553741,"filename":"image_28012025_17_43_54_9520.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/88843eb38ee94b9984b84e05b719e36b.jpg","text":"TemporaryFile(/tmp/multipartBody4619581436097327262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103553741,"filename":"image_28012025_17_43_15_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332446969","file1":"1332446963","file0":"1332446956","file4":"1332446981","file5":"1332446984","file3":"1332446976"},"map_files_photo_id_array":[{"photo_id":"1332446984","filename":"file5"},{"photo_id":"1332446969","filename":"file2"},{"photo_id":"1332446981","filename":"file4"},{"photo_id":"1332446963","filename":"file1"},{"photo_id":"1332446956","filename":"file0"},{"photo_id":"1332446976","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332446956":["hashtag1","hashtag2"]},{"1332446976":["hashtag1","hashtag2"]},{"1332446981":["hashtag1","hashtag2"]},{"1332446969":["hashtag1","hashtag2"]},{"1332446984":["hashtag1","hashtag2"]},{"1332446963":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332446956, 1332446976, 1332446981, 1332446969, 1332446984, 1332446963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24030518531799 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:32:33.034987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/43/image_28012025_17_44_05_10452.jpg', '/home/pi/Desktop/images/28012025/17/44/image_28012025_17_44_14_9437.jpg', '/home/pi/Desktop/images/28012025/17/44/image_28012025_17_44_25_10342.jpg', '/home/pi/Desktop/images/28012025/17/44/image_28012025_17_44_35_10355.jpg', '/home/pi/Desktop/images/28012025/17/44/image_28012025_17_44_44_9354.jpg', '/home/pi/Desktop/images/28012025/17/44/image_28012025_17_44_55_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/43/image_28012025_17_44_05_10452.jpg
/home/pi/Desktop/images/28012025/17/44/image_28012025_17_44_14_9437.jpg
/home/pi/Desktop/images/28012025/17/44/image_28012025_17_44_25_10342.jpg
/home/pi/Desktop/images/28012025/17/44/image_28012025_17_44_35_10355.jpg
/home/pi/Desktop/images/28012025/17/44/image_28012025_17_44_44_9354.jpg
/home/pi/Desktop/images/28012025/17/44/image_28012025_17_44_55_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":["1332447021","1332447068","1332447059","1332447044","1332447026","1332447029"],"photo_ids_order":["1332447021","1332447026","1332447029","1332447044","1332447059","1332447068"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/df7a8319524d90c0a145f3e8924593dc.jpg","text":"TemporaryFile(/tmp/multipartBody6347854952493876334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103614067,"filename":"image_28012025_17_44_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/1/28/3ef88a72ad30c9d69f9de3d18a8ecc7b.jpg","text":"TemporaryFile(/tmp/multipartBody7174352019840867657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103614067,"filename":"image_28012025_17_44_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/1/28/368bf906501d2588eb9d9aafd5b8212f.jpg","text":"TemporaryFile(/tmp/multipartBody7754812535499472904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103614067,"filename":"image_28012025_17_44_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/1/28/80c5abe411046d9468ca2bb699a86425.jpg","text":"TemporaryFile(/tmp/multipartBody7790360476127695988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103614067,"filename":"image_28012025_17_44_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/1/28/dc50b55c0586a0a1bd1ded220ba62d27.jpg","text":"TemporaryFile(/tmp/multipartBody3917529225384986743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103614067,"filename":"image_28012025_17_44_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/1/28/534e699baa4b2045aaa9fcd61acc79e7.jpg","text":"TemporaryFile(/tmp/multipartBody7091536400287124191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103614067,"filename":"image_28012025_17_44_25_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332447029","file1":"1332447026","file0":"1332447021","file4":"1332447059","file5":"1332447068","file3":"1332447044"},"map_files_photo_id_array":[{"photo_id":"1332447068","filename":"file5"},{"photo_id":"1332447029","filename":"file2"},{"photo_id":"1332447059","filename":"file4"},{"photo_id":"1332447026","filename":"file1"},{"photo_id":"1332447021","filename":"file0"},{"photo_id":"1332447044","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332447021":["hashtag1","hashtag2"]},{"1332447068":["hashtag1","hashtag2"]},{"1332447059":["hashtag1","hashtag2"]},{"1332447044":["hashtag1","hashtag2"]},{"1332447026":["hashtag1","hashtag2"]},{"1332447029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332447021, 1332447068, 1332447059, 1332447044, 1332447026, 1332447029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2355055809021 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:33:32.250776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/44/image_28012025_17_45_05_10329.jpg', '/home/pi/Desktop/images/28012025/17/45/image_28012025_17_45_14_9401.jpg', '/home/pi/Desktop/images/28012025/17/45/image_28012025_17_45_25_10356.jpg', '/home/pi/Desktop/images/28012025/17/45/image_28012025_17_45_34_9394.jpg', '/home/pi/Desktop/images/28012025/17/45/image_28012025_17_45_45_10345.jpg', '/home/pi/Desktop/images/28012025/17/45/image_28012025_17_45_55_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/44/image_28012025_17_45_05_10329.jpg
/home/pi/Desktop/images/28012025/17/45/image_28012025_17_45_14_9401.jpg
/home/pi/Desktop/images/28012025/17/45/image_28012025_17_45_25_10356.jpg
/home/pi/Desktop/images/28012025/17/45/image_28012025_17_45_34_9394.jpg
/home/pi/Desktop/images/28012025/17/45/image_28012025_17_45_45_10345.jpg
/home/pi/Desktop/images/28012025/17/45/image_28012025_17_45_55_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":["1332447139","1332447124","1332447144","1332447131","1332447127","1332447136"],"photo_ids_order":["1332447124","1332447127","1332447131","1332447136","1332447139","1332447144"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/b547a982889d75f670064c113ee269d0.jpg","text":"TemporaryFile(/tmp/multipartBody8907073941930945427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103673212,"filename":"image_28012025_17_45_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/1/28/2a24cad93c1f1324bd60c2538296435f.jpg","text":"TemporaryFile(/tmp/multipartBody1262942116508621434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103673212,"filename":"image_28012025_17_45_05_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/97ac4004f43a7e1fedbc63e9fadb2ce0.jpg","text":"TemporaryFile(/tmp/multipartBody9156953077381962759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103673212,"filename":"image_28012025_17_45_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/1/28/696e5d0951826375e3f5ade8f40fd189.jpg","text":"TemporaryFile(/tmp/multipartBody3360997308515589781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103673212,"filename":"image_28012025_17_45_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/1/28/b2a04e17277e62ed617773f1d29d31a6.jpg","text":"TemporaryFile(/tmp/multipartBody3627135381727609560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103673212,"filename":"image_28012025_17_45_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/1/28/c4d9833dc6a8d2b0c2c997a0a662a678.jpg","text":"TemporaryFile(/tmp/multipartBody567905380942996210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103673212,"filename":"image_28012025_17_45_34_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332447131","file1":"1332447127","file0":"1332447124","file4":"1332447139","file5":"1332447144","file3":"1332447136"},"map_files_photo_id_array":[{"photo_id":"1332447144","filename":"file5"},{"photo_id":"1332447131","filename":"file2"},{"photo_id":"1332447139","filename":"file4"},{"photo_id":"1332447127","filename":"file1"},{"photo_id":"1332447124","filename":"file0"},{"photo_id":"1332447136","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332447139":["hashtag1","hashtag2"]},{"1332447124":["hashtag1","hashtag2"]},{"1332447144":["hashtag1","hashtag2"]},{"1332447131":["hashtag1","hashtag2"]},{"1332447127":["hashtag1","hashtag2"]},{"1332447136":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332447139, 1332447124, 1332447144, 1332447131, 1332447127, 1332447136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.46115732192993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:34:32.354462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/45/image_28012025_17_46_04_9456.jpg', '/home/pi/Desktop/images/28012025/17/46/image_28012025_17_46_15_10431.jpg', '/home/pi/Desktop/images/28012025/17/46/image_28012025_17_46_24_9457.jpg', '/home/pi/Desktop/images/28012025/17/46/image_28012025_17_46_35_10357.jpg', '/home/pi/Desktop/images/28012025/17/46/image_28012025_17_46_45_10374.jpg', '/home/pi/Desktop/images/28012025/17/46/image_28012025_17_46_54_9401.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/45/image_28012025_17_46_04_9456.jpg
/home/pi/Desktop/images/28012025/17/46/image_28012025_17_46_15_10431.jpg
/home/pi/Desktop/images/28012025/17/46/image_28012025_17_46_24_9457.jpg
/home/pi/Desktop/images/28012025/17/46/image_28012025_17_46_35_10357.jpg
/home/pi/Desktop/images/28012025/17/46/image_28012025_17_46_45_10374.jpg
/home/pi/Desktop/images/28012025/17/46/image_28012025_17_46_54_9401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332447189","1332447177","1332447191","1332447185","1332447182","1332447172"],"photo_ids_order":["1332447172","1332447177","1332447182","1332447185","1332447189","1332447191"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/aef8d21a5c832c7667d6ea1992764183.jpg","text":"TemporaryFile(/tmp/multipartBody3901291034116886289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103733339,"filename":"image_28012025_17_46_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/1/28/5cc774245161b957c665a2e43825f6e1.jpg","text":"TemporaryFile(/tmp/multipartBody250863631738935488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103733339,"filename":"image_28012025_17_46_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/1/28/2958e90cd1dc64508cf1f8aa55aa1a23.jpg","text":"TemporaryFile(/tmp/multipartBody91323073308776307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103733339,"filename":"image_28012025_17_46_54_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/dcae2ce31e1f5ded67ad02058f33e8e0.jpg","text":"TemporaryFile(/tmp/multipartBody7782760296805715133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103733339,"filename":"image_28012025_17_46_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/1/28/c1cc4dd70ff18ecb55c75d4bba945841.jpg","text":"TemporaryFile(/tmp/multipartBody8411904291823563341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103733339,"filename":"image_28012025_17_46_24_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f53670eb1b921e6e2fbbf7b11e4306e1.jpg","text":"TemporaryFile(/tmp/multipartBody3823744173510107516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103733339,"filename":"image_28012025_17_46_04_9456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332447182","file1":"1332447177","file0":"1332447172","file4":"1332447189","file5":"1332447191","file3":"1332447185"},"map_files_photo_id_array":[{"photo_id":"1332447191","filename":"file5"},{"photo_id":"1332447182","filename":"file2"},{"photo_id":"1332447189","filename":"file4"},{"photo_id":"1332447177","filename":"file1"},{"photo_id":"1332447172","filename":"file0"},{"photo_id":"1332447185","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332447189":["hashtag1","hashtag2"]},{"1332447177":["hashtag1","hashtag2"]},{"1332447191":["hashtag1","hashtag2"]},{"1332447185":["hashtag1","hashtag2"]},{"1332447182":["hashtag1","hashtag2"]},{"1332447172":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332447189, 1332447177, 1332447191, 1332447185, 1332447182, 1332447172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.01752519607544 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:35:35.613107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/46/image_28012025_17_47_05_10338.jpg', '/home/pi/Desktop/images/28012025/17/47/image_28012025_17_47_15_10360.jpg', '/home/pi/Desktop/images/28012025/17/47/image_28012025_17_47_24_9336.jpg', '/home/pi/Desktop/images/28012025/17/47/image_28012025_17_47_35_10347.jpg', '/home/pi/Desktop/images/28012025/17/47/image_28012025_17_47_45_10346.jpg', '/home/pi/Desktop/images/28012025/17/47/image_28012025_17_47_54_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/46/image_28012025_17_47_05_10338.jpg
/home/pi/Desktop/images/28012025/17/47/image_28012025_17_47_15_10360.jpg
/home/pi/Desktop/images/28012025/17/47/image_28012025_17_47_24_9336.jpg
/home/pi/Desktop/images/28012025/17/47/image_28012025_17_47_35_10347.jpg
/home/pi/Desktop/images/28012025/17/47/image_28012025_17_47_45_10346.jpg
/home/pi/Desktop/images/28012025/17/47/image_28012025_17_47_54_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332447211","1332447225","1332447233","1332447230","1332447220","1332447214"],"photo_ids_order":["1332447211","1332447214","1332447220","1332447225","1332447230","1332447233"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/14f844ceeff1cfbf87c0fe94bf52a2ef.jpg","text":"TemporaryFile(/tmp/multipartBody7262505029677148504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103797185,"filename":"image_28012025_17_47_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/1/28/31f68c305a231c4815b70b8e09e5f224.jpg","text":"TemporaryFile(/tmp/multipartBody7443408983862823840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103797185,"filename":"image_28012025_17_47_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/1/28/40aa3295efc7168b4113bdbc28d7e62d.jpg","text":"TemporaryFile(/tmp/multipartBody4627178709600151733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103797185,"filename":"image_28012025_17_47_54_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/544be4a23a4b8f4ccd4f01163e1db15f.jpg","text":"TemporaryFile(/tmp/multipartBody5828883989248543341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103797185,"filename":"image_28012025_17_47_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/1/28/737388d792d99a6be8df4d8f6fa5979a.jpg","text":"TemporaryFile(/tmp/multipartBody2816933414744070239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103797185,"filename":"image_28012025_17_47_24_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a038186c98856f618e87c5363661b111.jpg","text":"TemporaryFile(/tmp/multipartBody6231825266399061857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103797185,"filename":"image_28012025_17_47_15_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332447220","file1":"1332447214","file0":"1332447211","file4":"1332447230","file5":"1332447233","file3":"1332447225"},"map_files_photo_id_array":[{"photo_id":"1332447233","filename":"file5"},{"photo_id":"1332447220","filename":"file2"},{"photo_id":"1332447230","filename":"file4"},{"photo_id":"1332447214","filename":"file1"},{"photo_id":"1332447211","filename":"file0"},{"photo_id":"1332447225","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332447211":["hashtag1","hashtag2"]},{"1332447225":["hashtag1","hashtag2"]},{"1332447233":["hashtag1","hashtag2"]},{"1332447230":["hashtag1","hashtag2"]},{"1332447220":["hashtag1","hashtag2"]},{"1332447214":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332447211, 1332447225, 1332447233, 1332447230, 1332447220, 1332447214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.6311559677124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:36:32.909217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/47/image_28012025_17_48_05_10347.jpg', '/home/pi/Desktop/images/28012025/17/48/image_28012025_17_48_14_9431.jpg', '/home/pi/Desktop/images/28012025/17/48/image_28012025_17_48_25_10363.jpg', '/home/pi/Desktop/images/28012025/17/48/image_28012025_17_48_35_10348.jpg', '/home/pi/Desktop/images/28012025/17/48/image_28012025_17_48_44_9349.jpg', '/home/pi/Desktop/images/28012025/17/48/image_28012025_17_48_55_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/47/image_28012025_17_48_05_10347.jpg
/home/pi/Desktop/images/28012025/17/48/image_28012025_17_48_14_9431.jpg
/home/pi/Desktop/images/28012025/17/48/image_28012025_17_48_25_10363.jpg
/home/pi/Desktop/images/28012025/17/48/image_28012025_17_48_35_10348.jpg
/home/pi/Desktop/images/28012025/17/48/image_28012025_17_48_44_9349.jpg
/home/pi/Desktop/images/28012025/17/48/image_28012025_17_48_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":["1332447508","1332447573","1332447530","1332447580","1332447583","1332447526"],"photo_ids_order":["1332447508","1332447526","1332447530","1332447573","1332447580","1332447583"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/e20f70f459c6e0348c53fda4ba535811.jpg","text":"TemporaryFile(/tmp/multipartBody7414155562254969344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103853902,"filename":"image_28012025_17_48_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/1/28/f27789bc11580f78c9ab8c8886fbad30.jpg","text":"TemporaryFile(/tmp/multipartBody8747615094431757915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103853902,"filename":"image_28012025_17_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/1/28/e51aaf6214c7e6d11d0f136339059ee3.jpg","text":"TemporaryFile(/tmp/multipartBody6362612278052726305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103853902,"filename":"image_28012025_17_48_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/1/28/86d56bcd5dd7a69879c5cd78f8652574.jpg","text":"TemporaryFile(/tmp/multipartBody7237806483935653881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103853902,"filename":"image_28012025_17_48_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/1/28/f4394811002a05a9365fa50ea666b74f.jpg","text":"TemporaryFile(/tmp/multipartBody947685501644181740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103853902,"filename":"image_28012025_17_48_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/1/28/19f4c9d1894ee5fc20e1dd2b4a246a94.jpg","text":"TemporaryFile(/tmp/multipartBody8720683093766398270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103853902,"filename":"image_28012025_17_48_14_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332447530","file1":"1332447526","file0":"1332447508","file4":"1332447580","file5":"1332447583","file3":"1332447573"},"map_files_photo_id_array":[{"photo_id":"1332447583","filename":"file5"},{"photo_id":"1332447530","filename":"file2"},{"photo_id":"1332447580","filename":"file4"},{"photo_id":"1332447526","filename":"file1"},{"photo_id":"1332447508","filename":"file0"},{"photo_id":"1332447573","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332447508":["hashtag1","hashtag2"]},{"1332447573":["hashtag1","hashtag2"]},{"1332447530":["hashtag1","hashtag2"]},{"1332447580":["hashtag1","hashtag2"]},{"1332447583":["hashtag1","hashtag2"]},{"1332447526":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332447508, 1332447573, 1332447530, 1332447580, 1332447583, 1332447526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.373544454574585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:37:33.035904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/48/image_28012025_17_49_05_10332.jpg', '/home/pi/Desktop/images/28012025/17/49/image_28012025_17_49_14_9422.jpg', '/home/pi/Desktop/images/28012025/17/49/image_28012025_17_49_25_10342.jpg', '/home/pi/Desktop/images/28012025/17/49/image_28012025_17_49_34_9382.jpg', '/home/pi/Desktop/images/28012025/17/49/image_28012025_17_49_45_10340.jpg', '/home/pi/Desktop/images/28012025/17/49/image_28012025_17_49_55_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/48/image_28012025_17_49_05_10332.jpg
/home/pi/Desktop/images/28012025/17/49/image_28012025_17_49_14_9422.jpg
/home/pi/Desktop/images/28012025/17/49/image_28012025_17_49_25_10342.jpg
/home/pi/Desktop/images/28012025/17/49/image_28012025_17_49_34_9382.jpg
/home/pi/Desktop/images/28012025/17/49/image_28012025_17_49_45_10340.jpg
/home/pi/Desktop/images/28012025/17/49/image_28012025_17_49_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":["1332448634","1332448658","1332448550","1332448666","1332448615","1332448662"],"photo_ids_order":["1332448550","1332448615","1332448634","1332448658","1332448662","1332448666"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9ef8dbd10ed3130397d4339451af543e.jpg","text":"TemporaryFile(/tmp/multipartBody6621498144100789584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103914021,"filename":"image_28012025_17_49_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/1/28/85e16e8d4f959a6ff9f18ee9749d41af.jpg","text":"TemporaryFile(/tmp/multipartBody5358445584574584322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103914021,"filename":"image_28012025_17_49_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/1/28/a83c85a06e1ee340db0d12d26ed1b5d4.jpg","text":"TemporaryFile(/tmp/multipartBody1951926726596172301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103914021,"filename":"image_28012025_17_49_05_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/370f155b6d5e40a3a701ad2ef123d7b9.jpg","text":"TemporaryFile(/tmp/multipartBody4905820245560810180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103914021,"filename":"image_28012025_17_49_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/1/28/857fe061e1a871cac045ec884e255283.jpg","text":"TemporaryFile(/tmp/multipartBody4498224627795786139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103914021,"filename":"image_28012025_17_49_14_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bde8ebb73f93409e0fd3cb75c590931e.jpg","text":"TemporaryFile(/tmp/multipartBody5208084248037600434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103914021,"filename":"image_28012025_17_49_45_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332448634","file1":"1332448615","file0":"1332448550","file4":"1332448662","file5":"1332448666","file3":"1332448658"},"map_files_photo_id_array":[{"photo_id":"1332448666","filename":"file5"},{"photo_id":"1332448634","filename":"file2"},{"photo_id":"1332448662","filename":"file4"},{"photo_id":"1332448615","filename":"file1"},{"photo_id":"1332448550","filename":"file0"},{"photo_id":"1332448658","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332448634":["hashtag1","hashtag2"]},{"1332448658":["hashtag1","hashtag2"]},{"1332448550":["hashtag1","hashtag2"]},{"1332448666":["hashtag1","hashtag2"]},{"1332448615":["hashtag1","hashtag2"]},{"1332448662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332448634, 1332448658, 1332448550, 1332448666, 1332448615, 1332448662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.06803011894226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:38:33.145878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/49/image_28012025_17_50_04_9346.jpg', '/home/pi/Desktop/images/28012025/17/50/image_28012025_17_50_15_10362.jpg', '/home/pi/Desktop/images/28012025/17/50/image_28012025_17_50_25_10349.jpg', '/home/pi/Desktop/images/28012025/17/50/image_28012025_17_50_34_9323.jpg', '/home/pi/Desktop/images/28012025/17/50/image_28012025_17_50_45_10350.jpg', '/home/pi/Desktop/images/28012025/17/50/image_28012025_17_50_55_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/49/image_28012025_17_50_04_9346.jpg
/home/pi/Desktop/images/28012025/17/50/image_28012025_17_50_15_10362.jpg
/home/pi/Desktop/images/28012025/17/50/image_28012025_17_50_25_10349.jpg
/home/pi/Desktop/images/28012025/17/50/image_28012025_17_50_34_9323.jpg
/home/pi/Desktop/images/28012025/17/50/image_28012025_17_50_45_10350.jpg
/home/pi/Desktop/images/28012025/17/50/image_28012025_17_50_55_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332449031","1332449132","1332449134","1332449041","1332449035","1332449055"],"photo_ids_order":["1332449031","1332449035","1332449041","1332449055","1332449132","1332449134"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/41f364921ae59a19c83ff1f220e2bc28.jpg","text":"TemporaryFile(/tmp/multipartBody8284047001681989767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103974130,"filename":"image_28012025_17_50_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/1/28/5468174c0f8d526a9ce1a395d1402500.jpg","text":"TemporaryFile(/tmp/multipartBody1516313903060561435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103974130,"filename":"image_28012025_17_50_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/1/28/858989b5635adc79a709ab169f69b21f.jpg","text":"TemporaryFile(/tmp/multipartBody4226239795489656360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103974130,"filename":"image_28012025_17_50_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/1/28/1201d09ab596ef7b9e8a0f2521ed454c.jpg","text":"TemporaryFile(/tmp/multipartBody8969081853681157329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103974130,"filename":"image_28012025_17_50_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/1/28/d2391ec22adec610222d9ca95345975d.jpg","text":"TemporaryFile(/tmp/multipartBody6452274546602106127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103974130,"filename":"image_28012025_17_50_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/1/28/5b2e340fb29d54b16925e930d79e7b6d.jpg","text":"TemporaryFile(/tmp/multipartBody60447677379514148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738103974130,"filename":"image_28012025_17_50_34_9323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332449041","file1":"1332449035","file0":"1332449031","file4":"1332449132","file5":"1332449134","file3":"1332449055"},"map_files_photo_id_array":[{"photo_id":"1332449134","filename":"file5"},{"photo_id":"1332449041","filename":"file2"},{"photo_id":"1332449132","filename":"file4"},{"photo_id":"1332449035","filename":"file1"},{"photo_id":"1332449031","filename":"file0"},{"photo_id":"1332449055","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332449031":["hashtag1","hashtag2"]},{"1332449132":["hashtag1","hashtag2"]},{"1332449134":["hashtag1","hashtag2"]},{"1332449041":["hashtag1","hashtag2"]},{"1332449035":["hashtag1","hashtag2"]},{"1332449055":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332449031, 1332449132, 1332449134, 1332449041, 1332449035, 1332449055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.848532915115356 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:39:32.308942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/50/image_28012025_17_51_04_9434.jpg', '/home/pi/Desktop/images/28012025/17/51/image_28012025_17_51_15_10343.jpg', '/home/pi/Desktop/images/28012025/17/51/image_28012025_17_51_25_10343.jpg', '/home/pi/Desktop/images/28012025/17/51/image_28012025_17_51_34_9322.jpg', '/home/pi/Desktop/images/28012025/17/51/image_28012025_17_51_45_10376.jpg', '/home/pi/Desktop/images/28012025/17/51/image_28012025_17_51_54_9465.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/50/image_28012025_17_51_04_9434.jpg
/home/pi/Desktop/images/28012025/17/51/image_28012025_17_51_15_10343.jpg
/home/pi/Desktop/images/28012025/17/51/image_28012025_17_51_25_10343.jpg
/home/pi/Desktop/images/28012025/17/51/image_28012025_17_51_34_9322.jpg
/home/pi/Desktop/images/28012025/17/51/image_28012025_17_51_45_10376.jpg
/home/pi/Desktop/images/28012025/17/51/image_28012025_17_51_54_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":["1332449645","1332449566","1332449653","1332449373","1332449376","1332449649"],"photo_ids_order":["1332449373","1332449376","1332449566","1332449645","1332449649","1332449653"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/adf9a8db452548417ec7037f92c5c805.jpg","text":"TemporaryFile(/tmp/multipartBody1266005577534203567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104033294,"filename":"image_28012025_17_51_34_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/975512923353798cb4267c334fc252ad.jpg","text":"TemporaryFile(/tmp/multipartBody4613524328744400806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104033294,"filename":"image_28012025_17_51_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/1/28/850abf19fa8426093da265ee343bac9f.jpg","text":"TemporaryFile(/tmp/multipartBody6456998090696278289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104033294,"filename":"image_28012025_17_51_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/1/28/9985010f180e59192310080f54effd92.jpg","text":"TemporaryFile(/tmp/multipartBody1895748252319080942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104033294,"filename":"image_28012025_17_51_04_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cf3130e7af2a7fc49eff6ebb403d7390.jpg","text":"TemporaryFile(/tmp/multipartBody4265221532752392038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104033294,"filename":"image_28012025_17_51_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cbde69bc14d029597f715bb720e880f3.jpg","text":"TemporaryFile(/tmp/multipartBody4965429322709182983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104033294,"filename":"image_28012025_17_51_45_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332449566","file1":"1332449376","file0":"1332449373","file4":"1332449649","file5":"1332449653","file3":"1332449645"},"map_files_photo_id_array":[{"photo_id":"1332449653","filename":"file5"},{"photo_id":"1332449566","filename":"file2"},{"photo_id":"1332449649","filename":"file4"},{"photo_id":"1332449376","filename":"file1"},{"photo_id":"1332449373","filename":"file0"},{"photo_id":"1332449645","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332449645":["hashtag1","hashtag2"]},{"1332449566":["hashtag1","hashtag2"]},{"1332449653":["hashtag1","hashtag2"]},{"1332449373":["hashtag1","hashtag2"]},{"1332449376":["hashtag1","hashtag2"]},{"1332449649":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332449645, 1332449566, 1332449653, 1332449373, 1332449376, 1332449649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.384968519210815 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:40:32.523031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/51/image_28012025_17_52_05_10366.jpg', '/home/pi/Desktop/images/28012025/17/52/image_28012025_17_52_15_10325.jpg', '/home/pi/Desktop/images/28012025/17/52/image_28012025_17_52_24_9385.jpg', '/home/pi/Desktop/images/28012025/17/52/image_28012025_17_52_35_10326.jpg', '/home/pi/Desktop/images/28012025/17/52/image_28012025_17_52_45_10353.jpg', '/home/pi/Desktop/images/28012025/17/52/image_28012025_17_52_54_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/51/image_28012025_17_52_05_10366.jpg
/home/pi/Desktop/images/28012025/17/52/image_28012025_17_52_15_10325.jpg
/home/pi/Desktop/images/28012025/17/52/image_28012025_17_52_24_9385.jpg
/home/pi/Desktop/images/28012025/17/52/image_28012025_17_52_35_10326.jpg
/home/pi/Desktop/images/28012025/17/52/image_28012025_17_52_45_10353.jpg
/home/pi/Desktop/images/28012025/17/52/image_28012025_17_52_54_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":["1332449774","1332449747","1332449740","1332449743","1332449752","1332449754"],"photo_ids_order":["1332449740","1332449743","1332449747","1332449752","1332449754","1332449774"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/aa71b282d4c6fadc98920d63f7f6d8a7.jpg","text":"TemporaryFile(/tmp/multipartBody6631470684718639779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104093498,"filename":"image_28012025_17_52_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/1/28/9550caec99842143a12d6934a5a2c71f.jpg","text":"TemporaryFile(/tmp/multipartBody3468256549390747463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104093498,"filename":"image_28012025_17_52_24_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/89db2c9bde114fbcd6960b3075b55ad4.jpg","text":"TemporaryFile(/tmp/multipartBody8466415063562792275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104093498,"filename":"image_28012025_17_52_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/1/28/b09e704dbe933869f42e8a5e8f3155ae.jpg","text":"TemporaryFile(/tmp/multipartBody7440442440577505768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104093498,"filename":"image_28012025_17_52_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/1/28/9818dacee53ec70a044a04e004099de6.jpg","text":"TemporaryFile(/tmp/multipartBody1271489885002682722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104093498,"filename":"image_28012025_17_52_35_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/58ce8405eb82d14eea1d3769967959f4.jpg","text":"TemporaryFile(/tmp/multipartBody556913891342148850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104093498,"filename":"image_28012025_17_52_45_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332449747","file1":"1332449743","file0":"1332449740","file4":"1332449754","file5":"1332449774","file3":"1332449752"},"map_files_photo_id_array":[{"photo_id":"1332449774","filename":"file5"},{"photo_id":"1332449747","filename":"file2"},{"photo_id":"1332449754","filename":"file4"},{"photo_id":"1332449743","filename":"file1"},{"photo_id":"1332449740","filename":"file0"},{"photo_id":"1332449752","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332449774":["hashtag1","hashtag2"]},{"1332449747":["hashtag1","hashtag2"]},{"1332449740":["hashtag1","hashtag2"]},{"1332449743":["hashtag1","hashtag2"]},{"1332449752":["hashtag1","hashtag2"]},{"1332449754":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332449774, 1332449747, 1332449740, 1332449743, 1332449752, 1332449754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.667484283447266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:41:33.688846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/52/image_28012025_17_53_05_10320.jpg', '/home/pi/Desktop/images/28012025/17/53/image_28012025_17_53_15_10326.jpg', '/home/pi/Desktop/images/28012025/17/53/image_28012025_17_53_24_9363.jpg', '/home/pi/Desktop/images/28012025/17/53/image_28012025_17_53_35_10465.jpg', '/home/pi/Desktop/images/28012025/17/53/image_28012025_17_53_44_9453.jpg', '/home/pi/Desktop/images/28012025/17/53/image_28012025_17_54_05_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/52/image_28012025_17_53_05_10320.jpg
/home/pi/Desktop/images/28012025/17/53/image_28012025_17_53_15_10326.jpg
/home/pi/Desktop/images/28012025/17/53/image_28012025_17_53_24_9363.jpg
/home/pi/Desktop/images/28012025/17/53/image_28012025_17_53_35_10465.jpg
/home/pi/Desktop/images/28012025/17/53/image_28012025_17_53_44_9453.jpg
/home/pi/Desktop/images/28012025/17/53/image_28012025_17_54_05_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":["1332449849","1332449857","1332449821","1332449865","1332449868","1332449853"],"photo_ids_order":["1332449821","1332449849","1332449853","1332449857","1332449865","1332449868"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/cbd23a6601b4fdaef82ddc4df616b1e0.jpg","text":"TemporaryFile(/tmp/multipartBody7688937631076493942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104154681,"filename":"image_28012025_17_53_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/1/28/5af6e31f5e4daef093e0c1afe175dbf7.jpg","text":"TemporaryFile(/tmp/multipartBody1892591278071137390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104154681,"filename":"image_28012025_17_53_35_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/32fffe2ff4823c04ee0dcc8fd6e60317.jpg","text":"TemporaryFile(/tmp/multipartBody4059198316738556402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104154681,"filename":"image_28012025_17_53_05_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bbdba6249e18131a693bb52892d50ced.jpg","text":"TemporaryFile(/tmp/multipartBody901913492834302122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104154681,"filename":"image_28012025_17_53_44_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/ce5f4a60f9734bea2beed1e9024cb955.jpg","text":"TemporaryFile(/tmp/multipartBody3768571353709219754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104154681,"filename":"image_28012025_17_54_05_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/06f940a951eb269507021e0d5f71b549.jpg","text":"TemporaryFile(/tmp/multipartBody3069715713646649758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104154681,"filename":"image_28012025_17_53_24_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332449853","file1":"1332449849","file0":"1332449821","file4":"1332449865","file5":"1332449868","file3":"1332449857"},"map_files_photo_id_array":[{"photo_id":"1332449868","filename":"file5"},{"photo_id":"1332449853","filename":"file2"},{"photo_id":"1332449865","filename":"file4"},{"photo_id":"1332449849","filename":"file1"},{"photo_id":"1332449821","filename":"file0"},{"photo_id":"1332449857","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332449849":["hashtag1","hashtag2"]},{"1332449857":["hashtag1","hashtag2"]},{"1332449821":["hashtag1","hashtag2"]},{"1332449865":["hashtag1","hashtag2"]},{"1332449868":["hashtag1","hashtag2"]},{"1332449853":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332449849, 1332449857, 1332449821, 1332449865, 1332449868, 1332449853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.16974401473999 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:42:32.301120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/54/image_28012025_17_54_14_9335.jpg', '/home/pi/Desktop/images/28012025/17/54/image_28012025_17_54_25_10356.jpg', '/home/pi/Desktop/images/28012025/17/54/image_28012025_17_54_34_9511.jpg', '/home/pi/Desktop/images/28012025/17/54/image_28012025_17_54_45_10346.jpg', '/home/pi/Desktop/images/28012025/17/54/image_28012025_17_54_55_10380.jpg', '/home/pi/Desktop/images/28012025/17/54/image_28012025_17_55_04_9451.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/54/image_28012025_17_54_14_9335.jpg
/home/pi/Desktop/images/28012025/17/54/image_28012025_17_54_25_10356.jpg
/home/pi/Desktop/images/28012025/17/54/image_28012025_17_54_34_9511.jpg
/home/pi/Desktop/images/28012025/17/54/image_28012025_17_54_45_10346.jpg
/home/pi/Desktop/images/28012025/17/54/image_28012025_17_54_55_10380.jpg
/home/pi/Desktop/images/28012025/17/54/image_28012025_17_55_04_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":["1332449897","1332449900","1332449903","1332449893","1332449881","1332449889"],"photo_ids_order":["1332449881","1332449889","1332449893","1332449897","1332449900","1332449903"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bf3c9c5fcd8d6be812a1d032f8b65346.jpg","text":"TemporaryFile(/tmp/multipartBody1935424774125117186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104213280,"filename":"image_28012025_17_54_45_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/fe4b3048b4ece59502b6a527250648c1.jpg","text":"TemporaryFile(/tmp/multipartBody1649866810165968409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104213280,"filename":"image_28012025_17_54_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/1/28/ddde1f258199172bf9bc849ab5327b3d.jpg","text":"TemporaryFile(/tmp/multipartBody1000474193433326422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104213280,"filename":"image_28012025_17_55_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/1/28/092c999d3ac88c858e3b1df97739c8dc.jpg","text":"TemporaryFile(/tmp/multipartBody6804370435585486773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104213280,"filename":"image_28012025_17_54_34_9511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/beee76c6d46fed0c22da275e2418a61c.jpg","text":"TemporaryFile(/tmp/multipartBody6798736697120898486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104213280,"filename":"image_28012025_17_54_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/1/28/c96a7aa0e0469a986afb4490e89cccd3.jpg","text":"TemporaryFile(/tmp/multipartBody6258416349578107885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104213280,"filename":"image_28012025_17_54_25_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332449893","file1":"1332449889","file0":"1332449881","file4":"1332449900","file5":"1332449903","file3":"1332449897"},"map_files_photo_id_array":[{"photo_id":"1332449903","filename":"file5"},{"photo_id":"1332449893","filename":"file2"},{"photo_id":"1332449900","filename":"file4"},{"photo_id":"1332449889","filename":"file1"},{"photo_id":"1332449881","filename":"file0"},{"photo_id":"1332449897","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332449897":["hashtag1","hashtag2"]},{"1332449900":["hashtag1","hashtag2"]},{"1332449903":["hashtag1","hashtag2"]},{"1332449893":["hashtag1","hashtag2"]},{"1332449881":["hashtag1","hashtag2"]},{"1332449889":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332449897, 1332449900, 1332449903, 1332449893, 1332449881, 1332449889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.6904137134552 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:43:32.486835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/55/image_28012025_17_55_15_10435.jpg', '/home/pi/Desktop/images/28012025/17/55/image_28012025_17_55_24_9399.jpg', '/home/pi/Desktop/images/28012025/17/55/image_28012025_17_55_35_10349.jpg', '/home/pi/Desktop/images/28012025/17/55/image_28012025_17_55_45_10376.jpg', '/home/pi/Desktop/images/28012025/17/55/image_28012025_17_55_54_9341.jpg', '/home/pi/Desktop/images/28012025/17/55/image_28012025_17_56_05_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/55/image_28012025_17_55_15_10435.jpg
/home/pi/Desktop/images/28012025/17/55/image_28012025_17_55_24_9399.jpg
/home/pi/Desktop/images/28012025/17/55/image_28012025_17_55_35_10349.jpg
/home/pi/Desktop/images/28012025/17/55/image_28012025_17_55_45_10376.jpg
/home/pi/Desktop/images/28012025/17/55/image_28012025_17_55_54_9341.jpg
/home/pi/Desktop/images/28012025/17/55/image_28012025_17_56_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":["1332450477","1332450441","1332450459","1332450444","1332450448","1332450453"],"photo_ids_order":["1332450441","1332450444","1332450448","1332450453","1332450459","1332450477"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/879520f3babee9892e3467014e327935.jpg","text":"TemporaryFile(/tmp/multipartBody2478807002415136087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104273465,"filename":"image_28012025_17_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/1/28/12c45472fe275cbe5d000764ce457ca4.jpg","text":"TemporaryFile(/tmp/multipartBody7505898478739383938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104273465,"filename":"image_28012025_17_55_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/1/28/fa7ed1b284cb8f34d2893e5ee990ffaf.jpg","text":"TemporaryFile(/tmp/multipartBody6543455534917702519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104273465,"filename":"image_28012025_17_55_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/1/28/00fd57d8207484ae47b82e58e1aeeca5.jpg","text":"TemporaryFile(/tmp/multipartBody5710785249642760322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104273465,"filename":"image_28012025_17_55_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/1/28/226c920ebc1d38014ac0162980bdd79c.jpg","text":"TemporaryFile(/tmp/multipartBody468054622574063908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104273465,"filename":"image_28012025_17_55_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/1/28/693c69646dc0e3636f2026f37465d265.jpg","text":"TemporaryFile(/tmp/multipartBody1409461567643481503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104273465,"filename":"image_28012025_17_55_45_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332450448","file1":"1332450444","file0":"1332450441","file4":"1332450459","file5":"1332450477","file3":"1332450453"},"map_files_photo_id_array":[{"photo_id":"1332450477","filename":"file5"},{"photo_id":"1332450448","filename":"file2"},{"photo_id":"1332450459","filename":"file4"},{"photo_id":"1332450444","filename":"file1"},{"photo_id":"1332450441","filename":"file0"},{"photo_id":"1332450453","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332450477":["hashtag1","hashtag2"]},{"1332450441":["hashtag1","hashtag2"]},{"1332450459":["hashtag1","hashtag2"]},{"1332450444":["hashtag1","hashtag2"]},{"1332450448":["hashtag1","hashtag2"]},{"1332450453":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332450477, 1332450441, 1332450459, 1332450444, 1332450448, 1332450453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04233741760254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:44:32.731526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/56/image_28012025_17_56_15_10371.jpg', '/home/pi/Desktop/images/28012025/17/56/image_28012025_17_56_24_9354.jpg', '/home/pi/Desktop/images/28012025/17/56/image_28012025_17_56_35_10477.jpg', '/home/pi/Desktop/images/28012025/17/56/image_28012025_17_56_44_9469.jpg', '/home/pi/Desktop/images/28012025/17/56/image_28012025_17_56_55_10342.jpg', '/home/pi/Desktop/images/28012025/17/56/image_28012025_17_57_05_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/56/image_28012025_17_56_15_10371.jpg
/home/pi/Desktop/images/28012025/17/56/image_28012025_17_56_24_9354.jpg
/home/pi/Desktop/images/28012025/17/56/image_28012025_17_56_35_10477.jpg
/home/pi/Desktop/images/28012025/17/56/image_28012025_17_56_44_9469.jpg
/home/pi/Desktop/images/28012025/17/56/image_28012025_17_56_55_10342.jpg
/home/pi/Desktop/images/28012025/17/56/image_28012025_17_57_05_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":["1332450669","1332450804","1332450797","1332450800","1332450690","1332450786"],"photo_ids_order":["1332450669","1332450690","1332450786","1332450797","1332450800","1332450804"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/620df7ecfeb7014f77612bdc32404346.jpg","text":"TemporaryFile(/tmp/multipartBody3339095798671219544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104333715,"filename":"image_28012025_17_56_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/1/28/750b83e9eaeaaea8cb46ec68f3768f7e.jpg","text":"TemporaryFile(/tmp/multipartBody702524760000448859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104333715,"filename":"image_28012025_17_57_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/1/28/7376e230ca73a41089068cbc04594cc0.jpg","text":"TemporaryFile(/tmp/multipartBody262963136708717670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104333715,"filename":"image_28012025_17_56_44_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0e4f7236d44d4425c221dbb097e02b28.jpg","text":"TemporaryFile(/tmp/multipartBody937860477907063353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104333715,"filename":"image_28012025_17_56_55_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/02de6534bbb254abec4381bf6f775590.jpg","text":"TemporaryFile(/tmp/multipartBody8078638110009853499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104333715,"filename":"image_28012025_17_56_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/1/28/05a51a3c1c4ea8aa6d9fe15a8aa8b585.jpg","text":"TemporaryFile(/tmp/multipartBody6832933274598292889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104333715,"filename":"image_28012025_17_56_35_10477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332450786","file1":"1332450690","file0":"1332450669","file4":"1332450800","file5":"1332450804","file3":"1332450797"},"map_files_photo_id_array":[{"photo_id":"1332450804","filename":"file5"},{"photo_id":"1332450786","filename":"file2"},{"photo_id":"1332450800","filename":"file4"},{"photo_id":"1332450690","filename":"file1"},{"photo_id":"1332450669","filename":"file0"},{"photo_id":"1332450797","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332450669":["hashtag1","hashtag2"]},{"1332450804":["hashtag1","hashtag2"]},{"1332450797":["hashtag1","hashtag2"]},{"1332450800":["hashtag1","hashtag2"]},{"1332450690":["hashtag1","hashtag2"]},{"1332450786":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332450669, 1332450804, 1332450797, 1332450800, 1332450690, 1332450786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.440176486968994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:45:33.136603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/57/image_28012025_17_57_14_9420.jpg', '/home/pi/Desktop/images/28012025/17/57/image_28012025_17_57_25_10355.jpg', '/home/pi/Desktop/images/28012025/17/57/image_28012025_17_57_34_9501.jpg', '/home/pi/Desktop/images/28012025/17/57/image_28012025_17_57_45_10336.jpg', '/home/pi/Desktop/images/28012025/17/57/image_28012025_17_57_55_10358.jpg', '/home/pi/Desktop/images/28012025/17/57/image_28012025_17_58_04_9382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/57/image_28012025_17_57_14_9420.jpg
/home/pi/Desktop/images/28012025/17/57/image_28012025_17_57_25_10355.jpg
/home/pi/Desktop/images/28012025/17/57/image_28012025_17_57_34_9501.jpg
/home/pi/Desktop/images/28012025/17/57/image_28012025_17_57_45_10336.jpg
/home/pi/Desktop/images/28012025/17/57/image_28012025_17_57_55_10358.jpg
/home/pi/Desktop/images/28012025/17/57/image_28012025_17_58_04_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":["1332451280","1332451097","1332451399","1332451403","1332451168","1332451327"],"photo_ids_order":["1332451097","1332451168","1332451280","1332451327","1332451399","1332451403"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1183cc4bc3516d6f8abee1e68c38f06f.jpg","text":"TemporaryFile(/tmp/multipartBody3835749019134802920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104394132,"filename":"image_28012025_17_57_34_9501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1aae9213280f582adb0edbf0d12626a6.jpg","text":"TemporaryFile(/tmp/multipartBody5676033940344010671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104394132,"filename":"image_28012025_17_57_14_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a121815b945b1a5a7f81c42b78844f3c.jpg","text":"TemporaryFile(/tmp/multipartBody4169224655830779898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104394132,"filename":"image_28012025_17_57_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/1/28/8fb134180d381bc39c9c69154eede4cc.jpg","text":"TemporaryFile(/tmp/multipartBody3214740411937535747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104394132,"filename":"image_28012025_17_58_04_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a2f8896bce0055649154aea9994daa73.jpg","text":"TemporaryFile(/tmp/multipartBody9172976626091120207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104394132,"filename":"image_28012025_17_57_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/1/28/aa943fea8defe81299c35111a76f21c7.jpg","text":"TemporaryFile(/tmp/multipartBody2804778550782584305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104394132,"filename":"image_28012025_17_57_45_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332451280","file1":"1332451168","file0":"1332451097","file4":"1332451399","file5":"1332451403","file3":"1332451327"},"map_files_photo_id_array":[{"photo_id":"1332451403","filename":"file5"},{"photo_id":"1332451280","filename":"file2"},{"photo_id":"1332451399","filename":"file4"},{"photo_id":"1332451168","filename":"file1"},{"photo_id":"1332451097","filename":"file0"},{"photo_id":"1332451327","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332451280":["hashtag1","hashtag2"]},{"1332451097":["hashtag1","hashtag2"]},{"1332451399":["hashtag1","hashtag2"]},{"1332451403":["hashtag1","hashtag2"]},{"1332451168":["hashtag1","hashtag2"]},{"1332451327":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332451280, 1332451097, 1332451399, 1332451403, 1332451168, 1332451327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.41393518447876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:46:32.159931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/58/image_28012025_17_58_15_10360.jpg', '/home/pi/Desktop/images/28012025/17/58/image_28012025_17_58_24_9471.jpg', '/home/pi/Desktop/images/28012025/17/58/image_28012025_17_58_35_10346.jpg', '/home/pi/Desktop/images/28012025/17/58/image_28012025_17_58_45_10403.jpg', '/home/pi/Desktop/images/28012025/17/58/image_28012025_17_58_54_9424.jpg', '/home/pi/Desktop/images/28012025/17/58/image_28012025_17_59_05_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/58/image_28012025_17_58_15_10360.jpg
/home/pi/Desktop/images/28012025/17/58/image_28012025_17_58_24_9471.jpg
/home/pi/Desktop/images/28012025/17/58/image_28012025_17_58_35_10346.jpg
/home/pi/Desktop/images/28012025/17/58/image_28012025_17_58_45_10403.jpg
/home/pi/Desktop/images/28012025/17/58/image_28012025_17_58_54_9424.jpg
/home/pi/Desktop/images/28012025/17/58/image_28012025_17_59_05_10343.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.585946798324585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 23:46:42.190102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/58/image_28012025_17_58_15_10360.jpg', '/home/pi/Desktop/images/28012025/17/58/image_28012025_17_58_24_9471.jpg', '/home/pi/Desktop/images/28012025/17/58/image_28012025_17_58_35_10346.jpg', '/home/pi/Desktop/images/28012025/17/58/image_28012025_17_58_45_10403.jpg', '/home/pi/Desktop/images/28012025/17/58/image_28012025_17_58_54_9424.jpg', '/home/pi/Desktop/images/28012025/17/58/image_28012025_17_59_05_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/58/image_28012025_17_58_15_10360.jpg
/home/pi/Desktop/images/28012025/17/58/image_28012025_17_58_24_9471.jpg
/home/pi/Desktop/images/28012025/17/58/image_28012025_17_58_35_10346.jpg
/home/pi/Desktop/images/28012025/17/58/image_28012025_17_58_45_10403.jpg
/home/pi/Desktop/images/28012025/17/58/image_28012025_17_58_54_9424.jpg
/home/pi/Desktop/images/28012025/17/58/image_28012025_17_59_05_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332451496","1332451478","1332451483","1332451492","1332451489","1332451494"],"photo_ids_order":["1332451478","1332451483","1332451489","1332451492","1332451494","1332451496"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c00d81343b700b81b88e3375687bd74a.jpg","text":"TemporaryFile(/tmp/multipartBody6548816062576827810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104463098,"filename":"image_28012025_17_59_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/1/28/454850b034907492143ea1d6b48dbbad.jpg","text":"TemporaryFile(/tmp/multipartBody3815022403899199965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104463098,"filename":"image_28012025_17_58_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/1/28/652cb60e6c1dc0b5d5fae20c7d12941b.jpg","text":"TemporaryFile(/tmp/multipartBody566255704958370113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104463098,"filename":"image_28012025_17_58_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/1/28/93485da6762d8e3bf501d21329afdc4c.jpg","text":"TemporaryFile(/tmp/multipartBody8117035371066052390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104463098,"filename":"image_28012025_17_58_45_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/8597762ce12b9d61b6ccaffd64c09a33.jpg","text":"TemporaryFile(/tmp/multipartBody2162438178768210108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104463098,"filename":"image_28012025_17_58_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/1/28/6e4f99c5e1109ecf79b3b5fb9641e26f.jpg","text":"TemporaryFile(/tmp/multipartBody4983773073537324834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104463098,"filename":"image_28012025_17_58_54_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332451489","file1":"1332451483","file0":"1332451478","file4":"1332451494","file5":"1332451496","file3":"1332451492"},"map_files_photo_id_array":[{"photo_id":"1332451496","filename":"file5"},{"photo_id":"1332451489","filename":"file2"},{"photo_id":"1332451494","filename":"file4"},{"photo_id":"1332451483","filename":"file1"},{"photo_id":"1332451478","filename":"file0"},{"photo_id":"1332451492","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332451496":["hashtag1","hashtag2"]},{"1332451478":["hashtag1","hashtag2"]},{"1332451483":["hashtag1","hashtag2"]},{"1332451492":["hashtag1","hashtag2"]},{"1332451489":["hashtag1","hashtag2"]},{"1332451494":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332451496, 1332451478, 1332451483, 1332451492, 1332451489, 1332451494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65574312210083 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:47:32.478138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/17/59/image_28012025_17_59_14_9491.jpg', '/home/pi/Desktop/images/28012025/17/59/image_28012025_17_59_25_10349.jpg', '/home/pi/Desktop/images/28012025/17/59/image_28012025_17_59_35_10342.jpg', '/home/pi/Desktop/images/28012025/17/59/image_28012025_17_59_44_9403.jpg', '/home/pi/Desktop/images/28012025/17/59/image_28012025_17_59_55_10371.jpg', '/home/pi/Desktop/images/28012025/18/00/image_28012025_18_00_16_10076.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/17/59/image_28012025_17_59_14_9491.jpg
/home/pi/Desktop/images/28012025/17/59/image_28012025_17_59_25_10349.jpg
/home/pi/Desktop/images/28012025/17/59/image_28012025_17_59_35_10342.jpg
/home/pi/Desktop/images/28012025/17/59/image_28012025_17_59_44_9403.jpg
/home/pi/Desktop/images/28012025/17/59/image_28012025_17_59_55_10371.jpg
/home/pi/Desktop/images/28012025/18/00/image_28012025_18_00_16_10076.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332451517","1332451526","1332451529","1332451507","1332451512","1332451521"],"photo_ids_order":["1332451507","1332451512","1332451517","1332451521","1332451526","1332451529"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5fc8895632cf51449c4a3bda17292f4f.jpg","text":"TemporaryFile(/tmp/multipartBody6180257648674445059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104513464,"filename":"image_28012025_17_59_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/1/28/69e67e7c72f89a4eb7d57fda6726ea50.jpg","text":"TemporaryFile(/tmp/multipartBody8928495931410846802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104513464,"filename":"image_28012025_17_59_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/1/28/484d86da2b0f13cc4ddd8d4756849d48.jpg","text":"TemporaryFile(/tmp/multipartBody6590197988086912959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104513464,"filename":"image_28012025_18_00_16_10076.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a10338a6915600dd0abbd95ab9fd874e.jpg","text":"TemporaryFile(/tmp/multipartBody621258871900539804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104513464,"filename":"image_28012025_17_59_14_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/f74a550d502a8fbae686f2c6af8f6b00.jpg","text":"TemporaryFile(/tmp/multipartBody8913169987175200319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104513464,"filename":"image_28012025_17_59_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/1/28/090517ed5eb7bf58d81856734fffe09b.jpg","text":"TemporaryFile(/tmp/multipartBody164176827154834149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104513464,"filename":"image_28012025_17_59_44_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332451517","file1":"1332451512","file0":"1332451507","file4":"1332451526","file5":"1332451529","file3":"1332451521"},"map_files_photo_id_array":[{"photo_id":"1332451529","filename":"file5"},{"photo_id":"1332451517","filename":"file2"},{"photo_id":"1332451526","filename":"file4"},{"photo_id":"1332451512","filename":"file1"},{"photo_id":"1332451507","filename":"file0"},{"photo_id":"1332451521","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332451517":["hashtag1","hashtag2"]},{"1332451526":["hashtag1","hashtag2"]},{"1332451529":["hashtag1","hashtag2"]},{"1332451507":["hashtag1","hashtag2"]},{"1332451512":["hashtag1","hashtag2"]},{"1332451521":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332451517, 1332451526, 1332451529, 1332451507, 1332451512, 1332451521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29239463806152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:48:32.790319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/00/image_28012025_18_00_26_10410.jpg', '/home/pi/Desktop/images/28012025/18/00/image_28012025_18_00_36_10364.jpg', '/home/pi/Desktop/images/28012025/18/00/image_28012025_18_00_46_9347.jpg', '/home/pi/Desktop/images/28012025/18/00/image_28012025_18_00_56_10368.jpg', '/home/pi/Desktop/images/28012025/18/00/image_28012025_18_01_07_10433.jpg', '/home/pi/Desktop/images/28012025/18/01/image_28012025_18_01_16_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/00/image_28012025_18_00_26_10410.jpg
/home/pi/Desktop/images/28012025/18/00/image_28012025_18_00_36_10364.jpg
/home/pi/Desktop/images/28012025/18/00/image_28012025_18_00_46_9347.jpg
/home/pi/Desktop/images/28012025/18/00/image_28012025_18_00_56_10368.jpg
/home/pi/Desktop/images/28012025/18/00/image_28012025_18_01_07_10433.jpg
/home/pi/Desktop/images/28012025/18/01/image_28012025_18_01_16_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332451556","1332451565","1332451570","1332451711","1332451560","1332451598"],"photo_ids_order":["1332451556","1332451560","1332451565","1332451570","1332451598","1332451711"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/5832e44712abf91368f77aaf4e0d287d.jpg","text":"TemporaryFile(/tmp/multipartBody8419592032051876652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104573775,"filename":"image_28012025_18_00_26_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/236152f506b49dcc2bbd236f6c0d5be1.jpg","text":"TemporaryFile(/tmp/multipartBody8497559783434657877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104573775,"filename":"image_28012025_18_00_46_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/60a6dd2708bae8186f924be8c6f95564.jpg","text":"TemporaryFile(/tmp/multipartBody2337513989406198684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104573775,"filename":"image_28012025_18_00_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/1/28/6b477e9f73d6ab0699a9410db2d9cc10.jpg","text":"TemporaryFile(/tmp/multipartBody2177520749409554540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104573775,"filename":"image_28012025_18_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/1/28/babba62552f442cf67553a64ce08c105.jpg","text":"TemporaryFile(/tmp/multipartBody6049953807764617692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104573775,"filename":"image_28012025_18_00_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/1/28/5255855f01510295a7b5e4c97cd3ecc6.jpg","text":"TemporaryFile(/tmp/multipartBody8169590341745611748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104573775,"filename":"image_28012025_18_01_07_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332451565","file1":"1332451560","file0":"1332451556","file4":"1332451598","file5":"1332451711","file3":"1332451570"},"map_files_photo_id_array":[{"photo_id":"1332451711","filename":"file5"},{"photo_id":"1332451565","filename":"file2"},{"photo_id":"1332451598","filename":"file4"},{"photo_id":"1332451560","filename":"file1"},{"photo_id":"1332451556","filename":"file0"},{"photo_id":"1332451570","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332451556":["hashtag1","hashtag2"]},{"1332451565":["hashtag1","hashtag2"]},{"1332451570":["hashtag1","hashtag2"]},{"1332451711":["hashtag1","hashtag2"]},{"1332451560":["hashtag1","hashtag2"]},{"1332451598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332451556, 1332451565, 1332451570, 1332451711, 1332451560, 1332451598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.54843091964722 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:49:32.926521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/01/image_28012025_18_01_26_10399.jpg', '/home/pi/Desktop/images/28012025/18/01/image_28012025_18_01_36_9351.jpg', '/home/pi/Desktop/images/28012025/18/01/image_28012025_18_01_46_10342.jpg', '/home/pi/Desktop/images/28012025/18/01/image_28012025_18_01_56_10365.jpg', '/home/pi/Desktop/images/28012025/18/01/image_28012025_18_02_06_9438.jpg', '/home/pi/Desktop/images/28012025/18/02/image_28012025_18_02_26_9895.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/01/image_28012025_18_01_26_10399.jpg
/home/pi/Desktop/images/28012025/18/01/image_28012025_18_01_36_9351.jpg
/home/pi/Desktop/images/28012025/18/01/image_28012025_18_01_46_10342.jpg
/home/pi/Desktop/images/28012025/18/01/image_28012025_18_01_56_10365.jpg
/home/pi/Desktop/images/28012025/18/01/image_28012025_18_02_06_9438.jpg
/home/pi/Desktop/images/28012025/18/02/image_28012025_18_02_26_9895.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332451744","1332451738","1332451741","1332451723","1332451734","1332451728"],"photo_ids_order":["1332451723","1332451728","1332451734","1332451738","1332451741","1332451744"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/c19005101c571e904b7163bbd6a546bc.jpg","text":"TemporaryFile(/tmp/multipartBody225626203704804021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104633907,"filename":"image_28012025_18_02_26_9895.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/38b76420fd084f35f111800380d2b176.jpg","text":"TemporaryFile(/tmp/multipartBody4012143335467966493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104633907,"filename":"image_28012025_18_01_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/1/28/f18e03918c99076ccd253908e8dcef72.jpg","text":"TemporaryFile(/tmp/multipartBody7229935609647715649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104633907,"filename":"image_28012025_18_02_06_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/2babee258ed26719ec0cd9ded754f1bb.jpg","text":"TemporaryFile(/tmp/multipartBody4015299806304176131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104633907,"filename":"image_28012025_18_01_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/1/28/11718d05bef00b6a4fd9c6f348fa681d.jpg","text":"TemporaryFile(/tmp/multipartBody2045812129478520227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104633907,"filename":"image_28012025_18_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/1/28/c23e4bc51c6b5a3db0e2d1b84baf88ad.jpg","text":"TemporaryFile(/tmp/multipartBody1400078867404076086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104633907,"filename":"image_28012025_18_01_36_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332451734","file1":"1332451728","file0":"1332451723","file4":"1332451741","file5":"1332451744","file3":"1332451738"},"map_files_photo_id_array":[{"photo_id":"1332451744","filename":"file5"},{"photo_id":"1332451734","filename":"file2"},{"photo_id":"1332451741","filename":"file4"},{"photo_id":"1332451728","filename":"file1"},{"photo_id":"1332451723","filename":"file0"},{"photo_id":"1332451738","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332451744":["hashtag1","hashtag2"]},{"1332451738":["hashtag1","hashtag2"]},{"1332451741":["hashtag1","hashtag2"]},{"1332451723":["hashtag1","hashtag2"]},{"1332451734":["hashtag1","hashtag2"]},{"1332451728":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332451744, 1332451738, 1332451741, 1332451723, 1332451734, 1332451728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.1275360584259 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:50:32.214093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/02/image_28012025_18_02_36_10439.jpg', '/home/pi/Desktop/images/28012025/18/02/image_28012025_18_02_46_9339.jpg', '/home/pi/Desktop/images/28012025/18/02/image_28012025_18_02_56_10389.jpg', '/home/pi/Desktop/images/28012025/18/02/image_28012025_18_03_06_9362.jpg', '/home/pi/Desktop/images/28012025/18/03/image_28012025_18_03_16_10348.jpg', '/home/pi/Desktop/images/28012025/18/03/image_28012025_18_03_26_10379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/02/image_28012025_18_02_36_10439.jpg
/home/pi/Desktop/images/28012025/18/02/image_28012025_18_02_46_9339.jpg
/home/pi/Desktop/images/28012025/18/02/image_28012025_18_02_56_10389.jpg
/home/pi/Desktop/images/28012025/18/02/image_28012025_18_03_06_9362.jpg
/home/pi/Desktop/images/28012025/18/03/image_28012025_18_03_16_10348.jpg
/home/pi/Desktop/images/28012025/18/03/image_28012025_18_03_26_10379.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6167547702789307 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 23:50:42.112537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/02/image_28012025_18_02_36_10439.jpg', '/home/pi/Desktop/images/28012025/18/02/image_28012025_18_02_46_9339.jpg', '/home/pi/Desktop/images/28012025/18/02/image_28012025_18_02_56_10389.jpg', '/home/pi/Desktop/images/28012025/18/02/image_28012025_18_03_06_9362.jpg', '/home/pi/Desktop/images/28012025/18/03/image_28012025_18_03_16_10348.jpg', '/home/pi/Desktop/images/28012025/18/03/image_28012025_18_03_26_10379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/02/image_28012025_18_02_36_10439.jpg
/home/pi/Desktop/images/28012025/18/02/image_28012025_18_02_46_9339.jpg
/home/pi/Desktop/images/28012025/18/02/image_28012025_18_02_56_10389.jpg
/home/pi/Desktop/images/28012025/18/02/image_28012025_18_03_06_9362.jpg
/home/pi/Desktop/images/28012025/18/03/image_28012025_18_03_16_10348.jpg
/home/pi/Desktop/images/28012025/18/03/image_28012025_18_03_26_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332451815","1332451823","1332451819","1332451822","1332451810","1332451803"],"photo_ids_order":["1332451803","1332451810","1332451815","1332451819","1332451822","1332451823"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3d3205adf550a7e58456d090b5dea982.jpg","text":"TemporaryFile(/tmp/multipartBody4288557791429432798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104703013,"filename":"image_28012025_18_02_56_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/63f1bea0f7fa332c52ae155857694502.jpg","text":"TemporaryFile(/tmp/multipartBody6712407056173545705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104703013,"filename":"image_28012025_18_03_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/1/28/c5b732f68f9203b1de86b780b6496d09.jpg","text":"TemporaryFile(/tmp/multipartBody169871869901426594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104703013,"filename":"image_28012025_18_03_06_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/83cf67fc065c80a7e9ebc5ba868567cf.jpg","text":"TemporaryFile(/tmp/multipartBody4493095545950480594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104703013,"filename":"image_28012025_18_03_16_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a8865163adacd0397a6b126666b385f0.jpg","text":"TemporaryFile(/tmp/multipartBody2185526334485264045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104703013,"filename":"image_28012025_18_02_46_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/7837b85915acdd76929b6ce10b4f1aa5.jpg","text":"TemporaryFile(/tmp/multipartBody8072388509703086005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104703013,"filename":"image_28012025_18_02_36_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332451815","file1":"1332451810","file0":"1332451803","file4":"1332451822","file5":"1332451823","file3":"1332451819"},"map_files_photo_id_array":[{"photo_id":"1332451823","filename":"file5"},{"photo_id":"1332451815","filename":"file2"},{"photo_id":"1332451822","filename":"file4"},{"photo_id":"1332451810","filename":"file1"},{"photo_id":"1332451803","filename":"file0"},{"photo_id":"1332451819","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332451815":["hashtag1","hashtag2"]},{"1332451823":["hashtag1","hashtag2"]},{"1332451819":["hashtag1","hashtag2"]},{"1332451822":["hashtag1","hashtag2"]},{"1332451810":["hashtag1","hashtag2"]},{"1332451803":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332451815, 1332451823, 1332451819, 1332451822, 1332451810, 1332451803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.74397158622742 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:51:32.356254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/03/image_28012025_18_03_36_9362.jpg', '/home/pi/Desktop/images/28012025/18/03/image_28012025_18_03_46_10357.jpg', '/home/pi/Desktop/images/28012025/18/03/image_28012025_18_03_56_10364.jpg', '/home/pi/Desktop/images/28012025/18/03/image_28012025_18_04_06_9338.jpg', '/home/pi/Desktop/images/28012025/18/04/image_28012025_18_04_16_10339.jpg', '/home/pi/Desktop/images/28012025/18/04/image_28012025_18_04_27_10438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/03/image_28012025_18_03_36_9362.jpg
/home/pi/Desktop/images/28012025/18/03/image_28012025_18_03_46_10357.jpg
/home/pi/Desktop/images/28012025/18/03/image_28012025_18_03_56_10364.jpg
/home/pi/Desktop/images/28012025/18/03/image_28012025_18_04_06_9338.jpg
/home/pi/Desktop/images/28012025/18/04/image_28012025_18_04_16_10339.jpg
/home/pi/Desktop/images/28012025/18/04/image_28012025_18_04_27_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":["1332451877","1332451864","1332451849","1332451872","1332451875","1332451839"],"photo_ids_order":["1332451839","1332451849","1332451864","1332451872","1332451875","1332451877"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/01b5689cae9b6a48c7313634006ac643.jpg","text":"TemporaryFile(/tmp/multipartBody3012542130107277557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104753335,"filename":"image_28012025_18_04_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/1/28/eb46c32a81bbce1bf123e15220fcd5d5.jpg","text":"TemporaryFile(/tmp/multipartBody7074469197347311120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104753335,"filename":"image_28012025_18_03_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/1/28/60aa455cd5bdcf58f99686f93b44e743.jpg","text":"TemporaryFile(/tmp/multipartBody4132288249845868512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104753335,"filename":"image_28012025_18_03_46_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/4ec5083c9aecb2953f918f9384265728.jpg","text":"TemporaryFile(/tmp/multipartBody7048820698702184680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104753335,"filename":"image_28012025_18_04_06_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9d9642f0907324659fec0d948034f527.jpg","text":"TemporaryFile(/tmp/multipartBody7277279155641178963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104753335,"filename":"image_28012025_18_04_16_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a12b4d109b7762b4b265d0f0f8ba6cd8.jpg","text":"TemporaryFile(/tmp/multipartBody106855925338238239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104753335,"filename":"image_28012025_18_03_36_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332451864","file1":"1332451849","file0":"1332451839","file4":"1332451875","file5":"1332451877","file3":"1332451872"},"map_files_photo_id_array":[{"photo_id":"1332451877","filename":"file5"},{"photo_id":"1332451864","filename":"file2"},{"photo_id":"1332451875","filename":"file4"},{"photo_id":"1332451849","filename":"file1"},{"photo_id":"1332451839","filename":"file0"},{"photo_id":"1332451872","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332451877":["hashtag1","hashtag2"]},{"1332451864":["hashtag1","hashtag2"]},{"1332451849":["hashtag1","hashtag2"]},{"1332451872":["hashtag1","hashtag2"]},{"1332451875":["hashtag1","hashtag2"]},{"1332451839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332451877, 1332451864, 1332451849, 1332451872, 1332451875, 1332451839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.359514236450195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:52:32.668186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/04/image_28012025_18_04_36_9361.jpg', '/home/pi/Desktop/images/28012025/18/04/image_28012025_18_04_46_10389.jpg', '/home/pi/Desktop/images/28012025/18/04/image_28012025_18_04_56_9345.jpg', '/home/pi/Desktop/images/28012025/18/04/image_28012025_18_05_06_10330.jpg', '/home/pi/Desktop/images/28012025/18/05/image_28012025_18_05_16_9945.jpg', '/home/pi/Desktop/images/28012025/18/05/image_28012025_18_05_26_10403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/04/image_28012025_18_04_36_9361.jpg
/home/pi/Desktop/images/28012025/18/04/image_28012025_18_04_46_10389.jpg
/home/pi/Desktop/images/28012025/18/04/image_28012025_18_04_56_9345.jpg
/home/pi/Desktop/images/28012025/18/04/image_28012025_18_05_06_10330.jpg
/home/pi/Desktop/images/28012025/18/05/image_28012025_18_05_16_9945.jpg
/home/pi/Desktop/images/28012025/18/05/image_28012025_18_05_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":["1332451946","1332451928","1332451937","1332451922","1332451942","1332451950"],"photo_ids_order":["1332451922","1332451928","1332451937","1332451942","1332451946","1332451950"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/91f3be836e6845e6f4516c16ec7afeca.jpg","text":"TemporaryFile(/tmp/multipartBody4629313082996666535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104813652,"filename":"image_28012025_18_05_16_9945.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/bc7d79445b9260c7d7d6da3cbca3b4e3.jpg","text":"TemporaryFile(/tmp/multipartBody8951363206542629806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104813652,"filename":"image_28012025_18_04_46_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/749b1790cd60d67417baa309f0f76d65.jpg","text":"TemporaryFile(/tmp/multipartBody6248250662988635834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104813652,"filename":"image_28012025_18_04_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/1/28/05ac0cff5c69406c6720d4c046973d90.jpg","text":"TemporaryFile(/tmp/multipartBody8468274080454339991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104813652,"filename":"image_28012025_18_04_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/1/28/c9677956d4b07886739b0efb25a0a9af.jpg","text":"TemporaryFile(/tmp/multipartBody3866850414594528586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104813652,"filename":"image_28012025_18_05_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/1/28/9b9140dad87eb88ddda71a050625a8ad.jpg","text":"TemporaryFile(/tmp/multipartBody4893724689699642658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104813652,"filename":"image_28012025_18_05_26_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332451937","file1":"1332451928","file0":"1332451922","file4":"1332451946","file5":"1332451950","file3":"1332451942"},"map_files_photo_id_array":[{"photo_id":"1332451950","filename":"file5"},{"photo_id":"1332451937","filename":"file2"},{"photo_id":"1332451946","filename":"file4"},{"photo_id":"1332451928","filename":"file1"},{"photo_id":"1332451922","filename":"file0"},{"photo_id":"1332451942","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332451946":["hashtag1","hashtag2"]},{"1332451928":["hashtag1","hashtag2"]},{"1332451937":["hashtag1","hashtag2"]},{"1332451922":["hashtag1","hashtag2"]},{"1332451942":["hashtag1","hashtag2"]},{"1332451950":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332451946, 1332451928, 1332451937, 1332451922, 1332451942, 1332451950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37578082084656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:53:34.273204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/05/image_28012025_18_05_36_9338.jpg', '/home/pi/Desktop/images/28012025/18/05/image_28012025_18_05_46_10346.jpg', '/home/pi/Desktop/images/28012025/18/05/image_28012025_18_05_56_10417.jpg', '/home/pi/Desktop/images/28012025/18/05/image_28012025_18_06_06_9345.jpg', '/home/pi/Desktop/images/28012025/18/06/image_28012025_18_06_16_10493.jpg', '/home/pi/Desktop/images/28012025/18/06/image_28012025_18_06_26_9372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/05/image_28012025_18_05_36_9338.jpg
/home/pi/Desktop/images/28012025/18/05/image_28012025_18_05_46_10346.jpg
/home/pi/Desktop/images/28012025/18/05/image_28012025_18_05_56_10417.jpg
/home/pi/Desktop/images/28012025/18/05/image_28012025_18_06_06_9345.jpg
/home/pi/Desktop/images/28012025/18/06/image_28012025_18_06_16_10493.jpg
/home/pi/Desktop/images/28012025/18/06/image_28012025_18_06_26_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":["1332452306","1332452042","1332452292","1332452289","1332452037","1332452301"],"photo_ids_order":["1332452037","1332452042","1332452289","1332452292","1332452301","1332452306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0b9f9a4c23f441cd97d647c5e56f3944.jpg","text":"TemporaryFile(/tmp/multipartBody5891404550691387521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104875343,"filename":"image_28012025_18_06_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/1/28/d2e13c4e82cbf486f53c4bda64458ef2.jpg","text":"TemporaryFile(/tmp/multipartBody7459972198827732368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104875343,"filename":"image_28012025_18_05_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/1/28/b248445905f52da118310182d53253a9.jpg","text":"TemporaryFile(/tmp/multipartBody6339874061180619085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104875343,"filename":"image_28012025_18_06_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/1/28/e567505f71e95cabcc6ae487ea9e03aa.jpg","text":"TemporaryFile(/tmp/multipartBody2507762075465860813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104875343,"filename":"image_28012025_18_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/1/28/5b6f5fcb4def26ab0bdcae0a7e2d6d5a.jpg","text":"TemporaryFile(/tmp/multipartBody8273018445130738942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104875343,"filename":"image_28012025_18_05_36_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/719932eb32176253439d9754fb1cc234.jpg","text":"TemporaryFile(/tmp/multipartBody66623204904365727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104875343,"filename":"image_28012025_18_06_16_10493.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332452289","file1":"1332452042","file0":"1332452037","file4":"1332452301","file5":"1332452306","file3":"1332452292"},"map_files_photo_id_array":[{"photo_id":"1332452306","filename":"file5"},{"photo_id":"1332452289","filename":"file2"},{"photo_id":"1332452301","filename":"file4"},{"photo_id":"1332452042","filename":"file1"},{"photo_id":"1332452037","filename":"file0"},{"photo_id":"1332452292","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332452306":["hashtag1","hashtag2"]},{"1332452042":["hashtag1","hashtag2"]},{"1332452292":["hashtag1","hashtag2"]},{"1332452289":["hashtag1","hashtag2"]},{"1332452037":["hashtag1","hashtag2"]},{"1332452301":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332452306, 1332452042, 1332452292, 1332452289, 1332452037, 1332452301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.432618379592896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:54:32.495215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/06/image_28012025_18_06_36_10436.jpg', '/home/pi/Desktop/images/28012025/18/06/image_28012025_18_06_46_10450.jpg', '/home/pi/Desktop/images/28012025/18/06/image_28012025_18_06_56_9333.jpg', '/home/pi/Desktop/images/28012025/18/06/image_28012025_18_07_06_10449.jpg', '/home/pi/Desktop/images/28012025/18/07/image_28012025_18_07_16_9408.jpg', '/home/pi/Desktop/images/28012025/18/07/image_28012025_18_07_26_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/06/image_28012025_18_06_36_10436.jpg
/home/pi/Desktop/images/28012025/18/06/image_28012025_18_06_46_10450.jpg
/home/pi/Desktop/images/28012025/18/06/image_28012025_18_06_56_9333.jpg
/home/pi/Desktop/images/28012025/18/06/image_28012025_18_07_06_10449.jpg
/home/pi/Desktop/images/28012025/18/07/image_28012025_18_07_16_9408.jpg
/home/pi/Desktop/images/28012025/18/07/image_28012025_18_07_26_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332452339","1332452329","1332452454","1332452325","1332452334","1332452322"],"photo_ids_order":["1332452322","1332452325","1332452329","1332452334","1332452339","1332452454"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/722ce2cce388d121f704e6f0e98ef12d.jpg","text":"TemporaryFile(/tmp/multipartBody986023473661700133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104933489,"filename":"image_28012025_18_07_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/1/28/acfa5a81afcba0083a7063e92d114dc1.jpg","text":"TemporaryFile(/tmp/multipartBody2311716789627178524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104933489,"filename":"image_28012025_18_06_56_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a91c5302cb397c6acce99fce2c744778.jpg","text":"TemporaryFile(/tmp/multipartBody6104194155760209026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104933489,"filename":"image_28012025_18_07_26_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1b7c871729ff1ad2d48b1584661dbcdb.jpg","text":"TemporaryFile(/tmp/multipartBody5212721000409605476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104933489,"filename":"image_28012025_18_06_46_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/1355063ea2c4689ac568f46a8f212ed5.jpg","text":"TemporaryFile(/tmp/multipartBody546475228693170317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104933489,"filename":"image_28012025_18_07_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/1/28/9029d8f3629a24c0c3a7047ff51e8878.jpg","text":"TemporaryFile(/tmp/multipartBody7049511162888860594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104933489,"filename":"image_28012025_18_06_36_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332452329","file1":"1332452325","file0":"1332452322","file4":"1332452339","file5":"1332452454","file3":"1332452334"},"map_files_photo_id_array":[{"photo_id":"1332452454","filename":"file5"},{"photo_id":"1332452329","filename":"file2"},{"photo_id":"1332452339","filename":"file4"},{"photo_id":"1332452325","filename":"file1"},{"photo_id":"1332452322","filename":"file0"},{"photo_id":"1332452334","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332452339":["hashtag1","hashtag2"]},{"1332452329":["hashtag1","hashtag2"]},{"1332452454":["hashtag1","hashtag2"]},{"1332452325":["hashtag1","hashtag2"]},{"1332452334":["hashtag1","hashtag2"]},{"1332452322":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332452339, 1332452329, 1332452454, 1332452325, 1332452334, 1332452322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.11315393447876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:55:32.690905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/07/image_28012025_18_07_36_10459.jpg', '/home/pi/Desktop/images/28012025/18/07/image_28012025_18_07_46_9359.jpg', '/home/pi/Desktop/images/28012025/18/07/image_28012025_18_07_56_10438.jpg', '/home/pi/Desktop/images/28012025/18/07/image_28012025_18_08_06_9352.jpg', '/home/pi/Desktop/images/28012025/18/08/image_28012025_18_08_36_9589.jpg', '/home/pi/Desktop/images/28012025/18/08/image_28012025_18_08_46_9439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/07/image_28012025_18_07_36_10459.jpg
/home/pi/Desktop/images/28012025/18/07/image_28012025_18_07_46_9359.jpg
/home/pi/Desktop/images/28012025/18/07/image_28012025_18_07_56_10438.jpg
/home/pi/Desktop/images/28012025/18/07/image_28012025_18_08_06_9352.jpg
/home/pi/Desktop/images/28012025/18/08/image_28012025_18_08_36_9589.jpg
/home/pi/Desktop/images/28012025/18/08/image_28012025_18_08_46_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":["1332452540","1332452683","1332452572","1332452784","1332452597","1332452564"],"photo_ids_order":["1332452540","1332452564","1332452572","1332452597","1332452683","1332452784"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3ae0c4f5978e1701f3dd0d0db8172c82.jpg","text":"TemporaryFile(/tmp/multipartBody4970262370963981713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104993693,"filename":"image_28012025_18_07_36_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/3abef1b0bb9fdaf24769130ae2906a92.jpg","text":"TemporaryFile(/tmp/multipartBody6521271081424425659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104993693,"filename":"image_28012025_18_08_36_9589.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/9401a4b8e97c59f7090d01d465c08870.jpg","text":"TemporaryFile(/tmp/multipartBody2725224502392763420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104993693,"filename":"image_28012025_18_07_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/1/28/2494df558740ad3e64a356d666a2aac2.jpg","text":"TemporaryFile(/tmp/multipartBody636630608354866682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104993693,"filename":"image_28012025_18_08_46_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/0a3c1f4e75be088d3aa5d3264652b024.jpg","text":"TemporaryFile(/tmp/multipartBody3811929186524227101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104993693,"filename":"image_28012025_18_08_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/1/28/13d1e5e2c2e8670fd0fc60ea1a92a61c.jpg","text":"TemporaryFile(/tmp/multipartBody3375729138529278348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738104993693,"filename":"image_28012025_18_07_46_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332452572","file1":"1332452564","file0":"1332452540","file4":"1332452683","file5":"1332452784","file3":"1332452597"},"map_files_photo_id_array":[{"photo_id":"1332452784","filename":"file5"},{"photo_id":"1332452572","filename":"file2"},{"photo_id":"1332452683","filename":"file4"},{"photo_id":"1332452564","filename":"file1"},{"photo_id":"1332452540","filename":"file0"},{"photo_id":"1332452597","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332452540":["hashtag1","hashtag2"]},{"1332452683":["hashtag1","hashtag2"]},{"1332452572":["hashtag1","hashtag2"]},{"1332452784":["hashtag1","hashtag2"]},{"1332452597":["hashtag1","hashtag2"]},{"1332452564":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332452540, 1332452683, 1332452572, 1332452784, 1332452597, 1332452564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.92275285720825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:56:32.971724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/08/image_28012025_18_08_56_10348.jpg', '/home/pi/Desktop/images/28012025/18/08/image_28012025_18_09_06_10454.jpg', '/home/pi/Desktop/images/28012025/18/09/image_28012025_18_09_16_9346.jpg', '/home/pi/Desktop/images/28012025/18/09/image_28012025_18_09_26_10494.jpg', '/home/pi/Desktop/images/28012025/18/09/image_28012025_18_09_36_9341.jpg', '/home/pi/Desktop/images/28012025/18/09/image_28012025_18_09_46_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/08/image_28012025_18_08_56_10348.jpg
/home/pi/Desktop/images/28012025/18/08/image_28012025_18_09_06_10454.jpg
/home/pi/Desktop/images/28012025/18/09/image_28012025_18_09_16_9346.jpg
/home/pi/Desktop/images/28012025/18/09/image_28012025_18_09_26_10494.jpg
/home/pi/Desktop/images/28012025/18/09/image_28012025_18_09_36_9341.jpg
/home/pi/Desktop/images/28012025/18/09/image_28012025_18_09_46_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332453518","1332453531","1332453524","1332453512","1332453413","1332453536"],"photo_ids_order":["1332453413","1332453512","1332453518","1332453524","1332453531","1332453536"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/96eea57f83ee1f19110bab12c7f88ae8.jpg","text":"TemporaryFile(/tmp/multipartBody1765580534424330079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105053942,"filename":"image_28012025_18_09_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/1/28/975a5c75ce56de5ac3cd533a2eda4295.jpg","text":"TemporaryFile(/tmp/multipartBody3972697908274947542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105053942,"filename":"image_28012025_18_09_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/1/28/fa0831fa02fce87ddb6b2a9f17273503.jpg","text":"TemporaryFile(/tmp/multipartBody7573063137057495197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105053942,"filename":"image_28012025_18_09_26_10494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/13693ff2b4be19e0832685c112520c40.jpg","text":"TemporaryFile(/tmp/multipartBody2870329027286948107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105053942,"filename":"image_28012025_18_09_06_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/de5c44e15e41a464aee4f2ab201e14e5.jpg","text":"TemporaryFile(/tmp/multipartBody2611958774078878921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105053942,"filename":"image_28012025_18_08_56_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/28/a0a3a939b424fcaec11d2dcc133dd444.jpg","text":"TemporaryFile(/tmp/multipartBody9053392734550283118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105053942,"filename":"image_28012025_18_09_46_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332453518","file1":"1332453512","file0":"1332453413","file4":"1332453531","file5":"1332453536","file3":"1332453524"},"map_files_photo_id_array":[{"photo_id":"1332453536","filename":"file5"},{"photo_id":"1332453518","filename":"file2"},{"photo_id":"1332453531","filename":"file4"},{"photo_id":"1332453512","filename":"file1"},{"photo_id":"1332453413","filename":"file0"},{"photo_id":"1332453524","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332453518":["hashtag1","hashtag2"]},{"1332453531":["hashtag1","hashtag2"]},{"1332453524":["hashtag1","hashtag2"]},{"1332453512":["hashtag1","hashtag2"]},{"1332453413":["hashtag1","hashtag2"]},{"1332453536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332453518, 1332453531, 1332453524, 1332453512, 1332453413, 1332453536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36622071266174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-28 23:57:32.241200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/09/image_28012025_18_09_56_10441.jpg', '/home/pi/Desktop/images/28012025/18/09/image_28012025_18_10_06_9352.jpg', '/home/pi/Desktop/images/28012025/18/10/image_28012025_18_10_16_10331.jpg', '/home/pi/Desktop/images/28012025/18/10/image_28012025_18_10_26_10446.jpg', '/home/pi/Desktop/images/28012025/18/10/image_28012025_18_10_36_9342.jpg', '/home/pi/Desktop/images/28012025/18/10/image_28012025_18_10_46_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/09/image_28012025_18_09_56_10441.jpg
/home/pi/Desktop/images/28012025/18/09/image_28012025_18_10_06_9352.jpg
/home/pi/Desktop/images/28012025/18/10/image_28012025_18_10_16_10331.jpg
/home/pi/Desktop/images/28012025/18/10/image_28012025_18_10_26_10446.jpg
/home/pi/Desktop/images/28012025/18/10/image_28012025_18_10_36_9342.jpg
/home/pi/Desktop/images/28012025/18/10/image_28012025_18_10_46_10462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
